apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Havard" <bri...@kheldar.apana.org.au>
Subject Re: cvs commit: apr configure.in
Date Thu, 29 Mar 2001 16:11:27 GMT
On 29 Mar 2001 11:04:02 -0500, Jeff Trawick wrote:

>bjh@apache.org writes:
>
>>   Index: configure.in
>>   ===================================================================
>>   RCS file: /home/cvs/apr/configure.in,v
>>   retrieving revision 1.262
>>   retrieving revision 1.263
>>   diff -u -r1.262 -r1.263
>>   --- configure.in	2001/03/27 10:48:02	1.262
>>   +++ configure.in	2001/03/29 15:50:29	1.263
>>   @@ -79,7 +79,18 @@
>>    dnl prep libtool
>>    dnl
>>    echo "performing libtool configuration..."
>>   -AC_PROG_LIBTOOL
>>   +
>>   +case "$host_alias" in
>>   +*os2*)
>>   +    # Use a custom made libtool replacement
>>   +    echo "using aplibtool"
>>   +    LIBTOOL="$srcdir/build/aplibtool"
>>   +    gcc -o $LIBTOOL.exe $LIBTOOL.c
>>   +    ;;
>>   +*)
>>   +    AC_PROG_LIBTOOL
>>   +    ;;
>>   +esac
>
>The way I do this in my libtool emulator is to provide an
>AC_PROG_LIBTOOL macro in my libtool.m4 to set up the LIBTOOL
>variable.  (I compile my .c at make install time for libtool).
>
>Couldn't/shouldn't hide this in an AC_PROG_LIBTOOL macro?

Sounds good, my autoconf knowledge isn't very advanced though. I'll give it
a try on the next round.

-- 
 ______________________________________________________________________________
 |  Brian Havard                 |  "He is not the messiah!                   |
 |  brianh@kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |
 ------------------------------------------------------------------------------


Mime
View raw message