summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 4dd8e72..c881890 100644
--- a/configure.in
+++ b/configure.in
@@ -193,6 +193,15 @@ then
fi
AC_PROG_CC
+AC_SUBST(EXE)
+AC_MSG_CHECKING(for --with-suffix)
+AC_ARG_WITH(suffix, [ --with-suffix=.exe set executable suffix],[
+ case $withval in
+ no) EXE=;;
+ yes) EXE=.exe;;
+ *) EXE=$withval;;
+ esac])
+AC_MSG_RESULT($EXE)
case $MACHDEP in
bsdos*)