autoconf
[Top][All Lists]
Advanced

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

Re: $abs_srcdir expansion


From: Peter Breitenlohner
Subject: Re: $abs_srcdir expansion
Date: Thu, 8 Jul 2010 18:00:56 +0200 (CEST)
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)

On Thu, 8 Jul 2010, Stefano Sabatini wrote:

-- Variable: srcdir
    The name of the directory that contains the source code for that
    makefile.

-- Variable: abs_srcdir
    Absolute name of `srcdir'.

Hi Stefano,

these are `Preset Output Variables', i.e., substituted in Makefile, but
(except for srcdir) not necessarily defined at configure time.

if test "$sac_cv_cc_environment" = mingw32 ; then
CFLAGS="$CFLAGS -I${abs_srcdir}/win32/pthread ...

  CFLAGS="$CFLAGS -I\${abs_srcdir}/win32/pthread ...
will do the right thing.

Regards
Peter Breitenlohner <address@hidden>



reply via email to

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