patch-configure 1.2 KB

123456789101112131415161718192021222324252627
  1. --- arpd.orig/configure 2003-02-09 19:31:28.000000000 +0100
  2. +++ arpd/configure 2007-01-21 00:51:54.000000000 +0100
  3. @@ -2205,12 +2205,12 @@ echo "${ECHO_T}no" >&6
  4. *)
  5. echo "$as_me:2206: 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; 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; then
  15. owd=`pwd`
  16. if cd $withval; then withval=`pwd`; cd $owd; fi
  17. EVENTINC="-I$withval"
  18. @@ -2258,8 +2258,7 @@ echo "${ECHO_T}$withval" >&6
  19. if cd $withval; then withval=`pwd`; cd $owd; fi
  20. PCAPINC="-I$withval -I$withval/bpf"
  21. PCAPLIB="-L$withval -lpcap"
  22. - elif test -f $withval/include/pcap.h -a \
  23. - -f $withval/include/net/bpf.h; then
  24. + elif test -f $withval/include/pcap.h; then
  25. owd=`pwd`
  26. if cd $withval; then withval=`pwd`; cd $owd; fi
  27. PCAPINC="-I$withval/include"