From d78e86d8dc2b083ee413735a17ba86b0242cd172 Mon Sep 17 00:00:00 2001 From: alan Date: Wed, 31 Aug 2005 20:15:05 +0000 Subject: [PATCH] Put in an extra test for libnet - make sure headers are installed... CVS patchset: 7456 CVS date: 2005/08/31 20:15:05 --HG-- extra : convert_revision : d000cfed65d03b5e81a95d2367855379f32c1d8f --- configure.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 3ade5e4a9c..edbf479679 100644 --- a/configure.in +++ b/configure.in @@ -10,7 +10,7 @@ dnl Initialiase, with sanity check of a unique file in the hierarchy AC_INIT(heartbeat.spec.in) AC_CONFIG_AUX_DIR(.) -AC_REVISION($Revision: 1.428 $) dnl cvs revision +AC_REVISION($Revision: 1.429 $) dnl cvs revision AC_CANONICAL_HOST @@ -460,6 +460,13 @@ else *-l*) libnet=`echo $LIBNETLIBS | sed 's%.*-l%%'`;; *) libnet=$LIBNETLIBS;; esac + AC_CHECK_HEADERS(libnet.h) + if test "$ac_cv_header_libnet_h" = no; then + FatalMissingThing "libnet" "You need libnet (headers) to continue." \ + "You can get libnet from http://www.packetfactory.net/libnet" \ + "Note that some RPMs split libnet up into libnet and libnet-devel." \ + "In this case you have to install libnet-devel" + fi fi AC_SUBST(LIBNETDEFINES)