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-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>
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:
#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"
#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)
#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>
#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>
*/
-#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>
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
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])
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])
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])
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