squid: update to 6.13
[openadk.git] / package / libnids / patches / patch-configure_in
blob2554d2f324c8cd3b03fba0cf37e4d61be0ac22d5
1 --- libnids-1.24.orig/configure.in      2006-05-01 19:14:51.000000000 +0200
2 +++ libnids-1.24/configure.in   2014-01-06 16:25:57.765584034 +0100
3 @@ -65,13 +65,13 @@ AC_ARG_WITH(libpcap,
4       ;;
5    *)
6       AC_MSG_RESULT($withval)
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 -        AC_ERROR(pcap.h or libpcap.a not found in $withval)
17 +        AC_ERROR(pcap.h not found in $withval)
18       fi
19       ;;
20    esac ],