mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-01-18 14:16:00 +08:00
* libltdl/m4/ltdl.m4 (LT_WITH_LTDL): Fix detection of new enough
libltdl by actually checking for the declaration of lt_dlinterface_register in ltdl.h with AC_CHECK_DECL. Remove redundant configure output line.
This commit is contained in:
parent
4cda6b5b78
commit
82b619a320
@ -1,5 +1,10 @@
|
|||||||
2007-02-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
2007-02-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||||
|
|
||||||
|
* libltdl/m4/ltdl.m4 (LT_WITH_LTDL): Fix detection of new enough
|
||||||
|
libltdl by actually checking for the declaration of
|
||||||
|
lt_dlinterface_register in ltdl.h with AC_CHECK_DECL.
|
||||||
|
Remove redundant configure output line.
|
||||||
|
|
||||||
* tests/template.at: Reformat, add M4 quoting. Use $LDFLAGS
|
* tests/template.at: Reformat, add M4 quoting. Use $LDFLAGS
|
||||||
consistently for link mode.
|
consistently for link mode.
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
# unlimited permission to copy and/or distribute it, with or without
|
# unlimited permission to copy and/or distribute it, with or without
|
||||||
# modifications, as long as this notice is preserved.
|
# modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
# serial 11 LTDL_INIT
|
# serial 12 LTDL_INIT
|
||||||
|
|
||||||
# LT_CONFIG_LTDL_DIR(DIRECTORY, [LTDL-MODE])
|
# LT_CONFIG_LTDL_DIR(DIRECTORY, [LTDL-MODE])
|
||||||
# ------------------------------------------
|
# ------------------------------------------
|
||||||
@ -182,18 +182,17 @@ AC_ARG_WITH([included_ltdl],
|
|||||||
if test "x$with_included_ltdl" != xyes; then
|
if test "x$with_included_ltdl" != xyes; then
|
||||||
# We are not being forced to use the included libltdl sources, so
|
# We are not being forced to use the included libltdl sources, so
|
||||||
# decide whether there is a useful installed version we can use.
|
# decide whether there is a useful installed version we can use.
|
||||||
lt_dlinterface_register_found=no
|
|
||||||
AC_CHECK_HEADER([ltdl.h],
|
AC_CHECK_HEADER([ltdl.h],
|
||||||
[AC_CHECK_LIB([ltdl], [lt_dlinterface_register],
|
[AC_CHECK_DECL([lt_dlinterface_register],
|
||||||
[with_included_ltdl=no],
|
[AC_CHECK_LIB([ltdl], [lt_dlinterface_register],
|
||||||
[with_included_ltdl=yes])],
|
[with_included_ltdl=no],
|
||||||
|
[with_included_ltdl=yes])],
|
||||||
[],
|
[with_included_ltdl=yes],
|
||||||
|
[AC_INCLUDES_DEFAULT
|
||||||
|
#include <ltdl.h>])],
|
||||||
|
[with_included_ltdl=yes],
|
||||||
[AC_INCLUDES_DEFAULT]
|
[AC_INCLUDES_DEFAULT]
|
||||||
)
|
)
|
||||||
AC_MSG_CHECKING([for lt_dlinterface_register in ltdl.h])
|
|
||||||
test "x$with_included_ltdl" = xno && lt_dlinterface_register_found=yes
|
|
||||||
AC_MSG_RESULT([$lt_dlinterface_register_found])
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$enable_ltdl_install" != xyes; then
|
if test "x$enable_ltdl_install" != xyes; then
|
||||||
|
Loading…
Reference in New Issue
Block a user