mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-30 14:30:15 +08:00
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.
This commit is contained in:
parent
59983b361e
commit
def5151000
@ -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.
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user