Ignore:
Timestamp:
20/01/2008 16:46:06 (4 years ago)
Author:
chris
Message:

Add -Wundef to CXXFLAGS, only if using gcc (sun cc doesn't like it)

Substitute in the contributed Solaris SMF files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/configure.ac

    r2012 r2036  
    2323if test "x$GXX" = "xyes"; then 
    2424  # Use -Wall if we have gcc. This gives better warnings 
    25   AC_SUBST([CXXFLAGS_STRICT], ['-Wall']) 
     25  AC_SUBST([CXXFLAGS_STRICT], ['-Wall -Wundef']) 
    2626  # Use -rdynamic if we have gcc. This is needed for backtrace 
    2727  AC_SUBST([LDADD_RDYNAMIC], ['-rdynamic']) 
     
    285285                   bin/bbstored/bbstored-certs 
    286286                   bin/bbstored/bbstored-config 
     287                   contrib/solaris/bbackupd-manifest.xml 
     288                   contrib/solaris/bbstored-manifest.xml 
     289                   contrib/solaris/bbackupd-smf-method 
     290                   contrib/solaris/bbstored-smf-method 
    287291                   infrastructure/makebuildenv.pl 
    288292                   infrastructure/makeparcels.pl 
Note: See TracChangeset for help on using the changeset viewer.