autoconf-patches
[Top][All Lists]
Advanced

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

52-fyi-wrappers.patch


From: Akim Demaille
Subject: 52-fyi-wrappers.patch
Date: Mon, 26 Nov 2001 11:49:44 +0100

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        
        * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
        Remove, replaced by...
        * tests/wrappl.in: Be common for all the Perl executables.
        In particular autoscan and autoheader want -I.
        * configure.ac: Adjust.
        * lib/autoscan/headers: errno.h is portable.
        
Index: configure.ac
--- configure.ac Wed, 14 Nov 2001 20:54:00 +0100 akim
+++ configure.ac Sun, 25 Nov 2001 09:42:33 +0100 akim
@@ -37,13 +37,13 @@
                 [chmod +x tests/autoconf])
 AC_CONFIG_FILES([tests/autoheader:tests/wrappl.in],
                 [chmod +x tests/autoheader])
-AC_CONFIG_FILES([tests/autom4te],
+AC_CONFIG_FILES([tests/autom4te:tests/wrappl.in],
                 [chmod +x tests/autom4te])
 AC_CONFIG_FILES([tests/autoreconf:tests/wrappl.in],
                 [chmod +x tests/autoreconf])
 AC_CONFIG_FILES([tests/autoscan:tests/wrappl.in],
                 [chmod +x tests/autoscan])
-AC_CONFIG_FILES([tests/autoupdate],
+AC_CONFIG_FILES([tests/autoupdate:tests/wrappl.in],
                 [chmod +x tests/autoupdate])
 AC_CONFIG_FILES([tests/ifnames:tests/wrappl.in],
                 [chmod +x tests/ifnames])
Index: lib/autoscan/headers
--- lib/autoscan/headers Sat, 24 Nov 2001 22:23:40 +0100 akim
+++ lib/autoscan/headers Sun, 25 Nov 2001 09:19:36 +0100 akim
@@ -43,7 +43,7 @@
 OS.h
 argz.h
 arpa/inet.h
-errno.h
+# errno.h is portable.
 fcntl.h
 fenv.h
 fs_info.h
Index: tests/wrappl.in
--- tests/wrappl.in Sun, 23 Sep 2001 16:12:48 +0200 akim
+++ tests/wrappl.in Sun, 25 Nov 2001 09:40:14 +0100 akim
@@ -1,4 +1,5 @@
 #! /bin/sh
+# @configure_input@
 # Running `$0' as if it were installed.
 
 me=`echo "$0" | sed -e 's,.*[\\/],,'`
@@ -11,4 +12,18 @@
 address@hidden@/lib
 export autom4te_perllibdir
 
-exec @top_buildpath@/bin/$me ${1+"$@"}
+case $me in
+  ifnames)
+     # Does not have lib files.
+     exec @top_buildpath@/bin/$me ${1+"$@"}
+     ;;
+  autom4te)
+     address@hidden@/lib/autom4te.cfg
+     export AUTOM4TE_CFG
+     ;;
+esac
+
+# We might need files from build (frozen files), in addition of src files.
+exec @top_buildpath@/bin/$me \
+     -I @top_buildpath@/lib \
+     -I @top_srcpath@/lib ${1+"$@"}
Index: tests/autom4te.in
--- tests/autom4te.in Sun, 23 Sep 2001 16:12:48 +0200 akim
+++ tests/autom4te.in Sun, 25 Nov 2001 09:46:07 +0100 akim
@@ -1,18 +0,0 @@
-#! /bin/sh
-# Running `autom4te' as if it were installed.
-
-# Be sure to use the non installed Perl modules.
-# We need no special protection for the subtools (e.g., autoheader runs
-# autoconf which runs autom4te) because by themselves, they try to use
-# subtools from the same directory (i.e., foo/autoheader will run
-# foo/autoconf etc.).
address@hidden@/lib
-export autom4te_perllibdir
-
address@hidden@/lib/autom4te.cfg
-export AUTOM4TE_CFG
-
-# We might need files from build (frozen files), in addition of src files.
-exec @top_buildpath@/bin/autom4te \
-     -I @top_buildpath@/lib \
-     -I @top_srcpath@/lib ${1+"$@"}
Index: tests/autoupdate.in
--- tests/autoupdate.in Sun, 23 Sep 2001 16:12:48 +0200 akim
+++ tests/autoupdate.in Sun, 25 Nov 2001 09:46:07 +0100 akim
@@ -1,15 +0,0 @@
-#! /bin/sh
-# Running `autoupdate' as if it were installed.
-
-# Be sure to use the non installed Perl modules.
-# We need no special protection for the subtools (e.g., autoheader runs
-# autoconf which runs autom4te) because by themselves, they try to use
-# subtools from the same directory (i.e., foo/autoheader will run
-# foo/autoconf etc.).
address@hidden@/lib
-export autom4te_perllibdir
-
-# We might need files from build (frozen files), in addition of src files.
-exec @top_buildpath@/bin/autoupdate \
-     -I @top_buildpath@/lib \
-     -I @top_srcpath@/lib ${1+"$@"}



reply via email to

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