From bd4ed40fedb13a54195e10b7e97035eb462a7afd Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 8 Nov 2004 14:37:20 +0000 Subject: [PATCH] fail silently if the requested wx-config is not found git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wx-config.in | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/wx-config.in b/wx-config.in index b2795189cf..0f626ccfdf 100755 --- a/wx-config.in +++ b/wx-config.in @@ -784,24 +784,9 @@ if ! user_mask_fits "$this_config" ; then exit else - - cat 1>&2 <<-EOF - - Warning: No config found to match: $config_spec - in $wxconfdir - If you require this configuration, please install the desired - library build. If this is part of an automated configuration - test and no other errors occur, you may safely ignore it. - You may use wx-config --list to see all configs available in - the default prefix. - - EOF - - # PIPEDREAM: This will probably give Vadim an aneurysm if I - # mention it out of context, but from here we are actually - # just a teensy step from simply building the missing config - # for the user on the fly if this is an in tree wx-config. - + # silently exit with error: we shouldn't give any messages here as + # we may be called from a configure script where this would really + # mess things up exit 1 fi fi -- 2.47.2