From 017b7360aed2dd274445c1ae5dd40fd8bd77fda6 Mon Sep 17 00:00:00 2001 From: Russ Fish Date: Fri, 28 Jan 2005 22:52:04 +0000 Subject: [PATCH] Split off the EXE_SUFFIX from --enable-windows into a separate --enable-windowsclient option, because Mike uses --enable-windows while building imagezip on Ops. --- configure.in | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 3e1e27408..64587b05d 100755 --- a/configure.in +++ b/configure.in @@ -526,14 +526,28 @@ if test "$enable_windows" = "yes"; then os/imagezip/ntfs/libntfs/GNUmakefile \ os/imagezip/fat/GNUmakefile" optional_subdirs="$optional_subdirs"; - EXE_SUFFIX=".exe"; WINSUPPORT=1; else winfiles=""; - EXE_SUFFIX=""; WINSUPPORT=0; fi AC_SUBST(WINSUPPORT) + +# +# Enable Windows Client support. +# Right now this means we are building the client software under CygWin. +# You should also turn on --enable-windows. +# Off by default. +# +AC_ARG_ENABLE(windowsclient, +[ --enable-windowsclient Enable Windows XP client support (requires third-party software)]) + +if test "$enable_windowsclient" = "yes"; then + # This is needed in strip and install actions. + EXE_SUFFIX=".exe"; +else + EXE_SUFFIX=""; +fi AC_SUBST(EXE_SUFFIX) # -- GitLab