Justin Erenkrantz wrote:
--On Monday, January 6, 2003 3:22 PM -0500 Jeff Trawick <[EMAIL PROTECTED]> wrote:

Greg Ames noticed some libtool foo when trying to build 2.0.44-pre
on daedalus.  We found that the change
[...]

if test "$apache_need_shared" = "yes"; then
  if test -f $ac_aux_dir/ltconfig; then
    $SHELL $ac_aux_dir/ltconfig --output=shlibtool --disable-static
\ --srcdir=$ac_aux_dir --cache-file=./config.cache
  $ac_aux_dir/ltmain.sh
  fi
  shared_build="shared-build"
fi

which in turn results in there being no shlibtool script which, for
libtool other than 1.4.x, breaks the build of Apache DSOs.

This patch may help.  ltconfig probably isn't being copied by
buildconf.  Feel free to commit if it works.  -- justin
ltmain.sh also needs to be copied if we are going to use this approach. With that change, I do get a shlibtool script and I'm able to build DSOs. But what's the advantage of copying all these files rather than just leaving AC_CONFIG_AUX_DIR pointing to APR's build dir?

Greg

Index: buildconf
===================================================================
RCS file: /home/cvs/httpd-2.0/buildconf,v
retrieving revision 1.28
diff -u -r1.28 buildconf
--- buildconf    28 Nov 2002 23:31:37 -0000    1.28
+++ buildconf    6 Jan 2003 20:25:09 -0000
@@ -121,6 +121,9 @@
cp srclib/apr/build/config.guess build
cp srclib/apr/build/config.sub build
cp srclib/apr/build/PrintPath build
+if [ -f srclib/apr/build/ltconfig ]; then
+  cp srclib/apr/build/ltconfig build
+fi

echo rebuilding $pcre_configure
(cd srclib/pcre && ${AUTOCONF:-autoconf})





Reply via email to