httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r112719 - /httpd/apreq/trunk/buildconf
Date Thu, 16 Dec 2004 01:15:05 GMT
Author: joes
Date: Wed Dec 15 17:15:03 2004
New Revision: 112719

URL: http://svn.apache.org/viewcvs?view=rev&rev=112719
Log:
Let libtool become a command-line option
for buildconf.  Some platforms (OSX) call it
"glibtool", and this should allow buildconf
to run cleanly on them.

Modified:
   httpd/apreq/trunk/buildconf

Modified: httpd/apreq/trunk/buildconf
Url: http://svn.apache.org/viewcvs/httpd/apreq/trunk/buildconf?view=diff&rev=112719&p1=httpd/apreq/trunk/buildconf&r1=112718&p2=httpd/apreq/trunk/buildconf&r2=112719
==============================================================================
--- httpd/apreq/trunk/buildconf	(original)
+++ httpd/apreq/trunk/buildconf	Wed Dec 15 17:15:03 2004
@@ -19,7 +19,7 @@
 #            checked-out version of the source code.
 
 perl="perl"
-libtool="libtoolize --automake --copy --force"
+libtool="libtool"
 
 while test $# -gt 0 
 do
@@ -33,11 +33,15 @@
   --with-perl=*)
   perl=$optarg
   ;;
+  --with-libtool=*)
+  libtool=$optarg
+  ;;
   esac
 
   shift
 done
 
+libtoolize="${libtool}ize --automake --copy --force"
 
 echo "removing stale config files"
 touch .deps
@@ -46,12 +50,12 @@
 rm -rf autom4te*.cache
 
 echo "checking buildconf prereqs";
-$perl build/version_check.pl libtool   || exit 1
+$perl build/version_check.pl libtool $libtool  || exit 1
 $perl build/version_check.pl autoconf  || exit 1
 $perl build/version_check.pl automake  || exit 1
 $perl build/version_check.pl ExtUtils::XSBuilder || exit 1
 
-echo "running $libtool" && $libtool && \
+echo "running $libtoolize" && $libtoolize && \
 echo "running aclocal"  && aclocal && \
 echo "running autoconf" && autoconf && \
 echo "running autoheader" && autoheader && \

Mime
View raw message