[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: updated win32 macro
From: |
Akim Demaille |
Subject: |
Re: updated win32 macro |
Date: |
15 Mar 2001 10:23:11 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) |
| Sample code to use it in configure.in, when the program _needs_ the
| win32 API:
|
| AC_CANONICAL_HOST
|
| case "${host}" in
| *-*-cygwin*)
| AC_PROG_CC_WIN32
| if $ac_cc_win32; then
| dnl do nothing here - any header checks /library checks etc
| later in configure.in will now pass
| else
| echo "configure: error: Win32 API needed and no acceptable
| cc could be found" 1>&2;
| exit 1;
| fi ;;
| esac
My opinion is that AC_PROG_CC_WIN32 should contain an AC_REQUIRE of
AC_CANONICAL_HOST, and should ensure the case $host itself.
- Re: updated win32 macro, (continued)
- Re: updated win32 macro, Christopher Faylor, 2001/03/15
- Re: updated win32 macro, Robert Collins, 2001/03/15
- Re: updated win32 macro, Akim Demaille, 2001/03/19
- Re: updated win32 macro, Robert Collins, 2001/03/19
- Re: updated win32 macro, Akim Demaille, 2001/03/19
- win32 v4, Robert Collins, 2001/03/15
- Re: updated win32 macro, Robert Collins, 2001/03/15
- Re: updated win32 macro, Christopher Faylor, 2001/03/15
- Re: updated win32 macro, Lars J. Aas, 2001/03/15
- Re: updated win32 macro, Lars J. Aas, 2001/03/15
Re: updated win32 macro,
Akim Demaille <=
Re: updated win32 macro, edward, 2001/03/15
Re: updated win32 macro, Robert Collins, 2001/03/15
Re: updated win32 macro, edward, 2001/03/15