Commit 952aa15d by Maarten L. Hekkelman

Fixed the --enable-revision argument for configure

parent b3e45eb0
......@@ -749,6 +749,7 @@ with_aix_soname
with_gnu_ld
with_sysroot
enable_libtool_lock
enable_revision
with_boost
with_boost_libdir
with_boost_iostreams
......@@ -768,7 +769,6 @@ CC
CFLAGS
LT_SYS_LIBRARY_PATH
DEBUG
UPDATE_REVISION
CCP4
LIBZ_CPPFLAGS
LIBZ_LDFLAGS
......@@ -1403,6 +1403,7 @@ Optional Features:
--enable-fast-install[=PKGS]
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
--enable-revision Create a build number as revision
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
......@@ -1449,8 +1450,6 @@ Some influential environment variables:
LT_SYS_LIBRARY_PATH
User-defined run-time library search path.
DEBUG Build a debug version of the library
UPDATE_REVISION
Update the revision.hpp file
CCP4 The location where CCP4 is installed
LIBZ_CPPFLAGS
C preprocessor flags for LIBZ headers
......@@ -16091,6 +16090,19 @@ LIBCIF_SEMANTIC_VERSION=1.0.0
# Check whether --enable-revision was given.
if test "${enable_revision+set}" = set; then :
enableval=$enable_revision;
fi
if test "x$enable_revision" != "xyes" ; then :
UPDATE_REVISION=1
fi
UPDATE_REVISION=$UPDATE_REVISION
......
......@@ -77,7 +77,7 @@ AC_ARG_VAR([DEBUG], [Build a debug version of the library])
dnl revision numbering is something used internally at the NKI
AC_ARG_ENABLE(
revision,
[AS_HELP_STRING([--disable-revision], [Create a build number as revision])])
[AS_HELP_STRING([--enable-revision], [Create a build number as revision])])
AS_IF([test "x$enable_revision" != "xyes" ], [
UPDATE_REVISION=1
......
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