summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2008-08-01 00:55:38 +0000
committerChristophe Fergeau <teuf@gnome.org>2008-08-01 00:55:38 +0000
commit55839c7140c6cf776811ba6ee685ed5b3a1ab352 (patch)
tree6f968237ce8c386f8b91d665e02903a046f7761d
parent899c50a00e12de432806608c8650ec0f2f0e3acb (diff)
downloadlibgpod-tmz-55839c7140c6cf776811ba6ee685ed5b3a1ab352.tar.gz
libgpod-tmz-55839c7140c6cf776811ba6ee685ed5b3a1ab352.tar.xz
libgpod-tmz-55839c7140c6cf776811ba6ee685ed5b3a1ab352.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