Hi,
libltdl/libltdl/lt__glibc.h includes argz.h even when HAVE_ARGZ_H is not
defined. This breaks building with latest CVS on OSX, and probably a
number of other non-glibc platforms.
Please see my patch below.
Best regards,
Andrew Miller
--- /Users/cmiss/libtool-2.1a/libltdl/libltdl/lt__glibc.h
2005-09-17 19:29:03.000000000 +1200
+++ ../CellML_DOM_API/lt__glibc.h 2006-08-15 13:19:09.000000000 +1200
@@ -48,19 +48,21 @@
# undef argz_create_sep
# define argz_create_sep lt__argz_create_sep
# undef argz_insert
# define argz_insert lt__argz_insert
# undef argz_next
# define argz_next lt__argz_next
# undef argz_stringify
# define argz_stringify lt__argz_stringify
-#endif
+#else
#include <argz.h>
+#endif
+
# define slist_concat lt__slist_concat
# define slist_cons lt__slist_cons
# define slist_delete lt__slist_delete
# define slist_remove lt__slist_remove
# define slist_reverse lt__slist_reverse
# define slist_sort lt__slist_sort
# define slist_tail lt__slist_tail
_______________________________________________
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool