Minor changes to configure.ac to not check for FCGI when the server is not being

compiled.


svn path=/trunk/boinc/; revision=17043
This commit is contained in:
Eric J. Korpela 2009-01-27 19:53:55 +00:00
parent 94d1d06971
commit c50683be8d
1 changed files with 9 additions and 7 deletions

View File

@ -55,38 +55,38 @@ AC_ARG_ENABLE(dynamic-client-linkage,
AC_ARG_ENABLE(server, AC_ARG_ENABLE(server,
AS_HELP_STRING([--disable-server], AS_HELP_STRING([--disable-server],
[disable building the scheduling server]), [disable building the scheduling server]),
[enable_server=no], [enable_server=${enableval}],
[enable_server=yes]) [enable_server=yes])
AC_ARG_ENABLE(fcgi, AC_ARG_ENABLE(fcgi,
AS_HELP_STRING([--disable-fcgi], AS_HELP_STRING([--disable-fcgi],
[disable building fcgi libraries or server components]), [disable building fcgi libraries or server components]),
[enable_fcgi=no], [enable_fcgi=${enableval}],
[enable_fcgi=yes]) [enable_fcgi=${enable_server}])
AC_ARG_ENABLE(client, AC_ARG_ENABLE(client,
AS_HELP_STRING([--disable-client], AS_HELP_STRING([--disable-client],
[disable building the client]), [disable building the client]),
[enable_client=no], [enable_client=${enableval}],
[enable_client=yes]) [enable_client=yes])
AC_ARG_ENABLE(manager, AC_ARG_ENABLE(manager,
AS_HELP_STRING([--disable-manager], AS_HELP_STRING([--disable-manager],
[disable building the boinc manager gui]), [disable building the boinc manager gui]),
[enable_manager=no], [enable_manager=${enableval}],
[enable_manager=yes]) [enable_manager=yes])
AC_ARG_ENABLE(libraries, AC_ARG_ENABLE(libraries,
AS_HELP_STRING([--disable-libraries], AS_HELP_STRING([--disable-libraries],
[disable building the boinc client and server libraries]), [disable building the boinc client and server libraries]),
[enable_libraries=no], [enable_libraries=${enableval}],
[enable_libraries=yes]) [enable_libraries=yes])
AC_ARG_ENABLE(install-headers, AC_ARG_ENABLE(install-headers,
AS_HELP_STRING([--disable-install-headers], AS_HELP_STRING([--disable-install-headers],
[if building libraries do not install the boinc library [if building libraries do not install the boinc library
header files]), header files]),
[enable_install_headers=no], [enable_install_headers=${enableval}],
[enable_install_headers=yes]) [enable_install_headers=yes])
AC_ARG_ENABLE(pkg-libs, AC_ARG_ENABLE(pkg-libs,
@ -381,8 +381,10 @@ esac
dnl m4/boinc_getsockopt.m4 dnl m4/boinc_getsockopt.m4
BOINC_GETSOCKOPT_TYPE BOINC_GETSOCKOPT_TYPE
if test "x${enable_fcgi}" = xyes ; then
dnl m4/boinc_check_fcgi.m4 dnl m4/boinc_check_fcgi.m4
BOINC_CHECK_FCGI BOINC_CHECK_FCGI
fi
dnl ---------- libcurl (m4/libcurl.m4) ------------------------------ dnl ---------- libcurl (m4/libcurl.m4) ------------------------------