From 5ff1498c1e375a18eaf20b2c26911af82d8ef981 Mon Sep 17 00:00:00 2001
From: unknown <vva@eagle.mysql.r18.ru>
Date: Wed, 22 Jan 2003 20:51:51 +0400
Subject: [PATCH] correction for compiling on Linux Suse 7.2

---
 configure.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/configure.in b/configure.in
index 5a4456387ae..be18ef2ada9 100644
--- a/configure.in
+++ b/configure.in
@@ -2461,16 +2461,19 @@ AC_SUBST(GXX)
 
 if test "$compile_readline" = "yes"
 then
-    AC_OUTPUT(cmd-line-utils/Makefile)
     AC_OUTPUT(cmd-line-utils/readline/Makefile)
 fi
 
 if test "$compile_libedit" = "yes"
 then
-    AC_OUTPUT(cmd-line-utils/Makefile)
     AC_OUTPUT(cmd-line-utils/libedit/Makefile)
 fi
 
+if [test "$compile_libedit" = "yes"] || [test "$compile_readline" = "yes"]
+then
+    AC_OUTPUT(cmd-line-utils/Makefile)
+fi 
+
 AC_OUTPUT(Makefile extra/Makefile mysys/Makefile isam/Makefile \
  strings/Makefile regex/Makefile heap/Makefile \
  bdb/Makefile \
-- 
2.30.9