3509 |
]) |
]) |
3510 |
|
|
3511 |
# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for |
# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for |
3512 |
# the libltdl convenience library and INCLTDL to the include flags for |
# the libltdl convenience library and LTDLINCL to the include flags for |
3513 |
# the libltdl header and adds --enable-ltdl-convenience to the |
# the libltdl header and adds --enable-ltdl-convenience to the |
3514 |
# configure arguments. Note that LIBLTDL and INCLTDL are not |
# configure arguments. Note that LIBLTDL and LTDLINCL are not |
3515 |
# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not |
# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not |
3516 |
# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed |
# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed |
3517 |
# with '${top_builddir}/' and INCLTDL will be prefixed with |
# with '${top_builddir}/' and LTDLINCL will be prefixed with |
3518 |
# '${top_srcdir}/' (note the single quotes!). If your package is not |
# '${top_srcdir}/' (note the single quotes!). If your package is not |
3519 |
# flat and you're not using automake, define top_builddir and |
# flat and you're not using automake, define top_builddir and |
3520 |
# top_srcdir appropriately in the Makefiles. |
# top_srcdir appropriately in the Makefiles. |
3526 |
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; |
ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; |
3527 |
esac |
esac |
3528 |
LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la |
LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la |
3529 |
INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) |
LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) |
3530 |
|
# For backwards non-gettext consistent compatibility... |
3531 |
|
INCLTDL="$LTDLINCL" |
3532 |
]) |
]) |
3533 |
|
|
3534 |
# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for |
# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for |
3535 |
# the libltdl installable library and INCLTDL to the include flags for |
# the libltdl installable library and LTDLINCL to the include flags for |
3536 |
# the libltdl header and adds --enable-ltdl-install to the configure |
# the libltdl header and adds --enable-ltdl-install to the configure |
3537 |
# arguments. Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is |
# arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is |
3538 |
# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed |
# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed |
3539 |
# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will |
# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will |
3540 |
# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed |
# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed |
3541 |
# with '${top_srcdir}/' (note the single quotes!). If your package is |
# with '${top_srcdir}/' (note the single quotes!). If your package is |
3542 |
# not flat and you're not using automake, define top_builddir and |
# not flat and you're not using automake, define top_builddir and |
3543 |
# top_srcdir appropriately in the Makefiles. |
# top_srcdir appropriately in the Makefiles. |
3555 |
if test x"$enable_ltdl_install" = x"yes"; then |
if test x"$enable_ltdl_install" = x"yes"; then |
3556 |
ac_configure_args="$ac_configure_args --enable-ltdl-install" |
ac_configure_args="$ac_configure_args --enable-ltdl-install" |
3557 |
LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la |
LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la |
3558 |
INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) |
LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) |
3559 |
else |
else |
3560 |
ac_configure_args="$ac_configure_args --enable-ltdl-install=no" |
ac_configure_args="$ac_configure_args --enable-ltdl-install=no" |
3561 |
LIBLTDL="-lltdl" |
LIBLTDL="-lltdl" |
3562 |
INCLTDL= |
LTDLINCL= |
3563 |
fi |
fi |
3564 |
|
# For backwards non-gettext consistent compatibility... |
3565 |
|
INCLTDL="$LTDLINCL" |
3566 |
]) |
]) |
3567 |
|
|
3568 |
# old names |
# old names |