Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: "Cheuk Cheng" <cheng@powertv.com>
To: <cygwin@cygwin.com>
Subject: autoconf question
Date: Thu, 25 Oct 2001 11:30:07 -0700
Message-ID: <NEBBLBOGPKDNAIGFLLOJCEMPCOAA.cheng@powertv.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <20011025141244.A1888@dothill.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

Hi, does anyone know what macros to use (when writing configure.in) to add
conditional statements to surround variable definitions within makefiles
generated by autoconf?  I am trying to have something similar to the
following inside the makefile created by autoconf.

ifeq($myvar,)
myvar = some_value_defined_inside_configure_in_using_AC_DEFINE
else
# use the existing value of $myvar, which can be passed on the commandline
when invoking make
endif

Thanks.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

