Changeset 227 for trunk/aclocal.m4
- Timestamp:
- Apr 20, 2009, 5:59:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/aclocal.m4
r202 r227 1202 1202 ]) 1203 1203 1204 AC_DEFUN([GCC_STACK_CHECK_CC],[ 1205 AC_LANG_ASSERT(C) 1206 if test "X$CC" != "X"; then 1207 AC_CACHE_CHECK([whether ${CC} accepts -fstack-check], 1208 stackcheck_cv_cc, 1209 [stackcheck_old_cflags="$CFLAGS" 1210 CFLAGS="$CFLAGS -fstack-check" 1211 AC_TRY_COMPILE(,, stackcheck_cv_cc=yes, stackcheck_cv_cc=no) 1212 CFLAGS="$stackcheck_old_cflags" 1213 ]) 1214 if test $stackcheck_cv_cc = yes; then 1215 CFLAGS="$CFLAGS -fstack-check" 1216 fi 1217 fi 1218 ]) 1219 1204 1220 AC_DEFUN([GCC_WEMPTY_BODY],[ 1205 1221 AC_LANG_ASSERT(C)
Note:
See TracChangeset
for help on using the changeset viewer.