Regenerate autoconf files.

This commit is contained in:
Taeho Oh
2016-01-24 01:16:06 +09:00
parent 1dc0a09452
commit 2850960c21
7 changed files with 548 additions and 1208 deletions
Vendored
+32 -241
View File
@@ -12600,103 +12600,12 @@ else
$as_echo "yes" >&6; }
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_findalldevs in -lpcap" >&5
$as_echo_n "checking for pcap_findalldevs in -lpcap... " >&6; }
if ${ac_cv_lib_pcap_pcap_findalldevs+:} false; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pcap_open_live" >&5
$as_echo_n "checking for library containing pcap_open_live... " >&6; }
if ${ac_cv_search_pcap_open_live+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lpcap $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char pcap_findalldevs ();
int
main ()
{
return pcap_findalldevs ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_pcap_pcap_findalldevs=yes
else
ac_cv_lib_pcap_pcap_findalldevs=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_findalldevs" >&5
$as_echo "$ac_cv_lib_pcap_pcap_findalldevs" >&6; }
if test "x$ac_cv_lib_pcap_pcap_findalldevs" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBPCAP 1
_ACEOF
LIBS="-lpcap $LIBS"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_freealldevs in -lpcap" >&5
$as_echo_n "checking for pcap_freealldevs in -lpcap... " >&6; }
if ${ac_cv_lib_pcap_pcap_freealldevs+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lpcap $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char pcap_freealldevs ();
int
main ()
{
return pcap_freealldevs ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_pcap_pcap_freealldevs=yes
else
ac_cv_lib_pcap_pcap_freealldevs=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_freealldevs" >&5
$as_echo "$ac_cv_lib_pcap_pcap_freealldevs" >&6; }
if test "x$ac_cv_lib_pcap_pcap_freealldevs" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBPCAP 1
_ACEOF
LIBS="-lpcap $LIBS"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_open_live in -lpcap" >&5
$as_echo_n "checking for pcap_open_live in -lpcap... " >&6; }
if ${ac_cv_lib_pcap_pcap_open_live+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lpcap $LIBS"
ac_func_search_save_LIBS=$LIBS
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -12715,161 +12624,43 @@ return pcap_open_live ();
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_pcap_pcap_open_live=yes
else
ac_cv_lib_pcap_pcap_open_live=no
for ac_lib in '' pcap wpcap; do
if test -z "$ac_lib"; then
ac_res="none required"
else
ac_res=-l$ac_lib
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
fi
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_search_pcap_open_live=$ac_res
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
conftest$ac_exeext
if ${ac_cv_search_pcap_open_live+:} false; then :
break
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_open_live" >&5
$as_echo "$ac_cv_lib_pcap_pcap_open_live" >&6; }
if test "x$ac_cv_lib_pcap_pcap_open_live" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBPCAP 1
_ACEOF
done
if ${ac_cv_search_pcap_open_live+:} false; then :
LIBS="-lpcap $LIBS"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_datalink in -lpcap" >&5
$as_echo_n "checking for pcap_datalink in -lpcap... " >&6; }
if ${ac_cv_lib_pcap_pcap_datalink+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lpcap $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char pcap_datalink ();
int
main ()
{
return pcap_datalink ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_pcap_pcap_datalink=yes
ac_cv_search_pcap_open_live=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pcap_open_live" >&5
$as_echo "$ac_cv_search_pcap_open_live" >&6; }
ac_res=$ac_cv_search_pcap_open_live
if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
pcap_found=yes
else
ac_cv_lib_pcap_pcap_datalink=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_datalink" >&5
$as_echo "$ac_cv_lib_pcap_pcap_datalink" >&6; }
if test "x$ac_cv_lib_pcap_pcap_datalink" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBPCAP 1
_ACEOF
LIBS="-lpcap $LIBS"
pcap_found=no
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_next_ex in -lpcap" >&5
$as_echo_n "checking for pcap_next_ex in -lpcap... " >&6; }
if ${ac_cv_lib_pcap_pcap_next_ex+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lpcap $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char pcap_next_ex ();
int
main ()
{
return pcap_next_ex ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_pcap_pcap_next_ex=yes
else
ac_cv_lib_pcap_pcap_next_ex=no
if test x"$pcap_found" == x"no"; then :
as_fn_error $? "pcap is not found" "$LINENO" 5
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_next_ex" >&5
$as_echo "$ac_cv_lib_pcap_pcap_next_ex" >&6; }
if test "x$ac_cv_lib_pcap_pcap_next_ex" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBPCAP 1
_ACEOF
LIBS="-lpcap $LIBS"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_close in -lpcap" >&5
$as_echo_n "checking for pcap_close in -lpcap... " >&6; }
if ${ac_cv_lib_pcap_pcap_close+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lpcap $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char pcap_close ();
int
main ()
{
return pcap_close ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_pcap_pcap_close=yes
else
ac_cv_lib_pcap_pcap_close=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_close" >&5
$as_echo "$ac_cv_lib_pcap_pcap_close" >&6; }
if test "x$ac_cv_lib_pcap_pcap_close" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBPCAP 1
_ACEOF
LIBS="-lpcap $LIBS"
fi
for ac_header in pcap/pcap.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"