From e4068331e701c1a64a304225097a672ca8e2bf05 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 12 Nov 2013 20:24:49 +0100 Subject: make versioning git compatible, update INSTALL --- configure | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'configure') 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 -- cgit v1.2.3