delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/26/10:00:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
MIME-Version: 1.0
Subject: automake && config.h conflicts
Date: Tue, 26 Jul 2005 10:01:39 -0400
Message-ID: <6BD989BB73712F41B1EDD1B8A32EA4C3F30432@EXCHANGEVS1.comtechtel.com>
From: "Vladislav Grinchenko" <vladislav DOT grinchenko AT comtechmobile DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j6QE0kpD010222

Hi,

I'm trying to build an application that uses automake tools under
cygwin. 
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

cygcheck reports:

autoconf             2.59-1
autoconf-devel       2.59-1
autoconf-stable      2.13-5
automake             1.7.9-1
automake-devel       1.9.2-1
automake-stable      1.4p6-2

The question: what is the workaround?

thanks,
-Vlad

--
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/


- Raw text -


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