mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 20:34:33 +00:00
* configure.ac, */Makefile.am: Fix previous commit. SNMP includes
must be after lib/ includes in some systems. Introduce SNMP_INCLUDES for that.
This commit is contained in:
parent
17eff7cb90
commit
2d58228eca
@ -1,3 +1,9 @@
|
|||||||
|
2005-03-28 Hasso Tepper <hasso at quagga.net>
|
||||||
|
|
||||||
|
* configure.ac, */Makefile.am: Fix previous commit. SNMP includes
|
||||||
|
must be after lib/ includes in some systems. Introduce SNMP_INCLUDES
|
||||||
|
for that.
|
||||||
|
|
||||||
2005-03-28 Hasso Tepper <hasso at quagga.net>
|
2005-03-28 Hasso Tepper <hasso at quagga.net>
|
||||||
|
|
||||||
* configure.ac: Fix most of "Presents But Cannot Compiled" warnings
|
* configure.ac: Fix most of "Presents But Cannot Compiled" warnings
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## Process this file with automake to produce Makefile.in.
|
## Process this file with automake to produce Makefile.in.
|
||||||
|
|
||||||
INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib
|
INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib @SNMP_INCLUDES@
|
||||||
DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
|
DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
|
||||||
INSTALL_SDATA=@INSTALL@ -m 600
|
INSTALL_SDATA=@INSTALL@ -m 600
|
||||||
|
|
||||||
|
14
configure.ac
14
configure.ac
@ -5,7 +5,7 @@
|
|||||||
## Copyright (c) 1996, 97, 98, 99, 2000 Kunihiro Ishiguro <kunihiro@zebra.org>
|
## Copyright (c) 1996, 97, 98, 99, 2000 Kunihiro Ishiguro <kunihiro@zebra.org>
|
||||||
## Portions Copyright (c) 2003 Paul Jakma <paul@dishone.st>
|
## Portions Copyright (c) 2003 Paul Jakma <paul@dishone.st>
|
||||||
##
|
##
|
||||||
## $Id: configure.ac,v 1.93 2005/03/27 21:00:35 hasso Exp $
|
## $Id: configure.ac,v 1.94 2005/03/28 15:29:07 hasso Exp $
|
||||||
AC_PREREQ(2.53)
|
AC_PREREQ(2.53)
|
||||||
|
|
||||||
AC_INIT(Quagga, 0.99.0, [http://bugzilla.quagga.net])
|
AC_INIT(Quagga, 0.99.0, [http://bugzilla.quagga.net])
|
||||||
@ -948,7 +948,7 @@ dnl AC_CHECK_LIB(snmp, asn_parse_int, HAVE_SNMP=yes)
|
|||||||
AC_DEFINE(HAVE_SNMP,,SNMP)
|
AC_DEFINE(HAVE_SNMP,,SNMP)
|
||||||
AC_DEFINE(HAVE_NETSNMP,,SNMP)
|
AC_DEFINE(HAVE_NETSNMP,,SNMP)
|
||||||
AC_DEFINE(UCD_COMPATIBLE,,SNMP)
|
AC_DEFINE(UCD_COMPATIBLE,,SNMP)
|
||||||
INCLUDES="${INCLUDES} -I/usr/include/net-snmp -I/usr/include/net-snmp/library"
|
SNMP_INCLUDES="${SNMP_INCLUDES} -I/usr/include/net-snmp -I/usr/include/net-snmp/library"
|
||||||
if test "${HAVE_NETSNMP}" = "yes"; then
|
if test "${HAVE_NETSNMP}" = "yes"; then
|
||||||
LIBS="${LIBS} -lnetsnmp"
|
LIBS="${LIBS} -lnetsnmp"
|
||||||
else
|
else
|
||||||
@ -957,19 +957,19 @@ dnl AC_CHECK_LIB(snmp, asn_parse_int, HAVE_SNMP=yes)
|
|||||||
;;
|
;;
|
||||||
/usr/include/ucd-snmp/*)
|
/usr/include/ucd-snmp/*)
|
||||||
AC_DEFINE(HAVE_SNMP,,SNMP)
|
AC_DEFINE(HAVE_SNMP,,SNMP)
|
||||||
INCLUDES="${INCLUDES} -I/usr/include/ucd-snmp"
|
SNMP_INCLUDES="${SNMP_INCLUDES} -I/usr/include/ucd-snmp"
|
||||||
LIBS="${LIBS} -lsnmp"
|
LIBS="${LIBS} -lsnmp"
|
||||||
;;
|
;;
|
||||||
/usr/local/include/ucd-snmp/*)
|
/usr/local/include/ucd-snmp/*)
|
||||||
AC_DEFINE(HAVE_SNMP,,SNMP)
|
AC_DEFINE(HAVE_SNMP,,SNMP)
|
||||||
INCLUDES="${INCLUDES} -I/usr/local/include/ucd-snmp"
|
SNMP_INCLUDES="${SNMP_INCLUDES} -I/usr/local/include/ucd-snmp"
|
||||||
LIBS="${LIBS} -L/usr/local/lib -lsnmp"
|
LIBS="${LIBS} -L/usr/local/lib -lsnmp"
|
||||||
;;
|
;;
|
||||||
/usr/local/include/net-snmp/*)
|
/usr/local/include/net-snmp/*)
|
||||||
AC_DEFINE(HAVE_SNMP,,SNMP)
|
AC_DEFINE(HAVE_SNMP,,SNMP)
|
||||||
AC_DEFINE(HAVE_NET_SNMP,,SNMP)
|
AC_DEFINE(HAVE_NET_SNMP,,SNMP)
|
||||||
AC_DEFINE(UCD_COMPATIBLE,,SNMP)
|
AC_DEFINE(UCD_COMPATIBLE,,SNMP)
|
||||||
INCLUDES="${INCLUDES} -I/usr/local/include/net-snmp"
|
SNMP_INCLUDES="${SNMP_INCLUDES} -I/usr/local/include/net-snmp"
|
||||||
LIBS="${LIBS} -L/usr/local/lib -lnetsnmp"
|
LIBS="${LIBS} -L/usr/local/lib -lnetsnmp"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@ -983,6 +983,8 @@ if test "${enable_snmp}" = "yes" -a "${HAVE_SNMP}" != "yes"; then
|
|||||||
AC_MSG_ERROR([--enable-snmp given, but cannot find support for SNMP])
|
AC_MSG_ERROR([--enable-snmp given, but cannot find support for SNMP])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_SUBST(SNMP_INCLUDES)
|
||||||
|
|
||||||
dnl ----------------------------
|
dnl ----------------------------
|
||||||
dnl check sa_len of sockaddr
|
dnl check sa_len of sockaddr
|
||||||
dnl ----------------------------
|
dnl ----------------------------
|
||||||
@ -1280,7 +1282,7 @@ host operationg system : ${host_os}
|
|||||||
source code location : ${srcdir}
|
source code location : ${srcdir}
|
||||||
compiler : ${CC}
|
compiler : ${CC}
|
||||||
compiler flags : ${CFLAGS}
|
compiler flags : ${CFLAGS}
|
||||||
includes : ${INCLUDES}
|
includes : ${INCLUDES} ${SNMP_INCLUDES}
|
||||||
linker flags : ${LDFLAGS} ${LIBS}
|
linker flags : ${LDFLAGS} ${LIBS}
|
||||||
state file directory : ${quagga_statedir}
|
state file directory : ${quagga_statedir}
|
||||||
config file directory : `eval echo \`echo ${sysconfdir}\``
|
config file directory : `eval echo \`echo ${sysconfdir}\``
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
## Process this file with automake to produce Makefile.in.
|
## Process this file with automake to produce Makefile.in.
|
||||||
|
|
||||||
# INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -Itopology
|
# INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -Itopology
|
||||||
INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib
|
INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib
|
||||||
DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
|
DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
|
||||||
INSTALL_SDATA=@INSTALL@ -m 600
|
INSTALL_SDATA=@INSTALL@ -m 600
|
||||||
LIBS = @LIBS@
|
LIBS = @LIBS@
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## Process this file with automake to produce Makefile.in.
|
## Process this file with automake to produce Makefile.in.
|
||||||
|
|
||||||
INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib
|
INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib @SNMP_INCLUDES@
|
||||||
DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
|
DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
|
||||||
|
|
||||||
lib_LTLIBRARIES = libzebra.la
|
lib_LTLIBRARIES = libzebra.la
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## Process this file with automake to produce Makefile.in.
|
## Process this file with automake to produce Makefile.in.
|
||||||
|
|
||||||
INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib
|
INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib @SNMP_INCLUDES@
|
||||||
DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
|
DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
|
||||||
INSTALL_SDATA=@INSTALL@ -m 600
|
INSTALL_SDATA=@INSTALL@ -m 600
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## Process this file with automake to produce Makefile.in.
|
## Process this file with automake to produce Makefile.in.
|
||||||
|
|
||||||
INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib
|
INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib @SNMP_INCLUDES@
|
||||||
DEFS = @DEFS@ $(LOCAL_OPTS) -DSYSCONFDIR=\"$(sysconfdir)/\"
|
DEFS = @DEFS@ $(LOCAL_OPTS) -DSYSCONFDIR=\"$(sysconfdir)/\"
|
||||||
INSTALL_SDATA=@INSTALL@ -m 600
|
INSTALL_SDATA=@INSTALL@ -m 600
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## Process this file with automake to produce Makefile.in.
|
## Process this file with automake to produce Makefile.in.
|
||||||
|
|
||||||
INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib
|
INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib @SNMP_INCLUDES@
|
||||||
DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
|
DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
|
||||||
INSTALL_SDATA=@INSTALL@ -m 600
|
INSTALL_SDATA=@INSTALL@ -m 600
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## Process this file with automake to produce Makefile.in.
|
## Process this file with automake to produce Makefile.in.
|
||||||
|
|
||||||
INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib
|
INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib @SNMP_INCLUDES@
|
||||||
DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
|
DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
|
||||||
INSTALL_SDATA=@INSTALL@ -m 600
|
INSTALL_SDATA=@INSTALL@ -m 600
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
## Process this file with automake to produce Makefile.in.
|
## Process this file with automake to produce Makefile.in.
|
||||||
|
|
||||||
INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib
|
INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib @SNMP_INCLUDES@
|
||||||
DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DMULTIPATH_NUM=@MULTIPATH_NUM@
|
DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DMULTIPATH_NUM=@MULTIPATH_NUM@
|
||||||
INSTALL_SDATA=@INSTALL@ -m 600
|
INSTALL_SDATA=@INSTALL@ -m 600
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user