]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
steal some code from APR intended to allow you to properly switch
authorJustin Erenkrantz <jerenkrantz@apache.org>
Mon, 28 Jul 2003 01:50:56 +0000 (01:50 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Mon, 28 Jul 2003 01:50:56 +0000 (01:50 +0000)
between libtool 1.3 and 1.4+...  newer libtool doesn't have ltconfig,
so having a stray ltconfig around will confuse some of our config
logic

This also fixes cp failure on FreeBSD since ltconfig and ltmain.sh
are installed with 0400 perms, and when buildconf is run a second time
the cp of those files would fail.

Submitted by: Jeff Trawick
Reviewed by: Justin Erenkrantz, Sander Striker

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@100802 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
build/.cvsignore
buildconf

diff --git a/CHANGES b/CHANGES
index 7ecf00682e36394c691ef4a9ed792915f108940f..d584253b9aeffb8c0c66e215a0fa5a9d010f1b0f 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,7 @@
 Changes with Apache 2.0.48
 
+  *) Fix buildconf errors when libtool version changes.  [Jeff Trawick]
+
   *) Remember an authenticated user during internal redirects if the
      redirection target is not access protected and pass it
      to scripts using the REDIRECT_REMOTE_USER environment variable.
index 7a8722aa60bceb94c5f481add45c793ae3cd2594..80c398c9725e0bfb2e1ee224fe02e94352426b32 100644 (file)
@@ -3,4 +3,5 @@ config_vars.mk
 apr_common.m4
 find_apr.m4
 find_apu.m4
+ltconfig
 ltmain.sh
index 2bae97539ca78ddfcff81646d9a347ae1cef2b96..65f5a0087b1961cbc8e573e24fa632060058d8fb 100755 (executable)
--- a/buildconf
+++ b/buildconf
@@ -162,6 +162,10 @@ cp $apr_src_dir/build/config.guess $apr_src_dir/build/config.sub \
    $apr_src_dir/build/PrintPath $apr_src_dir/build/apr_common.m4 \
    $apr_src_dir/build/find_apr.m4 $apu_src_dir/build/find_apu.m4 build
 
+# Remove any libtool files so one can switch between libtool 1.3
+# and libtool 1.4 by simply rerunning the buildconf script.
+(cd build ; rm -f ltconfig ltmain.sh)
+
 # Optionally copy libtool-1.3.x files
 if [ -f $apr_src_dir/build/ltconfig ]; then
     cp $apr_src_dir/build/ltconfig build