ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ddd-3.2.1 build readline when you do not want it


From: Adam J. Richter
Subject: ddd-3.2.1 build readline when you do not want it
Date: Fri, 22 Sep 2000 01:16:56 -0700

        If you configure ddd-3.2.1 without "--with-readline", it
builds its internal version.  This is because have_readline in
configure.in is initially false, and, in the absense of "--with-readline",
it is never changed.  There are a variety of ways to fix this.
Here is a one line patch that is simple, although perhaps not the
most proper (better would be to change the logic to only
build readline if something like "$with_readline && ! $have_readline"
were true.

Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 104
address@hidden     \ /                  San Jose, California 95129-1034
+1 408 261-6630         | g g d r a s i l   United States of America
fax +1 408 261-6631      "Free Software For The Rest Of Us."

--- ddd-3.2.1/configure.in      Mon Jan 17 08:21:41 2000
+++ ddd/configure.in    Fri Sep 22 01:12:10 2000
@@ -149,7 +149,7 @@
 [  --with-readline-libraries=DIR    Readline libraries are in DIR],[
   readline_libraries="$withval"
   case "$readline_libraries" in
-  no) ;;
+  no) ddd_have_readline=true ;;        # Prevent building of internal readline
   yes)
     AC_CHECK_LIB(readline, readline, [ddd_have_readline=true], ,
       $LIBTERMCAP)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]