Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Dave Korn" To: Subject: RE: automake && config.h conflicts Date: Tue, 26 Jul 2005 15:18:17 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <6BD989BB73712F41B1EDD1B8A32EA4C3F30432@EXCHANGEVS1.comtechtel.com> Message-ID: ----Original Message---- >From: Vladislav Grinchenko >Sent: 26 July 2005 15:02 > There is a conflict between $topsrcdir/config.h generated by > automake tools and a couple of confing.h files from the system include > dirs: > > /usr/include/cygwin/config.h > /usr/include/sys/config.h > > In the code, ifdef construct includes config.h like so: > > #ifdef HAVE_CONFIG_H > # include "config.h" > #endif > The question: what is the workaround? Get your -I options in the correct order in the compiler flags? cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/