diff options
author | Roy T. Fielding <fielding@apache.org> | 2001-03-31 05:52:42 +0000 |
---|---|---|
committer | Roy T. Fielding <fielding@apache.org> | 2001-03-31 05:52:42 +0000 |
commit | b89505990af15f503106d8a41e0b0d4ec7fb4d71 (patch) | |
tree | b62eedd0a113d571071c19a3cdbe9516dc0fa9a3 /buildconf | |
parent | 291b05269793669f865fddbf2558ac3b792f68c8 (diff) | |
download | apr-b89505990af15f503106d8a41e0b0d4ec7fb4d71.tar.gz |
Revert last change -- I forgot that buildconf is run before we create
a release tarball, so it can't be OS-specific.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61399 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'buildconf')
-rwxr-xr-x | buildconf | 59 |
1 files changed, 27 insertions, 32 deletions
@@ -56,43 +56,38 @@ # buildconf: Build the support scripts needed to compile from a # checked-out version of the source code. -osname=`build/config.guess` -case "$osname" in - *os2_emx*) - echo "Using OS/2-specific aplibtool" - cp -f build/os2_libtool.m4 aclocal.m4 - ;; - *) - # Verify that the builder has the right config tools installed - # - build/buildcheck.sh || exit 1 +# Verify that the builder has the right config tools installed +# +build/buildcheck.sh || exit 1 + +libtoolize=`build/PrintPath glibtoolize libtoolize` +if [ "x$libtoolize" = "x" ]; then + echo "libtoolize not found in path" + exit 1 +fi - libtoolize=`build/PrintPath glibtoolize libtoolize` - if [ "x$libtoolize" = "x" ]; then - echo "libtoolize not found in path" - exit 1 - fi +# Create the libtool helper files +# +# Note: we copy (rather than link) them to simplify distribution. +# Note: APR supplies its own config.guess and config.sub -- we do not +# rely on libtool's versions +# +echo "Copying libtool helper files ..." - # Create the libtool helper files - # - # Note: we copy (rather than link) them to simplify distribution. - # Note: APR supplies its own config.guess and config.sub -- we do not - # rely on libtool's versions - # - echo "Copying libtool helper files ..." +$libtoolize --copy --automake - $libtoolize --copy --automake +ltpath=`dirname $libtoolize` +ltfile=`cd $ltpath/../share/aclocal ; pwd`/libtool.m4 - ltpath=`dirname $libtoolize` - ltfile=`cd $ltpath/../share/aclocal ; pwd`/libtool.m4 +if [ ! -f $ltfile ]; then + echo "$ltfile not found" + exit 1 +fi +cp -f $ltfile build/libtool.m4 - if [ ! -f $ltfile ]; then - echo "$ltfile not found" - exit 1 - fi - cp -f $ltfile aclocal.m4 - ;; -esac +# This is just temporary until people's workspaces are cleared -- remove +# any old aclocal.m4 left over from prior build so it doesn't cause errors. +rm -f aclocal.m4 # # Generate the autoconf header and ./configure |