Commit 27b8836f authored by Timothy Stack's avatar Timothy Stack

Use autoconf macro (AC_EXEEXT) to detect whether or not we have to

append ".exe" in favor of the --enable-windowsclient option.
parent ae22c5c4
...@@ -59,7 +59,7 @@ INSTALL_APACHE_CONFIG = @INSTALL_APACHE_CONFIG@ ...@@ -59,7 +59,7 @@ INSTALL_APACHE_CONFIG = @INSTALL_APACHE_CONFIG@
INSTALL = @INSTALL@ INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL@ -m 755 INSTALL_PROGRAM = @INSTALL@ -m 755
EXE = @EXE_SUFFIX@ EXE = @EXEEXT@
INSTALL_DATA = @INSTALL@ -m 444 INSTALL_DATA = @INSTALL@ -m 444
CLIENT_ETCDIR = @CLIENT_ETCDIR@ CLIENT_ETCDIR = @CLIENT_ETCDIR@
......
This diff is collapsed.
...@@ -49,6 +49,8 @@ AC_CHECK_TOOL(AR,ar) ...@@ -49,6 +49,8 @@ AC_CHECK_TOOL(AR,ar)
AC_CHECK_TOOL(RANLIB,ranlib) AC_CHECK_TOOL(RANLIB,ranlib)
AC_CHECK_TOOL(STRIP,strip) AC_CHECK_TOOL(STRIP,strip)
AC_EXEEXT
AC_PATH_PROG(ELVIN_CONFIG,elvin-config) AC_PATH_PROG(ELVIN_CONFIG,elvin-config)
AC_PATH_PROG(JAVAC,javac) AC_PATH_PROG(JAVAC,javac)
AC_PATH_PROG(JAR,jar) AC_PATH_PROG(JAR,jar)
...@@ -555,23 +557,6 @@ else ...@@ -555,23 +557,6 @@ else
fi fi
AC_SUBST(WINSUPPORT) 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)
# #
# Check for ulsshxmlrpc header # Check for ulsshxmlrpc header
# #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment