1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

Fix the --with-extra-options to use the correct variable.

llvm-svn: 29403
This commit is contained in:
Reid Spencer 2006-07-28 22:50:07 +00:00
parent 504adc58b7
commit 43cbd39dd0
2 changed files with 6 additions and 6 deletions

View File

@ -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)

6
configure vendored
View File

@ -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