xfs
[Top] [All Lists]

Re: Why xfs_<utils> not 'readline' w/line-edit & history enabled? (+atta

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: Why xfs_<utils> not 'readline' w/line-edit & history enabled? (+attachment)
From: Linda Walsh <xfs@xxxxxxxxx>
Date: Tue, 02 Oct 2012 15:52:08 -0700
Cc: xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <20121002215253.GT23520@dastard>
References: <506B1A03.7030600@xxxxxxxxx> <20121002201748.GQ23520@dastard> <506B5DE1.4020000@xxxxxxxxx> <20121002215253.GT23520@dastard>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666
Dave Chinner wrote:
Patches welcome.

Cheers,

Dave.
---
Gee, that's a hard one... (build and tested that it was included)...
--- configure.in        2011-08-04 07:04:44.000000000 -0700
+++ configure.in        2012-10-02 15:28:23.342090038 -0700
@@ -18,21 +18,21 @@
 AC_SUBST(enable_gettext)
 
 AC_ARG_ENABLE(readline,
-[ --enable-readline=[yes/no] Enable readline command editing [default=no]],
+[ --enable-readline=[yes/no] Enable readline command editing [default=yes]],
        test $enable_readline = yes && libreadline="-lreadline",
        enable_readline=no)
 AC_SUBST(libreadline)
 AC_SUBST(enable_readline)
 
 AC_ARG_ENABLE(editline,
-[ --enable-editline=[yes/no] Enable editline command editing [default=no]],
+[ --enable-editline=[yes/no] Enable editline command editing [default=yes]],
        test $enable_editline = yes && libeditline="-ledit",
        enable_editline=no)
 AC_SUBST(libeditline)
 AC_SUBST(enable_editline)
 
 AC_ARG_ENABLE(termcap,
-[ --enable-termcap=[yes/no] Enable terminal capabilities library [default=no]],
+[ --enable-termcap=[yes/no] Enable terminal capabilities library 
[default=yes]],
        test $enable_termcap = yes && libtermcap="-ltermcap",)
 AC_SUBST(libtermcap)
 

--- configure   2011-09-27 08:36:10.000000000 -0700
+++ configure   2012-10-02 15:45:07.911807028 -0700
@@ -1532,9 +1532,9 @@
   --disable-libtool-lock  avoid locking (might break parallel builds)
  --enable-shared=yes/no Enable use of shared libraries default=yes
  --enable-gettext=yes/no Enable alternate language support default=yes
- --enable-readline=yes/no Enable readline command editing default=no
- --enable-editline=yes/no Enable editline command editing default=no
- --enable-termcap=yes/no Enable terminal capabilities library default=no
+ --enable-readline=yes/no Enable readline command editing default=yes
+ --enable-editline=yes/no Enable editline command editing default=yes
+ --enable-termcap=yes/no Enable terminal capabilities library default=yes
  --enable-blkid=yes/no Enable block device id library default=yes
  --enable-lib64=yes/no Enable lib64 support default=yes
 
@@ -9971,7 +9971,8 @@
 if test "${enable_readline+set}" = set; then :
   enableval=$enable_readline; test $enable_readline = yes && 
libreadline="-lreadline"
 else
-  enable_readline=no
+  enable_readline=yes
+       libreadline="-lreadline"
 fi
 
 
@@ -9981,7 +9982,8 @@
 if test "${enable_editline+set}" = set; then :
   enableval=$enable_editline; test $enable_editline = yes && 
libeditline="-ledit"
 else
-  enable_editline=no
+  enable_editline=yes
+       libeditline="-ledit"
 fi
 
 
@@ -9990,6 +9992,9 @@
 # Check whether --enable-termcap was given.
 if test "${enable_termcap+set}" = set; then :
   enableval=$enable_termcap; test $enable_termcap = yes && 
libtermcap="-ltermcap"
+else 
+       enable_termcap=yes
+       libtermcap="-ltermcap"
 fi
 
 
<Prev in Thread] Current Thread [Next in Thread>