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

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

autoconf bug ?


From: v13
Subject: autoconf bug ?
Date: Fri, 6 Jul 2001 22:46:22 +0300

 I think I've found a bug in autoconf 2.50

Try this configure.in:

AC_INIT(configure.in)
AC_LANG_CPLUSPLUS
LIBS="$LIBS -L/usr/local/postgre/lib"
AC_HAVE_LIBRARY(pq++,[], [])

the configure will look like this:

# ./configure
checking for g++... g++
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... 
checking for object suffix... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for main in -lpq++... yes
./configure: ac_cv_lib_pq++=ac_cv_lib_pq++_main: command not found

the last line of the configure script is:
ac_cv_lib_pq++=ac_cv_lib_pq++_main

it seems, that this is the only place the pq++ was not replaced with pqpp

<<V13>>

p.s. Someone send me a reply please, to let me know if anyone got the email and
that i should wait for a patch/newer release.



reply via email to

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