Edit

kc3-lang/automake/m4/cygwin.m4

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1997-03-20 23:51:34
    Hash : 9c2ae2af
    Message : cygwin32 support

  • m4/cygwin.m4
  • # Check to see if we're running under Cygwin32, without using
    # AC_CANONICAL_*.  If so, set output variable EXEEXT to ".exe".
    # Otherwise set it to "".
    
    dnl AM_CYGWIN32()
    AC_DEFUN(AM_CYGWIN32,
    [AC_MSG_CHECKING(for Cygwin32 environment)
    AC_EGREP_CPP(lose, [
    #ifdef __CYGWIN32__
    lose
    #endif], [EXEEXT=.exe
    AC_MSG_RESULT(yes)], [EXEEXT=
    AC_MSG_RESULT(no)])
    AC_SUBST(EXEEXT)])