Ticket #45205: use-system-libedit.patch

File use-system-libedit.patch, 983 bytes (added by RJVB (René Bertin), 10 years ago)
  • configure

    old new  
    46964696
    46974697use_libedit=
    46984698if test "$with_libedit" = "yes"; then
    4699         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for history_init in -ledit" >&5
    4700 $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; }
    47014701if ${ac_cv_lib_edit_history_init+:} false; then :
    47024702  $as_echo_n "(cached) " >&6
    47034703else
    47044704  ac_check_lib_save_LIBS=$LIBS
    4705 LIBS="-ledit  $LIBS"
     4705LIBS="/usr/lib/libedit.dylib  $LIBS"
    47064706cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    47074707/* end confdefs.h.  */
    47084708
     
    47504750$as_echo "#define SMALL 1" >>confdefs.h
    47514751
    47524752else
    4753         export LIBS="$LIBS -ledit"
     4753        export LIBS="$LIBS /usr/lib/libedit.dylib"
    47544754fi
    47554755# Check whether --enable-lineno was given.
    47564756if test "${enable_lineno+set}" = set; then :