[open-ils-commits] [GIT] Evergreen ILS branch master updated. 879b94c4998ca41585fd7dd72eb6decc325d8526
Evergreen Git
git at git.evergreen-ils.org
Thu Jul 10 15:51:18 EDT 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via 879b94c4998ca41585fd7dd72eb6decc325d8526 (commit)
from e4ff6afb7be2176d71241baa98500d28f226d210 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 879b94c4998ca41585fd7dd72eb6decc325d8526
Author: Bill Erickson <berick at esilibrary.com>
Date: Thu Jun 26 10:35:38 2014 -0400
LP#1334693 ./configure avoid osrf_config without core
Avoid the check for and use of osrf_config during Evergreen ./configure
when run with --disable-core. This allows the staff client to be built
and, in general, for make_release to be run on a machine that does not
have opensrf installed (or has multiple versions).
Signed-off-by: Bill Erickson <berick at esilibrary.com>
Signed-off-by: Ben Shum <bshum at biblio.org>
diff --git a/configure.ac b/configure.ac
index fbfa232..585ab00 100644
--- a/configure.ac
+++ b/configure.ac
@@ -182,26 +182,6 @@ AM_CONDITIONAL([BUILDEGPYTHON], [test x$EG_PYTHON_INSTALL = xtrue])
#-----------------------------------
# Check for dependencies
#-----------------------------------
-AC_PATH_PROG([OSRF_CONFIG], [osrf_config])
-if test "x$OSRF_CONFIG" == "x"; then
- AC_MSG_ERROR([Could not find osrf_config.
- Ensure OpenSRF is installed and that the PATH environment variable includes
- the OpenSRF executables. For example: PATH=\$PATH:/openils/bin ./configure])
-fi
-
-AC_ARG_WITH([opensrf-headers],
-[ --with-opensrf-headers=path location of the OpenSRF header files],
-[OPENSRF_HEADERS=${withval}],
-[OPENSRF_HEADERS=`$OSRF_CONFIG --includedir`])
-AC_SUBST([OPENSRF_HEADERS])
-
-# We need this for JavaScript
-AC_ARG_WITH([opensrf-libs],
-[ --with-opensrf-libs=path location of the OpenSRF libraries],
-[OPENSRF_LIBS=${withval}],
-[OPENSRF_LIBS=`$OSRF_CONFIG --libdir`])
-AC_SUBST([OPENSRF_LIBS])
-
AC_ARG_WITH([tmp],
[ --with-tmp=path location of the Evergreen temporary directory (default is /tmp) ],
[TMP=${withval}],
@@ -252,6 +232,26 @@ AC_SUBST([DBI_LIBS])
if test "x$openils_core" = "xtrue"; then
+ AC_PATH_PROG([OSRF_CONFIG], [osrf_config])
+ if test "x$OSRF_CONFIG" == "x"; then
+ AC_MSG_ERROR([Could not find osrf_config.
+ Ensure OpenSRF is installed and that the PATH environment variable includes
+ the OpenSRF executables. For example: PATH=\$PATH:/openils/bin ./configure])
+ fi
+
+ AC_ARG_WITH([opensrf-headers],
+ [ --with-opensrf-headers=path location of the OpenSRF header files],
+ [OPENSRF_HEADERS=${withval}],
+ [OPENSRF_HEADERS=`$OSRF_CONFIG --includedir`])
+ AC_SUBST([OPENSRF_HEADERS])
+
+ # We need this for JavaScript
+ AC_ARG_WITH([opensrf-libs],
+ [ --with-opensrf-libs=path location of the OpenSRF libraries],
+ [OPENSRF_LIBS=${withval}],
+ [OPENSRF_LIBS=`$OSRF_CONFIG --libdir`])
+ AC_SUBST([OPENSRF_LIBS])
+
AC_CHECK_PROG([MEMCACHED],memcached,yes,no)
if test $MEMCACHED = "no"; then
AC_MSG_ERROR([*** memcached not found, aborting])
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 40 ++++++++++++++++++++--------------------
1 files changed, 20 insertions(+), 20 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list