version 1.1, 2000/10/11 18:12:10
|
version 1.2, 2000/11/03 13:45:26
|
Line 620 esac
|
Line 620 esac
|
]) |
]) |
|
|
# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for |
# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for |
# the libltdl convenience library, adds --enable-ltdl-convenience to |
# the libltdl convenience library and INCLTDL to the include flags for |
# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor |
# the libltdl header and adds --enable-ltdl-convenience to the |
# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed |
# configure arguments. Note that LIBLTDL and INCLTDL are not |
# to be `${top_builddir}/libltdl'. Make sure you start DIR with |
# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not |
# '${top_builddir}/' (note the single quotes!) if your package is not |
# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed |
# flat, and, if you're not using automake, define top_builddir as |
# with '${top_builddir}/' and INCLTDL will be prefixed with |
# appropriate in the Makefiles. |
# '${top_srcdir}/' (note the single quotes!). If your package is not |
|
# flat and you're not using automake, define top_builddir and |
|
# top_srcdir appropriately in the Makefiles. |
AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl |
AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl |
case "$enable_ltdl_convenience" in |
case "$enable_ltdl_convenience" in |
no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; |
no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; |
"") enable_ltdl_convenience=yes |
"") enable_ltdl_convenience=yes |
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; |
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; |
esac |
esac |
LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdlc.la |
LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la |
INCLTDL=ifelse($#,1,-I$1,['-I${top_builddir}/libltdl']) |
INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) |
]) |
]) |
|
|
# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for |
# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for |
# the libltdl installable library, and adds --enable-ltdl-install to |
# the libltdl installable library and INCLTDL to the include flags for |
# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor |
# the libltdl header and adds --enable-ltdl-install to the configure |
# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed |
# arguments. Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is |
# to be `${top_builddir}/libltdl'. Make sure you start DIR with |
# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed |
# '${top_builddir}/' (note the single quotes!) if your package is not |
# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will |
# flat, and, if you're not using automake, define top_builddir as |
# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed |
# appropriate in the Makefiles. |
# with '${top_srcdir}/' (note the single quotes!). If your package is |
|
# not flat and you're not using automake, define top_builddir and |
|
# top_srcdir appropriately in the Makefiles. |
# In the future, this macro may have to be called after AC_PROG_LIBTOOL. |
# In the future, this macro may have to be called after AC_PROG_LIBTOOL. |
AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl |
AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl |
AC_CHECK_LIB(ltdl, main, |
AC_CHECK_LIB(ltdl, main, |
Line 657 AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEF
|
Line 661 AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEF
|
]) |
]) |
if test x"$enable_ltdl_install" = x"yes"; then |
if test x"$enable_ltdl_install" = x"yes"; then |
ac_configure_args="$ac_configure_args --enable-ltdl-install" |
ac_configure_args="$ac_configure_args --enable-ltdl-install" |
LIBLTDL=ifelse($#,1,$1,['${top_builddir}/libltdl'])/libltdl.la |
LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la |
INCLTDL=ifelse($#,1,-I$1,['-I${top_builddir}/libltdl']) |
INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) |
else |
else |
ac_configure_args="$ac_configure_args --enable-ltdl-install=no" |
ac_configure_args="$ac_configure_args --enable-ltdl-install=no" |
LIBLTDL="-lltdl" |
LIBLTDL="-lltdl" |