3725. [contrib] Updated zkt and nslint to newest versions, cleaned up and rearranged the contrib directory, added a README.
52 lines
895 B
Plaintext
52 lines
895 B
Plaintext
AC_REVISION([@(#) $Id: configure.in 241 2009-10-10 23:31:13Z leres $ (LBL)])
|
|
dnl
|
|
AC_COPYRIGHT([Copyright (c) 1995, 1996, 1997, 2006, 2009
|
|
The Regents of the University of California. All rights reserved.])
|
|
dnl
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
dnl
|
|
|
|
AC_INIT
|
|
AC_CONFIG_SRCDIR(nslint.c)
|
|
|
|
AC_CANONICAL_TARGET
|
|
|
|
umask 002
|
|
|
|
if test -z "$PWD" ; then
|
|
PWD=`pwd`
|
|
fi
|
|
|
|
AC_LBL_C_INIT(V_CCOPT, V_INCLS)
|
|
AC_PROG_INSTALL
|
|
|
|
AC_CHECK_HEADERS(fcntl.h memory.h)
|
|
|
|
AC_REPLACE_FUNCS(strerror)
|
|
AC_CHECK_LIB(nsl, main)
|
|
AC_CHECK_LIB(socket, main)
|
|
|
|
AC_LBL_CHECK_TYPE(int32_t, int)
|
|
AC_LBL_CHECK_TYPE(u_int32_t, u_int)
|
|
|
|
AC_LBL_DEVEL(V_CCOPT)
|
|
|
|
if test -r lbl/gnuc.h ; then
|
|
rm -f gnuc.h
|
|
ln -s lbl/gnuc.h gnuc.h
|
|
fi
|
|
|
|
AC_SUBST(CFLAGS)
|
|
AC_SUBST(LDFLAGS)
|
|
AC_SUBST(LIBS)
|
|
AC_SUBST(V_CCOPT)
|
|
AC_SUBST(V_INCLS)
|
|
|
|
AC_CONFIG_FILES(Makefile)
|
|
AC_OUTPUT
|
|
|
|
if test -f .devel ; then
|
|
make depend
|
|
fi
|
|
exit 0
|