chiark / gitweb /
Import release 0.1.16
[secnet.git] / configure.in
index cff1044841067b8d993909826f71a103c797042c..cda2a2b6c72291f560b807182dc76f381e5069b0 100644 (file)
@@ -1,9 +1,11 @@
 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.2 2001/12/06 17:36:27 steve Exp $)
+AC_REVISION($Id: configure.in,v 1.4 2002/09/09 22:05:02 steve Exp $)
 
 AC_LANG_C
 
@@ -22,6 +24,7 @@ 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
@@ -39,8 +42,6 @@ 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"] ) 
-dnl check for alloca
 AC_CHECK_FUNCS(snprintf , , [LIBOBJS="$LIBOBJS snprintf.o"] )
-AC_FUNC_ALLOCA()
 
 AC_OUTPUT(Makefile,echo timestamp >stamp-h)