Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Cheuk Cheng" To: Subject: autoconf question Date: Thu, 25 Oct 2001 11:30:07 -0700 Message-ID: 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/