summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2005-09-18 10:35:01 +0000
committerAndreas Gruenbacher <agruen@suse.de>2005-09-18 10:35:01 +0000
commit20f20c4c8080e6abfb30662010ee4658e4230d14 (patch)
tree3dcfcfbba2933f0a57fe743d3d9c33fc75777765 /configure.ac
parentac5dbed7235d5f6e7284329b164c0e271fc91297 (diff)
downloadquilt-20f20c4c8080e6abfb30662010ee4658e4230d14.tar.gz
- lib/backup-files.c: use mktemp if mkstemp is not available
(Gary V. Vaughan <gary@gnu.org>). Add a config.h.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ad4098c..5cf58e3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,13 +2,14 @@ dnl Process this file with autoconf to produce a configure script.
AC_INIT([quilt],[0.42],[quilt-dev@nongnu.org])
AC_CONFIG_AUX_DIR(config)
AC_PREREQ(2.53)
-AC_REVISION ($Revision: 1.45 $)
+AC_REVISION ($Revision: 1.46 $)
PACKAGE_RELEASE=1
AC_SUBST(PACKAGE_RELEASE)
dnl Setup for backup-files compilation
AC_HEADER_STDC
+AC_CHECK_FUNCS([mkstemp mktemp], break)
AC_CHECK_FUNCS([mkdir])
AC_CHECK_FUNCS([rmdir])
AC_CHECK_FUNCS([strchr])
@@ -223,6 +224,7 @@ AC_SUBST(RPMBUILD)
AC_SUBST(COMPAT_SYMLINKS)
AC_SUBST(COMPAT_PROGRAMS)
+AC_CONFIG_HEADERS(config.h)
AC_CONFIG_FILES(Makefile)
AC_OUTPUT