From d6e1e2887f608774ad7e4149bd1d64dde30c3241 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 8 Jun 2007 21:03:40 +0000 Subject: [PATCH] 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 --- ChangeLog | 6 ++++++ macros2/gnome-autogen.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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." -- 2.7.4