* libltdl/argz.c: Use `#ifdef HAVE_CONFIG_H', to facilitate code

sharing with gnulib.  Report by Eric Blake.
* libltdl/lt__alloc.c, libltdl/libltdl/lt__dirent.h,
libltdl/libltdl/lt__glibc.h, libltdl/libltdl/lt__private.h,
libltdl/libltdl/lt__strl.h: Likewise.
* HACKING: Update.
This commit is contained in:
Ralf Wildenhues 2006-08-28 16:02:14 +00:00
parent 05f26e584d
commit 2166e633ae
8 changed files with 24 additions and 13 deletions

View File

@ -1,3 +1,12 @@
2006-08-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libltdl/argz.c: Use `#ifdef HAVE_CONFIG_H', to facilitate code
sharing with gnulib. Report by Eric Blake.
* libltdl/lt__alloc.c, libltdl/libltdl/lt__dirent.h,
libltdl/libltdl/lt__glibc.h, libltdl/libltdl/lt__private.h,
libltdl/libltdl/lt__strl.h: Likewise.
* HACKING: Update.
2006-08-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* libltdl/config/ltmain.m4sh (func_mode_link): Pass through

View File

@ -291,7 +291,7 @@ 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:
#if defined(HAVE_CONFIG_H)
#ifdef HAVE_CONFIG_H
# if defined(LT_CONFIG_H)
# include LT_CONFIG_H
# else
@ -300,6 +300,8 @@ yyyy-mm-dd Name of Author <email@address> (tiny change)
#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:
@ -615,7 +617,7 @@ output of any failed test groups, and the output from `./libtool --config.'
--
Copyright (C) 2004, 2005 Free Software Foundation, Inc.
Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
The canonical source of this file is maintained with the
GNU Libtool package. Report bugs to bug-libtool@gnu.org.

View File

@ -1,5 +1,5 @@
/* argz.c -- argz implementation for non-glibc systems
Copyright (C) 2004 Free Software Foundation, Inc.
Copyright (C) 2004, 2006 Free Software Foundation, Inc.
Originally by Gary V. Vaughan <gary@gnu.org>
NOTE: The canonical source of this file is maintained with the
@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
*/
#if defined(HAVE_CONFIG_H)
#ifdef HAVE_CONFIG_H
# if defined(LTDL) && defined LT_CONFIG_H
# include LT_CONFIG_H
# else

View File

@ -30,7 +30,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
#if !defined(LT__DIRENT_H)
#define LT__DIRENT_H 1
#if defined(HAVE_CONFIG_H)
#ifdef HAVE_CONFIG_H
# if defined(LT_CONFIG_H)
# include LT_CONFIG_H
# else

View File

@ -1,5 +1,5 @@
/* lt__glibc.h -- support for non glibc environments
Copyright (C) 2004 Free Software Foundation, Inc.
Copyright (C) 2004, 2006 Free Software Foundation, Inc.
Originally by Gary V. Vaughan <gary@gnu.org>
NOTE: The canonical source of this file is maintained with the
@ -30,7 +30,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
#if !defined(LT__GLIBC_H)
#define LT__GLIBC_H 1
#if defined(HAVE_CONFIG_H)
#ifdef HAVE_CONFIG_H
# if defined(LT_CONFIG_H)
# include LT_CONFIG_H
# else

View File

@ -1,5 +1,5 @@
/* lt__private.h -- internal apis for libltdl
Copyright (C) 2004, 2005 Free Software Foundation, Inc.
Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
Originally by Gary V. Vaughan <gary@gnu.org>
NOTE: The canonical source of this file is maintained with the
@ -30,7 +30,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
#if !defined(LT__PRIVATE_H)
#define LT__PRIVATE_H 1
#if defined(HAVE_CONFIG_H)
#ifdef HAVE_CONFIG_H
# if defined(LT_CONFIG_H)
# include LT_CONFIG_H
# else

View File

@ -1,5 +1,5 @@
/* lt__strl.h -- size-bounded string copying and concatenation
Copyright (C) 2004 Free Software Foundation, Inc.
Copyright (C) 2004, 2006 Free Software Foundation, Inc.
Written by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
NOTE: The canonical source of this file is maintained with the
@ -30,7 +30,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
#if !defined(LT__STRL_H)
#define LT__STRL_H 1
#if defined(HAVE_CONFIG_H)
#ifdef HAVE_CONFIG_H
# if defined(LT_CONFIG_H)
# include LT_CONFIG_H
# else

View File

@ -1,5 +1,5 @@
/* lt__alloc.c -- internal memory management interface
Copyright (C) 2004 Free Software Foundation, Inc.
Copyright (C) 2004, 2006 Free Software Foundation, Inc.
Originally by Gary V. Vaughan <gary@gnu.org>
NOTE: The canonical source of this file is maintained with the
@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
*/
#if defined(HAVE_CONFIG_H)
#ifdef HAVE_CONFIG_H
# if defined(LT_CONFIG_H)
# include LT_CONFIG_H
# else