long-deprecated 'configure.in' name for the Autoconf input file.
You are advised to use the recommended name 'configure.ac' instead.
- - The long-obsolete (since automake 1.10) @mkdir_p@ configure-time
- substitution and AM_PROG_MKDIR m4 macro will be removed in Automake
- 1.13. The $(mkdir_p) should still remain available for the moment
- though.
+ - The long-obsolete (since automake 1.10) AM_PROG_MKDIR m4 macro will
+ be removed in Automake 1.13. The $(mkdir_p) make variable and the
+ @mkdir_p@ substitution will still remain available (as aliases of
+ $(MKDIR_P)) for the moment, for better backward compatibility.
- Autoconf 2.65 or later will be required by the next major Automake
version (1.13). Until now, Automake has required Autoconf version
* Bugs introduced by 1.12.1:
- - Automake generated Makefiles define once again the $(mkdir_p) make
- variable (simple ans an alias for $(MKDIR_P)), for better backward
- compatibility. The '@mkdir_p@' substitution is however not enabled
- by default anymore; anyone needing it should call the AM_PROG_MKDIR
- m4 macro explicitly (beware that this macro has been deprecated since
- the previous Automake release 1.12.1, and will be removed in Automake
- 1.13).
+ - Automake provides once again the '$(mkdir_p)' make variable and the
+ '@mkdir_p@' substitution (both as simple aliases for '$(MKDIR_P)'),
+ for better backward-compatibility.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PRE_UNINSTALL = :
POST_UNINSTALL = :
-# For better backward compatibility. To be removed once Automake 1.9.x
-# dies out for good. For more background, see:
-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
-mkdir_p = $(MKDIR_P)
-
## dejagnu.am uses these variables. Some users might rely on them too.
?BUILD?build_triplet = @build@
?HOST?host_triplet = @host@
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+# For better backward compatibility. To be removed once Automake 1.9.x
+# dies out for good. For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
# We need awk for the "check" target. The system "awk" is bad on
# some platforms.
AC_REQUIRE([AC_PROG_AWK])dnl
cat > Makefile.am << 'END'
SUBDIRS = sub
all-local:
- $(mkdir_p) . dir1/dir2
+ $(mkdir_p) . dir1/a
+ @mkdir_p@ . dir2/b
check-local: all
- test -d dir1/dir2
- test -d dir1/dir3
+ test -d dir1/a
+ test -d dir2/b
+ test -d dir3/c
+ test -d dir3/d
END
mkdir sub
cat > sub/Makefile.am << 'END'
# '$(mkdir_p)' should continue to work even in subdir makefiles.
all-local:
- $(mkdir_p) .. ../dir1/dir3
+ $(mkdir_p) .. ../dir3/c
+ @mkdir_p@ .. ../dir3/d
END
$ACLOCAL
cat > Makefile.am << 'END'
SUBDIRS = sub
all-local:
- $(mkdir_p) . dir1/dir2
+ $(mkdir_p) . dir1/a
+ @mkdir_p@ . dir2/b
check-local: all
- test -d dir1/dir2
- test -d dir1/dir3
+ test -d dir1/a
+ test -d dir2/b
+ test -d dir3/c
+ test -d dir3/d
END
mkdir sub
cat > sub/Makefile.am << 'END'
# '$(mkdir_p)' should continue to work even in subdir makefiles.
all-local:
- $(mkdir_p) .. ../dir1/dir3
+ $(mkdir_p) .. ../dir3/c
+ @mkdir_p@ .. ../dir3/d
END
grep_err ()