delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/25/14:31:58

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Cheuk Cheng" <cheng AT powertv DOT com>
To: <cygwin AT cygwin DOT com>
Subject: autoconf question
Date: Thu, 25 Oct 2001 11:30:07 -0700
Message-ID: <NEBBLBOGPKDNAIGFLLOJCEMPCOAA.cheng@powertv.com>
MIME-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019