Ticket #45205: use-system-libedit.patch
File use-system-libedit.patch, 983 bytes (added by RJVB (René Bertin), 10 years ago) |
---|
-
configure
old new 4696 4696 4697 4697 use_libedit= 4698 4698 if test "$with_libedit" = "yes"; then 4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for history_init in -ledit" >&54700 $as_echo_n "checking for history_init in -ledit... " >&6; }4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for history_init in /usr/lib/libedit" >&5 4700 $as_echo_n "checking for history_init in /usr/lib/libedit... " >&6; } 4701 4701 if ${ac_cv_lib_edit_history_init+:} false; then : 4702 4702 $as_echo_n "(cached) " >&6 4703 4703 else 4704 4704 ac_check_lib_save_LIBS=$LIBS 4705 LIBS=" -ledit$LIBS"4705 LIBS="/usr/lib/libedit.dylib $LIBS" 4706 4706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4707 4707 /* end confdefs.h. */ 4708 4708 … … 4750 4750 $as_echo "#define SMALL 1" >>confdefs.h 4751 4751 4752 4752 else 4753 export LIBS="$LIBS -ledit"4753 export LIBS="$LIBS /usr/lib/libedit.dylib" 4754 4754 fi 4755 4755 # Check whether --enable-lineno was given. 4756 4756 if test "${enable_lineno+set}" = set; then :