1dnl @(#) $Header: /u0/home/explorer/proj/ISC/git-conversion/cvsroot/bind9/contrib/nslint-2.1a3/configure.in,v 1.1 2001/12/21 04:12:03 marka Exp $ (LBL)
2dnl
3dnl Copyright (c) 1995, 1996, 1997
4dnl	The Regents of the University of California.  All rights reserved.
5dnl
6dnl Process this file with autoconf to produce a configure script.
7dnl
8
9AC_INIT(nslint.c)
10
11AC_CANONICAL_SYSTEM
12
13umask 002
14
15if test -z "$PWD" ; then
16	PWD=`pwd`
17fi
18
19AC_LBL_C_INIT(V_CCOPT, V_INCLS)
20
21AC_CHECK_HEADERS(fcntl.h malloc.h memory.h)
22
23AC_REPLACE_FUNCS(strerror)
24AC_CHECK_LIB(nsl, main)
25AC_CHECK_LIB(socket, main)
26
27AC_CHECK_TYPE(int32_t, int)
28AC_CHECK_TYPE(u_int32_t, u_int)
29
30AC_LBL_DEVEL(V_CCOPT)
31
32if test -r lbl/gnuc.h ; then
33	rm -f gnuc.h
34	ln -s lbl/gnuc.h gnuc.h
35fi
36
37AC_SUBST(V_CCOPT)
38AC_SUBST(V_INCLS)
39
40AC_PROG_INSTALL
41
42AC_OUTPUT(Makefile)
43
44if test -f .devel ; then
45	make depend
46fi
47exit 0
48