Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 2d7580ea..eea2f98f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -424,13 +424,9 @@ AC_MSG_CHECKING(whether to use git version if available)
if test "x$wantgitver" = "xyes" ; then
AC_CHECK_PROGS([GIT], [git])
AC_CHECK_FILE([.git/], hasgitdir=yes)
+ usegitver=$ac_cv_file__git_
if test $GIT -a "x$hasgitdir" = "xyes"; then
- AC_MSG_RESULT([yes])
- usegitver=yes
AC_DEFINE([USE_GIT_VERSION], , [Use GIT version in version string])
- else
- AC_MSG_RESULT([no, git or .git dir missing])
- usegitver=no
fi
else
AC_MSG_RESULT([no, disabled by configure])