~ubuntu-branches/ubuntu/karmic/openvas-server/karmic

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: Bazaar Package Importer
  • Author(s): Javier Fernandez-Sanguino Pen~a
  • Date: 2009-01-02 01:38:47 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090102013847-74xy2uo1e3hovqjo
Tags: 2.0.0-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# OpenVAS
2
 
# $Id: configure.in 1008 2008-07-02 14:29:53Z mwiegand $
 
2
# $Id: configure.in 1773 2008-11-18 08:58:46Z mwiegand $
3
3
# Description: autoconf script for OpenVAS
4
4
#
5
5
# Authors: - Renaud Deraison <deraison@nessus.org> (Original pre-fork develoment)
41
41
 
42
42
 
43
43
AC_INIT(.root-dir)
44
 
AC_REVISION($Revision: 1008 $)dnl
 
44
AC_REVISION($Revision: 1773 $)dnl
 
45
AC_PREREQ(2.50)
45
46
 
46
 
NEED_OPENVASLIBS_VERSION=1.0.2
47
 
NEED_OPENVASLIBNASL_VERSION=1.0.1
 
47
NEED_OPENVASLIBS_VERSION=2.0.0
 
48
NEED_OPENVASLIBNASL_VERSION=2.0.0
48
49
 
49
50
dnl version stuff -- jordan
50
51
save_IFS="${IFS}"
198
199
)
199
200
fi
200
201
 
 
202
dnl GLIB needs to be quoted in the next line otherwise m4 tries to expand it#
 
203
PKG_CHECK_MODULES([GLIB], glib-2.0 >= 2.6.0, HAVE_GLIB="yes", AC_MSG_ERROR("glib >= 2.6.0 not found"))
 
204
AC_SUBST(GLIB_CFLAGS)
 
205
AC_SUBST(GLIB_LIBS)
 
206
 
201
207
OVSCFLAGS="`$LIBOPENVASCONFIG --cflags`"
202
208
NASLCFLAGS="`$OPENVASLIBNASLCONFIG --cflags`"
203
209
 
216
222
AC_HEADER_SYS_WAIT
217
223
AC_HEADER_TIME
218
224
AC_HEADER_DIRENT
219
 
AC_CHECK_HEADERS(unistd.h getopt.h string.h strings.h sys/sockio.h sys/socketio.h)
 
225
AC_CHECK_HEADERS(unistd.h string.h strings.h sys/sockio.h sys/socketio.h)
220
226
AC_CHECK_HEADERS(sys/param.h netinet/tcpip.h netinet/in_systm.h)
221
227
AC_CHECK_HEADERS(netinet/ip_udp.h netinet/protocols.h sys/ioctl.h netinet/ip_icmp.h)
222
228
AC_CHECK_HEADERS(rpc/rpc.h netinet/udp.h dlfcn.h sys/un.h memory.h ctype.h errno.h)
261
267
AC_TYPE_SIZE_T
262
268
AC_TYPE_UID_T
263
269
 
 
270
AC_SYS_LARGEFILE
 
271
AC_FUNC_FSEEKO
 
272
AC_TYPE_OFF_T
 
273
 
264
274
dnl this routine has been adopted from the GNU emacs20 distrubution
265
275
AC_MSG_CHECKING(for struct timeval)
266
276
AC_TRY_COMPILE([#ifdef TIME_WITH_SYS_TIME