bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gengetopt-2.1


From: Peter Fox
Subject: gengetopt-2.1
Date: Fri, 5 Jan 2001 17:04:08 +0000

Thanks to your guide in gengetopt-2.1, I've managed to add getopt_long
to the DOS version of isapnptools.

However, I had some trouble for a while, because @LIBOBJS@ was not
getting substituted. It turned out I had to add AC_SUBST(LIBOBJS) to
my configure.in. It worked for you because you used
AC_REPLACE_FUNCS(), which seems to imply the substitution. 

I am using Autoconf version 2.13. (Also automake (GNU automake) 1.4).

There is an argument that says automake ought to warn about this,
or autoconf should detect the use of LIBOBJS in AC_CHECK_FUNCS like:

AC_CHECK_FUNCS(getopt_long , , [LIBOBJS="$LIBOBJS getopt.o getopt1.o"] )

and add the substitution. I just tested this on Autoconf version
2.14.1 from Mandrake 7.0, and the result is the same.

You might like to add a note to your doc/no_getopt_long.txt about
this anyway.

-- 
Peter Fox

http://www.roestock.demon.co.uk/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]