summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2007-06-08 21:03:40 +0000
committerChristian Persch <chpe@src.gnome.org>2007-06-08 21:03:40 +0000
commitd6e1e2887f608774ad7e4149bd1d64dde30c3241 (patch)
tree8192183471d900ea73eda59490ec12cfb7733698
parent0e9953925dd46911989afa6b4c697f350935cae2 (diff)
downloadshared-mime-info-d6e1e2887f608774ad7e4149bd1d64dde30c3241.tar.gz
Don't print warning about missing arguments if we're not going to run
2007-06-08 Christian Persch <chpe@gnome.org> * macros2/gnome-autogen.sh: Don't print warning about missing arguments if we're not going to run configure. Bug #445584, patch by "Cygwin Ports maintainer" (yselkowitz%40users.sourceforge.net). svn path=/trunk/; revision=3907
-rw-r--r--ChangeLog6
-rw-r--r--macros2/gnome-autogen.sh2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 21ae114c..75d50f0e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-06-08 Christian Persch <chpe@gnome.org>
+
+ * macros2/gnome-autogen.sh: Don't print warning about missing
+ arguments if we're not going to run configure. Bug #445584, patch by
+ "Cygwin Ports maintainer" (yselkowitz%40users.sourceforge.net).
+
2007-06-06 Christian Persch <chpe@gnome.org>
* doc-build/gnome-doc-common.in: Add datarootdir substitution.
diff --git a/macros2/gnome-autogen.sh b/macros2/gnome-autogen.sh
index b5080f69..f57a876e 100644
--- a/macros2/gnome-autogen.sh
+++ b/macros2/gnome-autogen.sh
@@ -368,7 +368,7 @@ if [ "$DIE" -eq 1 ]; then
exit 1
fi
-if [ "$#" = 0 ]; then
+if [ "$#" = 0 -a "x$NOCONFIGURE" = "x" ]; then
printerr "**Warning**: I am going to run \`configure' with no arguments."
printerr "If you wish to pass any to it, please specify them on the"
printerr \`$0\'" command line."