|
|
| version 1.9, 2002/02/13 13:04:33 | version 1.10, 2002/02/18 08:39:14 |
|---|---|
| Line 169 AC_LIBLTDL_CONVENIENCE(src/libltdl) | Line 169 AC_LIBLTDL_CONVENIENCE(src/libltdl) |
| dnl Substitute INCLTDL and LIBLTDL in the Makefiles | dnl Substitute INCLTDL and LIBLTDL in the Makefiles |
| AC_SUBST(INCLTDL) | AC_SUBST(INCLTDL) |
| AC_SUBST(LIBLTDL) | AC_SUBST(LIBLTDL) |
| AC_SUBST(LIBADD_DL) | |
| dnl Configure libtool | |
| AM_PROG_LIBTOOL | |
| AC_SUBST(LIBTOOL_DEPS) | |
| dnl Configure libltdl | dnl Configure libltdl |
| AC_CONFIG_SUBDIRS(src/libltdl) | AC_CONFIG_SUBDIRS(src/libltdl) |
| dnl moved from src/libltdl/configure.in | |
| LIBADD_DL= | |
| AC_CHECK_LIB(dl, dlopen, [AC_DEFINE(HAVE_LIBDL, 1) LIBADD_DL="-ldl"], | |
| [AC_CHECK_FUNC(dlopen, [AC_DEFINE(HAVE_LIBDL, 1)])]) | |
| AC_CHECK_FUNC(shl_load, [AC_DEFINE(HAVE_SHL_LOAD, 1)], | |
| [AC_CHECK_LIB(dld, shl_load, [AC_DEFINE(HAVE_SHL_LOAD, 1) LIBADD_DL="$LIBADD_DL -ldld"])]) | |
| AC_CHECK_LIB(dld, dld_link, [AC_DEFINE(HAVE_DLD, 1)dnl | |
| test "x$ac_cv_lib_dld_shl_load" = yes || LIBADD_DL="$LIBADD_DL -ldld"]) | |
| AC_SUBST(LIBADD_DL) | |
| if test "x$ac_cv_func_dlopen" = xyes || test "x$ac_cv_lib_dl_dlopen" = xyes; then | |
| LIBS_SAVE="$LIBS" | |
| LIBS="$LIBS $LIBADD_DL" | |
| AC_CHECK_FUNCS(dlerror) | |
| LIBS="$LIBS_SAVE" | |
| fi | |
| dnl Checks for typedefs, structures, and compiler characteristics. | dnl Checks for typedefs, structures, and compiler characteristics. |
| Line 183 AC_TYPE_SIZE_T | Line 195 AC_TYPE_SIZE_T |
| dnl Checks for header files. | dnl Checks for header files. |
| AC_HEADER_TIME | |
| AC_CHECK_HEADERS( | AC_CHECK_HEADERS( |
| unistd.h \ | unistd.h \ |
| process.h \ | process.h \ |
| Line 293 dnl ] | Line 307 dnl ] |
| dnl ) | dnl ) |
| dnl Apache libs | dnl Apache libs |
| APACHE_LIBS=$LIBS | APACHE_LIBS="$LIBS $LIBADD_DL" |
| dnl append stdc++ to libs list commented | dnl append stdc++ to libs list commented |
| dnl 1. because binary seem to work without it | dnl 1. because binary seem to work without it |
| dnl purpose of this: remove strange name dependance | dnl purpose of this: remove strange name dependance |
| Line 347 dnl Output makefiles | Line 361 dnl Output makefiles |
| AM_CONFIG_HEADER(src/include/pa_config_auto.h) | AM_CONFIG_HEADER(src/include/pa_config_auto.h) |
| AC_OUTPUT(Makefile src/Makefile src/libltdl/Makefile src/types/Makefile src/classes/Makefile src/classes/gd/Makefile src/classes/smtp/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/patches/Makefile src/pcre/Makefile src/targets/Makefile src/targets/cgi/pa_config_paths.h src/targets/cgi/Makefile src/targets/apache13/Makefile src/targets/apache13/p3runConfigure src/targets/isapi/Makefile etc/parser3.charsets/Makefile etc/parser3.conf etc/Makefile) | AC_OUTPUT(Makefile src/Makefile src/libltdl/Makefile src/types/Makefile src/classes/Makefile src/classes/gd/Makefile src/classes/smtp/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/patches/Makefile src/pcre/Makefile src/targets/Makefile src/targets/cgi/pa_config_paths.h src/targets/cgi/Makefile src/targets/apache13/Makefile src/targets/apache13/p3runConfigure src/targets/isapi/Makefile etc/parser3.charsets/Makefile etc/parser3.conf etc/Makefile) |