From: Christian Persch Date: Fri, 8 Jun 2007 21:03:40 +0000 (+0000) Subject: Don't print warning about missing arguments if we're not going to run X-Git-Tag: RELEASE_2_20_0~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d6e1e2887f608774ad7e4149bd1d64dde30c3241;p=platform%2Fupstream%2Fgnome-common.git Don't print warning about missing arguments if we're not going to run 2007-06-08 Christian Persch * 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 --- diff --git a/ChangeLog b/ChangeLog index 21ae114..75d50f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-06-08 Christian Persch + + * 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 * doc-build/gnome-doc-common.in: Add datarootdir substitution. diff --git a/macros2/gnome-autogen.sh b/macros2/gnome-autogen.sh index b5080f6..f57a876 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."