[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gengetopt-2.1
From: |
Lorenzo Bettini |
Subject: |
Re: gengetopt-2.1 |
Date: |
Sat, 13 Jan 2001 10:10:55 +0100 |
Tom Tromey wrote:
>
> >>>>> "Peter" == Peter Fox <address@hidden> writes:
>
> Peter> There is an argument that says automake ought to warn about this,
> Peter> or autoconf should detect the use of LIBOBJS in AC_CHECK_FUNCS like:
> Peter> AC_CHECK_FUNCS(getopt_long , , [LIBOBJS="$LIBOBJS getopt.o getopt1.o"]
> )
>
> This is very hard to do correctly. I doubt it will happen.
I noticed that a way to avoid this problem is also, apart from having
used AC_REPLACE_FUNCS, explicitely add
AC_SUBST(LIBOBJS)
Couldn't autoconf notice that you use a variable, such as LIBOBJS,
without having specified AC_SUBST?
This could be a more general issue.
Lorenzo
--
+-----------------------------------------------------+
| Lorenzo Bettini ICQ# lbetto, 16080134 |
| PhD student in Computer Science |
| Florence - Italy (Linux User # 158233) |
| Home Page : http://w3.newnet.it/bettini |
| http://infostud.dsi.unifi.it/~bettini |
| Mail Home : address@hidden |
| Mail University : address@hidden |
| http://www.mokabyte.it Java on line journal |
| http://music.dsi.unifi.it XKlaim language |
| http://www.gnu.org/software/java2html & cpp2html |
+-----------------------------------------------------+