diff options
-rw-r--r-- | eclass/wxwidgets.eclass | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/eclass/wxwidgets.eclass b/eclass/wxwidgets.eclass index f4b98e251c46..06ca52a2bbca 100644 --- a/eclass/wxwidgets.eclass +++ b/eclass/wxwidgets.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/wxwidgets.eclass,v 1.1 2004/08/05 16:28:11 pythonhead Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/wxwidgets.eclass,v 1.2 2004/08/07 03:40:19 pythonhead Exp $ # # Author Rob Cakebread <pythonhead@gentoo.org> @@ -48,8 +48,16 @@ set-wxconfig() { echo " * Using ${wxconfig_debug}" else echo "!!! $FUNCNAME: Error: Can't find normal or debug version:" - echo "!!! $FUNCNAME: !!! ${wxconfig} not found" - echo "!!! $FUNCNAME: !!! ${wxconfig_debug} not found" + echo "!!! $FUNCNAME: ${wxconfig} not found" + echo "!!! $FUNCNAME: ${wxconfig_debug} not found" + case $1 in + wxgtk) echo "!!! You need to emerge wxGTK with -no_wxgtk1 in your USE";; + wxgtkd) echo "!!! You need to emerge wxGTK with -no_wxgtk1 in your USE";; + wxgtk2) echo "!!! You need to emerge wxGTK with gtk2 in your USE";; + wxgtk2d) echo "!!! You need to emerge wxGTK with gtk2 in your USE";; + wxgtk2u) echo "!!! You need to emerge wxGTK with unicode in your USE";; + wxgtk2ud) echo "!!! You need to emerge wxGTK with unicode in your USE";; + esac exit 1 fi } |