autoconf
[Top][All Lists]
Advanced

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

Re: AC_CHECK_FUNC(qsort) fails when C++ is test language


From: Ossama Othman
Subject: Re: AC_CHECK_FUNC(qsort) fails when C++ is test language
Date: Fri, 14 Mar 2003 16:09:25 -0800
User-agent: Mutt/1.3.28i

Hi,

On Fri, Mar 14, 2003 at 10:29:06AM -0800, Ossama Othman wrote:
> AC_INIT([FOO],[TEST],[],[])
> AC_PREREQ([2.57])
> AC_PROG_CXX
> AC_LANG([C++])
> AC_CHECK_FUNC([qsort],[],[])
> AC_OUTPUT
> 
> produces this output:
> 
> $ ./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 suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking for qsort... no
> configure: creating ./config.status

To be more explicit, I believe that this is a bug in autoconf.

-Ossama
-- 
Ossama Othman <address@hidden>
Distributed Object Computing Laboratory, Univ. of California at Irvine
1024D/F7A394A8 - 84ED AA0B 1203 99E4 1068  70E6 5EB7 5E71 F7A3 94A8




reply via email to

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