Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ fi

dnl Allow the user to specify where ltdl is installed (cannot be used in
dnl conjunction with --with-ltdl-include and/or --with-ltdl-lib
AC_ARG_WITH([installed_ltdl],
AC_ARG_WITH([included_ltdl],
[AS_HELP_STRING([--with-included-ltdl=DIR],
[use ltdl installed in DIR])])
if test -n "$with_included_ltdl"; then
Expand All @@ -211,7 +211,6 @@ if test -n "$with_included_ltdl"; then
if test -f "$with_included_ltdl/lib/libltdl.la"; then
LIBLTDL="-L$with_included_ltdl/lib -lltdl"
LDFLAGS="$LDFLAGS $LIBLTDL"
AC_MSG_RESULT([yep])
else
with_included_ltdl=no
AC_MSG_RESULT([no])
Expand All @@ -233,15 +232,13 @@ fi

dnl If the user did not explicitly specify where ltdl headers are, we check
dnl if the headers are available on the system by default.
echo "toto $with_ltdl_include $with_included_ltdl"
if test x"$with_ltdl_include" = x"no" -a x"$with_included_ltdl" = x"no"; then
AC_MSG_CHECKING([for ltld.h])
AC_CHECK_HEADER([ltdl.h],
[AC_MSG_RESULT([yes])],
[AC_MSG_ERROR([ltdl headers not available]),
exit 1])
fi
echo "titi"

dnl If the user did not explicitly specify where the ltdl library is, we check
dnl if the library is available on the system by default. Note that by checking
Expand Down