comparison configure.in @ 5759:ce79d238f142

[project @ 2006-04-13 13:04:32 by jwe]
author jwe
date Thu, 13 Apr 2006 13:04:33 +0000
parents 8c224c786df9
children 8d7162924bd3
comparison
equal deleted inserted replaced
5758:65208d959bf1 5759:ce79d238f142
27 27
28 EXTERN_CFLAGS="$CFLAGS" 28 EXTERN_CFLAGS="$CFLAGS"
29 EXTERN_CXXFLAGS="$CXXFLAGS" 29 EXTERN_CXXFLAGS="$CXXFLAGS"
30 30
31 AC_INIT 31 AC_INIT
32 AC_REVISION($Revision: 1.505 $) 32 AC_REVISION($Revision: 1.506 $)
33 AC_PREREQ(2.57) 33 AC_PREREQ(2.57)
34 AC_CONFIG_SRCDIR([src/octave.cc]) 34 AC_CONFIG_SRCDIR([src/octave.cc])
35 AC_CONFIG_HEADER(config.h) 35 AC_CONFIG_HEADER(config.h)
36 36
37 AC_DEFINE(OCTAVE_SOURCE, 1, [Define if this is Octave.]) 37 AC_DEFINE(OCTAVE_SOURCE, 1, [Define if this is Octave.])
1586 WARN_CXXFLAGS="$WARN_CXXFLAGS -W"; 1586 WARN_CXXFLAGS="$WARN_CXXFLAGS -W";
1587 AC_MSG_RESULT([adding -W to WARN_CXXFLAGS])]) 1587 AC_MSG_RESULT([adding -W to WARN_CXXFLAGS])])
1588 OCTAVE_CXX_FLAG(-Wshadow, [ 1588 OCTAVE_CXX_FLAG(-Wshadow, [
1589 WARN_CXXFLAGS="$WARN_CXXFLAGS -Wshadow"; 1589 WARN_CXXFLAGS="$WARN_CXXFLAGS -Wshadow";
1590 AC_MSG_RESULT([adding -Wshadow to WARN_CXXFLAGS])]) 1590 AC_MSG_RESULT([adding -Wshadow to WARN_CXXFLAGS])])
1591 fi 1591 OCTAVE_CXX_FLAG(-Wold-style-cast, [
1592 1592 WARN_CXXFLAGS="$WARN_CXXFLAGS -Wold-style-cast";
1593 ### Someday, maybe include -ansi and even -pedantic in this list... 1593 AC_MSG_RESULT([adding -Wold-style-cast to WARN_CXXFLAGS])])
1594 fi
1594 1595
1595 GCC_PICKY_FLAGS="-Wcast-align -Wcast-qual -Wmissing-prototypes \ 1596 GCC_PICKY_FLAGS="-Wcast-align -Wcast-qual -Wmissing-prototypes \
1596 -Wpointer-arith -Wstrict-prototypes -Wwrite-strings" 1597 -Wpointer-arith -Wstrict-prototypes -Wwrite-strings"
1597 1598
1598 GXX_PICKY_FLAGS="-Wcast-align -Wcast-qual -Wpointer-arith \ 1599 GXX_PICKY_FLAGS="-Wcast-align -Wcast-qual -Wpointer-arith \