Fix the --with-extra-options to use the correct variable.
authorReid Spencer <rspencer@reidspencer.com>
Fri, 28 Jul 2006 22:50:07 +0000 (22:50 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 28 Jul 2006 22:50:07 +0000 (22:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29403 91177308-0d34-0410-b5e6-96231b3b80d8

autoconf/configure.ac
configure

index 6d1624491d0ed3c766f2f2aadf7ffcdf681076fb..4526c48dbe84875419a4d605a40791868536a076 100644 (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)
 
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