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

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

 



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
 
 
_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs

[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux