]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
From Stephan Kulow <coolo@kde.org>
authorGary V. Vaughan <gary@gnu.org>
Thu, 9 Dec 1999 23:35:14 +0000 (23:35 +0000)
committerGary V. Vaughan <gary@gnu.org>
Thu, 9 Dec 1999 23:35:14 +0000 (23:35 +0000)
* libltdl/ltdl.m4:  Add arg 3 to AC_DEFINE's to save the user
from having to hack acconfig.h.

ChangeLog
libltdl/ltdl.m4

index 2959b0f5586abdb4418c54cd9a9784be00ceccd2..2af4a167735ed443791af1f02b63647ca5296641 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+1999-12-10  Gary V. Vaughan  <gary@oranda.demon.co.uk>
+
+       From Stephan Kulow <coolo@kde.org>
+       * libltdl/ltdl.m4:  Add arg 3 to AC_DEFINE's to save the user
+       from having to hack acconfig.h.
+
 1999-12-06  Gary V. Vaughan  <gary@oranda.demon.co.uk>
 
        * NEWS: Updated.
index 6587982f00ed85a0ebff2df8eec852390d771982..23b0646ac38170511f7220b3648aadd2bc02404d 100644 (file)
@@ -120,11 +120,19 @@ fi
 
 AC_DEFUN(AC_LTDL_DLLIB,
 [LIBADD_DL=
-AC_CHECK_LIB(dl, dlopen, [AC_DEFINE(HAVE_LIBDL, 1) LIBADD_DL="-ldl"],
-[AC_CHECK_FUNC(dlopen, [AC_DEFINE(HAVE_LIBDL, 1)])])
-AC_CHECK_FUNC(shl_load, [AC_DEFINE(HAVE_SHL_LOAD, 1)],
-[AC_CHECK_LIB(dld, shl_load, [AC_DEFINE(HAVE_SHL_LOAD, 1) LIBADD_DL="$LIBADD_DL -ldld"])])
-AC_CHECK_LIB(dld, dld_link, [AC_DEFINE(HAVE_DLD, 1)dnl
+AC_CHECK_LIB(dl, dlopen, [AC_DEFINE(HAVE_LIBDL, 1,
+   [Define if you have the libdl library or equivalent. ]) LIBADD_DL="-ldl"],
+[AC_CHECK_FUNC(dlopen, [AC_DEFINE(HAVE_LIBDL, 1,
+   [Define if you have the libdl library or equivalent.])])])
+AC_CHECK_FUNC(shl_load, [AC_DEFINE(HAVE_SHL_LOAD, 1,
+   [Define if you have the shl_load function.])],
+[AC_CHECK_LIB(dld, shl_load,
+  [AC_DEFINE(HAVE_SHL_LOAD, 1,
+     [Define if you have the shl_load function.])
+   LIBADD_DL="$LIBADD_DL -ldld"])
+])
+AC_CHECK_LIB(dld, dld_link, [AC_DEFINE(HAVE_DLD, 1,
+  [Define if you have the GNU dld library.])dnl
 test "x$ac_cv_lib_dld_shl_load" = yes || LIBADD_DL="$LIBADD_DL -ldld"])
 AC_SUBST(LIBADD_DL)