]> git.lyx.org Git - features.git/commitdiff
add support for automake 1.13
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 8 May 2013 13:21:13 +0000 (15:21 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 8 May 2013 13:21:13 +0000 (15:21 +0200)
Do not use AM_PROG_MKDIR_P, which is obsolete. We use  the AC_* version
now, which requires autoconf>=2.59d. This also mean that we need to use
the variable MKDIR_P instead of mkdir_p.

INSTALL
autogen.sh
config/.gitignore
intl/Makefile.in
m4/intl.m4
m4/po.m4
po/Makefile.in.in

diff --git a/INSTALL b/INSTALL
index dd490db6822ee142a2d805b1190a21bd5e0a7d4a..42e0b98210b9f22f024bc38a768773b0109a3ada 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -35,8 +35,8 @@ Note for Git checkouts
 
 If you have checked this out from Git, you need to have:
 * automake >= 1.8
-* autoconf >= 2.59c
-* gettext >= 0.12
+* autoconf >= 2.59d
+* gettext >= 0.16.1
 Then type "./autogen.sh" to build the needed configuration
 files and proceed as stated above/below.
 
index 8b4896024b64028a248752c78c19b6452e65362d..2884481157a026a2db8a307b40876edda4e43c97 100755 (executable)
@@ -16,12 +16,12 @@ test "$automake_version" != "" && {
 }
 
 case $automake_version in
-    *' '1.[8-9]*|*' '1.1[012]*)
+    *' '1.[8-9]*|*' '1.1[0123]*)
        ;;
     *)
 
        echo "This automake version is not supported by LyX."
-       echo "LyX only supports automake 1.8 to 1.12."
+       echo "LyX only supports automake 1.8 to 1.13."
        exit 1
        ;;
 esac
@@ -38,11 +38,11 @@ test "$autoversion" != "" && {
 
 
 case $autoversion in
-    *' '2.59[cd]|*' '2.60[ab]|*' '2.6[0-9])
+    *' '2.59d|*' '2.60[ab]|*' '2.6[0-9])
        ;;
     *)
        echo "This autoconf version is not supported by LyX."
-       echo "LyX only supports autoconf 2.59c-2.69."
+       echo "LyX only supports autoconf 2.59d-2.69."
        exit 1
        ;;
 esac
index 1fe03f87ba87feb041065dcd93d97fb66a9c9d03..3db928e4ba7d14c9c680a8a3ed33efb67ced9547 100644 (file)
@@ -4,3 +4,5 @@ depcomp
 install-sh
 missing
 py-compile
+test-driver
+
index 525922e1135b32e7d98933eae94bf33688b28466..49e8e7098e92561c72003c9ff7470ccd66b02f07 100644 (file)
@@ -62,7 +62,7 @@ INSTALL_DATA = @INSTALL_DATA@
 mkinstalldirs = $(SHELL) @install_sh@ -d
 install_sh = $(SHELL) @install_sh@
 MKDIR_P = @MKDIR_P@
-mkdir_p = @mkdir_p@
+mkdir_p = @MKDIR_P@
 
 l = @INTL_LIBTOOL_SUFFIX_PREFIX@
 
index dcefb118c703176d135dba3e294cf1eb086e75f7..286efc908513966e938f3053df89c4d1d31a38f3 100644 (file)
@@ -25,7 +25,8 @@ dnl            USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL.
 AC_DEFUN([AM_INTL_SUBDIR],
 [
   AC_REQUIRE([AC_PROG_INSTALL])dnl
-  AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
+  AC_REQUIRE([AC_PROG_MKDIR_P])dnl defined by autoconf
+dnl  AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake (obsolete)
   AC_REQUIRE([AC_PROG_CC])dnl
   AC_REQUIRE([AC_CANONICAL_HOST])dnl
   AC_REQUIRE([gt_GLIBC2])dnl
index 00133ef36f83c91ec47b1e2ca721d542fdabf9d4..815c873be4a16915e7a661441e095b42b7573032 100644 (file)
--- a/m4/po.m4
+++ b/m4/po.m4
@@ -24,7 +24,8 @@ AC_DEFUN([AM_PO_SUBDIRS],
 [
   AC_REQUIRE([AC_PROG_MAKE_SET])dnl
   AC_REQUIRE([AC_PROG_INSTALL])dnl
-  AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
+  AC_REQUIRE([AC_PROG_MKDIR_P])dnl defined by autoconf
+dnl  AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake (obsolete)
   AC_REQUIRE([AM_NLS])dnl
 
   dnl Perform the following tests also if --disable-nls has been given,
index 33534f93140225f4b81cb2997dcf9540ec00bf6f..01bef6d271056743172f47390e6e9096d1329b09 100644 (file)
@@ -43,7 +43,7 @@ INSTALL_DATA = @INSTALL_DATA@
 mkinstalldirs = $(SHELL) @install_sh@ -d
 install_sh = $(SHELL) @install_sh@
 MKDIR_P = @MKDIR_P@
-mkdir_p = @mkdir_p@
+mkdir_p = @MKDIR_P@
 
 GMSGFMT_ = @GMSGFMT@
 GMSGFMT_no = @GMSGFMT@