chiark / gitweb /
build system: Do not use autoconf's `rm'
[secnet.git] / configure.ac
index da8b1d72fa9950c21e89429ca5922051eb17d6c2..9c65460ea9cd8d0d6e2e3695dc135d87995ae845 100644 (file)
@@ -19,10 +19,14 @@ dnl https://www.gnu.org/licenses/gpl.html.
 
 sinclude(ac_prog_cc_no_writeable_strings.m4)
 
+m4_include(subdirmk/subdirmk.ac)
+
 AC_INIT(secnet,0.1.18+,secnet@chiark.greenend.org.uk)
 AC_CONFIG_SRCDIR(secnet.c)
 AC_CONFIG_HEADER(config.h)
 
+SUBDIRMK_SUBDIRS([])
+
 AC_PREREQ(2.50)
 AC_REVISION($Id: configure.in,v 1.4 2002/09/09 22:05:02 steve Exp $)
 
@@ -39,7 +43,6 @@ fi
 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])
@@ -96,7 +99,7 @@ else
     AC_MSG_WARN([Disabling IPv6 support])
 fi
 
-AC_OUTPUT(Makefile common.make test-common.make
+AC_OUTPUT(common.make test-common.make
           test-example/Makefile stest/Makefile mtest/Makefile,
           echo timestamp >config.stamp)