From a6a8bcbeefd6c9e9cf1c6c6f5e8224aff2beb51b Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 2 Jul 2012 18:50:56 +0200 Subject: 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. --- configure.in | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'configure.in') 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;; -- cgit v1.2.3