aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJonathan Gray2003-08-10 00:44:03 +0000
committerJonathan Gray2003-08-10 00:44:03 +0000
commit4f228c71904185ed4180b4224a2c6e8e705cf489 (patch)
treec1914d3139ed0d3ec9c62c1cc46978bfe3ee06df /configure
parentb0ad2e9da34a8cd2eb27165525289ced3c61d058 (diff)
downloadscummvm-rg350-4f228c71904185ed4180b4224a2c6e8e705cf489.tar.gz
scummvm-rg350-4f228c71904185ed4180b4224a2c6e8e705cf489.tar.bz2
scummvm-rg350-4f228c71904185ed4180b4224a2c6e8e705cf489.zip
stop if we find a configure option we don't know about, add --enable-debug option which currently only adds -g
svn-id: r9612
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure
index d5f7598acc..48b97b2ee6 100755
--- a/configure
+++ b/configure
@@ -212,6 +212,14 @@ for ac_option in $@; do
--backend=*)
_backend=`echo $ac_option | cut -d '=' -f 2`
;;
+ --enable-debug)
+ CXXFLAGS="$CXXFLAGS -g"
+ ;;
+ *)
+ echo "error: unrecognised option: $ac_option
+Try \`$0 --help' for more information." >&2
+ exit 1
+ ;;
esac;
done;