From 8d8f84304e783e2d085798186a494bd79e1f9998 Mon Sep 17 00:00:00 2001 From: teuf Date: Fri, 1 Aug 2008 00:55:38 +0000 Subject: Fix auto-enabling of more warnings when using a svn checkout git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2075 f01d2545-417e-4e96-918e-98f8d0dbbcb6 --- ChangeLog | 6 ++++++ configure.ac | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c7f1954..bb9620e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-07-31 Christophe Fergeau + + * configure.ac: instead of looking for .svn or {arch}, look for + autogen.sh to decide if we are compiling a version checked out from + svn or a release tarball. + 2008-07-31 Christophe Fergeau * src/itdb_device.h: diff --git a/configure.ac b/configure.ac index 2120a96..739fb0f 100644 --- a/configure.ac +++ b/configure.ac @@ -253,7 +253,7 @@ dnl Turn on the additional warnings last, so -Werror doesn't affect other tests. AC_ARG_ENABLE(more-warnings, [ --enable-more-warnings Maximum compiler warnings], set_more_warnings="$enableval",[ -if test -d "$srcdir/{arch}" || test -d "$srcdir/.svn"; then +if test -a "$srcdir/autogen.sh"; then set_more_warnings=yes else set_more_warnings=no -- cgit