repo.or.cz
/
automake.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
new files from elsewhere
[automake.git]
/
m4
/
cygwin.m4
blob
0c635f3652e27a4ad5e0358de3888f4caab9bef1
1
# Check to see if we're running under Cygwin32, without using
2
# AC_CANONICAL_*. If so, set output variable EXEEXT to ".exe".
3
# Otherwise set it to "".
4
5
dnl AM_CYGWIN32()
6
AC_DEFUN(AM_CYGWIN32,
7
[AC_MSG_CHECKING(for Cygwin32 environment)
8
AC_EGREP_CPP(lose, [
9
#ifdef __CYGWIN32__
10
lose
11
#endif], [EXEEXT=.exe
12
AC_MSG_RESULT(yes)], [EXEEXT=
13
AC_MSG_RESULT(no)])
14
AC_SUBST(EXEEXT)])