diff options
-rw-r--r-- | autoconf/configure.ac | 6 | ||||
-rwxr-xr-x | configure | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 6d1624491d..4526c48dbe 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -337,10 +337,10 @@ dnl Specify extra build options AC_ARG_WITH(extra-options, AS_HELP_STRING([--with-extra-options], [Specify addtional options to compile LLVM with]),, - extraopts=default) -case "$extraopts" in + withval=default) +case "$withval" in default) EXTRA_OPTIONS= ;; - *) EXTRA_OPTIONS=$extraopts ;; + *) EXTRA_OPTIONS=$withval ;; esac AC_SUBST(EXTRA_OPTIONS,$EXTRA_OPTIONS) @@ -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 |