delorie.com/archives/browse.cgi | search |
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 |
X-Mailer: | 21.2 (beta45) "Thelxepeia" XEmacs Lucid (via feedmail 8 I) |
To: | cygwin AT cygwin DOT com |
Subject: | [Paul Stodghill <stodghil AT cs DOT cornell DOT edu>] Re: XEmacs 21.2.46 doesn't configure properly under cygwin |
X-Face: | I-*}xvwusAv%MlABo'jVNP7TDXf5bb*L[q,r{DnsR1GoL07^Wf)sAu%>!LjXAFlZZN+`OQu |
}?#du]C)[*%ERKR#+l#sX'EoNbSO~|.x AT ogoS5|"-u?<s5ViLslvYMlj7_n!Tq1m AT xt2Bhj4[Zg+e? | |
/Yy\SE`V?%v~kRU3GoS1f&U]} | |
From: | "Dr. Volker Zell" <Dr DOT Volker DOT Zell AT oracle DOT com> |
Date: | 23 Mar 2001 18:31:26 +0100 |
Message-ID: | <kvd7b8fl3l.fsf@vzell.de.oracle.com> |
Lines: | 67 |
User-Agent: | Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.2 (Thelxepeia) |
MIME-Version: | 1.0 |
Hi I'm copying this from the xemacs-beta list. Paul Stodghill <stodghil AT cs DOT cornell DOT edu> writes: >>>>> "Volker" == Volker Zell <Dr.> writes: Volker> Hi I get the following error when trying to configure the Volker> latest xemacs under cygwin as usual (this means for me the Volker> following configure run): Volker> [...] Volker> `__STDC__' redefined configure: failed program was: Volker> #line 6448 "configure" include "confdefs.h" include Volker> #<X11/Intrinsic.h> Volker> [...] Volker> By the way I use: Volker> gcc driver version 2.95.3-1 (cygwin special) executing gcc Volker> version gcc-2.95.3-1 I see this problem too. This is a result of interaction between four packages under cygwin: xemacs, gcc, autoconf and x11. The version of X11 that Volker and I have installed under cygwin contains the following line in /usr/X11R6/lib/X11/config/cygwin.cf #define StandardDefines -D__i386__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE -D_MT -D_X86_ -D__STDC__ -DNO_TCP_H -D__CYGWIN__ -D_XOPEN_SOURCE -D_REENTRANT -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE (It seems totally bogus to me. Why are __STDC__ and __CYGWIN__ being -D'ed from the command line?) XEmacs's configure script takes the -D__STDC__ and transforms it into a `#define __STDC__ 1' line in its confdefs.h. gcc 2.95.2 did not complain about __STDC__ being redefined in confdefs.h gcc 2.95.3 gives a warning. The configure script (autoconf, really) interprets the warning as an indication that X11/Intrinsic.h doesn't exist. Hence the error. Off the top of my head, here are some ideas for fixing the problem, - fix X11's cygwin.cf. Does cygwin-xfree have this problem? - fix autoconf to ignore warnings when determining the existing of header files. - change XEmacs's configure script so that it doesn't add __STDC__ to confdefs.h =========================================================================== --- configure.in~ Mon Mar 19 14:09:20 2001 +++ configure.in Fri Mar 23 12:09:05 2001 @@ -2753,7 +2753,9 @@ cd .. rm -fr conftestdir for word in $xmkmf_defines; do - case "$word" in -D* ) + case "$word" in + -D__STDC__*) ;; + -D* ) sym=`echo '' $word | sed -e 's:^ *-D::' -e 's:=.*::'` case "$word" in -D*=* ) val=`echo '' $word | sed -e 's:^.*=::'` ;; =========================================================================== Does anyone have any other ideas? Does this problem show up on any systems other than cygwin? -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |