Fix the --with-extra-options to use the correct variable.
[oota-llvm.git] / configure
index c9685252cd3339602f0c19a4bc44914ff81a6515..6d018b8df5c1055ee02f4cb716a494d6c5a5ce1d 100755 (executable)
--- a/configure
+++ b/configure
@@ -3347,11 +3347,11 @@ if test "${with_extra_options+set}" = set; then
   withval="$with_extra_options"
 
 else
-  extraopts=default
+  withval=default
 fi;
-case "$extraopts" in
+case "$withval" in
   default) EXTRA_OPTIONS= ;;
-  *) EXTRA_OPTIONS=$extraopts ;;
+  *) EXTRA_OPTIONS=$withval ;;
 esac
 EXTRA_OPTIONS=$EXTRA_OPTIONS