faubackup2 configure.ac,1.20,1.21
Erik Merkel <[email protected]> Mon, 13 Jun 2005 23:44:04 +0000
| Newsgroups | gmane.comp.sysutils.backup.faubackup.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/faubackup/faubackup2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15213 Modified Files: configure.ac Log Message: make difference between cflags and cxxflags; "&" makes no sense here - my fault ;-) Index: configure.ac =================================================================== RCS file: /cvsroot/faubackup/faubackup2/configure.ac,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** configure.ac 13 Jun 2005 22:51:14 -0000 1.20 --- configure.ac 13 Jun 2005 23:44:01 -0000 1.21 *************** *** 46,52 **** WARNINGS="-Wall -Wshadow -Wundef -Wwrite-strings" WARNINGS="$WARNINGS -Wpointer-arith -Wcast-qual -Wcast-align" ! if test "$GCC" = yes && "$ac_test_CFLAGS" != set; then CFLAGS="$CFLAGS $WARNINGS" CFLAGS="$CFLAGS -Wmissing-prototypes -Wstrict-prototypes" CXXFLAGS="$CXXFLAGS $WARNINGS" fi --- 46,57 ---- WARNINGS="-Wall -Wshadow -Wundef -Wwrite-strings" WARNINGS="$WARNINGS -Wpointer-arith -Wcast-qual -Wcast-align" ! #using gcc with no other cflags ! if test "$GCC" = yes -a "$ac_test_CFLAGS" != set; then CFLAGS="$CFLAGS $WARNINGS" CFLAGS="$CFLAGS -Wmissing-prototypes -Wstrict-prototypes" + fi + + #using gcc with no other cxxflags + if test "$GCC" = yes -a "$ac_test_CXXFLAGS" != set; then CXXFLAGS="$CXXFLAGS $WARNINGS" fi ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20