From 3ba97da297e1e1a5ca9dabdda60cc6a62f77affc Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Sun, 18 Jan 2009 17:17:57 +0200 Subject: [PATCH] configure: Make --enable-gui print an error Since compilation with GUI enabled will not succeed, make the configure option return an error immediately instead of triggering an obscure compiler error later. --- configure | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure b/configure index c969533350..e588342227 100755 --- a/configure +++ b/configure @@ -1286,6 +1286,11 @@ for ac_option do esac done +if test "$_gui" = yes ; then + echo "Error: --enable-gui is no longer supported. Use an external frontend if you want a GUI." >&2 + exit 1 +fi + # Atmos: moved this here, to be correct, if --prefix is specified test -z "$_bindir" && _bindir="$_prefix/bin" test -z "$_datadir" && _datadir="$_prefix/share/mplayer"