Skip to content
Permalink
Browse files
Fix for the problem with the auto* process failing when svnversion isn't
available. 


git-svn-id: http://svn.osgeo.org/qgis/trunk@5828 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Sep 15, 2006
1 parent 33de773 commit 76e09e1ce66356c128acd5a8b4d81200632ed6c2
Showing with 9 additions and 1 deletion.
  1. +5 −1 Makefile.am
  2. +4 −0 configure.in
@@ -63,7 +63,11 @@ BUILT_SOURCES = qgssvnversion.h

.PHONY : qgssvnversion.h
qgssvnversion.h:
@QGSSVNDEF="#define QGSSVNVERSION \"`svnversion .`\"" && \
@if [ "$(HAVE_SVNVERSION)" == "yes" ]; then \
QGSSVNDEF="#define QGSSVNVERSION \"`svnversion .`\""; \
else \
QGSSVNDEF="#define QGSSVNVERSION \"unknown\""; \
fi; \
if [ "`grep QGSSVNVERSION qgssvnversion.h 2>/dev/null`" != "$$QGSSVNDEF" ]; then \
echo $$QGSSVNDEF > qgssvnversion.h; \
fi
@@ -80,6 +80,10 @@ dnl check lib64 environment
dnl ---------------------------------------------------------------------------
AQ_CHECK_LIB64

dnl ---------------------------------------------------------------------------
dnl svnversion check
dnl ---------------------------------------------------------------------------
AC_CHECK_PROG(HAVE_SVNVERSION, [svnversion], [yes], [no])

dnl ---------------------------------------------------------------------------
dnl Qt check

0 comments on commit 76e09e1

Please sign in to comment.