summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhasso <hasso>2005-03-27 21:00:35 +0000
committerhasso <hasso>2005-03-27 21:00:35 +0000
commitb563c7d98ba277ce29ded67fe9265428298aefec (patch)
treed3bc420540f3b47e3578ac2e707d538b959f5bfa
parente5773f517659c8821a8336454124f6b610c98e88 (diff)
downloadquagga-b563c7d98ba277ce29ded67fe9265428298aefec.tar.bz2
quagga-b563c7d98ba277ce29ded67fe9265428298aefec.tar.xz
* configure.ac: Fix most of "Presents But Cannot Compiled" warnings
about various headers. CFLAGS is not correct place to specify includes, INCLUDES is for that.
-rw-r--r--ChangeLog6
-rwxr-xr-xconfigure.ac9
2 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 6725158c..f9c16ed9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-03-28 Hasso Tepper <hasso at quagga.net>
+
+ * configure.ac: Fix most of "Presents But Cannot Compiled" warnings
+ about various headers. CFLAGS is not correct place to specify
+ includes, INCLUDES is for that.
+
2005-03-27 Hasso Tepper <hasso at quagga.net>
* configure.ac: Add Intel compiler (icc) support. Although Intel
diff --git a/configure.ac b/configure.ac
index 91cc13ae..d8e5e5cb 100755
--- a/configure.ac
+++ b/configure.ac
@@ -948,7 +948,7 @@ dnl AC_CHECK_LIB(snmp, asn_parse_int, HAVE_SNMP=yes)
AC_DEFINE(HAVE_SNMP,,SNMP)
AC_DEFINE(HAVE_NETSNMP,,SNMP)
AC_DEFINE(UCD_COMPATIBLE,,SNMP)
- CFLAGS="${CFLAGS} -I/usr/include/net-snmp -I/usr/include/net-snmp/library"
+ INCLUDES="${INCLUDES} -I/usr/include/net-snmp -I/usr/include/net-snmp/library"
if test "${HAVE_NETSNMP}" = "yes"; then
LIBS="${LIBS} -lnetsnmp"
else
@@ -957,19 +957,19 @@ dnl AC_CHECK_LIB(snmp, asn_parse_int, HAVE_SNMP=yes)
;;
/usr/include/ucd-snmp/*)
AC_DEFINE(HAVE_SNMP,,SNMP)
- CFLAGS="${CFLAGS} -I/usr/include/ucd-snmp"
+ INCLUDES="${INCLUDES} -I/usr/include/ucd-snmp"
LIBS="${LIBS} -lsnmp"
;;
/usr/local/include/ucd-snmp/*)
AC_DEFINE(HAVE_SNMP,,SNMP)
- CFLAGS="${CFLAGS} -I/usr/local/include/ucd-snmp"
+ INCLUDES="${INCLUDES} -I/usr/local/include/ucd-snmp"
LIBS="${LIBS} -L/usr/local/lib -lsnmp"
;;
/usr/local/include/net-snmp/*)
AC_DEFINE(HAVE_SNMP,,SNMP)
AC_DEFINE(HAVE_NET_SNMP,,SNMP)
AC_DEFINE(UCD_COMPATIBLE,,SNMP)
- CFLAGS="${CFLAGS} -I/usr/local/include/net-snmp"
+ INCLUDES="${INCLUDES} -I/usr/local/include/net-snmp"
LIBS="${LIBS} -L/usr/local/lib -lnetsnmp"
;;
esac
@@ -1280,6 +1280,7 @@ host operationg system : ${host_os}
source code location : ${srcdir}
compiler : ${CC}
compiler flags : ${CFLAGS}
+includes : ${INCLUDES}
linker flags : ${LDFLAGS} ${LIBS}
state file directory : ${quagga_statedir}
config file directory : `eval echo \`echo ${sysconfdir}\``