|
|
| version 1.10, 2002/09/24 11:42:14 | version 1.17, 2002/12/15 14:24:26 |
|---|---|
| Line 11 dnl even the implied warranty of MERCHAN | Line 11 dnl even the implied warranty of MERCHAN |
| dnl PARTICULAR PURPOSE. | dnl PARTICULAR PURPOSE. |
| # 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 and INCLTDL to the include flags for | # the libltdl convenience library and INCLTDL to the include flags for |
| # the libltdl header and adds --enable-ltdl-convenience to the | # the libltdl header and adds --enable-ltdl-convenience to the |
| Line 22 dnl PARTICULAR PURPOSE. | Line 23 dnl PARTICULAR PURPOSE. |
| # flat and you're not using automake, define top_builddir and | # flat and you're not using automake, define top_builddir and |
| # top_srcdir appropriately in the Makefiles. | # 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 | |
| no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; | |
| "") enable_ltdl_convenience=yes | |
| ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; | |
| esac | |
| LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.a | LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.a |
| INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) | INCLTDL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) |
| ]) | ]) |