summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am3
-rwxr-xr-xconfigure.ac16
-rw-r--r--lib/Makefile.am7
-rw-r--r--zebra/Makefile.am3
4 files changed, 20 insertions, 9 deletions
diff --git a/Makefile.am b/Makefile.am
index 8371041b..37fea43b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -12,7 +12,8 @@ EXTRA_DIST = aclocal.m4 SERVICES TODO REPORTING-BUGS INSTALL.quagga.txt \
update-autotools \
vtysh/Makefile.in vtysh/Makefile.am \
tools/mrlg.cgi tools/rrcheck.pl tools/rrlookup.pl tools/zc.pl \
- tools/zebra.el tools/multiple-bgpd.sh
+ tools/zebra.el tools/multiple-bgpd.sh \
+ fpm/fpm.h
if HAVE_LATEX
diff --git a/configure.ac b/configure.ac
index fb6efd7e..405693c9 100755
--- a/configure.ac
+++ b/configure.ac
@@ -129,7 +129,7 @@ AC_MSG_CHECKING([whether to set a default CFLAGS])
if test "x${cflags_specified}" = "x" ; then
case ${COMPILER} in
"ICC")
- CFLAGS="-Os -g -Wall -wd 279,869,981"
+ CFLAGS="-Os -g -Wall"
AC_MSG_RESULT([Intel default])
;;
"GCC")
@@ -195,10 +195,7 @@ AC_ARG_WITH(pkg-extra-version,
[EXTRAVERSION=$withval],)
AC_ARG_WITH(pkg-git-version,
AS_HELP_STRING([--with-pkg-git-version], [add git information to MOTD and build version string]),
- [ if test "x$withval" != "xno"; then
- with_pkg_git_version="1"
- AC_DEFINE(GIT_VERSION, [1], [include git version info])
- fi ],)
+ [ test "x$withval" != "xno" && with_pkg_git_version="yes" ])
AC_ARG_ENABLE(vtysh,
[ --enable-vtysh include integrated vty shell for Quagga])
AC_ARG_ENABLE(ipv6,
@@ -410,7 +407,14 @@ if test "x${EXTRAVERSION}" != "x" ; then
PACKAGE_STRING="${PACKAGE_STRING}${EXTRAVERSION}"
fi
-AM_CONDITIONAL([GIT_VERSION], [test "x$with_pkg_git_version" != "x"])
+if test "x$with_pkg_git_version" = "xyes"; then
+ if test -d "${srcdir}/.git"; then
+ AC_DEFINE(GIT_VERSION, [1], [include git version info])
+ else with_pkg_git_version="no"
+ AC_MSG_WARN([--with-pkg-git-version given, but this is not a git checkout])
+ fi
+fi
+AM_CONDITIONAL([GIT_VERSION], [test "x$with_pkg_git_version" = "xyes"])
dnl ------------------------------------
dnl Check C keywords and standard types
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 690c18ff..0ec5b4c9 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -29,7 +29,12 @@ pkginclude_HEADERS = \
privs.h sigevent.h pqueue.h jhash.h zassert.h memtypes.h \
workqueue.h route_types.h
-EXTRA_DIST = regex.c regex-gnu.h memtypes.awk route_types.pl route_types.txt
+EXTRA_DIST = \
+ regex.c regex-gnu.h \
+ queue.h \
+ memtypes.awk \
+ route_types.pl route_types.txt \
+ gitversion.pl
memtypes.h: $(srcdir)/memtypes.c $(srcdir)/memtypes.awk
($(GAWK) -f $(srcdir)/memtypes.awk $(srcdir)/memtypes.c > $@)
diff --git a/zebra/Makefile.am b/zebra/Makefile.am
index 266812f8..96f7bef3 100644
--- a/zebra/Makefile.am
+++ b/zebra/Makefile.am
@@ -42,7 +42,8 @@ testzebra_SOURCES = test_main.c zebra_rib.c interface.c connected.c debug.c \
noinst_HEADERS = \
connected.h ioctl.h rib.h rt.h zserv.h redistribute.h debug.h rtadv.h \
- interface.h ipforward.h irdp.h router-id.h kernel_socket.h
+ interface.h ipforward.h irdp.h router-id.h kernel_socket.h \
+ rt_netlink.h zebra_fpm.h zebra_fpm_private.h
zebra_LDADD = $(otherobj) ../lib/libzebra.la $(LIBCAP) $(LIB_IPV6)