summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--configure.ac2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bb9620e..914adda 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2008-07-31 Christophe Fergeau <teuf@gnome.org>
+ * configure.ac: s/test -a/test -e/ since this is what I really
+ meant, thanks tmz
+
+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.
diff --git a/configure.ac b/configure.ac
index 739fb0f..1ba5955 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 -a "$srcdir/autogen.sh"; then
+if test -e "$srcdir/autogen.sh"; then
set_more_warnings=yes
else
set_more_warnings=no