"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure.ac" between
libpcap-1.10.0.tar.gz and libpcap-1.10.1.tar.gz

About: libpcap is a packet filter library used by tools like tcpdump.

configure.ac  (libpcap-1.10.0):configure.ac  (libpcap-1.10.1)
skipping to change at line 47 skipping to change at line 47
# #
# Haiku's platform file is in C++. # Haiku's platform file is in C++.
# #
AC_PROG_CXX AC_PROG_CXX
;; ;;
esac esac
AC_LBL_C_INIT(V_CCOPT, V_INCLS) AC_LBL_C_INIT(V_CCOPT, V_INCLS)
AC_LBL_SHLIBS_INIT AC_LBL_SHLIBS_INIT
AC_LBL_C_INLINE AC_LBL_C_INLINE
AC_PCAP_C___ATOMICS
# #
# Try to arrange for large file support. # Try to arrange for large file support.
# #
AC_SYS_LARGEFILE AC_SYS_LARGEFILE
AC_FUNC_FSEEKO AC_FUNC_FSEEKO
dnl dnl
dnl Even if <net/bpf.h> were, on all OSes that support BPF, fixed to dnl Even if <net/bpf.h> were, on all OSes that support BPF, fixed to
dnl include <sys/ioccom.h>, and we were to drop support for older dnl include <sys/ioccom.h>, and we were to drop support for older
skipping to change at line 1742 skipping to change at line 1743
else else
tcpdump_cv_capable_lex=insufficient tcpdump_cv_capable_lex=insufficient
fi) fi)
if test $tcpdump_cv_capable_lex = insufficient ; then if test $tcpdump_cv_capable_lex = insufficient ; then
AC_MSG_ERROR([$LEX is insufficient to compile libpcap. AC_MSG_ERROR([$LEX is insufficient to compile libpcap.
libpcap requires Flex 2.5.31 or later, or a compatible version of lex.]) libpcap requires Flex 2.5.31 or later, or a compatible version of lex.])
fi fi
# #
# Look for yacc/bison/byacc. # Look for yacc/bison/byacc.
# If it's Bison, we do not want -y, as 1) we will be using -o to cause
# the output for XXX.y to be written to XXX.c and 2) we don't want
# it to issue warnings about stuff not supported by POSIX YACC - we
# want to use that stuff, and don't care whether plain YACC supports
# it or not, we require either Bison or Berkeley YACC.
# #
AC_PROG_YACC BISON_BYACC=""
#
case "$YACC" in # Look for Bison.
#
*yacc) AC_CHECK_PROGS(BISON_BYACC, bison)
# if test x"$BISON_BYACC" != x; then
# Make sure this is Berkeley YACC, not AT&T YACC; the latter
# doesn't support reentrant parsers. Run it with "-V";
# that succeeds and reports the version number with
# Berkeley YACC, but will (probably) fail with various
# vendor flavors of AT&T YACC.
#
AC_CACHE_CHECK([for capable yacc], tcpdump_cv_capable_yacc,
if $YACC -V >/dev/null 2>&1; then
tcpdump_cv_capable_yacc=yes
else
tcpdump_cv_capable_yacc=insufficient
fi)
if test $tcpdump_cv_capable_yacc = insufficient ; then
AC_MSG_ERROR([$YACC is insufficient to compile libpcap.
libpcap requires Bison, a newer version of Berkeley YACC with support
for reentrant parsers, or another YACC compatible with them.])
fi
#
# Berkeley YACC doesn't support "%define api.pure", so use
# "%pure-parser".
# #
REENTRANT_PARSER="%pure-parser" # We found Bison.
;;
*)
# #
# Bison prior to 2.4(.1) doesn't support "%define api.pure", so use # Bison prior to 2.4(.1) doesn't support "%define api.pure", so use
# "%pure-parser". # "%pure-parser".
# #
bison_major_version=`$YACC -V | sed -n 's/.* \(@<:@1-9@:>@@<:@0-9@:>@*\)\ bison_major_version=`$BISON_BYACC -V | sed -n 's/.* \(@<:@1-9@:>@@<:@0-9@
.@<:@1-9@:>@@<:@0-9.@:>@*/\1/p'` :>@*\)\.@<:@0-9@:>@@<:@0-9.@:>@*/\1/p'`
bison_minor_version=`$YACC -V | sed -n 's/.* @<:@1-9@:>@@<:@0-9@:>@*\.\(@ bison_minor_version=`$BISON_BYACC -V | sed -n 's/.* @<:@1-9@:>@@<:@0-9@:>
<:@1-9@:>@@<:@0-9@:>@*\).*/\1/p'` @*\.\(@<:@0-9@:>@+\).*/\1/p'`
if test "$bison_major_version" -lt 2 -o \ if test "$bison_major_version" -lt 2 -o \
\( "$bison_major_version" -eq 2 -a "$bison_major_version" -lt 4 \) \( "$bison_major_version" -eq 2 -a "$bison_major_version" -lt 4 \)
then then
REENTRANT_PARSER="%pure-parser" REENTRANT_PARSER="%pure-parser"
else else
REENTRANT_PARSER="%define api.pure" REENTRANT_PARSER="%define api.pure"
fi fi
;; else
esac #
# We didn't find Bison; check for Berkeley YACC, under the
# names byacc and yacc.
#
AC_CHECK_PROGS(BISON_BYACC, byacc yacc)
if test x"$BISON_BYACC" != x; then
#
# Make sure this is Berkeley YACC, not AT&T YACC;
# the latter doesn't support reentrant parsers.
# Run it with "-V"; that succeeds and reports the
# version number with Berkeley YACC, but will
# (probably) fail with various vendor flavors
# of AT&T YACC.
#
# Hopefully this also eliminates any versions
# of Berkeley YACC that don't support reentrant
# parsers, if there are any.
#
AC_CACHE_CHECK([for capable yacc], tcpdump_cv_capable_yacc,
if $BISON_BYACC -V >/dev/null 2>&1; then
tcpdump_cv_capable_yacc=yes
else
tcpdump_cv_capable_yacc=insufficient
fi)
if test $tcpdump_cv_capable_yacc = insufficient ; then
AC_MSG_ERROR([$YACC is insufficient to compile libpcap.
libpcap requires Bison, a newer version of Berkeley YACC with support
for reentrant parsers, or another YACC compatible with them.])
fi
else
#
# OK, we found neither byacc nor yacc.
#
AC_MSG_ERROR([Neither bison, byacc, nor yacc was found.
libpcap requires Bison, a newer version of Berkeley YACC with support
for reentrant parsers, or another YACC compatible with them.])
fi
#
# Berkeley YACC doesn't support "%define api.pure", so use
# "%pure-parser".
#
REENTRANT_PARSER="%pure-parser"
fi
AC_SUBST(BISON_BYACC)
AC_SUBST(REENTRANT_PARSER) AC_SUBST(REENTRANT_PARSER)
# #
# Do various checks for various OSes and versions of those OSes. # Do various checks for various OSes and versions of those OSes.
# #
# Assume, by default, no support for shared libraries and V7/BSD # Assume, by default, no support for shared libraries and V7/BSD
# convention for man pages (devices in section 4, file formats in # convention for man pages (devices in section 4, file formats in
# section 5, miscellaneous info in section 7, administrative commands # section 5, miscellaneous info in section 7, administrative commands
# and daemons in section 8). Individual cases can override this. # and daemons in section 8). Individual cases can override this.
# #
 End of changes. 6 change blocks. 
37 lines changed or deleted 63 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)