summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2003-06-05 18:41:49 +0000
committerJeff Trawick <trawick@apache.org>2003-06-05 18:41:49 +0000
commit1240d3e73d27fd33fa269979c9c74fb873c7be1c (patch)
tree9b76570cc418bb1af3c6f756d418c71255a2eb75 /buildconf
parentb9a9649654a3b48f0c257e2680ef321470511b2c (diff)
downloadhttpd-1240d3e73d27fd33fa269979c9c74fb873c7be1c.tar.gz
steal some code from APR intended to allow you to properly switch
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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100178 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf4
1 files changed, 4 insertions, 0 deletions
diff --git a/buildconf b/buildconf
index 3bfb09b274..376ebf5596 100755
--- 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 libtool.m4)
+
# Optionally copy libtool-1.3.x files
if [ -f $apr_src_dir/build/ltconfig ]; then
cp $apr_src_dir/build/ltconfig build