]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Assume presence of a config header in all files, to provoke
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 26 Oct 2006 20:39:04 +0000 (20:39 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 26 Oct 2006 20:39:04 +0000 (20:39 +0000)
test failures on all systems.
* libltdl/lt__alloc.c: Likewise.
* libltdl/libltdl/lt__dirent.h: Likewise.
* libltdl/libltdl/lt__glibc.h: Likewise.
* libltdl/libltdl/lt__private.h: Likewise.
* libltdl/libltdl/lt__strl.h: Likewise.
* tests/recursive.at: Use AC_CONFIG_HEADERS.
* tests/nonrecursive.at: Likewise.  Invoke autoheader.
* HACKING: Adjust.
Report by Patrick Welche.

ChangeLog
HACKING
libltdl/libltdl/lt__dirent.h
libltdl/libltdl/lt__glibc.h
libltdl/libltdl/lt__private.h
libltdl/libltdl/lt__strl.h
libltdl/lt__alloc.c
tests/nonrecursive.at
tests/recursive.at

index 6f05f7c10bb4f3cb3c3fb76b90a8f04010795ca8..26ffc4b2271b331ef2c9aa209b0b1cbb80b56264 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2006-10-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Assume presence of a config header in all files, to provoke
+       test failures on all systems.
+       * libltdl/lt__alloc.c: Likewise.
+       * libltdl/libltdl/lt__dirent.h: Likewise.
+       * libltdl/libltdl/lt__glibc.h: Likewise.
+       * libltdl/libltdl/lt__private.h: Likewise.
+       * libltdl/libltdl/lt__strl.h: Likewise.
+       * tests/recursive.at: Use AC_CONFIG_HEADERS.
+       * tests/nonrecursive.at: Likewise.  Invoke autoheader.
+       * HACKING: Adjust.
+       Report by Patrick Welche.
+
 2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>,
            Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
diff --git a/HACKING b/HACKING
index dd3a7e2b8705682e70d53cab1b3343b42f77d006..9fc90707aa53623d4bf4b98868594022a41b0951 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -291,17 +291,13 @@ yyyy-mm-dd  Name of Author  <email@address>  (tiny change)
   to various system libc interfaces that differ between hosts supported
   by libtool.  Typically, the files that implement this layer begin:
 
-  #ifdef HAVE_CONFIG_H
-  #  if defined(LT_CONFIG_H)
-  #    include LT_CONFIG_H
-  #  else
-  #    include <config.h>
-  #  endif
+  #if defined(LT_CONFIG_H)
+  #  include LT_CONFIG_H
+  #else
+  #  include <config.h>
   #endif
   #include "lt_system.h"
 
-  The `ifdef HAVE_CONFIG_H' helps facilitate code sharing with gnulib.
-
   Or if they are installed headers that must work outside the libtool
   source tree, simply:
 
index af3ddf27b7cd4e0f88ac17eb159d6d98bcdc77ab..be70f5a4a3e648f3585216e7c90ea8c3796f4219 100644 (file)
@@ -30,12 +30,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 #if !defined(LT__DIRENT_H)
 #define LT__DIRENT_H 1
 
-#ifdef HAVE_CONFIG_H
-#  if defined(LT_CONFIG_H)
-#    include LT_CONFIG_H
-#  else
-#    include <config.h>
-#  endif
+#if defined(LT_CONFIG_H)
+#  include LT_CONFIG_H
+#else
+#  include <config.h>
 #endif
 
 #include "lt_system.h"
index ee54c359545819219c3821f61f2098912251dd90..7019b77cbb6189a20a7ca3d4707bdd51f0ff943b 100644 (file)
@@ -30,12 +30,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 #if !defined(LT__GLIBC_H)
 #define LT__GLIBC_H 1
 
-#ifdef HAVE_CONFIG_H
-#  if defined(LT_CONFIG_H)
-#    include LT_CONFIG_H
-#  else
-#    include <config.h>
-#  endif
+#if defined(LT_CONFIG_H)
+#  include LT_CONFIG_H
+#else
+#  include <config.h>
 #endif
 
 #if !defined(HAVE_ARGZ_H)
index e712b6b8eaf0c822d00f673ac0078bab7f7a514f..32105002347724c9fe11448861562ed034f8a5b6 100644 (file)
@@ -30,12 +30,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 #if !defined(LT__PRIVATE_H)
 #define LT__PRIVATE_H 1
 
-#ifdef HAVE_CONFIG_H
-#  if defined(LT_CONFIG_H)
-#    include LT_CONFIG_H
-#  else
-#    include <config.h>
-#  endif
+#if defined(LT_CONFIG_H)
+#  include LT_CONFIG_H
+#else
+#  include <config.h>
 #endif
 
 #include <stdio.h>
index 2b2de16db98292654a7d8c6716934b3c6aebdd69..36e553b3098a8802bc7bf19ede3a4c3664a3e3f5 100644 (file)
@@ -30,12 +30,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 #if !defined(LT__STRL_H)
 #define LT__STRL_H 1
 
-#ifdef HAVE_CONFIG_H
-#  if defined(LT_CONFIG_H)
-#    include LT_CONFIG_H
-#  else
-#    include <config.h>
-#  endif
+#if defined(LT_CONFIG_H)
+#  include LT_CONFIG_H
+#else
+#  include <config.h>
 #endif
 
 #include <string.h>
index 7cb8553b0458292a8b5c3cc61009448e2653f63c..647a0de82d188856addae89c2393bca262dab9b8 100644 (file)
@@ -27,12 +27,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 
 */
 
-#ifdef HAVE_CONFIG_H
-#  if defined(LT_CONFIG_H)
-#    include LT_CONFIG_H
-#  else
-#    include <config.h>
-#  endif
+#if defined(LT_CONFIG_H)
+#  include LT_CONFIG_H
+#else
+#  include <config.h>
 #endif
 
 #include <stdio.h>
index 44838ce07b92fdd017724f394e0d072295c07b6b..295319713035e6d6074c8b787d24f984be4c272d 100644 (file)
@@ -27,6 +27,7 @@ LT_CONFIG_LTDL_DIR([ltdl], [nonrecursive])
 AC_CONFIG_AUX_DIR([ltdl/config])
 AC_CONFIG_MACRO_DIR([ltdl/m4])
 AC_CONFIG_LIBOBJ_DIR([ltdl])
+AC_CONFIG_HEADERS([config.h:config.hin])
 AM_INIT_AUTOMAKE([foreign subdir-objects])
 AC_PROG_CC
 AM_PROG_CC_C_O
@@ -79,7 +80,7 @@ for file in argz.c lt__dirent.c lt__strl.c; do
   cp ltdl/$file $file
 done
 
-LT_AT_BOOTSTRAP([ignore], [-I ltdl/m4], [ignore], [--add-missing --copy],
+LT_AT_BOOTSTRAP([ignore], [-I ltdl/m4], [], [--add-missing --copy],
        [], [], [all $tst_dist])
 
 AT_CHECK([test -f ltdl/libltdlc.la])
@@ -103,7 +104,7 @@ for file in argz.c lt__dirent.c lt__strl.c; do
   cp ltdl/$file $file
 done
 
-LT_AT_BOOTSTRAP([ignore], [-I ltdl/m4], [ignore], [--add-missing --copy],
+LT_AT_BOOTSTRAP([ignore], [-I ltdl/m4], [], [--add-missing --copy],
        [], [], [all $tst_dist])
 
 AT_CHECK([test -f ltdl/libltdlc.la])
@@ -129,7 +130,7 @@ for file in argz.c lt__dirent.c lt__strl.c; do
   cp ltdl/$file $file
 done
 
-LT_AT_BOOTSTRAP([ignore], [-I ltdl/m4], [ignore], [--add-missing --copy],
+LT_AT_BOOTSTRAP([ignore], [-I ltdl/m4], [], [--add-missing --copy],
        [], [--enable-ltdl-install --prefix=$prefix], [all install $tst_dist])
 
 AT_CHECK([test -f $prefix/lib/libltdl.la])
index 2a5b10764f7d963a9159c67ed2d28f94697f1370..ca8108d3f64f3747f361353f03b956d0bc18ca56 100644 (file)
@@ -27,6 +27,7 @@ LT_CONFIG_LTDL_DIR([ltdl], [recursive])
 AC_CONFIG_AUX_DIR([ltdl/config])
 AC_CONFIG_MACRO_DIR([ltdl/m4])
 AC_CONFIG_LIBOBJ_DIR([ltdl])
+AC_CONFIG_HEADERS([config.h:config.hin])
 AM_INIT_AUTOMAKE([foreign])
 LT_INIT
 LT_WITH_LTDL