aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/configure.in
blob: cb2f94757fcd89e050c708f0359cf482aa86d06f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: configure.in,v 1.3 1998/11/13 03:21:20 gram Exp $
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)

dnl Checks for programs.
AC_PROG_CC
AC_PROG_RANLIB

# 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.))

# 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)