- Timestamp:
- Apr 15, 2007, 8:03:36 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/essentials/sys-devel/autoconf/lib/autoconf/c.m4
r3092 r3113 572 572 # versions of a library), tasteless as that idea is. 573 573 # Don't consider -g to work if it generates warnings when plain compiles don't. 574 # OS/2: Include the user CFLAGS in or we'll miss -Zomf and other useful flags. 574 575 m4_define([_AC_PROG_CC_G], 575 576 [ac_test_CFLAGS=${CFLAGS+set} … … 579 580 ac_c_werror_flag=yes 580 581 ac_cv_prog_cc_g=no 581 CFLAGS=" -g"582 CFLAGS="$ac_save_CFLAGS -g" 582 583 _AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], 583 584 [ac_cv_prog_cc_g=yes], 584 [CFLAGS= ""585 [CFLAGS=$ac_save_CFLAGS 585 586 _AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], 586 587 [], 587 588 [ac_c_werror_flag=$ac_save_c_werror_flag 588 CFLAGS=" -g"589 CFLAGS="$ac_save_CFLAGS -g" 589 590 _AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], 590 591 [ac_cv_prog_cc_g=yes])])])
Note:
See TracChangeset
for help on using the changeset viewer.