automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFC: deprecating mkinstalldirs


From: Alexandre Duret-Lutz
Subject: Re: RFC: deprecating mkinstalldirs
Date: Thu, 13 Nov 2003 20:17:48 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

>>> "adl" == Alexandre Duret-Lutz <address@hidden> writes:

>>> "Akim" == Akim Demaille <address@hidden> writes:
 adl> [...]

 >>> +AC_DEFUN([AM_PROG_MKDIR_P],
 >>> +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 adl> [...]
 >>> +  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 >>> +  if test -f "$am_aux_dir/mkinstalldirs"; then

 adl> I just noticed that we don't need $am_aux_dir to be absoslute
 adl> here, so there is no point in using AM_AUX_DIR_EXPAND.  I'll fix
 adl> this.

I'm installing this

2003-11-13  Alexandre Duret-Lutz  <address@hidden>

        * m4/mkdirp.m4: Do not require AM_AUX_DIR_EXPAND.

Index: m4/mkdirp.m4
===================================================================
RCS file: /cvs/automake/automake/m4/mkdirp.m4,v
retrieving revision 1.1
diff -u -r1.1 mkdirp.m4
--- m4/mkdirp.m4        10 Nov 2003 20:55:33 -0000      1.1
+++ m4/mkdirp.m4        13 Nov 2003 19:16:43 -0000
@@ -20,8 +20,7 @@
 # 02111-1307, USA.
 
 AC_DEFUN([AM_PROG_MKDIR_P],
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-if mkdir -m 0755 -p -- . 2>/dev/null; then
+[if mkdir -m 0755 -p -- . 2>/dev/null; then
   mkdir_p='mkdir -m 0755 -p --'
 else
   # On NextStep and OpenStep, the `mkdir' command does not
@@ -33,7 +32,7 @@
     test -d $d && rmdir $d
   done
   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
-  if test -f "$am_aux_dir/mkinstalldirs"; then
+  if test -f "$ac_aux_dir/mkinstalldirs"; then
     mkdir_p='$(mkinstalldirs) -m 0755'
   else
     mkdir_p='$(install_sh) -m 0755 -d'

-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]