patch-configure 1.2 KB

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