# # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher # --- libpcap-0.7.2/./configure.in~configure +++ libpcap-0.7.2/./configure.in @@ -7,9 +7,10 @@ dnl AC_REVISION($Revision: 1.94.2.1 $) -AC_INIT(pcap.c) +AC_INIT +AC_CONFIG_SRCDIR([pcap.c]) -AC_CANONICAL_SYSTEM +AC_CANONICAL_TARGET([]) AC_LBL_C_INIT(V_CCOPT, V_INCLS) AC_LBL_C_INLINE @@ -210,11 +211,7 @@ sinix*) AC_MSG_CHECKING(if SINIX compiler defines sinix) AC_CACHE_VAL(ac_cv_cc_sinix_defined, - AC_TRY_COMPILE( - [], - [int i = sinix;], - ac_cv_cc_sinix_defined=yes, - ac_cv_cc_sinix_defined=no)) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[int i = sinix;]])],[ac_cv_cc_sinix_defined=yes],[ac_cv_cc_sinix_defined=no])) AC_MSG_RESULT($ac_cv_cc_sinix_defined) if test $ac_cv_cc_sinix_defined = no ; then AC_DEFINE(sinix,1,[on sinix]) @@ -250,7 +247,8 @@ AC_CONFIG_HEADER(config.h) -AC_OUTPUT(Makefile) +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT if test -f .devel ; then make depend