X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=configure.in;h=747d901c457c3113c08312c5bc2ebf11c2c4cf1b;hb=HEAD;hp=cda2a2b6c72291f560b807182dc76f381e5069b0;hpb=3b83c93292fbf6c4e859ce513bdf54ad90733f96;p=secnet.git diff --git a/configure.in b/configure.in deleted file mode 100644 index cda2a2b..0000000 --- a/configure.in +++ /dev/null @@ -1,47 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. - -sinclude(ac_prog_cc_no_writeable_strings.m4) - -AC_INIT(secnet.c) -AC_CONFIG_HEADER(config.h) - -AC_REVISION($Id: configure.in,v 1.4 2002/09/09 22:05:02 steve Exp $) - -AC_LANG_C - -AC_PROG_MAKE_SET -AC_PROG_CC -AC_PROG_INSTALL -AC_PATH_PROG(RM,rm) -AC_STDC_HEADERS -AC_CHECK_HEADERS(stdint.h inttypes.h) -AC_CHECK_HEADERS(net/if.h net/route.h) -AC_CHECK_HEADERS(linux/if.h) -AC_CHECK_HEADERS(stropts.h sys/sockio.h net/if_tun.h) -AC_C_BIGENDIAN -AC_CHECK_SIZEOF(unsigned long long) -AC_CHECK_SIZEOF(unsigned long) -AC_CHECK_SIZEOF(unsigned int) -AC_CHECK_SIZEOF(unsigned short) -AC_CHECK_SIZEOF(unsigned char) -AC_PROG_CC_NO_WRITEABLE_STRINGS(WRITESTRINGS) - -dnl the order in which libraries is checked is important -dnl eg. adns on Solaris 2.5.1 depends on -lnsl and -lsocket -AC_CHECK_LIB(gmp,mpz_init_set_str) -AC_CHECK_LIB(gmp2,mpz_init_set_str) -AC_CHECK_LIB(gmp,__gmpz_init_set_str) -AC_CHECK_LIB(fl,yywrap) -AC_CHECK_LIB(nsl,inet_ntoa) -AC_CHECK_LIB(getopt,getopt_long) -AC_CHECK_LIB(gnugetopt,getopt_long) -AC_CHECK_LIB(socket,socket) -AC_CHECK_LIB(resolv,inet_aton) -AC_CHECK_LIB(adns,adns_init) - -dnl check for getopt in standard library -AC_SUBST(LIBOBJS) -AC_CHECK_FUNCS(getopt_long , , [LIBOBJS="$LIBOBJS getopt.o getopt1.o"] ) -AC_CHECK_FUNCS(snprintf , , [LIBOBJS="$LIBOBJS snprintf.o"] ) - -AC_OUTPUT(Makefile,echo timestamp >stamp-h)