]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/libpcap/libpcap-0.7.2/configure.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / libpcap / libpcap-0.7.2 / configure.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
6 --- libpcap-0.7.2/./configure.in~configure
7 +++ libpcap-0.7.2/./configure.in
8 @@ -7,9 +7,10 @@
9  dnl
10  
11  AC_REVISION($Revision: 1.94.2.1 $)
12 -AC_INIT(pcap.c)
13 +AC_INIT
14 +AC_CONFIG_SRCDIR([pcap.c])
15  
16 -AC_CANONICAL_SYSTEM
17 +AC_CANONICAL_TARGET([])
18  
19  AC_LBL_C_INIT(V_CCOPT, V_INCLS)
20  AC_LBL_C_INLINE
21 @@ -210,11 +211,7 @@
22  sinix*)
23         AC_MSG_CHECKING(if SINIX compiler defines sinix)
24         AC_CACHE_VAL(ac_cv_cc_sinix_defined,
25 -               AC_TRY_COMPILE(
26 -                   [],
27 -                   [int i = sinix;],
28 -                   ac_cv_cc_sinix_defined=yes,
29 -                   ac_cv_cc_sinix_defined=no))
30 +               AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[int i = sinix;]])],[ac_cv_cc_sinix_defined=yes],[ac_cv_cc_sinix_defined=no]))
31             AC_MSG_RESULT($ac_cv_cc_sinix_defined)
32             if test $ac_cv_cc_sinix_defined = no ; then
33                     AC_DEFINE(sinix,1,[on sinix])
34 @@ -250,7 +247,8 @@
35  
36  AC_CONFIG_HEADER(config.h)
37  
38 -AC_OUTPUT(Makefile)
39 +AC_CONFIG_FILES([Makefile])
40 +AC_OUTPUT
41  
42  if test -f .devel ; then
43         make depend