patch-configure 786 B

1234567891011121314151617
  1. --- libnids-1.24.orig/configure 2006-05-01 19:14:51.000000000 +0200
  2. +++ libnids-1.24/configure 2011-05-16 16:03:49.766610900 +0200
  3. @@ -3919,11 +3919,11 @@ echo "${ECHO_T}no" >&6
  4. *)
  5. echo "$as_me:$LINENO: result: $withval" >&5
  6. echo "${ECHO_T}$withval" >&6
  7. - if test -f $withval/pcap.h -a -f $withval/libpcap.a; then
  8. + if test -f $withval/include/pcap.h; then
  9. owd=`pwd`
  10. if cd $withval; then withval=`pwd`; cd $owd; fi
  11. - PCAP_CFLAGS="-I$withval -I$withval/bpf"
  12. - PCAPLIB="-L$withval -lpcap"
  13. + PCAP_CFLAGS="-I$withval/include -I$withval/include/bpf"
  14. + PCAPLIB="-L$withval/lib -lpcap"
  15. else
  16. { { echo "$as_me:$LINENO: error: pcap.h or libpcap.a not found in $withval" >&5
  17. echo "$as_me: error: pcap.h or libpcap.a not found in $withval" >&2;}