aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorOlivier Blin <olivier.blin@softathome.com>2012-07-02 18:50:56 +0200
committerMiklos Szeredi <mszeredi@suse.cz>2012-07-04 12:19:29 +0200
commita6a8bcbeefd6c9e9cf1c6c6f5e8224aff2beb51b (patch)
tree3bf1cd6bdb9498b573b1ad9cef100962ab8f9cc4 /configure.in
parentfd4a816823133dd66de60b3a017e1f0442486d1f (diff)
downloadlibfuse-a6a8bcbeefd6c9e9cf1c6c6f5e8224aff2beb51b.tar.gz
Fix build with automake >= 1.12.1
mkdir_p is deprecated since automake 1.12.1 (see automake commit 7a1eb9ff9027929687f12905e131f6fda3fa6d0c). MKDIR_P should be used instead of mkdir_p. This is available since autoconf 2.59d (2006-06-05), by calling AC_PROG_MKDIR_P. The mkdir_p workaround was not working anyway for out-of-tree builds, since the ../mkinstalldirs path would be incorrect.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 2 insertions, 6 deletions
diff --git a/configure.in b/configure.in
index a7448df..36171d1 100644
--- a/configure.in
+++ b/configure.in
@@ -1,4 +1,5 @@
AC_INIT(fuse, 2.9.0)
+AC_PREREQ(2.59d)
AC_CONFIG_MACRO_DIR([m4])
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE
@@ -7,14 +8,9 @@ AM_CONFIG_HEADER(include/config.h)
AC_PROG_LIBTOOL
AC_PROG_CC
+AC_PROG_MKDIR_P
AM_PROG_CC_C_O
-# compatibility for automake < 1.8
-if test -z "$mkdir_p"; then
- mkdir_p="../mkinstalldirs"
- AC_SUBST(mkdir_p)
-fi
-
case $target_os in
*linux*) arch=linux;;
*netbsd*) arch=netbsd;;