🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #8719

autoconf en preprocessor defines

#8719
From: Johan Vervloet
Date: Wed, 12 Jun 2002 19:27
27 lines
1764 bytes
Hallo iedereen.

Ik heb een probleem met autoconf.  Ik zou graag hebben dat, indien ik

  ./configure --disable-inline-functions

ingeef, er in mijn config.h

#define _ES_OUTLINE_

zou verschijnen.

Ik probeerde dit te bereiken door de volgende regel in mijn configure.ac
te zetten :

AC_ARG_ENABLE([inline-functions], [  --disable-inline-functions        
compile all functions outline], [AC_DEFINE([_ES_OUTLINE_])])

Maar dat blijkt niet te werken.  (Ik krijg geen foutmelding, maar er
verandert ook niets in config.h als ik de optie meegeef.)

Iemand een idee ?

Johan

p.s. : `autoconf' en `automake' aanroepen is toch voldoende, gegeven een
goede configure.ac he ?
Technical Details
Message-ID: <pan.2002.06.12.21.27.00.481088.355@linux.be>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!novia!novia!news-hub.siol.net!diablo.netcom.net.uk!netcom.net.uk!news-lond.gip.net!news.gsl.net!gip.net!skynet.be!skynet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,4289ca49b18c6e26,start
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2002-06-12 12:27:19 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!novia!novia!news-hub.siol.net!diablo.netcom.net.uk!netcom.net.uk!news-lond.gip.net!news.gsl.net!gip.net!skynet.be!skynet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
From: Johan Vervloet <johan@linux.be>
Subject: autoconf en preprocessor defines
Newsgroups: be.comp.programming
Organization: Chiro Gewest Pallieter
Message-ID: <pan.2002.06.12.21.27.00.481088.355@linux.be>
User-Agent: Pan/0.11.2 (Unix)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Comment-To: ALL
Lines: 27
Date: Wed, 12 Jun 2002 19:27:00 GMT
NNTP-Posting-Host: 213.224.190.41
X-Complaints-To: abuse@telenet.be
X-Trace: afrodite.telenet-ops.be 1023910020 213.224.190.41 (Wed, 12 Jun 2002 21:27:00 MET DST)
NNTP-Posting-Date: Wed, 12 Jun 2002 21:27:00 MET DST