Albert Chin <[EMAIL PROTECTED]> writes:
[...]
| --- libtool.m4.orig 2003-06-01 16:07:41.276467000 -0500
| +++ libtool.m4 2003-06-03 10:22:57.667598339 -0500
[...]
| +AC_PROVIDE_IFELSE([AC_LIBTOOL_TAGS],,
| + [AC_LIBTOOL_TAGS([C C++ F77])])
Since the tag for C++ is called CXX and there is no tag for C,
it would seem more natural to read
AC_LIBTOOL_TAGS([CXX F77])
I think Bob's suggestion of AC_LIBTOOL_LANGUAGES is better if
you really want to pass language names as arguments.
[...]
| + [m4_if(_LT_TAG, C, ,
| + [m4_if(_LT_TAG, C++,
[...]
| + [m4_if(_LT_TAG, F77,
[...]
| + [m4_if(_LT_TAG, GCJ,
[...]
| + [m4_if(_LT_TAG, RC,
[...]
| + m4_errprintn(m4_location[: error: invalid tag name:
]"_LT_TAG")
Maybe this can be simplified to something around the lines of
m4_case([_LT_TAG],
[C], ,
[CXX], [...],
[F77], [...],
[GCJ], [...],
[RC], [...],
[m4_fatal([unsupported tag name: ]"_LT_TAG")])
--
Alexandre Duret-Lutz
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool