source:
freewrt/package/libnids/patches/configure.patch@
428f140
| Last change on this file since 428f140 was 475ad56, checked in by , 20 years ago | |
|---|---|
|
|
| File size: 2.1 KB | |
-
libnids-1.18
diff -Nur libnids-1.18/configure libnids-1.18.patched/configure
old new 3253 3253 esac 3254 3254 3255 3255 3256 CFLAGS="$CFLAGS -D_BSD_SOURCE"3256 CFLAGS="$CFLAGS" 3257 3257 3258 3258 for ac_func in gettimeofday 3259 3259 do … … 3489 3489 echo "${ECHO_T}no" >&6 3490 3490 ;; 3491 3491 *) 3492 echo "$as_me:$LINENO: result: $withval" >&5 3493 echo "${ECHO_T}$withval" >&6 3492 echo "$ac_t""$withval" 1>&6 3494 3493 if test -f $withval/pcap.h -a -f $withval/libpcap.a; then 3495 3494 owd=`pwd` 3496 3495 if cd $withval; then withval=`pwd`; cd $owd; fi 3497 PCAP _CFLAGS="-I$withval -I$withval/bpf"3496 PCAPINC="-I$withval -I$withval/bpf" 3498 3497 PCAPLIB="-L$withval -lpcap" 3498 elif test -f $withval/include/pcap.h -a \ 3499 -f $withval/include/pcap-bpf.h -a \ 3500 -f $withval/lib/libpcap.a; then 3501 owd=`pwd` 3502 if cd $withval; then withval=`pwd`; cd $owd; fi 3503 PCAPINC="-I$withval/include" 3504 PCAPLIB="-L$withval/lib -lpcap" 3499 3505 else 3500 { { echo "$as_me:$LINENO: error: pcap.h or libpcap.a not found in $withval" >&5 3501 echo "$as_me: error: pcap.h or libpcap.a not found in $withval" >&2;} 3502 { (exit 1); exit 1; }; } 3506 { echo "configure: error: pcap.h" 1>&2; exit 1; } 3503 3507 fi 3504 3508 ;; 3505 3509 esac … … 3605 3609 *) 3606 3610 echo "$as_me:$LINENO: result: $withval" >&5 3607 3611 echo "${ECHO_T}$withval" >&6 3608 if test -f $withval/include/libnet.h -a -f $withval/lib/libnet.a -a -f $withval/ libnet-config ; then3612 if test -f $withval/include/libnet.h -a -f $withval/lib/libnet.a -a -f $withval/bin/libnet-config ; then 3609 3613 owd=`pwd` 3610 3614 if cd $withval; then withval=`pwd`; cd $owd; fi 3611 LNET_CFLAGS="-I$withval/include `$withval/ libnet-config --defines`"3615 LNET_CFLAGS="-I$withval/include `$withval/bin/libnet-config --defines`" 3612 3616 LNETLIB="-L$withval/lib -lnet" 3613 3617 elif test -f $withval/include/libnet.h -a -f $withval/src/libnet.a; then 3614 3618 owd=`pwd` … … 3861 3865 else 3862 3866 echo "$as_me: failed program was:" >&5 3863 3867 cat conftest.$ac_ext >&5 3864 HAVE_BSD_UDPHDR= 03868 HAVE_BSD_UDPHDR=1 3865 3869 fi 3866 3870 rm -f conftest.$ac_objext conftest.$ac_ext 3867 3871
Note:
See TracBrowser
for help on using the repository browser.
