aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2012-11-24 02:25:50 +0000
committerMatthias Klose <doko@gcc.gnu.org>2012-11-24 02:25:50 +0000
commit5213f20cfbb42c5430ccd442a8630b0557743a1c (patch)
treee27e4b3302413494ddb072fb5c9478815a4dea7d /gcc/configure.ac
parent1773438a1b701f62cc01e69b33d29954dab09207 (diff)
downloadgcc-5213f20cfbb42c5430ccd442a8630b0557743a1c.zip
gcc-5213f20cfbb42c5430ccd442a8630b0557743a1c.tar.gz
gcc-5213f20cfbb42c5430ccd442a8630b0557743a1c.tar.bz2
configure.ac (multiarch): Use $enableval instead of $withval.
2012-11-24 Matthias Klose <doko@ubuntu.com> * configure.ac (multiarch): Use $enableval instead of $withval. * configure: Regenerate. * config/i386/t-kfreebsd (MULTILIB_OSDIRNAMES): Filter out x32. From-SVN: r193776
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 4878c35..c6f57bd 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -617,9 +617,9 @@ AC_SUBST(enable_multilib)
AC_ARG_ENABLE(multiarch,
[AS_HELP_STRING([--enable-multiarch],
[enable support for multiarch paths])],
-[case "${withval}" in
-yes|no|auto) enable_multiarch=$withval;;
-*) AC_MSG_ERROR(bad value ${withval} given for --enable-multiarch option) ;;
+[case "${enableval}" in
+yes|no|auto) enable_multiarch=$enableval;;
+*) AC_MSG_ERROR(bad value ${enableval} given for --enable-multiarch option) ;;
esac], [enable_multiarch=auto])
if test x${enable_multiarch} = xauto; then
if test x${with_native_system_header_dir} != x; then