Skip to content

Commit

Permalink
Put in an extra test for libnet - make sure headers are installed...
Browse files Browse the repository at this point in the history
CVS patchset: 7456
CVS date: 2005/08/31 20:15:05

--HG--
extra : convert_revision : d000cfed65d03b5e81a95d2367855379f32c1d8f
  • Loading branch information
alan committed Aug 31, 2005
1 parent f2aeea0 commit d78e86d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion configure.in
Expand Up @@ -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


Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit d78e86d

Please sign in to comment.