From 3ae1d0aa84e06214f50c6984ed6816e1659b2d28 Mon Sep 17 00:00:00 2001 From: Neil Schemenauer Date: Sat, 27 Jan 2001 06:54:42 +0000 Subject: 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. --- configure.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure.in b/configure.in index 78c07d6..554aa93 100644 --- a/configure.in +++ b/configure.in @@ -171,6 +171,14 @@ fi 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*) -- cgit v0.12