Don't print warning about missing arguments if we're not going to run
authorChristian Persch <chpe@gnome.org>
Fri, 8 Jun 2007 21:03:40 +0000 (21:03 +0000)
committerChristian Persch <chpe@src.gnome.org>
Fri, 8 Jun 2007 21:03:40 +0000 (21:03 +0000)
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

ChangeLog
macros2/gnome-autogen.sh

index 21ae114..75d50f0 100644 (file)
--- 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.
index b5080f6..f57a876 100644 (file)
@@ -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."