[EMAIL PROTECTED] 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?

-- 
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Reply via email to