Project

General

Profile

Bug #199 » 0001-pkg-config-detection-added-to-configure.in-added-to.patch

pkg-config detection patch - Will Metcalf, 06/30/2010 04:37 PM

View differences:

configure.in
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PATH_PROG(HAVE_PKG_CONFIG, pkg-config, "no")
if test "$HAVE_PKG_CONFIG" = "no"; then
echo
echo " ERROR! pkg-config not found, go get it "
echo " http://pkg-config.freedesktop.org/wiki/ "
echo " or install from your distribution "
echo
exit 1
fi
# Checks for libraries.
# Checks for header files.
......
])
# enable debug validation functions & macro's output
AC_ARG_ENABLE(debug,
AC_ARG_ENABLE(debug-validation,
AS_HELP_STRING([--enable-debug-validation], [Enable (debug) validation code output]),,[enable_debug_validation=no])
AS_IF([test "x$enable_debug_validation" = "xyes"], [
CFLAGS="${CFLAGS} -DDEBUG_VALIDATION"
doc/INSTALL
automake
autoconf
libtool
pkg-config
Library Requirements
====================
......
sudo apt-get -y install libpcre3 libpcre3-dbg libpcre3-dev \
build-essential autoconf automake libtool libpcap-dev libnet1-dev \
libyaml-0-1 libyaml-dev zlib1g zlib1g-dev
libyaml-0-1 libyaml-dev zlib1g zlib1g-dev pkg-config
#if using ubuntu-8.04 to use prebuilt yaml packages you need to
uncomment the following two lines in your /etc/apt/sources.list to
......
sudo yum -y install libpcap libpcap-devel libnet libnet-devel pcre \
pcre-devel gcc gcc-c++ automake autoconf libtool make libyaml \
libyaml-devel zlib zlib-devel
libyaml-devel zlib zlib-devel pkgconfig
#if building with IPS capabilities via ./configure --enable-nfq
sudo yum -y install libnfnetlink libnfnetlink-devel \
......
sudo yum -y install libpcap libpcap-devel libnet libnet-devel pcre \
pcre-devel gcc automake autoconf libtool make gcc-c++ libyaml \
libyaml-devel zlib zlib-devel
libyaml-devel zlib zlib-devel pkgconfig
#if building with IPS capabilities via ./configure --enable-nfq there
are no pre-built packages in CentOS base or EPEL for libnfnetlink and
......
===================
pkg_add -r autoconf262 automake19 gcc45 libyaml pcre libtool \
libnet11 libpcap gmake
libnet11 libpcap gmake pkg-config
### Suricata:
#Retrieve and install Suricata
(1-1/2)