]> sourceware.org Git - automake.git/commitdiff
* m4/depend.m4 (_AM_DEPENDENCIES): Use `touch' rather than `: >'
authorAlexandre Duret-Lutz <adl@gnu.org>
Sun, 29 Feb 2004 21:26:44 +0000 (21:26 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Sun, 29 Feb 2004 21:26:44 +0000 (21:26 +0000)
to create numbered dependencies.  This fixes a portability issue
when CONFIG_SHELL is forced to /bin/sh on Solaris 8.
Reported by Mark Phillips.

ChangeLog
THANKS
m4/depend.m4

index 8386e5a60b9eabbfd9b5b6a28f8b2d56a6e0b18c..f181b0ceb041303dead61bdb27e8c26caf856282 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2004-02-29  Alexandre Duret-Lutz  <adl@gnu.org>
 
+       * m4/depend.m4 (_AM_DEPENDENCIES): Use `touch' rather than `: >'
+       to create numbered dependencies.  This fixes a portability issue
+       when CONFIG_SHELL is forced to /bin/sh on Solaris 8.
+       Reported by Mark Phillips.
+
        * automake.in (lang_yacc_target_hook): Use Automake::Rule::define
        so that rules for the same headers are not output twice.
        * lib/Automake/Variable.pm (value_as_list_recursive): Do not
diff --git a/THANKS b/THANKS
index ebfa490f683f1aa7e194f25c05700af3bad13b7e..7e10ef8d0a3dd04dcc71dd632388200a56f4364b 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -142,6 +142,7 @@ Mark Eichin         eichin@cygnus.com
 Mark Elbrecht          snowball3@bigfoot.com
 Mark Galassi           rosalia@nis.lanl.gov
 Mark Mitchell          mark@codesourcery.com
+Mark Phillips          msp@nortelnetworks.com
 Markku Rossi           mtr@ngs.fi
 Markus F.X.J. Oberhumer        k3040e4@wildsau.idv-edu.uni-linz.ac.at
 Martin Frydl           martin@idoox.com
index f695a384392938756c15b46c09982de3540cb73c..fe5fee449d202d4c3f6cd4bdae7e3a4043665c82 100644 (file)
@@ -1,4 +1,4 @@
-# serial 6                                             -*- Autoconf -*-
+# serial 7                                             -*- Autoconf -*-
 
 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
 # Free Software Foundation, Inc.
@@ -85,7 +85,9 @@ AC_CACHE_CHECK([dependency style of $depcc],
     : > sub/conftest.c
     for i in 1 2 3 4 5 6; do
       echo '#include "conftst'$i'.h"' >> sub/conftest.c
-      : > sub/conftst$i.h
+      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
+      # Solaris 8's {/usr,}/bin/sh.
+      touch sub/conftst$i.h
     done
     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
This page took 0.036128 seconds and 5 git commands to generate.