From 2fcfa4e3b89f6eaf3fd592379459fb7e53dde3b6 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 13 Jan 2010 15:27:11 +0000 Subject: Some minor build fixes, after move to git. --- .gitignore | 30 ++++++++++++++++++++++++++++++ autogen.sh | 10 +++++++++- configure.in | 4 ++-- 3 files changed, 41 insertions(+), 3 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e2f97f7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,30 @@ +.deps +.libs +*.la +*.lo +*.o +Makefile +Makefile.in + + +/aclocal.m4 +/autom4te.cache +/config.guess +/config.h +/config.h.in +/config.log +/config.status +/config.sub +/configure +/depcomp +/install-sh +/libtool +/ltmain.sh +/missing +/stamp-h1 +/INSTALL + +/module/jails_oid.h +/module/jails_tree.? + +/tools/jail-measure diff --git a/autogen.sh b/autogen.sh index 100e70d..b225d84 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,5 +1,13 @@ #!/bin/sh -ex +# Some boiler plate to get git setup as expected +if test -d .git; then + if test -f .git/hooks/pre-commit.sample && \ + test ! -f .git/hooks/pre-commit; then + cp -pv .git/hooks/pre-commit.sample .git/hooks/pre-commit + fi +fi + set -ex aclocal @@ -7,5 +15,5 @@ autoheader libtoolize --force automake -a autoconf -./configure --enable-maintainer-mode "$@" +./configure "$@" diff --git a/configure.in b/configure.in index 8676902..042cff5 100644 --- a/configure.in +++ b/configure.in @@ -48,9 +48,9 @@ AC_CHECK_HEADERS([netinet/in.h netinet/in_systm.h netinet/ip.h arpa/inet.h], , AC_CHECK_HEADERS([sys/queue.h sys/limits.h sys/stat.h sys/time.h], , [echo "ERROR: required header not found."; exit 1]) AC_CHECK_HEADERS([bsnmp/snmpmod.h], , - [echo "ERROR: required bsnmp header not found." exit 1]) + [echo "ERROR: required bsnmp header not found."; exit 1]) AC_CHECK_HEADERS([pcap.h], , - [echo "ERROR: required pcap header not found." exit 1]) + [echo "ERROR: required pcap header not found."; exit 1]) AC_CHECK_MEMBER([struct xprison_v1.pr_version], AC_DEFINE_UNQUOTED(HAVE_XPRISON_V1, 1, [Have prison V1 structure defined]), [], -- cgit v1.2.3