Changeset 694 for trunk/configure.ac
- Timestamp:
- Oct 25, 2006, 10:04:31 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r690 r694 61 61 AC_CHECK_FUNCS([pow sqrt]) 62 62 63 CXXFLAGS="- g -O -Wall -pedantic"63 CXXFLAGS="-Wall -pedantic" 64 64 CPPFLAGS="-DHAVE_INLINE=1" 65 # Use these flags when compiling a production library 66 #CXXFLAGS="-O3 -Wall -pedantic" 67 #CPPFLAGS="-DNDEBUG -DGSL_RANGE_CHECK_OFF -DHAVE_INLINE=1" 65 AC_ARG_ENABLE(debug, 66 [AS_HELP_STRING([--enable-debug],[turn on debug options and code])]) 67 if test "${enable_debug}" = "yes" ; then 68 CXXFLAGS="$CXXFLAGS -g -O" 69 else 70 CXXFLAGS="$CXXFLAGS -O3" 71 CPPFLAGS="$CPPFLAGS -DNDEBUG -DGSL_RANGE_CHECK_OFF" 72 fi 68 73 69 74 AC_CHECK_LIB(m,main,[MATH_LIB="-lm" LIBS="-lm $LIBS"]) … … 96 101 AC_OUTPUT 97 102 103 # Some more messages. 104 AC_MSG_NOTICE([]) 105 AC_MSG_NOTICE([ Ready to compile the yat library]) 106 AC_MSG_NOTICE([ The following compilers and flags will be used:]) 107 AC_MSG_NOTICE([ +++++++++++++++++++++++++++++++++++++++++++++++]) 108 AC_MSG_NOTICE([ CPPFLAGS=\"$CPPFLAGS\"]) 109 AC_MSG_NOTICE([ CXXFLAGS=\"$CXXFLAGS\"]) 110 AC_MSG_NOTICE([ LIBS=\"$LIBS\"]) 111 AC_MSG_NOTICE([ +++++++++++++++++++++++++++++++++++++++++++++++]) 112 AC_MSG_NOTICE([]) 113 AC_MSG_NOTICE([ Now type 'make ; make check'.])
Note: See TracChangeset
for help on using the changeset viewer.