source: rtems/aclocal/cygwin.m4 @ bf1ef5b

4.104.114.84.9
Last change on this file since bf1ef5b was b931d05a, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 30, 1998 at 7:51:39 PM

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.