httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: towards a 2.05 release
Date Mon, 06 Dec 2004 14:52:27 GMT
Christian Hansen <ch@ngmedia.com> writes:

> A minor thing with buildconf is that on OS X the GNU buildtools are
> prfixed with a 'g':
>
> libtool = glibtool
> libtoolize = glibtoolize
>

Hmm, here's a patch that lets you do

     % ./buildconf --with-libtool=glibtool

Does it help at all?  If so, is it enough?


Index: buildconf
===================================================================
--- buildconf	(revision 106989)
+++ buildconf	(working copy)
@@ -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 && \

-- 
Joe Schaefer


Mime
View raw message