[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 1.5 automatically generating C++, F77 tags
From: |
Alexandre Duret-Lutz |
Subject: |
Re: 1.5 automatically generating C++, F77 tags |
Date: |
Tue, 03 Jun 2003 19:43:52 +0200 |
User-agent: |
Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3 (gnu/linux) |
Albert Chin <address@hidden> 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
- 1.5 automatically generating C++, F77 tags, Albert Chin, 2003/06/02
- Re: 1.5 automatically generating C++, F77 tags, Bob Friesenhahn, 2003/06/02
- Re: 1.5 automatically generating C++, F77 tags, Albert Chin, 2003/06/02
- Re: 1.5 automatically generating C++, F77 tags, Alexandre Duret-Lutz, 2003/06/02
- Re: 1.5 automatically generating C++, F77 tags, Albert Chin, 2003/06/02
- Re: 1.5 automatically generating C++, F77 tags, Earnie Boyd, 2003/06/03
- Re: 1.5 automatically generating C++, F77 tags, Alexandre Duret-Lutz, 2003/06/03
- Re: 1.5 automatically generating C++, F77 tags, Bob Friesenhahn, 2003/06/03
- Re: 1.5 automatically generating C++, F77 tags, Albert Chin, 2003/06/03
- Re: 1.5 automatically generating C++, F77 tags,
Alexandre Duret-Lutz <=
- Re: 1.5 automatically generating C++, F77 tags, Albert Chin, 2003/06/03
- Re: 1.5 automatically generating C++, F77 tags, Albert Chin, 2003/06/03
- Re: 1.5 automatically generating C++, F77 tags, Bob Friesenhahn, 2003/06/03
- Re: 1.5 automatically generating C++, F77 tags, Albert Chin, 2003/06/03
- Re: 1.5 automatically generating C++, F77 tags, Bob Friesenhahn, 2003/06/03
- Re: 1.5 automatically generating C++, F77 tags, Kevin Ryde, 2003/06/04
Re: 1.5 automatically generating C++, F77 tags, Jeff Trawick, 2003/06/02