diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/configure.in b/configure.in index e9c90ad..3a21ddb 100644 --- a/configure.in +++ b/configure.in @@ -198,11 +198,18 @@ AC_ARG_WITH(suffix, [ --with-suffix=.exe set executable suffix],[ *) EXEEXT=$withval;; esac]) AC_MSG_RESULT($EXEEXT) + # Test whether we're running on a non-case-sensitive system, in which # case we give a warning if no ext is given -if test -d "python" -a -z "$EXEEXT" +AC_SUBST(BUILDEXEEXT) +AC_MSG_CHECKING(for case-insensitive build directory) +if test -d "python" then - AC_MSG_WARN(This filesystem is not case-sensitive so you should probably use --with-suffix) + AC_MSG_RESULT(yes) + BUILDEXEEXT=.exe +else + AC_MSG_RESULT(no) + BUILDEXEEXT='$(EXEEXT)' fi case $MACHDEP in |