I've made check for getcwd function and used the generated script with
Sun's CC compiler. It reports unexisting getcwd even if it really
exists. Here is what I've done:
configure.in (just generating config.h):
AC_INIT()
AC_PROG_CC
AC_PROG_CXX
AC_CHECK_FUNCS(getcwd)
AC_CONFIG_HEADER(config.h)
AC_
Martin Frydl <[EMAIL PROTECTED]> writes:
|> The compiler complains about extern "C". My question is whether this is
|> autoconf bug or should I use ./configure CC=cc CXX=CC to really use C
|> compiler for these tests.
The latter. You cannot expect meaningfull results when compiling C code
with
Andreas Schwab wrote:
>
> Martin Frydl <[EMAIL PROTECTED]> writes:
>
> |> The compiler complains about extern "C". My question is whether this is
> |> autoconf bug or should I use ./configure CC=cc CXX=CC to really use C
> |> compiler for these tests.
>
> The latter. You cannot expect meaningf
On Thu, May 02, 2002 at 07:41:03PM +0200, Martin Frydl wrote:
> Andreas Schwab wrote:
> >
> > Martin Frydl <[EMAIL PROTECTED]> writes:
> >
> > |> The compiler complains about extern "C". My question is whether this is
> > |> autoconf bug or should I use ./configure CC=cc CXX=CC to really use C
>