1AC_REVISION([@(#) Id: configure.in 241 2009-10-10 23:31:13Z leres (LBL)]) 2dnl 3AC_COPYRIGHT([Copyright (c) 1995, 1996, 1997, 2006, 2009 4 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 10AC_CONFIG_SRCDIR(nslint.c) 11 12AC_CANONICAL_TARGET 13 14umask 002 15 16if test -z "$PWD" ; then 17 PWD=`pwd` 18fi 19 20AC_LBL_C_INIT(V_CCOPT, V_INCLS) 21AC_PROG_INSTALL 22 23AC_CHECK_HEADERS(fcntl.h memory.h) 24 25AC_REPLACE_FUNCS(strerror) 26AC_CHECK_LIB(nsl, main) 27AC_CHECK_LIB(socket, main) 28 29AC_LBL_CHECK_TYPE(int32_t, int) 30AC_LBL_CHECK_TYPE(u_int32_t, u_int) 31 32AC_LBL_DEVEL(V_CCOPT) 33 34if test -r lbl/gnuc.h ; then 35 rm -f gnuc.h 36 ln -s lbl/gnuc.h gnuc.h 37fi 38 39AC_SUBST(CFLAGS) 40AC_SUBST(LDFLAGS) 41AC_SUBST(LIBS) 42AC_SUBST(V_CCOPT) 43AC_SUBST(V_INCLS) 44 45AC_CONFIG_FILES(Makefile) 46AC_OUTPUT 47 48if test -f .devel ; then 49 make depend 50fi 51exit 0 52