Ignore:
Timestamp:
Jan 23, 2019, 4:52:16 PM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
a200795
Parents:
9b086ca (diff), 1d832f4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into cleanup-dtors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/configure.ac

    r9b086ca rcde3891  
    44AC_PREREQ([2.68])
    55AC_INIT([cfa-cc],[1.0.0.0],[cforall@plg.uwaterloo.ca])
    6 AC_CONFIG_AUX_DIR([./automake])
     6AC_CONFIG_AUX_DIR([automake])
     7AC_CONFIG_MACRO_DIRS([automake])
    78AM_SILENT_RULES([yes])
    89
     
    1415: ${CFLAGS=""}
    1516
     17# define this to override
     18AR_FLAGS="cr"
     19
    1620# Allow program name tansformation
    1721# will fill program_transform_name with appropriate sed regex
     
    2125AC_ARG_VAR(CONFIGURATION, [The configuration to use when building libcfa, options are: deubg, nodebug, nolib (prelude-only)])
    2226AC_ARG_VAR(DRIVER_DIR, [The path to the cforall driver directory])
     27AC_ARG_VAR(CFA_VERSION, [The long version of cfa])
    2328
    2429CFACC=${DRIVER_DIR}cfa
     
    2631AC_SUBST(CFACC)
    2732AC_SUBST(CFACPP)
     33AC_SUBST(CFA_VERSION)
    2834
    2935#==============================================================================
     
    4147                CONFIG_CFLAGS="-O0 -g"
    4248                CONFIG_CFAFLAGS="-debug"
     49                CONFIG_BUILDLIB="yes"
    4350        ;;
    4451        "nodebug" )
    4552                CONFIG_CFLAGS="-O2 -s"
    4653                CONFIG_CFAFLAGS="-nodebug"
     54                CONFIG_BUILDLIB="yes"
    4755        ;;
    4856        "nolib"   )
    49                 CONFIG_CFLAGS=""
    50                 CONFIG_CFAFLAGS=""
     57                CONFIG_CFLAGS="-O2 -s"
     58                CONFIG_CFAFLAGS="-nodebug"
     59                CONFIG_BUILDLIB="no"
     60        ;;
     61        *)
     62        AC_MSG_ERROR('Invalid value $CONFIGURATION for \$CONFIGURATION')
    5163        ;;
    5264esac
     
    5466AC_SUBST(CONFIG_CFLAGS)
    5567AC_SUBST(CONFIG_CFAFLAGS)
     68AC_SUBST(CONFIG_BUILDLIB)
     69
     70AM_CONDITIONAL([BUILDLIB], [test "x${CONFIG_BUILDLIB}" = "xyes"])
    5671
    5772#==============================================================================
     
    6479
    6580# Checks for programs.
     81LT_INIT
     82
    6683AC_PROG_CXX
    6784AC_PROG_CC
    6885AM_PROG_AS
     86AC_PROG_LIBTOOL
    6987AC_PROG_INSTALL
    7088AC_PROG_MAKE_SET
    71 AC_PROG_RANLIB
    7289
    7390AC_CONFIG_FILES([
Note: See TracChangeset for help on using the changeset viewer.