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/qgis@5828 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Sep 15, 2006
1 parent db8db7e commit 9a869ad
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
@@ -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 9a869ad

Please sign in to comment.