summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorGreg Stein <gstein@apache.org>2001-10-03 09:10:02 +0000
committerGreg Stein <gstein@apache.org>2001-10-03 09:10:02 +0000
commita4437e5e4b1f04d9a2824e2720947409ff12adb7 (patch)
treefbb75f2e6d340ee612c7fe35486cb44b34fb60c9 /buildconf
parent5bb4160294609060f1e2cf65fa9e90ff71854f25 (diff)
downloadapr-a4437e5e4b1f04d9a2824e2720947409ff12adb7.tar.gz
Remove the generated libtool files. This assists with switching between
libtool 1.3 and libtool 1.4. Submitted by: Mo DeJong <supermo@bayarea.net> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62393 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf5
1 files changed, 4 insertions, 1 deletions
diff --git a/buildconf b/buildconf
index ee05ac540..18706de64 100755
--- a/buildconf
+++ b/buildconf
@@ -74,6 +74,10 @@ fi
#
echo "Copying libtool helper files ..."
+# 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)
+
$libtoolize --copy --automake
ltpath=`dirname $libtoolize`
@@ -84,7 +88,6 @@ if [ ! -f $ltfile ]; then
exit 1
fi
-rm -f build/libtool.m4
cat $ltfile | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' > build/libtool.m4
# This is just temporary until people's workspaces are cleared -- remove