Albert Chin writes:
> > And when I run it it checks for g++ and g77 and runs the whole libtool
> > test range for those compilers. Does anyone know why?
>
> Check the thread from last week. I'll try to post my patch by this
> weekend to fix this.
> http://mail.gnu.org/archive/html/libtool/2003-06/msg00006.html
It seems that the code is already set up to select the right tags
automatically, but it just doesn't work. In AC_PROG_LIBTOOL:
dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
AC_PROVIDE_IFELSE([AC_PROG_CXX],
[AC_LIBTOOL_CXX],
[define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
])])
This means, if AC_PROG_CXX has already been called, call AC_LIBTOOL_CXX.
Else, change AC_PROG_CXX to include AC_LIBTOOL_CXX automatically, in case
it is called later. But if AC_PROG_CXX is never called, AC_LIBTOOL_CXX
should also never be called. But that doesn't happen. Why?
--
Peter Eisentraut [EMAIL PROTECTED]
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool