- Timestamp:
- Feb 10, 2019, 10:12:55 AM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 015dc50
- Parents:
- 4fd45bc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
automake/cfa.m4
r4fd45bc r1f86d5e 80 80 esac 81 81 ]) 82 83 # http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_compile_flag.m4 84 AC_DEFUN([M4CFA_CHECK_COMPILE_FLAG], 85 [AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF 86 AS_VAR_PUSHDEF([CACHEVAR],[m4cfa_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl 87 AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [ 88 m4cfa_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS 89 _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1" 90 AC_COMPILE_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])], 91 [AS_VAR_SET(CACHEVAR,[yes])], 92 [AS_VAR_SET(CACHEVAR,[no])]) 93 _AC_LANG_PREFIX[]FLAGS=$m4cfa_check_save_flags]) 94 AS_VAR_IF(CACHEVAR,yes, 95 [m4_default([$2], :)], 96 [m4_default([$3], :)]) 97 AS_VAR_POPDEF([CACHEVAR])dnl 98 ])dnl M4CFA_CHECK_COMPILE_FLAGS
Note: See TracChangeset
for help on using the changeset viewer.