diff options
| author | bringert <unknown> | 2005-05-10 10:45:00 +0000 |
|---|---|---|
| committer | bringert <unknown> | 2005-05-10 10:45:00 +0000 |
| commit | 6896332b66200df120860558542ba11aefaceeb0 (patch) | |
| tree | ca39722301eaa4028929dcf6247664834f78a519 /src/configure.ac | |
| parent | 0d5329eaf841221ad3441f8c8361492735206a9c (diff) | |
Get executable suffix in configure, unify unix and windows make targets.
Diffstat (limited to 'src/configure.ac')
| -rw-r--r-- | src/configure.ac | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/configure.ac b/src/configure.ac index da6bc7df1..db855dda4 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -4,12 +4,26 @@ AC_INIT([GF],[2.2],[aarne@cs.chalmers.se],[GF]) AC_PREREQ(2.53) -AC_REVISION($Revision: 1.11 $) +AC_REVISION($Revision: 1.12 $) AC_CONFIG_FILES([config.mk jgf]) AC_CANONICAL_HOST +dnl *********************************************** +dnl Executable suffix +dnl *********************************************** + + +AC_MSG_CHECKING([executable suffix]) +case $host_os in + cygwin) + EXEEXT='.exe';; + *) + EXEEXT='';; +esac +AC_MSG_RESULT(['$EXEEXT']) +AC_SUBST(EXEEXT) dnl *********************************************** dnl GHC |
