summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2013-11-12 20:24:49 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2013-11-12 20:24:49 +0100
commite4068331e701c1a64a304225097a672ca8e2bf05 (patch)
treea00055152173158756ffc98edfc060735eaff21e /configure
parentdf26d1ef3104371c8b66e0ba652547d1ae9cbe94 (diff)
downloaddabmod-e4068331e701c1a64a304225097a672ca8e2bf05.tar.gz
dabmod-e4068331e701c1a64a304225097a672ca8e2bf05.tar.bz2
dabmod-e4068331e701c1a64a304225097a672ca8e2bf05.zip
make versioning git compatible, update INSTALL
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure18
1 files changed, 9 insertions, 9 deletions
diff --git a/configure b/configure
index 0f10f2c..2f0a1c7 100755
--- a/configure
+++ b/configure
@@ -626,8 +626,8 @@ ac_subst_vars='am__EXEEXT_FALSE
am__EXEEXT_TRUE
LTLIBOBJS
LIBOBJS
-IS_HG_REPO_FALSE
-IS_HG_REPO_TRUE
+IS_GIT_REPO_FALSE
+IS_GIT_REPO_TRUE
EGREP
GREP
BOOST_LDFLAGS
@@ -6226,12 +6226,12 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- if hg parents; then
- IS_HG_REPO_TRUE=
- IS_HG_REPO_FALSE='#'
+ if test -d '.git'; then
+ IS_GIT_REPO_TRUE=
+ IS_GIT_REPO_FALSE='#'
else
- IS_HG_REPO_TRUE='#'
- IS_HG_REPO_FALSE=
+ IS_GIT_REPO_TRUE='#'
+ IS_GIT_REPO_FALSE=
fi
@@ -6555,8 +6555,8 @@ if test -z "${HAVE_INPUT_ZEROMQ_TEST_TRUE}" && test -z "${HAVE_INPUT_ZEROMQ_TEST
as_fn_error $? "conditional \"HAVE_INPUT_ZEROMQ_TEST\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
-if test -z "${IS_HG_REPO_TRUE}" && test -z "${IS_HG_REPO_FALSE}"; then
- as_fn_error $? "conditional \"IS_HG_REPO\" was never defined.
+if test -z "${IS_GIT_REPO_TRUE}" && test -z "${IS_GIT_REPO_FALSE}"; then
+ as_fn_error $? "conditional \"IS_GIT_REPO\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi