[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoconf 2.59 - errors in configure script
From: |
Alexandre Duret-Lutz |
Subject: |
Re: autoconf 2.59 - errors in configure script |
Date: |
Sun, 12 Sep 2004 20:19:00 +0200 |
Hi Anthon,
On Sat, Sep 11, 2004 at 11:59:45PM -0700, Anthon wrote:
> AC_CHECK_LIB(pthread, pthread_create,
> AC_CHECK_HEADERS(pthread.h, [
> CFLAGS="$CFLAGS -D_REENTRANT"
> THREAD_LIBS="$THREAD_LIBS -lpthread"])
> )
This code is underquoted: if you don't quote the call to
AC_CHECK_HEADERS it will be evaluated before AC_CHECK_LIB is
processed.
See section "The Autoconf Language" of the Autoconf manual for
more discussion about quoting.