summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorteuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2008-08-01 00:55:38 +0000
committerteuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2008-08-01 00:55:38 +0000
commit8d8f84304e783e2d085798186a494bd79e1f9998 (patch)
tree6f968237ce8c386f8b91d665e02903a046f7761d
parent02902d1dfb65d2c5b1816eae33d26b1c5b8c9f1a (diff)
downloadlibgpod-8d8f84304e783e2d085798186a494bd79e1f9998.tar.gz
libgpod-8d8f84304e783e2d085798186a494bd79e1f9998.tar.xz
libgpod-8d8f84304e783e2d085798186a494bd79e1f9998.zip
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
-rw-r--r--ChangeLog6
-rw-r--r--configure.ac2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c7f1954..bb9620e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2008-07-31 Christophe Fergeau <teuf@gnome.org>
+ * 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 <teuf@gnome.org>
+
* src/itdb_device.h:
* src/itdb_plist.h: move itdb_device_error_quark from itdb_plist.h
to 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