From 50da14bf684eed74af00394937ac85a097e2c67d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= Date: Fri, 25 Nov 2005 21:42:08 +0000 Subject: [PATCH] Handle --without-tuning configure option properly --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index fb9f6f1269..13584498ff 100644 --- a/configure.ac +++ b/configure.ac @@ -1248,7 +1248,9 @@ AC_ARG_WITH(tuning, [ --with-tuning=ARCH enable special tuning for an architecture (default Pentium 2 on IA-32 and 750 on PPC)]) if test -n "${with_tuning}"; then - CFLAGS_TUNING="-mtune=${with_tuning}" + if test "${with_tuning}" != "no"; then + CFLAGS_TUNING="-mtune=${with_tuning}" + fi else if test "${target_cpu}" = "i686" -o "${target_cpu}" = "i586" -o "${target_cpu}" = "i486" -o "${target_cpu}" = "i386"; then CFLAGS_TUNING="-mtune=pentium2"