delorie.com/archives/browse.cgi | search |
----- Original Message ----- From: "Christopher Faylor" <cgf AT redhat DOT com> To: <cygwin-apps AT cygwin DOT com>; "Earnie Boyd" <autoconf AT gnu DOT org> Sent: Friday, March 16, 2001 2:51 AM Subject: Re: updated win32 macro > On Fri, Mar 16, 2001 at 12:54:01AM +1100, Robert Collins wrote: > > > >Not true if you want to support users with cygwin gcc 2.95.2-6. That's > >what I didn't like about the code Chris was putting in his configure.in > >and prompted me to put into practice what I'd been thinking about. > > I'm not sure what you're referring to but anything I posted would > accomodate older or newer compilers. > > I am very happy to see an autoconf option for this, though. That's > what I was hoping for. > > cgf > this is what I was referring to: == case "${host}" in *-*-cygwin*) touch ac$$.c if ${CC} -c -mwin32 ac$$.c >/dev/null 2>&1; then case "$EXTRA_CFLAGS" in *-mwin32*) ;; *) EXTRA_CFLAGS="-mwin32 $EXTRA_CFLAGS" ;; esac fi rm -f ac$$.o ac$$.c ;; esac AC_SUBST(EXTRA_CFLAGS) == and I suspect your goal here is to just force it on IFF the compiler doesn't produce an error when you try the command? In which case yes, it would have worked.. Gotta start being awake when I read mail in the morning :] Rob
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |