1

Comment configurer libtool pour qu'il ne lance pas les tests de detection C++ et Fortran lorsque le projet n'est qu'une librarie C ?

J'ai pas trouve, et je ne comprend pas pourquoi il le fait.

2

En plus il plante sous OSF sad
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'

3

Corrige en prennant une version plus recente bang

Reste le probleme du C++ et du F77 sad

4

Pour ceux qui ont envie de savoir:

This feature is not available in the 1.5 Libtool series.
Upcoming 2.0 does what you want (e.g., if you did not
specify AC_PROG_CXX or some Libtool macro to enable C++,
it will not be tested for).

5

Le code a la con qui permet d'eviter ces tests bang
dnl Currently libtool always want to detect a C++ and fortran compiler
dnl Remove this by hacking a few: AC_PROG_CXX, AC_PROG_F77 are defined
dnl but they are never called. Set with_tag to ''
dnl Set am__fastdepCXX to something
dnl Remove this when Libtool >= 2.0 is used
if test -n "$variable_indefinie" ; then
 AC_PROG_CXX([g++])
 AC_PROG_F77([g77])
 AC_PROG_CXXCPP
fi
am__fastdepCXX_FALSE='#'
if test "${with_tags+set}" != set; then
  with_tags=
fi