at v192 33 lines 1.5 kB view raw
1--- nylon-1.21/configure 2006-08-20 00:53:31.000000000 +0200 2+++ nylon-1.21-patch/configure 2015-01-13 22:23:34.509154220 +0100 3@@ -5174,25 +5174,25 @@ 4 *) 5 echo "$as_me:$LINENO: result: $withval" >&5 6 echo "${ECHO_T}$withval" >&6 7- if test -f $withval/include/event.h -a -f $withval/lib/libevent.a; then 8+ if test -f $withval/include/event.h -a -f $withval/lib/libevent.so; then 9 owd=`pwd` 10 if cd $withval; then withval=`pwd`; cd $owd; fi 11 EVENTINC="-I$withval/include" 12 EVENTLIB="-L$withval/lib -levent" 13- elif test -f $withval/event.h -a -f $withval/libevent.a; then 14+ elif test -f $withval/event.h -a -f $withval/libevent.so; then 15 owd=`pwd` 16 if cd $withval; then withval=`pwd`; cd $owd; fi 17 EVENTINC="-I$withval" 18 EVENTLIB="-L$withval -levent" 19 else 20- { { echo "$as_me:$LINENO: error: event.h or libevent.a not found in $withval" >&5 21-echo "$as_me: error: event.h or libevent.a not found in $withval" >&2;} 22+ { { echo "$as_me:$LINENO: error: event.h or libevent.so not found in $withval" >&5 23+echo "$as_me: error: event.h or libevent.so not found in $withval" >&2;} 24 { (exit 1); exit 1; }; } 25 fi 26 ;; 27 esac 28 else 29- if test -f ${prefix}/include/event.h -a -f ${prefix}/lib/libevent.a; 30+ if test -f ${prefix}/include/event.h -a -f ${prefix}/lib/libevent.so; 31 then 32 EVENTINC="-I${prefix}/include" 33 EVENTLIB="-L${prefix}/lib -levent"