You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ns...@apache.org on 2008/10/23 17:47:00 UTC
svn commit: r707397 - /incubator/couchdb/trunk/configure.ac
Author: nslater
Date: Thu Oct 23 08:47:00 2008
New Revision: 707397
URL: http://svn.apache.org/viewvc?rev=707397&view=rev
Log:
added NIGHTLY and FLAGS env variables
Modified:
incubator/couchdb/trunk/configure.ac
Modified: incubator/couchdb/trunk/configure.ac
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/configure.ac?rev=707397&r1=707396&r2=707397&view=diff
==============================================================================
--- incubator/couchdb/trunk/configure.ac (original)
+++ incubator/couchdb/trunk/configure.ac Thu Oct 23 08:47:00 2008
@@ -21,7 +21,11 @@
AM_CONFIG_HEADER([config.h])
-AM_INIT_AUTOMAKE([1.6.3 foreign check-news])
+if test x${NIGHTLY} = xyes; then
+ AM_INIT_AUTOMAKE([1.6.3 foreign])
+else
+ AM_INIT_AUTOMAKE([1.6.3 foreign check-news])
+fi
AC_GNU_SOURCE
AC_ENABLE_SHARED
@@ -74,6 +78,8 @@
[set PATH to the SpiderMonkey library directory])],
[JS_LIB_FLAGS="-L$withval"], [])
+AC_ARG_VAR([FLAGS], [general flags to prepend to LDFLAGS and CPPFLAGS])
+
LIB_FLAGS="-L/usr/local/lib -L/opt/local/lib $JS_LIB_FLAGS"
LIBS="$LIB_FLAGS $LIBS"
# XP_UNIX required for jsapi.h and has been tested to work on Linux and Darwin.