source: rtems/aclocal/cygwin.m4 @ dfe7746e

4.104.114.84.95
Last change on this file since dfe7746e was b931d05a, checked in by Joel Sherrill <joel.sherrill@…>, on 09/30/98 at 19:51:39

Added Id's.

  • Property mode set to 100644
File size: 590 bytes
Line 
1dnl
2dnl  $Id$
3dnl
4dnl Detect the Cygwin32 environment (unix under Win32)
5dnl
6dnl 98/06/16 David Fiddes       (D.J.Fiddes@hw.ac.uk)
7dnl                             Hacked from automake-1.3
8
9# Check to see if we're running under Cygwin32, without using
10# AC_CANONICAL_*.  If so, set output variable CYGWIN32 to "yes".
11# Otherwise set it to "no".
12
13dnl RTEMS_CYGWIN32()
14AC_DEFUN(RTEMS_CYGWIN32,
15[AC_CACHE_CHECK(for Cygwin32 environment, rtems_cv_cygwin32,
16[AC_TRY_COMPILE(,[return __CYGWIN32__;],
17rtems_cv_cygwin32=yes, rtems_cv_cygwin32=no)
18rm -f conftest*])
19CYGWIN32=
20test "$rtems_cv_cygwin32" = yes && CYGWIN32=yes])
21
Note: See TracBrowser for help on using the repository browser.