Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added NIGHTLY and FLAGS env variables

git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@707397 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit ffad3299286f02d37840feca590f5f56befcadc6 1 parent ee9ae6c
@nslater nslater authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 configure.ac
View
8 configure.ac
@@ -21,7 +21,11 @@ AC_CONFIG_AUX_DIR([build-aux])
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 @@ AC_ARG_WITH([js-lib], [AC_HELP_STRING([--with-js-lib=PATH],
[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.
Please sign in to comment.
Something went wrong with that request. Please try again.