# # # patch "configure.ac" # from [713299aeb8b21f4c66733e684a02ab9042ab6f62] # to [46e0901df78937b2d44c1c0a356136f946d8954f] # ============================================================ --- configure.ac 713299aeb8b21f4c66733e684a02ab9042ab6f62 +++ configure.ac 46e0901df78937b2d44c1c0a356136f946d8954f @@ -9,6 +9,19 @@ AC_LANG([C++]) AC_CONFIG_FILES([Makefile util/mtnopt]) AC_LANG([C++]) +dnl AM_INIT_AUTOMAKE only provides $(MKDIR_P) in 1.10 and later. +dnl No, AC_PROG_MKDIR_P does not AC_SUBST its result variable, at least +dnl not in 2.61. Comments in programs.m4 suggest that it was meant to +dnl but not properly implemented. +if test x"$MKDIR_P" = x; then + if test x"$mkdir_p" != x; then + MKDIR_P="$mkdir_p" + else + AC_PROG_MKDIR_P + fi +fi +AC_SUBST([MKDIR_P]) + # Operating system categorization. Don't add more entries to this # case statement if you can possibly avoid it. AC_CANONICAL_HOST