bug-commoncpp
[Top][All Lists]
Advanced

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

Problem with getopt (was ln -s getop.o getopt.o)


From: Federico Montesino Pouzols
Subject: Problem with getopt (was ln -s getop.o getopt.o)
Date: Mon, 12 Aug 2002 21:19:14 +0200 (CEST)

 Hi, it seems there is a typo in m4/ost_getopt.m4 in the following line:

# AC_CHECK_FUNCS(getopt_long, , [LIBGETOPTOBJS="getopt.o getopt1.c"])

 This makes that in the following line from src/Makefile.am:

# libccext2_la_LIBADD = @BASE_LIB@ @LIBGETOPTOBJS@

 LIBGETOPTOBJS ends up being AC_substituted with `getopt.o getopt1.c'. This
messes libtool. I would suggest to update the line in ost_getopt.m4 to:

# AC_CHECK_FUNCS(getopt_long, , [LIBGETOPTOBJS="getopt.c getopt1.c"])
                                                       ^

 I will wait to see possible comments on better solutions before updating
the sources in the cvs.







reply via email to

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