"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure" 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  (libpcap-1.10.0):configure  (libpcap-1.10.1)
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for pcap 1.10.0. # Generated by GNU Autoconf 2.69 for pcap 1.10.1.
# #
# #
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
# #
# #
# This configure script is free software; the Free Software Foundation # This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it. # gives unlimited permission to copy, distribute and modify it.
## -------------------- ## ## -------------------- ##
## M4sh Initialization. ## ## M4sh Initialization. ##
## -------------------- ## ## -------------------- ##
skipping to change at line 573 skipping to change at line 573
ac_config_libobj_dir=. ac_config_libobj_dir=.
LIBOBJS= LIBOBJS=
cross_compiling=no cross_compiling=no
subdirs= subdirs=
MFLAGS= MFLAGS=
MAKEFLAGS= MAKEFLAGS=
# Identity of this package. # Identity of this package.
PACKAGE_NAME='pcap' PACKAGE_NAME='pcap'
PACKAGE_TARNAME='pcap' PACKAGE_TARNAME='pcap'
PACKAGE_VERSION='1.10.0' PACKAGE_VERSION='1.10.1'
PACKAGE_STRING='pcap 1.10.0' PACKAGE_STRING='pcap 1.10.1'
PACKAGE_BUGREPORT='' PACKAGE_BUGREPORT=''
PACKAGE_URL='' PACKAGE_URL=''
ac_unique_file="pcap.c" ac_unique_file="pcap.c"
# Factoring default headers for most tests. # Factoring default headers for most tests.
ac_includes_default="\ ac_includes_default="\
#include <stdio.h> #include <stdio.h>
#ifdef HAVE_SYS_TYPES_H #ifdef HAVE_SYS_TYPES_H
# include <sys/types.h> # include <sys/types.h>
#endif #endif
skipping to change at line 662 skipping to change at line 662
V_PROG_CCOPT_FAT V_PROG_CCOPT_FAT
V_LIB_LDFLAGS_FAT V_LIB_LDFLAGS_FAT
V_LIB_CCOPT_FAT V_LIB_CCOPT_FAT
V_CCOPT V_CCOPT
MKDEP MKDEP
DEPENDENCY_CFLAG DEPENDENCY_CFLAG
LN_S LN_S
AR AR
RANLIB RANLIB
REENTRANT_PARSER REENTRANT_PARSER
YFLAGS BISON_BYACC
YACC
LEXLIB LEXLIB
LEX_OUTPUT_ROOT LEX_OUTPUT_ROOT
LEX LEX
PKGCONFIG PKGCONFIG
VALGRINDTEST_SRC VALGRINDTEST_SRC
LIBOBJS LIBOBJS
EGREP EGREP
GREP GREP
CPP CPP
ac_ct_CXX ac_ct_CXX
skipping to change at line 775 skipping to change at line 774
host_alias host_alias
target_alias target_alias
CC CC
CFLAGS CFLAGS
LDFLAGS LDFLAGS
LIBS LIBS
CPPFLAGS CPPFLAGS
CXX CXX
CXXFLAGS CXXFLAGS
CCC CCC
CPP CPP'
YACC
YFLAGS'
# Initialize some variables set by options. # Initialize some variables set by options.
ac_init_help= ac_init_help=
ac_init_version=false ac_init_version=false
ac_unrecognized_opts= ac_unrecognized_opts=
ac_unrecognized_sep= ac_unrecognized_sep=
# The variables have the same names as the options, with # The variables have the same names as the options, with
# dashes changed to underlines. # dashes changed to underlines.
cache_file=/dev/null cache_file=/dev/null
exec_prefix=NONE exec_prefix=NONE
skipping to change at line 1325 skipping to change at line 1322
eval ac_cv_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_value=\$${ac_var}
done done
# #
# Report the --help message. # Report the --help message.
# #
if test "$ac_init_help" = "long"; then if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures pcap 1.10.0 to adapt to many kinds of systems. \`configure' configures pcap 1.10.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
To assign environment variables (e.g., CC, CFLAGS...), specify them as To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables. VAR=VALUE. See below for descriptions of some of the useful variables.
Defaults for the options are specified in brackets. Defaults for the options are specified in brackets.
Configuration: Configuration:
-h, --help display this help and exit -h, --help display this help and exit
skipping to change at line 1392 skipping to change at line 1389
System types: System types:
--build=BUILD configure for building on BUILD [guessed] --build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD] --host=HOST cross-compile to build programs to run on HOST [BUILD]
--target=TARGET configure for building compilers for TARGET [HOST] --target=TARGET configure for building compilers for TARGET [HOST]
_ACEOF _ACEOF
fi fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of pcap 1.10.0:";; short | recursive ) echo "Configuration of pcap 1.10.1:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
Optional Features: Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options --disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-largefile omit support for large files --disable-largefile omit support for large files
--disable-protochain disable \"protochain\" insn --disable-protochain disable \"protochain\" insn
--enable-ipv6 build IPv6-capable version [default=yes] --enable-ipv6 build IPv6-capable version [default=yes]
skipping to change at line 1459 skipping to change at line 1456
CC C compiler command CC C compiler command
CFLAGS C compiler flags CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir> nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library> LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir> you have headers in a nonstandard directory <include dir>
CXX C++ compiler command CXX C++ compiler command
CXXFLAGS C++ compiler flags CXXFLAGS C++ compiler flags
CPP C preprocessor CPP C preprocessor
YACC The `Yet Another Compiler Compiler' implementation to use.
Defaults to the first program found out of: `bison -y', `byacc',
`yacc'.
YFLAGS The list of arguments that will be passed by default to $YACC.
This script will default YFLAGS to the empty string to avoid a
default value of `-d' given by some make applications.
Use these variables to override the choices made by `configure' or to help Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations. it to find libraries and programs with nonstandard names/locations.
Report bugs to the package provider. Report bugs to the package provider.
_ACEOF _ACEOF
ac_status=$? ac_status=$?
fi fi
if test "$ac_init_help" = "recursive"; then if test "$ac_init_help" = "recursive"; then
skipping to change at line 1532 skipping to change at line 1523
else else
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
fi || ac_status=$? fi || ac_status=$?
cd "$ac_pwd" || { ac_status=$?; break; } cd "$ac_pwd" || { ac_status=$?; break; }
done done
fi fi
test -n "$ac_init_help" && exit $ac_status test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
pcap configure 1.10.0 pcap configure 1.10.1
generated by GNU Autoconf 2.69 generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc. Copyright (C) 2012 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it. gives unlimited permission to copy, distribute and modify it.
_ACEOF _ACEOF
exit exit
fi fi
## ------------------------ ## ## ------------------------ ##
skipping to change at line 1622 skipping to change at line 1613
$as_echo "$as_me: failed program was:" >&5 $as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1 ac_retval=1
fi fi
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval as_fn_set_status $ac_retval
} # ac_fn_cxx_try_compile } # ac_fn_cxx_try_compile
# ac_fn_c_try_link LINENO
# -----------------------
# Try to link conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_link ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
rm -f conftest.$ac_objext conftest$ac_exeext
if { { ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
(eval "$ac_link") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
grep -v '^ *+' conftest.err >conftest.er1
cat conftest.er1 >&5
mv -f conftest.er1 conftest.err
fi
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest$ac_exeext && {
test "$cross_compiling" = yes ||
test -x conftest$ac_exeext
}; then :
ac_retval=0
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1
fi
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
# interfere with the next link command; also delete a directory that is
# left behind by Apple's compiler. We do this before executing the actions.
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval
} # ac_fn_c_try_link
# ac_fn_c_try_cpp LINENO # ac_fn_c_try_cpp LINENO
# ---------------------- # ----------------------
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_cpp () ac_fn_c_try_cpp ()
{ {
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
if { { ac_try="$ac_cpp conftest.$ac_ext" if { { ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;; *) ac_try_echo=$ac_try;;
skipping to change at line 2092 skipping to change at line 2037
eval ac_res=\$$4 eval ac_res=\$$4
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
$as_echo "$ac_res" >&6; } $as_echo "$ac_res" >&6; }
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
} # ac_fn_c_check_member } # ac_fn_c_check_member
cat >config.log <<_ACEOF cat >config.log <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by pcap $as_me 1.10.0, which was It was created by pcap $as_me 1.10.1, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@ $ $0 $@
_ACEOF _ACEOF
exec 5>>config.log exec 5>>config.log
{ {
cat <<_ASUNAME cat <<_ASUNAME
## --------- ## ## --------- ##
## Platform. ## ## Platform. ##
skipping to change at line 4470 skipping to change at line 4415
$as_echo "$ac_cv_lbl_inline" >&6; } $as_echo "$ac_cv_lbl_inline" >&6; }
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
#define inline $ac_cv_lbl_inline #define inline $ac_cv_lbl_inline
_ACEOF _ACEOF
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_load_n" >&
5
$as_echo_n "checking for __atomic_load_n... " >&6; }
if ${ac_cv_have___atomic_load_n+:} false; then :
$as_echo_n "(cached) " >&6
else
# ac_fn_c_try_link LINENO
# -----------------------
# Try to link conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_link ()
{
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
rm -f conftest.$ac_objext conftest$ac_exeext
if { { ac_try="$ac_link"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
*) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
$as_echo "$ac_try_echo"; } >&5
(eval "$ac_link") 2>conftest.err
ac_status=$?
if test -s conftest.err; then
grep -v '^ *+' conftest.err >conftest.er1
cat conftest.er1 >&5
mv -f conftest.er1 conftest.err
fi
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; } && {
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest$ac_exeext && {
test "$cross_compiling" = yes ||
test -x conftest$ac_exeext
}; then :
ac_retval=0
else
$as_echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
ac_retval=1
fi
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
# interfere with the next link command; also delete a directory that is
# left behind by Apple's compiler. We do this before executing the actions.
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
as_fn_set_status $ac_retval
} # ac_fn_c_try_link
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main ()
{
int i = 17;
int j;
j = __atomic_load_n(&i, __ATOMIC_RELAXED);
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_have___atomic_load_n=yes
else
ac_have___atomic_load_n=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have___atomic_load_n
" >&5
$as_echo "$ac_have___atomic_load_n" >&6; }
if test $ac_have___atomic_load_n = yes ; then
$as_echo "#define HAVE___ATOMIC_LOAD_N 1" >>confdefs.h
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atomic_store_n" >
&5
$as_echo_n "checking for __atomic_store_n... " >&6; }
if ${ac_cv_have___atomic_store_n+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main ()
{
int i;
__atomic_store_n(&i, 17, __ATOMIC_RELAXED);
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_have___atomic_store_n=yes
else
ac_have___atomic_store_n=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have___atomic_store_
n" >&5
$as_echo "$ac_have___atomic_store_n" >&6; }
if test $ac_have___atomic_store_n = yes ; then
$as_echo "#define HAVE___ATOMIC_STORE_N 1" >>confdefs.h
fi
# #
# Try to arrange for large file support. # Try to arrange for large file support.
# #
# Check whether --enable-largefile was given. # Check whether --enable-largefile was given.
if test "${enable_largefile+set}" = set; then : if test "${enable_largefile+set}" = set; then :
enableval=$enable_largefile; enableval=$enable_largefile;
fi fi
if test "$enable_largefile" != no; then if test "$enable_largefile" != no; then
skipping to change at line 8391 skipping to change at line 8455
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcpdump_cv_capable_lex" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcpdump_cv_capable_lex" >&5
$as_echo "$tcpdump_cv_capable_lex" >&6; } $as_echo "$tcpdump_cv_capable_lex" >&6; }
if test $tcpdump_cv_capable_lex = insufficient ; then if test $tcpdump_cv_capable_lex = insufficient ; then
as_fn_error $? "$LEX is insufficient to compile libpcap. as_fn_error $? "$LEX is insufficient to compile libpcap.
libpcap requires Flex 2.5.31 or later, or a compatible version of lex." "$LINEN O" 5 libpcap requires Flex 2.5.31 or later, or a compatible version of lex." "$LINEN O" 5
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.
#
BISON_BYACC=""
#
# Look for Bison.
# #
for ac_prog in 'bison -y' byacc for ac_prog in bison
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; } $as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_YACC+:} false; then : if ${ac_cv_prog_BISON_BYACC+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if test -n "$YACC"; then if test -n "$BISON_BYACC"; then
ac_cv_prog_YACC="$YACC" # Let the user override the test. ac_cv_prog_BISON_BYACC="$BISON_BYACC" # Let the user override the test.
else else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH for as_dir in $PATH
do do
IFS=$as_save_IFS IFS=$as_save_IFS
test -z "$as_dir" && as_dir=. test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_YACC="$ac_prog" ac_cv_prog_BISON_BYACC="$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
break 2 break 2
fi fi
done done
done done
IFS=$as_save_IFS IFS=$as_save_IFS
fi fi
fi fi
YACC=$ac_cv_prog_YACC BISON_BYACC=$ac_cv_prog_BISON_BYACC
if test -n "$YACC"; then if test -n "$BISON_BYACC"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON_BYACC" >&5
$as_echo "$YACC" >&6; } $as_echo "$BISON_BYACC" >&6; }
else else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
test -n "$YACC" && break test -n "$BISON_BYACC" && break
done done
test -n "$YACC" || YACC="yacc"
case "$YACC" in if test x"$BISON_BYACC" != x; then
#
*yacc) # We found Bison.
# #
# Make sure this is Berkeley YACC, not AT&T YACC; the latter # Bison prior to 2.4(.1) doesn't support "%define api.pure", so use
# doesn't support reentrant parsers. Run it with "-V"; # "%pure-parser".
# that succeeds and reports the version number with
# Berkeley YACC, but will (probably) fail with various
# vendor flavors of AT&T YACC.
# #
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for capable yacc" >&5 bison_major_version=`$BISON_BYACC -V | sed -n 's/.* \([1-9][0-9]*\)\.[0-9
][0-9.]*/\1/p'`
bison_minor_version=`$BISON_BYACC -V | sed -n 's/.* [1-9][0-9]*\.\([0-9]+
\).*/\1/p'`
if test "$bison_major_version" -lt 2 -o \
\( "$bison_major_version" -eq 2 -a "$bison_major_version" -lt 4 \)
then
REENTRANT_PARSER="%pure-parser"
else
REENTRANT_PARSER="%define api.pure"
fi
else
#
# We didn't find Bison; check for Berkeley YACC, under the
# names byacc and yacc.
#
for ac_prog in byacc yacc
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_BISON_BYACC+:} false; then :
$as_echo_n "(cached) " >&6
else
if test -n "$BISON_BYACC"; then
ac_cv_prog_BISON_BYACC="$BISON_BYACC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_BISON_BYACC="$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5
break 2
fi
done
done
IFS=$as_save_IFS
fi
fi
BISON_BYACC=$ac_cv_prog_BISON_BYACC
if test -n "$BISON_BYACC"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON_BYACC" >&5
$as_echo "$BISON_BYACC" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
test -n "$BISON_BYACC" && break
done
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.
#
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for capable yac
c" >&5
$as_echo_n "checking for capable yacc... " >&6; } $as_echo_n "checking for capable yacc... " >&6; }
if ${tcpdump_cv_capable_yacc+:} false; then : if ${tcpdump_cv_capable_yacc+:} false; then :
$as_echo_n "(cached) " >&6 $as_echo_n "(cached) " >&6
else else
if $YACC -V >/dev/null 2>&1; then if $BISON_BYACC -V >/dev/null 2>&1; then
tcpdump_cv_capable_yacc=yes tcpdump_cv_capable_yacc=yes
else else
tcpdump_cv_capable_yacc=insufficient tcpdump_cv_capable_yacc=insufficient
fi fi
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcpdump_cv_capable_yacc" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcpdump_cv_capable_yacc" >&5
$as_echo "$tcpdump_cv_capable_yacc" >&6; } $as_echo "$tcpdump_cv_capable_yacc" >&6; }
if test $tcpdump_cv_capable_yacc = insufficient ; then if test $tcpdump_cv_capable_yacc = insufficient ; then
as_fn_error $? "$YACC is insufficient to compile libpcap. as_fn_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." "$LINENO" 5
fi
else
#
# OK, we found neither byacc nor yacc.
#
as_fn_error $? "Neither bison, byacc, nor yacc was found.
libpcap requires Bison, a newer version of Berkeley YACC with support libpcap requires Bison, a newer version of Berkeley YACC with support
for reentrant parsers, or another YACC compatible with them." "$LINENO" 5 for reentrant parsers, or another YACC compatible with them." "$LINENO" 5
fi fi
# #
# Berkeley YACC doesn't support "%define api.pure", so use # Berkeley YACC doesn't support "%define api.pure", so use
# "%pure-parser". # "%pure-parser".
# #
REENTRANT_PARSER="%pure-parser" REENTRANT_PARSER="%pure-parser"
;; fi
*)
#
# Bison prior to 2.4(.1) doesn't support "%define api.pure", so use
# "%pure-parser".
#
bison_major_version=`$YACC -V | sed -n 's/.* \([1-9][0-9]*\)\.[1-9][0-9.]
*/\1/p'`
bison_minor_version=`$YACC -V | sed -n 's/.* [1-9][0-9]*\.\([1-9][0-9]*\)
.*/\1/p'`
if test "$bison_major_version" -lt 2 -o \
\( "$bison_major_version" -eq 2 -a "$bison_major_version" -lt 4 \)
then
REENTRANT_PARSER="%pure-parser"
else
REENTRANT_PARSER="%define api.pure"
fi
;;
esac
# #
# 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.
# #
DYEXT="none" DYEXT="none"
skipping to change at line 12163 skipping to change at line 12291
## Main body of $CONFIG_STATUS script. ## ## Main body of $CONFIG_STATUS script. ##
## ----------------------------------- ## ## ----------------------------------- ##
_ASEOF _ASEOF
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# Save the log message, to keep $0 and so on meaningful, and to # Save the log message, to keep $0 and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of their # report actual input values of CONFIG_FILES etc. instead of their
# values after options handling. # values after options handling.
ac_log=" ac_log="
This file was extended by pcap $as_me 1.10.0, which was This file was extended by pcap $as_me 1.10.1, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_HEADERS = $CONFIG_HEADERS
CONFIG_LINKS = $CONFIG_LINKS CONFIG_LINKS = $CONFIG_LINKS
CONFIG_COMMANDS = $CONFIG_COMMANDS CONFIG_COMMANDS = $CONFIG_COMMANDS
$ $0 $@ $ $0 $@
on `(hostname || uname -n) 2>/dev/null | sed 1q` on `(hostname || uname -n) 2>/dev/null | sed 1q`
" "
skipping to change at line 12228 skipping to change at line 12356
Configuration commands: Configuration commands:
$config_commands $config_commands
Report bugs to the package provider." Report bugs to the package provider."
_ACEOF _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g '`" ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g '`"
ac_cs_version="\\ ac_cs_version="\\
pcap config.status 1.10.0 pcap config.status 1.10.1
configured by $0, generated by GNU Autoconf 2.69, configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\" with options \\"\$ac_cs_config\\"
Copyright (C) 2012 Free Software Foundation, Inc. Copyright (C) 2012 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it." gives unlimited permission to copy, distribute and modify it."
ac_pwd='$ac_pwd' ac_pwd='$ac_pwd'
srcdir='$srcdir' srcdir='$srcdir'
INSTALL='$INSTALL' INSTALL='$INSTALL'
 End of changes. 27 change blocks. 
113 lines changed or deleted 247 lines changed or added

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