diff options
author | Jeff Trawick <trawick@apache.org> | 2003-06-05 20:41:49 +0200 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2003-06-05 20:41:49 +0200 |
commit | 1240d3e73d27fd33fa269979c9c74fb873c7be1c (patch) | |
tree | 9b76570cc418bb1af3c6f756d418c71255a2eb75 /buildconf | |
parent | Fix some broken log messages in WinNT MPM. (diff) | |
download | apache2-1240d3e73d27fd33fa269979c9c74fb873c7be1c.tar.xz apache2-1240d3e73d27fd33fa269979c9c74fb873c7be1c.zip |
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-x | buildconf | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |