Restore --with-suffix option. AC_EXEEXT doesn't aways do what the user wants
and an option is more friendly then manually setting a variable.
diff --git a/configure.in b/configure.in
index 78c07d6..554aa93 100644
--- a/configure.in
+++ b/configure.in
@@ -171,6 +171,14 @@
AC_PROG_CC
AC_EXEEXT
+AC_MSG_CHECKING(for --with-suffix)
+AC_ARG_WITH(suffix, [ --with-suffix=.exe set executable suffix],[
+ case $withval in
+ no) EXEEXT=;;
+ yes) EXEEXT=.exe;;
+ *) EXEEXT=$withval;;
+ esac])
+AC_MSG_RESULT($EXEEXT)
case $MACHDEP in
bsdos*)