1998-11-13 03:21:20 +00:00
|
|
|
# $Id: configure.in,v 1.3 1998/11/13 03:21:20 gram Exp $
|
1998-11-12 00:06:47 +00:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
AC_INIT(wtap.c)
|
|
|
|
AM_INIT_AUTOMAKE(libwtap.a, 0.0.0)
|
|
|
|
AM_CONFIG_HEADER(config.h)
|
|
|
|
|
1998-11-12 21:39:22 +00:00
|
|
|
dnl Checks for programs.
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_RANLIB
|
1998-11-12 00:06:47 +00:00
|
|
|
|
1998-11-13 03:21:20 +00:00
|
|
|
# GTK checks (copied from ethereal)
|
|
|
|
AM_PATH_GTK(1.0.0, CFLAGS="$CFLAGS $GTK_CFLAGS" LIBS="$LIBS $GTK_LIBS",
|
|
|
|
AC_MSG_ERROR(GTK+ distribution not found.))
|
|
|
|
|
1998-11-12 00:06:47 +00:00
|
|
|
# Pcap checks (copied from ethereal)
|
|
|
|
AC_CHECK_HEADER(pcap.h,, AC_MSG_ERROR(Header file pcap.h not found.))
|
|
|
|
|
|
|
|
dnl Checks for header files
|
|
|
|
AC_HEADER_STDC
|
|
|
|
AC_CHECK_HEADERS(unistd.h)
|
|
|
|
|
|
|
|
AC_OUTPUT(Makefile)
|