version 1.1, 2012/02/21 17:26:11
|
version 1.1.1.5, 2016/11/02 10:09:09
|
Line 1
|
Line 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.68 for Quagga 0.99.20. | # Generated by GNU Autoconf 2.69 for Quagga 1.0.20160315. |
# |
# |
# Report bugs to <https://bugzilla.quagga.net>. |
# Report bugs to <https://bugzilla.quagga.net>. |
# |
# |
# |
# |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | |
# Foundation, Inc. | |
# |
# |
# |
# |
# This configure script is free software; the Free Software Foundation |
# This configure script is free software; the Free Software Foundation |
Line 136 export LANGUAGE
|
Line 134 export LANGUAGE
|
# CDPATH. |
# CDPATH. |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
|
|
# Use a proper internal environment variable to ensure we don't fall |
|
# into an infinite loop, continuously re-executing ourselves. |
|
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
|
_as_can_reexec=no; export _as_can_reexec; |
|
# We cannot yet assume a decent shell, so we have to provide a |
|
# neutralization value for shells without unset; and this also |
|
# works around shells that cannot unset nonexistent variables. |
|
# Preserve -v and -x to the replacement shell. |
|
BASH_ENV=/dev/null |
|
ENV=/dev/null |
|
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
case $- in # (((( |
|
*v*x* | *x*v* ) as_opts=-vx ;; |
|
*v* ) as_opts=-v ;; |
|
*x* ) as_opts=-x ;; |
|
* ) as_opts= ;; |
|
esac |
|
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
# Admittedly, this is quite paranoid, since all the known shells bail |
|
# out after a failed `exec'. |
|
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
as_fn_exit 255 |
|
fi |
|
# We don't want this to propagate to other subprocesses. |
|
{ _as_can_reexec=; unset _as_can_reexec;} |
if test "x$CONFIG_SHELL" = x; then |
if test "x$CONFIG_SHELL" = x; then |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
emulate sh |
emulate sh |
Line 169 if ( set x; as_fn_ret_success y && test x = \"\$1\" );
|
Line 192 if ( set x; as_fn_ret_success y && test x = \"\$1\" );
|
else |
else |
exitcode=1; echo positional parameters were not saved. |
exitcode=1; echo positional parameters were not saved. |
fi |
fi |
test x\$exitcode = x0 || exit 1" | test x\$exitcode = x0 || exit 1 |
| test -x / || exit 1" |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
Line 222 IFS=$as_save_IFS
|
Line 246 IFS=$as_save_IFS
|
|
|
|
|
if test "x$CONFIG_SHELL" != x; then : |
if test "x$CONFIG_SHELL" != x; then : |
# We cannot yet assume a decent shell, so we have to provide a | export CONFIG_SHELL |
# neutralization value for shells without unset; and this also | # We cannot yet assume a decent shell, so we have to provide a |
# works around shells that cannot unset nonexistent variables. | # neutralization value for shells without unset; and this also |
# Preserve -v and -x to the replacement shell. | # works around shells that cannot unset nonexistent variables. |
BASH_ENV=/dev/null | # Preserve -v and -x to the replacement shell. |
ENV=/dev/null | BASH_ENV=/dev/null |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | ENV=/dev/null |
export CONFIG_SHELL | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
case $- in # (((( | case $- in # (((( |
*v*x* | *x*v* ) as_opts=-vx ;; | *v*x* | *x*v* ) as_opts=-vx ;; |
*v* ) as_opts=-v ;; | *v* ) as_opts=-v ;; |
*x* ) as_opts=-x ;; | *x* ) as_opts=-x ;; |
* ) as_opts= ;; | * ) as_opts= ;; |
esac | esac |
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| # Admittedly, this is quite paranoid, since all the known shells bail |
| # out after a failed `exec'. |
| $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| exit 255 |
fi |
fi |
|
|
if test x$as_have_required = xno; then : |
if test x$as_have_required = xno; then : |
Line 339 $as_echo X"$as_dir" |
|
Line 367 $as_echo X"$as_dir" |
|
|
|
|
|
} # as_fn_mkdir_p |
} # as_fn_mkdir_p |
|
|
|
# as_fn_executable_p FILE |
|
# ----------------------- |
|
# Test if FILE is an executable regular file. |
|
as_fn_executable_p () |
|
{ |
|
test -f "$1" && test -x "$1" |
|
} # as_fn_executable_p |
# as_fn_append VAR VALUE |
# as_fn_append VAR VALUE |
# ---------------------- |
# ---------------------- |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
Line 460 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
Line 496 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
chmod +x "$as_me.lineno" || |
chmod +x "$as_me.lineno" || |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
|
|
|
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
|
# already done that, so ensure we don't try to do so again and fall |
|
# in an infinite loop. This has already happened in practice. |
|
_as_can_reexec=no; export _as_can_reexec |
# Don't try to exec as it changes $[0], causing all sort of problems |
# Don't try to exec as it changes $[0], causing all sort of problems |
# (the dirname of $[0] is not the place where we might find the |
# (the dirname of $[0] is not the place where we might find the |
# original and so on. Autoconf is especially sensitive to this). |
# original and so on. Autoconf is especially sensitive to this). |
Line 494 if (echo >conf$$.file) 2>/dev/null; then
|
Line 534 if (echo >conf$$.file) 2>/dev/null; then
|
# ... but there are two gotchas: |
# ... but there are two gotchas: |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# In both cases, we have to default to `cp -p'. | # In both cases, we have to default to `cp -pR'. |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
elif ln conf$$.file conf$$ 2>/dev/null; then |
elif ln conf$$.file conf$$ 2>/dev/null; then |
as_ln_s=ln |
as_ln_s=ln |
else |
else |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
fi |
fi |
else |
else |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
fi |
fi |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rmdir conf$$.dir 2>/dev/null |
rmdir conf$$.dir 2>/dev/null |
Line 515 else
|
Line 555 else
|
as_mkdir_p=false |
as_mkdir_p=false |
fi |
fi |
|
|
if test -x / >/dev/null 2>&1; then | as_test_x='test -x' |
as_test_x='test -x' | as_executable_p=as_fn_executable_p |
else | |
if ls -dL / >/dev/null 2>&1; then | |
as_ls_L_option=L | |
else | |
as_ls_L_option= | |
fi | |
as_test_x=' | |
eval sh -c '\'' | |
if test -d "$1"; then | |
test -d "$1/."; | |
else | |
case $1 in #( | |
-*)set "./$1";; | |
esac; | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
???[sx]*):;;*)false;;esac;fi | |
'\'' sh | |
' | |
fi | |
as_executable_p=$as_test_x | |
|
|
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
Line 570 MAKEFLAGS=
|
Line 590 MAKEFLAGS=
|
# Identity of this package. |
# Identity of this package. |
PACKAGE_NAME='Quagga' |
PACKAGE_NAME='Quagga' |
PACKAGE_TARNAME='quagga' |
PACKAGE_TARNAME='quagga' |
PACKAGE_VERSION='0.99.20' | PACKAGE_VERSION='1.0.20160315' |
PACKAGE_STRING='Quagga 0.99.20' | PACKAGE_STRING='Quagga 1.0.20160315' |
PACKAGE_BUGREPORT='https://bugzilla.quagga.net' |
PACKAGE_BUGREPORT='https://bugzilla.quagga.net' |
PACKAGE_URL='' |
PACKAGE_URL='' |
|
|
Line 618 ac_subst_vars='am__EXEEXT_FALSE
|
Line 638 ac_subst_vars='am__EXEEXT_FALSE
|
am__EXEEXT_TRUE |
am__EXEEXT_TRUE |
LTLIBOBJS |
LTLIBOBJS |
quagga_statedir |
quagga_statedir |
PILDFLAGS | RUNTESTDEFAULTFLAGS |
PICFLAGS | DEJAGNU |
CONFDATE |
CONFDATE |
|
WEAK_ALIAS_CROSSFILE |
|
WEAK_ALIAS |
LIBCAP |
LIBCAP |
SNMP_INCLUDES | NETSNMP_CONFIG |
LIB_REGEX |
LIB_REGEX |
HAVE_LIBPCREPOSIX |
HAVE_LIBPCREPOSIX |
OSPFAPI |
OSPFAPI |
OSPFCLIENT |
OSPFCLIENT |
CURSES |
CURSES |
INCLUDES |
|
VTYSH |
VTYSH |
SOLARIS |
SOLARIS |
|
PIMD |
ISISD |
ISISD |
WATCHQUAGGA |
WATCHQUAGGA |
OSPF6D |
OSPF6D |
Line 640 RIPD
|
Line 662 RIPD
|
BGPD |
BGPD |
ZEBRA |
ZEBRA |
DOC |
DOC |
LIB_IPV6 | PIMD_FALSE |
| PIMD_TRUE |
| ISISD_FALSE |
| ISISD_TRUE |
| OSPF6D_FALSE |
| OSPF6D_TRUE |
| RIPNGD_FALSE |
| RIPNGD_TRUE |
| OSPFCLIENT_FALSE |
| OSPFCLIENT_TRUE |
| WATCHQUAGGA_FALSE |
| WATCHQUAGGA_TRUE |
| OSPFD_FALSE |
| OSPFD_TRUE |
| RIPD_FALSE |
| RIPD_TRUE |
| BGPD_FALSE |
| BGPD_TRUE |
| ZEBRA_FALSE |
| ZEBRA_TRUE |
IPFORWARD |
IPFORWARD |
IF_PROC |
|
IOCTL_METHOD |
IOCTL_METHOD |
IF_METHOD |
IF_METHOD |
RTREAD_METHOD |
RTREAD_METHOD |
OTHER_METHOD | HAVE_NETLINK_FALSE |
| HAVE_NETLINK_TRUE |
KERNEL_METHOD |
KERNEL_METHOD |
RT_METHOD |
RT_METHOD |
LIBM |
LIBM |
LIBOBJS |
LIBOBJS |
LIBPAM |
LIBPAM |
|
VTYSH_FALSE |
|
VTYSH_TRUE |
LIBREADLINE |
LIBREADLINE |
PERL | GIT_VERSION_FALSE |
MULTIPATH_NUM | GIT_VERSION_TRUE |
enable_vty_group |
enable_vty_group |
enable_group |
enable_group |
enable_user |
enable_user |
Line 667 LIPO
|
Line 710 LIPO
|
NMEDIT |
NMEDIT |
DSYMUTIL |
DSYMUTIL |
MANIFEST_TOOL |
MANIFEST_TOOL |
RANLIB |
|
ac_ct_AR |
ac_ct_AR |
DLLTOOL |
DLLTOOL |
OBJDUMP |
OBJDUMP |
Line 679 FGREP
|
Line 721 FGREP
|
LIBTOOL |
LIBTOOL |
AR |
AR |
LN_S |
LN_S |
|
WERROR |
|
HAVE_LATEX_FALSE |
|
HAVE_LATEX_TRUE |
|
LATEXMK |
|
PDFLATEX |
SED |
SED |
EGREP |
EGREP |
GREP |
GREP |
|
RANLIB |
CPP |
CPP |
am__fastdepCC_FALSE |
am__fastdepCC_FALSE |
am__fastdepCC_TRUE |
am__fastdepCC_TRUE |
CCDEPMODE |
CCDEPMODE |
|
am__nodep |
AMDEPBACKSLASH |
AMDEPBACKSLASH |
AMDEP_FALSE |
AMDEP_FALSE |
AMDEP_TRUE |
AMDEP_TRUE |
Line 703 pkgsrcrcdir
|
Line 752 pkgsrcrcdir
|
pkgsrcdir |
pkgsrcdir |
exampledir |
exampledir |
GAWK |
GAWK |
|
PERL |
|
AM_BACKSLASH |
|
AM_DEFAULT_VERBOSITY |
|
AM_DEFAULT_V |
|
AM_V |
am__untar |
am__untar |
am__tar |
am__tar |
AMTAR |
AMTAR |
Line 738 build_os
|
Line 792 build_os
|
build_vendor |
build_vendor |
build_cpu |
build_cpu |
build |
build |
|
CONFIG_ARGS |
target_alias |
target_alias |
host_alias |
host_alias |
build_alias |
build_alias |
Line 779 SHELL'
|
Line 834 SHELL'
|
ac_subst_files='' |
ac_subst_files='' |
ac_user_opts=' |
ac_user_opts=' |
enable_option_checking |
enable_option_checking |
|
enable_silent_rules |
enable_exampledir |
enable_exampledir |
enable_pkgsrcrcdir |
enable_pkgsrcrcdir |
with_cflags |
with_cflags |
Line 790 enable_fast_install
|
Line 846 enable_fast_install
|
with_gnu_ld |
with_gnu_ld |
with_sysroot |
with_sysroot |
enable_libtool_lock |
enable_libtool_lock |
|
with_pkg_extra_version |
|
with_pkg_git_version |
enable_vtysh |
enable_vtysh |
enable_ipv6 |
|
enable_doc |
enable_doc |
enable_zebra |
enable_zebra |
enable_bgpd |
enable_bgpd |
Line 801 enable_ospfd
|
Line 858 enable_ospfd
|
enable_ospf6d |
enable_ospf6d |
enable_watchquagga |
enable_watchquagga |
enable_isisd |
enable_isisd |
enable_solaris | enable_pimd |
enable_bgp_announce |
enable_bgp_announce |
enable_netlink |
|
enable_broken_aliases |
|
with_crypto |
|
enable_snmp |
enable_snmp |
with_libpam |
with_libpam |
enable_tcp_zebra |
enable_tcp_zebra |
enable_opaque_lsa |
|
enable_ospfapi |
enable_ospfapi |
enable_ospfclient |
enable_ospfclient |
enable_ospf_te |
|
enable_multipath |
enable_multipath |
enable_user |
enable_user |
enable_group |
enable_group |
Line 823 enable_rtadv
|
Line 875 enable_rtadv
|
enable_irdp |
enable_irdp |
enable_isis_topology |
enable_isis_topology |
enable_capabilities |
enable_capabilities |
|
enable_rusage |
enable_gcc_ultra_verbose |
enable_gcc_ultra_verbose |
enable_linux24_tcp_md5 |
enable_linux24_tcp_md5 |
enable_gcc_rdynamic |
enable_gcc_rdynamic |
|
enable_backtrace |
enable_time_check |
enable_time_check |
enable_pcreposix |
enable_pcreposix |
|
enable_fpm |
|
enable_werror |
enable_largefile |
enable_largefile |
enable_pie |
|
' |
' |
ac_precious_vars='build_alias |
ac_precious_vars='build_alias |
host_alias |
host_alias |
Line 1296 target=$target_alias
|
Line 1351 target=$target_alias
|
if test "x$host_alias" != x; then |
if test "x$host_alias" != x; then |
if test "x$build_alias" = x; then |
if test "x$build_alias" = x; then |
cross_compiling=maybe |
cross_compiling=maybe |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
|
If a cross compiler is detected then cross compile mode will be used" >&2 |
|
elif test "x$build_alias" != "x$host_alias"; then |
elif test "x$build_alias" != "x$host_alias"; then |
cross_compiling=yes |
cross_compiling=yes |
fi |
fi |
Line 1383 if test "$ac_init_help" = "long"; then
|
Line 1436 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 Quagga 0.99.20 to adapt to many kinds of systems. | \`configure' configures Quagga 1.0.20160315 to adapt to many kinds of systems. |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
|
Line 1454 fi
|
Line 1507 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 Quagga 0.99.20:";; | short | recursive ) echo "Configuration of Quagga 1.0.20160315:";; |
esac |
esac |
cat <<\_ACEOF |
cat <<\_ACEOF |
|
|
Line 1462 Optional Features:
|
Line 1515 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] |
|
--enable-silent-rules less verbose build output (undo: `make V=1') |
|
--disable-silent-rules verbose build output (undo: `make V=0') |
--enable-exampledir specify alternate directory for examples |
--enable-exampledir specify alternate directory for examples |
--enable-pkgsrcrcdir specify directory for rc.d scripts |
--enable-pkgsrcrcdir specify directory for rc.d scripts |
--disable-dependency-tracking speeds up one-time build |
--disable-dependency-tracking speeds up one-time build |
Line 1471 Optional Features:
|
Line 1526 Optional Features:
|
--enable-fast-install[=PKGS] |
--enable-fast-install[=PKGS] |
optimize for fast installation [default=yes] |
optimize for fast installation [default=yes] |
--disable-libtool-lock avoid locking (might break parallel builds) |
--disable-libtool-lock avoid locking (might break parallel builds) |
--enable-vtysh include integrated vty shell for Quagga | --disable-vtysh do not build integrated vty shell for Quagga |
--disable-ipv6 turn off IPv6 related features and daemons | |
--disable-doc do not build docs |
--disable-doc do not build docs |
--disable-zebra do not build zebra daemon |
--disable-zebra do not build zebra daemon |
--disable-bgpd do not build bgpd |
--disable-bgpd do not build bgpd |
Line 1481 Optional Features:
|
Line 1535 Optional Features:
|
--disable-ospfd do not build ospfd |
--disable-ospfd do not build ospfd |
--disable-ospf6d do not build ospf6d |
--disable-ospf6d do not build ospf6d |
--disable-watchquagga do not build watchquagga |
--disable-watchquagga do not build watchquagga |
--enable-isisd build isisd | --disable-isisd do not build isisd |
--enable-solaris build solaris | --disable-pimd do not build pimd |
--disable-bgp-announce, turn off BGP route announcement |
--disable-bgp-announce, turn off BGP route announcement |
--enable-netlink force to use Linux netlink interface | --enable-snmp=ARG enable SNMP support (smux or agentx) |
--enable-broken-aliases enable aliases as distinct interfaces for Linux 2.2.X | --enable-tcp-zebra enable TCP/IP socket connection between zebra and |
--enable-snmp enable SNMP support | protocol daemon |
--enable-tcp-zebra enable TCP/IP socket connection between zebra and protocol daemon | |
--disable-opaque-lsa do not build OSPF Opaque-LSA with OSPFAPI support | |
(RFC2370) | |
--disable-ospfapi do not build OSPFAPI to access the OSPF LSA Database |
--disable-ospfapi do not build OSPFAPI to access the OSPF LSA Database |
--disable-ospfclient do not build OSPFAPI client for OSPFAPI, | --disable-ospfclient do not build OSPFAPI client for OSPFAPI, (this is |
(this is the default if --disable-ospfapi is set) | the default if --disable-ospfapi is set) |
--disable-ospf-te disable Traffic Engineering Extension to OSPF | |
--enable-multipath=ARG enable multipath function, ARG must be digit |
--enable-multipath=ARG enable multipath function, ARG must be digit |
--enable-user=user user to run Quagga suite as (default quagga) | --enable-user=USER user to run Quagga suite as (default quagga) |
--enable-group=group group to run Quagga suite as (default quagga) | --enable-group=GROUP group to run Quagga suite as (default quagga) |
--enable-vty-group=ARG set vty sockets to have specified group as owner |
--enable-vty-group=ARG set vty sockets to have specified group as owner |
--enable-configfile-mask=ARG set mask for config files | --enable-configfile-mask=ARG |
--enable-logfile-mask=ARG set mask for log files | set mask for config files |
--disable-rtadv disable IPV6 router advertisement feature | --enable-logfile-mask=ARG |
--enable-irdp enable IRDP server support in zebra | set mask for log files |
--enable-isis-topology enable IS-IS topology generator | --disable-rtadv disable IPV6 router advertisement feature |
--disable-capabilities disable using POSIX capabilities | --enable-irdp enable IRDP server support in zebra |
--enable-gcc-ultra-verbose enable ultra verbose GCC warnings | --enable-isis-topology enable IS-IS topology generator |
--enable-linux24-tcp-md5 enable support for old, Linux-2.4 RFC2385 patch | --disable-capabilities disable using POSIX capabilities |
--enable-gcc-rdynamic enable gcc linking with -rdynamic for better backtraces | --disable-rusage disable using getrusage |
--disable-time-check disable slow thread warning messages | --enable-gcc-ultra-verbose |
--enable-pcreposix enable using PCRE Posix libs for regex functions | enable ultra verbose GCC warnings |
| --enable-linux24-tcp-md5 |
| enable support for old, Linux-2.4 RFC2385 patch |
| --enable-gcc-rdynamic enable linking with -rdynamic for better backtraces |
| (default if gcc) |
| --disable-backtrace, disable crash backtraces (default autodetect) |
| --disable-time-check disable slow thread warning messages |
| --enable-pcreposix enable using PCRE Posix libs for regex functions |
| --enable-fpm enable Forwarding Plane Manager support |
| --enable-werror enable -Werror (recommended for developers only) |
--disable-largefile omit support for large files |
--disable-largefile omit support for large files |
--disable-pie Do not build tools as a Position Independent |
|
Executables |
|
|
|
Optional Packages: |
Optional Packages: |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
--with-cflags Set CFLAGS for use in compilation. |
--with-cflags Set CFLAGS for use in compilation. |
--with-pic try to use only PIC/non-PIC objects [default=use | --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
both] |
both] |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
--with-sysroot=DIR Search for dependent libraries within DIR |
--with-sysroot=DIR Search for dependent libraries within DIR |
(or the compiler's sysroot if not specified). |
(or the compiler's sysroot if not specified). |
--without-crypto do not use libcrypto in SNMP | --with-pkg-extra-version=VER |
| add extra version field, for packagers/distributions |
| --with-pkg-git-version add git information to MOTD and build version string |
--with-libpam use libpam for PAM support in vtysh |
--with-libpam use libpam for PAM support in vtysh |
|
|
Some influential environment variables: |
Some influential environment variables: |
Line 1602 fi
|
Line 1661 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 |
Quagga configure 0.99.20 | Quagga configure 1.0.20160315 |
generated by GNU Autoconf 2.68 | generated by GNU Autoconf 2.69 |
|
|
Copyright (C) 2010 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 |
Line 1882 $as_echo "$ac_try_echo"; } >&5
|
Line 1941 $as_echo "$ac_try_echo"; } >&5
|
test ! -s conftest.err |
test ! -s conftest.err |
} && test -s conftest$ac_exeext && { |
} && test -s conftest$ac_exeext && { |
test "$cross_compiling" = yes || |
test "$cross_compiling" = yes || |
$as_test_x conftest$ac_exeext | test -x conftest$ac_exeext |
}; then : |
}; then : |
ac_retval=0 |
ac_retval=0 |
else |
else |
Line 2128 cat >config.log <<_ACEOF
|
Line 2187 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 Quagga $as_me 0.99.20, which was | It was created by Quagga $as_me 1.0.20160315, which was |
generated by GNU Autoconf 2.68. Invocation command line was | generated by GNU Autoconf 2.69. Invocation command line was |
|
|
$ $0 $@ |
$ $0 $@ |
|
|
Line 2479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $
|
Line 2538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
|
|
CONFIG_ARGS="$*" |
|
|
|
|
|
|
|
|
ac_aux_dir= |
ac_aux_dir= |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
if test -f "$ac_dir/install-sh"; then |
if test -f "$ac_dir/install-sh"; then |
Line 2661 case $as_dir/ in #((
|
Line 2722 case $as_dir/ in #((
|
# by default. |
# by default. |
for ac_prog in ginstall scoinst install; do |
for ac_prog in ginstall scoinst install; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
if test $ac_prog = install && |
if test $ac_prog = install && |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
# AIX install. It has an incompatible calling convention. |
# AIX install. It has an incompatible calling convention. |
Line 2830 do
|
Line 2891 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
$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 |
Line 2870 do
|
Line 2931 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_STRIP="strip" |
ac_cv_prog_ac_ct_STRIP="strip" |
$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 |
Line 2921 do
|
Line 2982 do
|
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_prog in mkdir gmkdir; do |
for ac_prog in mkdir gmkdir; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
'mkdir (GNU coreutils) '* | \ |
'mkdir (GNU coreutils) '* | \ |
'mkdir (coreutils) '* | \ |
'mkdir (coreutils) '* | \ |
Line 2974 do
|
Line 3035 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_AWK="$ac_prog" |
ac_cv_prog_AWK="$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 |
Line 3060 fi
|
Line 3121 fi
|
|
|
# Define the identity of the package. |
# Define the identity of the package. |
PACKAGE='quagga' |
PACKAGE='quagga' |
VERSION='0.99.20' | VERSION='1.0.20160315' |
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
Line 3090 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
Line 3151 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
|
|
# We need awk for the "check" target. The system "awk" is bad on |
# We need awk for the "check" target. The system "awk" is bad on |
# some platforms. |
# some platforms. |
# Always define AMTAR for backward compatibility. | # Always define AMTAR for backward compatibility. Yes, it's still used |
| # in the wild :-( We should find a proper way to deprecate it ... |
| AMTAR='$${TAR-tar}' |
|
|
AMTAR=${AMTAR-"${am_missing_run}tar"} | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
|
|
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
|
|
|
|
|
|
|
|
|
|
# Check whether --enable-silent-rules was given. |
|
if test "${enable_silent_rules+set}" = set; then : |
|
enableval=$enable_silent_rules; |
|
fi |
|
|
|
case $enable_silent_rules in |
|
yes) AM_DEFAULT_VERBOSITY=0;; |
|
no) AM_DEFAULT_VERBOSITY=1;; |
|
*) AM_DEFAULT_VERBOSITY=0;; |
|
esac |
|
am_make=${MAKE-make} |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
|
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
|
if ${am_cv_make_support_nested_variables+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if $as_echo 'TRUE=$(BAR$(V)) |
|
BAR0=false |
|
BAR1=true |
|
V=1 |
|
am__doit: |
|
@$(TRUE) |
|
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
|
am_cv_make_support_nested_variables=yes |
|
else |
|
am_cv_make_support_nested_variables=no |
|
fi |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
|
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
|
if test $am_cv_make_support_nested_variables = yes; then |
|
AM_V='$(V)' |
|
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
|
else |
|
AM_V=$AM_DEFAULT_VERBOSITY |
|
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
|
fi |
|
AM_BACKSLASH='\' |
|
|
ac_config_headers="$ac_config_headers config.h" |
ac_config_headers="$ac_config_headers config.h" |
|
|
|
|
|
# Extract the first word of "perl", so it can be a program name with args. |
|
set dummy perl; 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_path_PERL+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
case $PERL in |
|
[\\/]* | ?:[\\/]*) |
|
ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
;; |
|
*) |
|
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_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
$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 |
|
|
|
;; |
|
esac |
|
fi |
|
PERL=$ac_cv_path_PERL |
|
if test -n "$PERL"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 |
|
$as_echo "$PERL" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
# Extract the first word of "gawk", so it can be a program name with args. |
# Extract the first word of "gawk", so it can be a program name with args. |
set dummy gawk; ac_word=$2 |
set dummy gawk; 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 |
Line 3119 do
|
Line 3259 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_GAWK="gawk" |
ac_cv_prog_GAWK="gawk" |
$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 |
Line 3205 do
|
Line 3345 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
$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 |
Line 3245 do
|
Line 3385 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_CC="gcc" |
ac_cv_prog_ac_ct_CC="gcc" |
$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 |
Line 3298 do
|
Line 3438 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
$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 |
Line 3339 do
|
Line 3479 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
ac_prog_rejected=yes |
ac_prog_rejected=yes |
continue |
continue |
Line 3397 do
|
Line 3537 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
ac_cv_prog_CC="$ac_tool_prefix$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 |
Line 3441 do
|
Line 3581 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_CC="$ac_prog" |
ac_cv_prog_ac_ct_CC="$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 |
Line 3887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 4027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include <stdarg.h> |
#include <stdarg.h> |
#include <stdio.h> |
#include <stdio.h> |
#include <sys/types.h> | struct stat; |
#include <sys/stat.h> | |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
struct buf { int x; }; |
struct buf { int x; }; |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
Line 4024 fi
|
Line 4163 fi
|
if test "x$enable_dependency_tracking" != xno; then |
if test "x$enable_dependency_tracking" != xno; then |
am_depcomp="$ac_aux_dir/depcomp" |
am_depcomp="$ac_aux_dir/depcomp" |
AMDEPBACKSLASH='\' |
AMDEPBACKSLASH='\' |
|
am__nodep='_no' |
fi |
fi |
if test "x$enable_dependency_tracking" != xno; then |
if test "x$enable_dependency_tracking" != xno; then |
AMDEP_TRUE= |
AMDEP_TRUE= |
Line 4048 else
|
Line 4188 else
|
# instance it was reported that on HP-UX the gcc test will end up |
# instance it was reported that on HP-UX the gcc test will end up |
# making a dummy file named `D' -- because `-MD' means `put the output |
# making a dummy file named `D' -- because `-MD' means `put the output |
# in D'. |
# in D'. |
|
rm -rf conftest.dir |
mkdir conftest.dir |
mkdir conftest.dir |
# Copy depcomp to subdir because otherwise we won't find it if we're |
# Copy depcomp to subdir because otherwise we won't find it if we're |
# using a relative directory. |
# using a relative directory. |
Line 4107 else
|
Line 4248 else
|
break |
break |
fi |
fi |
;; |
;; |
msvisualcpp | msvcmsys) | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
# This compiler won't grok `-c -o', but also, the minuso test has |
# This compiler won't grok `-c -o', but also, the minuso test has |
# not run yet. These depmodes are late enough in the game, and |
# not run yet. These depmodes are late enough in the game, and |
# so weak that their functioning should not be impacted. |
# so weak that their functioning should not be impacted. |
Line 4425 if test "$am_t" != yes; then
|
Line 4566 if test "$am_t" != yes; then
|
fi |
fi |
|
|
|
|
|
if test -n "$ac_tool_prefix"; then |
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
|
set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$RANLIB"; then |
|
ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib" |
|
$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 |
|
RANLIB=$ac_cv_prog_RANLIB |
|
if test -n "$RANLIB"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
|
$as_echo "$RANLIB" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
fi |
|
if test -z "$ac_cv_prog_RANLIB"; then |
|
ac_ct_RANLIB=$RANLIB |
|
# Extract the first word of "ranlib", so it can be a program name with args. |
|
set dummy ranlib; 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_ac_ct_RANLIB+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$ac_ct_RANLIB"; then |
|
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_ac_ct_RANLIB="ranlib" |
|
$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 |
|
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
if test -n "$ac_ct_RANLIB"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
|
$as_echo "$ac_ct_RANLIB" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
if test "x$ac_ct_RANLIB" = x; then |
|
RANLIB=":" |
|
else |
|
case $cross_compiling:$ac_tool_warned in |
|
yes:) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
ac_tool_warned=yes ;; |
|
esac |
|
RANLIB=$ac_ct_RANLIB |
|
fi |
|
else |
|
RANLIB="$ac_cv_prog_RANLIB" |
|
fi |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
if ${ac_cv_path_GREP+:} false; then : |
if ${ac_cv_path_GREP+:} false; then : |
Line 4441 do
|
Line 4674 do
|
for ac_prog in grep ggrep; do |
for ac_prog in grep ggrep; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | as_fn_executable_p "$ac_path_GREP" || continue |
# Check for GNU ac_path_GREP and select it if it is found. |
# Check for GNU ac_path_GREP and select it if it is found. |
# Check for GNU $ac_path_GREP |
# Check for GNU $ac_path_GREP |
case `"$ac_path_GREP" --version 2>&1` in |
case `"$ac_path_GREP" --version 2>&1` in |
Line 4507 do
|
Line 4740 do
|
for ac_prog in egrep; do |
for ac_prog in egrep; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | as_fn_executable_p "$ac_path_EGREP" || continue |
# Check for GNU ac_path_EGREP and select it if it is found. |
# Check for GNU ac_path_EGREP and select it if it is found. |
# Check for GNU $ac_path_EGREP |
# Check for GNU $ac_path_EGREP |
case `"$ac_path_EGREP" --version 2>&1` in |
case `"$ac_path_EGREP" --version 2>&1` in |
Line 4572 do
|
Line 4805 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_SED="sed" |
ac_cv_prog_SED="sed" |
$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 |
Line 4595 fi
|
Line 4828 fi
|
|
|
|
|
|
|
if test "x${GCC}" = "xyes" ; then | # Extract the first word of "pdflatex", so it can be a program name with args. |
COMPILER="GCC" | set dummy pdflatex; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel compiler" >&5 | |
$as_echo_n "checking whether we are using the Intel compiler... " >&6; } | |
| |
| |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
/* end confdefs.h. */ | |
__INTEL_COMPILER | |
_ACEOF | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
$EGREP "^__INTEL_COMPILER" >/dev/null 2>&1; then : | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
$as_echo "no" >&6; } | |
else | |
COMPILER="ICC" | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
$as_echo "yes" >&6; } | |
| |
fi | |
rm -f conftest* | |
| |
else | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using SunPro compiler" >&5 | |
$as_echo_n "checking whether we are using SunPro compiler... " >&6; } | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
/* end confdefs.h. */ | |
"__SUNPRO_C" __SUNPRO_C | |
_ACEOF | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
$EGREP "^__SUNPRO_C.*0x5(7|8|9)" >/dev/null 2>&1; then : | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
$as_echo "no" >&6; } | |
else | |
COMPILER="SUNPRO" | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
$as_echo "yes" >&6; } | |
| |
fi | |
rm -f conftest* | |
| |
fi | |
| |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to set a default CFLAGS" >&5 | |
$as_echo_n "checking whether to set a default CFLAGS... " >&6; } | |
if test "x${cflags_specified}" = "x" ; then | |
case ${COMPILER} in | |
"ICC") | |
CFLAGS="-Os -g -Wall -wd 279,869,981" | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Intel default" >&5 | |
$as_echo "Intel default" >&6; } | |
;; | |
"GCC") | |
CFLAGS="-Os -fno-omit-frame-pointer -g -std=gnu99 -Wall" | |
CFLAGS="${CFLAGS} -Wsign-compare -Wpointer-arith" | |
CFLAGS="${CFLAGS} -Wbad-function-cast -Wwrite-strings" | |
CFLAGS="${CFLAGS} -Wmissing-prototypes -Wmissing-declarations" | |
CFLAGS="${CFLAGS} -Wchar-subscripts -Wcast-qual" | |
# TODO: conditionally addd -Wpacked if handled | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc default" >&5 | |
$as_echo "gcc default" >&6; } | |
;; | |
"SUNPRO") | |
CFLAGS="-xO4 -v -g -xspace -xcode=pic32 -xstrconst -xc99" | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: SunPro default" >&5 | |
$as_echo "SunPro default" >&6; } | |
;; | |
*) | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown compiler" >&5 | |
$as_echo "unknown compiler" >&6; } | |
;; | |
esac | |
else | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: CFLAGS supplied by user" >&5 | |
$as_echo "CFLAGS supplied by user" >&6; } | |
fi | |
| |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 | |
$as_echo_n "checking whether ln -s works... " >&6; } | |
LN_S=$as_ln_s | |
if test "$LN_S" = "ln -s"; then | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
$as_echo "yes" >&6; } | |
else | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 | |
$as_echo "no, using $LN_S" >&6; } | |
fi | |
| |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | |
set x ${MAKE-make} | |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : | |
$as_echo_n "(cached) " >&6 | |
else | |
cat >conftest.make <<\_ACEOF | |
SHELL = /bin/sh | |
all: | |
@echo '@@@%%%=$(MAKE)=@@@%%%' | |
_ACEOF | |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | |
case `${MAKE-make} -f conftest.make 2>/dev/null` in | |
*@@@%%%=?*=@@@%%%*) | |
eval ac_cv_prog_make_${ac_make}_set=yes;; | |
*) | |
eval ac_cv_prog_make_${ac_make}_set=no;; | |
esac | |
rm -f conftest.make | |
fi | |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
$as_echo "yes" >&6; } | |
SET_MAKE= | |
else | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
$as_echo "no" >&6; } | |
SET_MAKE="MAKE=${MAKE-make}" | |
fi | |
| |
if test -n "$ac_tool_prefix"; then | |
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | |
set dummy ${ac_tool_prefix}ar; 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_AR+:} false; then : | if ${ac_cv_prog_PDFLATEX+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$AR"; then | if test -n "$PDFLATEX"; then |
ac_cv_prog_AR="$AR" # Let the user override the test. | ac_cv_prog_PDFLATEX="$PDFLATEX" # 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 |
Line 4733 do
|
Line 4844 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_AR="${ac_tool_prefix}ar" | ac_cv_prog_PDFLATEX="pdflatex" |
$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 |
Line 4742 done
|
Line 4853 done
|
done |
done |
IFS=$as_save_IFS |
IFS=$as_save_IFS |
|
|
|
test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="/bin/false" |
fi |
fi |
fi |
fi |
AR=$ac_cv_prog_AR | PDFLATEX=$ac_cv_prog_PDFLATEX |
if test -n "$AR"; then | if test -n "$PDFLATEX"; then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5 |
$as_echo "$AR" >&6; } | $as_echo "$PDFLATEX" >&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 |
|
|
|
|
fi | # Extract the first word of "latexmk", so it can be a program name with args. |
if test -z "$ac_cv_prog_AR"; then | set dummy latexmk; ac_word=$2 |
ac_ct_AR=$AR | |
# Extract the first word of "ar", so it can be a program name with args. | |
set dummy ar; 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_ac_ct_AR+:} false; then : | if ${ac_cv_prog_LATEXMK+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
if test -n "$ac_ct_AR"; then | if test -n "$LATEXMK"; then |
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. | ac_cv_prog_LATEXMK="$LATEXMK" # 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 |
Line 4773 do
|
Line 4882 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_AR="ar" | ac_cv_prog_LATEXMK="latexmk" |
$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 |
Line 4782 done
|
Line 4891 done
|
done |
done |
IFS=$as_save_IFS |
IFS=$as_save_IFS |
|
|
|
test -z "$ac_cv_prog_LATEXMK" && ac_cv_prog_LATEXMK="/bin/false" |
fi |
fi |
fi |
fi |
ac_ct_AR=$ac_cv_prog_ac_ct_AR | LATEXMK=$ac_cv_prog_LATEXMK |
if test -n "$ac_ct_AR"; then | if test -n "$LATEXMK"; then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEXMK" >&5 |
$as_echo "$ac_ct_AR" >&6; } | $as_echo "$LATEXMK" >&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 |
|
|
if test "x$ac_ct_AR" = x; then | |
AR="" | if test "x$PDFLATEX" = "x/bin/false" -o "x$LATEXMK" = "x/bin/false"; then |
else | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Will not be able to make PDF versions of TeX documents" >&5 |
case $cross_compiling:$ac_tool_warned in | $as_echo "$as_me: WARNING: Will not be able to make PDF versions of TeX documents" >&2;} |
yes:) | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
ac_tool_warned=yes ;; | |
esac | |
AR=$ac_ct_AR | |
fi | |
else |
else |
AR="$ac_cv_prog_AR" | HAVE_LATEX=true |
fi |
fi |
|
if test "x$HAVE_LATEX" = "xtrue"; then |
|
HAVE_LATEX_TRUE= |
|
HAVE_LATEX_FALSE='#' |
|
else |
|
HAVE_LATEX_TRUE='#' |
|
HAVE_LATEX_FALSE= |
|
fi |
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if ${MAKE-make} is GNU make" >&5 | if test "x${GCC}" != "xyes" ; then |
$as_echo_n "checking if ${MAKE-make} is GNU make... " >&6; } | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using SunPro compiler" >&5 |
if ${quagga_cv_gnu_make+:} false; then : | $as_echo_n "checking whether we are using SunPro compiler... " >&6; } |
$as_echo_n "(cached) " >&6 | |
| |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ |
| "__SUNPRO_C" __SUNPRO_C |
| _ACEOF |
| if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| $EGREP "^__SUNPRO_C.*0x5(7|8|9)" >/dev/null 2>&1; then : |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| $as_echo "no" >&6; } |
else |
else |
quagga_cv_gnu_make=no | COMPILER="SUNPRO" |
if ${MAKE-make} --version 2>/dev/null | \ | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
grep '^GNU Make ' >/dev/null ; then | $as_echo "yes" >&6; } |
quagga_cv_gnu_make=yes; | |
fi | |
|
|
|
fi |
|
rm -f conftest* |
|
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $quagga_cv_gnu_make" >&5 |
|
$as_echo "$quagga_cv_gnu_make" >&6; } |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
$as_echo_n "checking for ANSI C header files... " >&6; } |
$as_echo_n "checking for ANSI C header files... " >&6; } |
if ${ac_cv_header_stdc+:} false; then : |
if ${ac_cv_header_stdc+:} false; then : |
Line 4984 else
|
Line 5102 else
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
# define __EXTENSIONS__ 1 | # define __EXTENSIONS__ 1 |
$ac_includes_default | $ac_includes_default |
int |
int |
main () |
main () |
{ |
{ |
Line 5017 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
Line 5135 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to set a default CFLAGS" >&5 |
|
$as_echo_n "checking whether to set a default CFLAGS... " >&6; } |
|
if test "x${cflags_specified}" = "x" ; then |
|
case ${COMPILER} in |
|
"SUNPRO") |
|
CFLAGS="-xO4 -v -g -xspace -xcode=pic32 -xstrconst -xc99" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: SunPro default" >&5 |
|
$as_echo "SunPro default" >&6; } |
|
;; |
|
*) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetecting" >&5 |
|
$as_echo "autodetecting" >&6; } |
|
|
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -diag-error 10006" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -diag-error 10006" >&5 |
|
$as_echo_n "checking whether $CC supports -diag-error 10006... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -std=gnu99" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -std=gnu99" >&5 |
|
$as_echo_n "checking whether $CC supports -std=gnu99... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -g" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -g" >&5 |
|
$as_echo_n "checking whether $CC supports -g... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -Os" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Os" >&5 |
|
$as_echo_n "checking whether $CC supports -Os... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -O2" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -O2" >&5 |
|
$as_echo_n "checking whether $CC supports -O2... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -fpie" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fpie" >&5 |
|
$as_echo_n "checking whether $CC supports -fpie... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -fno-omit-frame-pointer" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5 |
|
$as_echo_n "checking whether $CC supports -fno-omit-frame-pointer... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -Wall" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wall" >&5 |
|
$as_echo_n "checking whether $CC supports -Wall... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -Wextra" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wextra" >&5 |
|
$as_echo_n "checking whether $CC supports -Wextra... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -Wmissing-prototypes" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmissing-prototypes" >&5 |
|
$as_echo_n "checking whether $CC supports -Wmissing-prototypes... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -Wmissing-declarations" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmissing-declarations" >&5 |
|
$as_echo_n "checking whether $CC supports -Wmissing-declarations... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -Wpointer-arith" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5 |
|
$as_echo_n "checking whether $CC supports -Wpointer-arith... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -Wbad-function-cast" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wbad-function-cast" >&5 |
|
$as_echo_n "checking whether $CC supports -Wbad-function-cast... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -Wwrite-strings" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5 |
|
$as_echo_n "checking whether $CC supports -Wwrite-strings... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
if test x"${enable_gcc_ultra_verbose}" = x"yes" ; then |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -Wcast-qual" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wcast-qual" >&5 |
|
$as_echo_n "checking whether $CC supports -Wcast-qual... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -Wstrict-prototypes" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5 |
|
$as_echo_n "checking whether $CC supports -Wstrict-prototypes... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -Wmissing-noreturn" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmissing-noreturn" >&5 |
|
$as_echo_n "checking whether $CC supports -Wmissing-noreturn... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -Wmissing-format-attribute" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmissing-format-attribute" >&5 |
|
$as_echo_n "checking whether $CC supports -Wmissing-format-attribute... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -Wunreachable-code" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunreachable-code" >&5 |
|
$as_echo_n "checking whether $CC supports -Wunreachable-code... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -Wpacked" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked" >&5 |
|
$as_echo_n "checking whether $CC supports -Wpacked... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -Wpadded" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpadded" >&5 |
|
$as_echo_n "checking whether $CC supports -Wpadded... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
else |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -Wno-unused-result" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-unused-result" >&5 |
|
$as_echo_n "checking whether $CC supports -Wno-unused-result... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
fi |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -Wno-unused-parameter" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-unused-parameter" >&5 |
|
$as_echo_n "checking whether $CC supports -Wno-unused-parameter... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -Wno-missing-field-initializers" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-missing-field-initializers" >&5 |
|
$as_echo_n "checking whether $CC supports -Wno-missing-field-initializers... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
# ICC emits a broken warning for const char *x = a ? "b" : "c"; |
|
# for some reason the string consts get 'promoted' to char *, |
|
# triggering a const to non-const conversion warning. |
|
{ |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_c_flag_save="$CFLAGS" |
|
CFLAGS="$CFLAGS -diag-disable 3179" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -diag-disable 3179" >&5 |
|
$as_echo_n "checking whether $CC supports -diag-disable 3179... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
|
|
else |
|
|
|
CFLAGS="$ac_c_flag_save" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
} |
|
;; |
|
esac |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: CFLAGS supplied by user" >&5 |
|
$as_echo "CFLAGS supplied by user" >&6; } |
|
fi |
|
|
|
if test x"${enable_werror}" = x"yes" ; then |
|
WERROR="-Werror" |
|
fi |
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
|
$as_echo_n "checking whether ln -s works... " >&6; } |
|
LN_S=$as_ln_s |
|
if test "$LN_S" = "ln -s"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
|
$as_echo "no, using $LN_S" >&6; } |
|
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
|
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
|
set x ${MAKE-make} |
|
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
cat >conftest.make <<\_ACEOF |
|
SHELL = /bin/sh |
|
all: |
|
@echo '@@@%%%=$(MAKE)=@@@%%%' |
|
_ACEOF |
|
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
|
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
|
*@@@%%%=?*=@@@%%%*) |
|
eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
*) |
|
eval ac_cv_prog_make_${ac_make}_set=no;; |
|
esac |
|
rm -f conftest.make |
|
fi |
|
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
SET_MAKE= |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
SET_MAKE="MAKE=${MAKE-make}" |
|
fi |
|
|
|
if test -n "$ac_tool_prefix"; then |
|
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
|
set dummy ${ac_tool_prefix}ar; 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_AR+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$AR"; then |
|
ac_cv_prog_AR="$AR" # 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_AR="${ac_tool_prefix}ar" |
|
$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 |
|
AR=$ac_cv_prog_AR |
|
if test -n "$AR"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
|
$as_echo "$AR" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
fi |
|
if test -z "$ac_cv_prog_AR"; then |
|
ac_ct_AR=$AR |
|
# Extract the first word of "ar", so it can be a program name with args. |
|
set dummy ar; 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_ac_ct_AR+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$ac_ct_AR"; then |
|
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_ac_ct_AR="ar" |
|
$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 |
|
ac_ct_AR=$ac_cv_prog_ac_ct_AR |
|
if test -n "$ac_ct_AR"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
|
$as_echo "$ac_ct_AR" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
if test "x$ac_ct_AR" = x; then |
|
AR="" |
|
else |
|
case $cross_compiling:$ac_tool_warned in |
|
yes:) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
ac_tool_warned=yes ;; |
|
esac |
|
AR=$ac_ct_AR |
|
fi |
|
else |
|
AR="$ac_cv_prog_AR" |
|
fi |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if ${MAKE-make} is GNU make" >&5 |
|
$as_echo_n "checking if ${MAKE-make} is GNU make... " >&6; } |
|
if ${quagga_cv_gnu_make+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
quagga_cv_gnu_make=no |
|
if ${MAKE-make} --version 2>/dev/null | \ |
|
grep '^GNU Make ' >/dev/null ; then |
|
quagga_cv_gnu_make=yes; |
|
fi |
|
|
|
|
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $quagga_cv_gnu_make" >&5 |
|
$as_echo "$quagga_cv_gnu_make" >&6; } |
|
|
|
|
|
|
case `pwd` in |
case `pwd` in |
*\ * | *\ *) |
*\ * | *\ *) |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
Line 5025 esac
|
Line 6429 esac
|
|
|
|
|
|
|
macro_version='2.4' | macro_version='2.4.2' |
macro_revision='1.3293' | macro_revision='1.3337' |
|
|
|
|
|
|
Line 5133 do
|
Line 6537 do
|
for ac_prog in sed gsed; do |
for ac_prog in sed gsed; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue | as_fn_executable_p "$ac_path_SED" || continue |
# Check for GNU ac_path_SED and select it if it is found. |
# Check for GNU ac_path_SED and select it if it is found. |
# Check for GNU $ac_path_SED |
# Check for GNU $ac_path_SED |
case `"$ac_path_SED" --version 2>&1` in |
case `"$ac_path_SED" --version 2>&1` in |
Line 5212 do
|
Line 6616 do
|
for ac_prog in fgrep; do |
for ac_prog in fgrep; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue | as_fn_executable_p "$ac_path_FGREP" || continue |
# Check for GNU ac_path_FGREP and select it if it is found. |
# Check for GNU ac_path_FGREP and select it if it is found. |
# Check for GNU $ac_path_FGREP |
# Check for GNU $ac_path_FGREP |
case `"$ac_path_FGREP" --version 2>&1` in |
case `"$ac_path_FGREP" --version 2>&1` in |
Line 5468 do
|
Line 6872 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
ac_cv_prog_DUMPBIN="$ac_tool_prefix$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 |
Line 5512 do
|
Line 6916 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
ac_cv_prog_ac_ct_DUMPBIN="$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 |
Line 5659 else
|
Line 7063 else
|
lt_cv_sys_max_cmd_len=196608 |
lt_cv_sys_max_cmd_len=196608 |
;; |
;; |
|
|
|
os2*) |
|
# The test takes a long time on OS/2. |
|
lt_cv_sys_max_cmd_len=8192 |
|
;; |
|
|
osf*) |
osf*) |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
Line 5698 else
|
Line 7107 else
|
# If test is not a shell built-in, we'll probably end up computing a |
# If test is not a shell built-in, we'll probably end up computing a |
# maximum length that is only half of the actual maximum length, but |
# maximum length that is only half of the actual maximum length, but |
# we can't tell. |
# we can't tell. |
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ | while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ |
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
test $i != 17 # 1/2 MB should be enough |
test $i != 17 # 1/2 MB should be enough |
do |
do |
Line 5920 do
|
Line 7329 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
$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 |
Line 5960 do
|
Line 7369 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
$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 |
Line 6086 freebsd* | dragonfly*)
|
Line 7495 freebsd* | dragonfly*)
|
fi |
fi |
;; |
;; |
|
|
gnu*) |
|
lt_cv_deplibs_check_method=pass_all |
|
;; |
|
|
|
haiku*) |
haiku*) |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
;; |
;; |
Line 6127 irix5* | irix6* | nonstopux*)
|
Line 7532 irix5* | irix6* | nonstopux*)
|
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
;; |
;; |
|
|
# This must be Linux ELF. | # This must be glibc/ELF. |
linux* | k*bsd*-gnu | kopensolaris*-gnu) | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
;; |
;; |
|
|
netbsd*) | netbsd* | netbsdelf*-gnu) |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
else |
else |
Line 6266 do
|
Line 7671 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
$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 |
Line 6306 do
|
Line 7711 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
$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 |
Line 6409 do
|
Line 7814 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
ac_cv_prog_AR="$ac_tool_prefix$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 |
Line 6453 do
|
Line 7858 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_AR="$ac_prog" |
ac_cv_prog_ac_ct_AR="$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 |
Line 6578 do
|
Line 7983 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
$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 |
Line 6618 do
|
Line 8023 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_STRIP="strip" |
ac_cv_prog_ac_ct_STRIP="strip" |
$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 |
Line 6677 do
|
Line 8082 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
$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 |
Line 6717 do
|
Line 8122 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
$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 |
Line 6767 old_postuninstall_cmds=
|
Line 8172 old_postuninstall_cmds=
|
if test -n "$RANLIB"; then |
if test -n "$RANLIB"; then |
case $host_os in |
case $host_os in |
openbsd*) |
openbsd*) |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
;; |
;; |
*) |
*) |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
;; |
;; |
esac |
esac |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" | old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
fi |
fi |
|
|
case $host_os in |
case $host_os in |
Line 6920 for ac_symprfx in "" "_"; do
|
Line 8325 for ac_symprfx in "" "_"; do
|
# which start with @ or ?. |
# which start with @ or ?. |
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
" {last_section=section; section=\$ 3};"\ |
" {last_section=section; section=\$ 3};"\ |
|
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
" \$ 0!~/External *\|/{next};"\ |
" \$ 0!~/External *\|/{next};"\ |
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
Line 7308 $as_echo "$lt_cv_cc_needs_belf" >&6; }
|
Line 8714 $as_echo "$lt_cv_cc_needs_belf" >&6; }
|
CFLAGS="$SAVE_CFLAGS" |
CFLAGS="$SAVE_CFLAGS" |
fi |
fi |
;; |
;; |
sparc*-*solaris*) | *-*solaris*) |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
echo 'int i;' > conftest.$ac_ext |
echo 'int i;' > conftest.$ac_ext |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
Line 7319 sparc*-*solaris*)
|
Line 8725 sparc*-*solaris*)
|
case `/usr/bin/file conftest.o` in |
case `/usr/bin/file conftest.o` in |
*64-bit*) |
*64-bit*) |
case $lt_cv_prog_gnu_ld in |
case $lt_cv_prog_gnu_ld in |
yes*) LD="${LD-ld} -m elf64_sparc" ;; | yes*) |
| case $host in |
| i?86-*-solaris*) |
| LD="${LD-ld} -m elf_x86_64" |
| ;; |
| sparc*-*-solaris*) |
| LD="${LD-ld} -m elf64_sparc" |
| ;; |
| esac |
| # GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
| if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
| LD="${LD-ld}_sol2" |
| fi |
| ;; |
*) |
*) |
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
LD="${LD-ld} -64" |
LD="${LD-ld} -64" |
Line 7352 do
|
Line 8771 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
$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 |
Line 7392 do
|
Line 8811 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
$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 |
Line 7472 do
|
Line 8891 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
$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 |
Line 7512 do
|
Line 8931 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
$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 |
Line 7564 do
|
Line 8983 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
$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 |
Line 7604 do
|
Line 9023 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
$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 |
Line 7656 do
|
Line 9075 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
$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 |
Line 7696 do
|
Line 9115 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_LIPO="lipo" |
ac_cv_prog_ac_ct_LIPO="lipo" |
$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 |
Line 7748 do
|
Line 9167 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
$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 |
Line 7788 do
|
Line 9207 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_OTOOL="otool" |
ac_cv_prog_ac_ct_OTOOL="otool" |
$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 |
Line 7840 do
|
Line 9259 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
$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 |
Line 7880 do
|
Line 9299 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_OTOOL64="otool64" |
ac_cv_prog_ac_ct_OTOOL64="otool64" |
$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 |
Line 7959 else
|
Line 9378 else
|
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
_lt_result=$? |
_lt_result=$? |
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then | # If there is a non-empty error log, and "single_module" |
| # appears in it, assume the flag caused a linker warning |
| if test -s conftest.err && $GREP single_module conftest.err; then |
| cat conftest.err >&5 |
| # Otherwise, if the output was created with a 0 exit code from |
| # the compiler, it worked. |
| elif test -f libconftest.dylib && test $_lt_result -eq 0; then |
lt_cv_apple_cc_single_mod=yes |
lt_cv_apple_cc_single_mod=yes |
else |
else |
cat conftest.err >&5 |
cat conftest.err >&5 |
Line 7970 else
|
Line 9395 else
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
Line 8002 rm -f core conftest.err conftest.$ac_objext \
|
Line 9428 rm -f core conftest.err conftest.$ac_objext \
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
$as_echo_n "checking for -force_load linker flag... " >&6; } |
$as_echo_n "checking for -force_load linker flag... " >&6; } |
if ${lt_cv_ld_force_load+:} false; then : |
if ${lt_cv_ld_force_load+:} false; then : |
Line 8023 _LT_EOF
|
Line 9450 _LT_EOF
|
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
_lt_result=$? |
_lt_result=$? |
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then | if test -s conftest.err && $GREP force_load conftest.err; then |
| cat conftest.err >&5 |
| elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then |
lt_cv_ld_force_load=yes |
lt_cv_ld_force_load=yes |
else |
else |
cat conftest.err >&5 |
cat conftest.err >&5 |
Line 8161 fi
|
Line 9590 fi
|
|
|
# Check whether --with-pic was given. |
# Check whether --with-pic was given. |
if test "${with_pic+set}" = set; then : |
if test "${with_pic+set}" = set; then : |
withval=$with_pic; pic_mode="$withval" | withval=$with_pic; lt_p=${PACKAGE-default} |
| case $withval in |
| yes|no) pic_mode=$withval ;; |
| *) |
| pic_mode=default |
| # Look at the argument we got. We use all the common list separators. |
| lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| for lt_pkg in $withval; do |
| IFS="$lt_save_ifs" |
| if test "X$lt_pkg" = "X$lt_p"; then |
| pic_mode=yes |
| fi |
| done |
| IFS="$lt_save_ifs" |
| ;; |
| esac |
else |
else |
pic_mode=default |
pic_mode=default |
fi |
fi |
Line 8239 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
Line 9683 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
test -z "$LN_S" && LN_S="ln -s" |
test -z "$LN_S" && LN_S="ln -s" |
|
|
|
|
Line 8528 _lt_linker_boilerplate=`cat conftest.err`
|
Line 9976 _lt_linker_boilerplate=`cat conftest.err`
|
$RM -r conftest* |
$RM -r conftest* |
|
|
|
|
|
## CAVEAT EMPTOR: |
|
## There is no encapsulation within the following macros, do not change |
|
## the running order or otherwise move them around unless you know exactly |
|
## what you are doing... |
if test -n "$compiler"; then |
if test -n "$compiler"; then |
|
|
lt_prog_compiler_no_builtin_flag= |
lt_prog_compiler_no_builtin_flag= |
Line 8694 lt_prog_compiler_static=
|
Line 10146 lt_prog_compiler_static=
|
case $cc_basename in |
case $cc_basename in |
nvcc*) # Cuda Compiler Driver 2.2 |
nvcc*) # Cuda Compiler Driver 2.2 |
lt_prog_compiler_wl='-Xlinker ' |
lt_prog_compiler_wl='-Xlinker ' |
lt_prog_compiler_pic='-Xcompiler -fPIC' | if test -n "$lt_prog_compiler_pic"; then |
| lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
| fi |
;; |
;; |
esac |
esac |
else |
else |
Line 8738 lt_prog_compiler_static=
|
Line 10192 lt_prog_compiler_static=
|
lt_prog_compiler_static='-non_shared' |
lt_prog_compiler_static='-non_shared' |
;; |
;; |
|
|
linux* | k*bsd*-gnu | kopensolaris*-gnu) | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
case $cc_basename in |
case $cc_basename in |
# old Intel for x86_64 which still supported -KPIC. |
# old Intel for x86_64 which still supported -KPIC. |
ecc*) |
ecc*) |
Line 8785 lt_prog_compiler_static=
|
Line 10239 lt_prog_compiler_static=
|
;; |
;; |
*) |
*) |
case `$CC -V 2>&1 | sed 5q` in |
case `$CC -V 2>&1 | sed 5q` in |
*Sun\ F* | *Sun*Fortran*) | *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_wl='' |
lt_prog_compiler_wl='' |
;; |
;; |
|
*Sun\ F* | *Sun*Fortran*) |
|
lt_prog_compiler_pic='-KPIC' |
|
lt_prog_compiler_static='-Bstatic' |
|
lt_prog_compiler_wl='-Qoption ld ' |
|
;; |
*Sun\ C*) |
*Sun\ C*) |
# Sun C 5.9 |
# Sun C 5.9 |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
;; |
;; |
|
*Intel*\ [CF]*Compiler*) |
|
lt_prog_compiler_wl='-Wl,' |
|
lt_prog_compiler_pic='-fPIC' |
|
lt_prog_compiler_static='-static' |
|
;; |
|
*Portland\ Group*) |
|
lt_prog_compiler_wl='-Wl,' |
|
lt_prog_compiler_pic='-fpic' |
|
lt_prog_compiler_static='-Bstatic' |
|
;; |
esac |
esac |
;; |
;; |
esac |
esac |
Line 9158 $as_echo_n "checking whether the $compiler linker ($LD
|
Line 10627 $as_echo_n "checking whether the $compiler linker ($LD
|
hardcode_direct=no |
hardcode_direct=no |
hardcode_direct_absolute=no |
hardcode_direct_absolute=no |
hardcode_libdir_flag_spec= |
hardcode_libdir_flag_spec= |
hardcode_libdir_flag_spec_ld= |
|
hardcode_libdir_separator= |
hardcode_libdir_separator= |
hardcode_minus_L=no |
hardcode_minus_L=no |
hardcode_shlibpath_var=unsupported |
hardcode_shlibpath_var=unsupported |
Line 9202 $as_echo_n "checking whether the $compiler linker ($LD
|
Line 10670 $as_echo_n "checking whether the $compiler linker ($LD
|
openbsd*) |
openbsd*) |
with_gnu_ld=no |
with_gnu_ld=no |
;; |
;; |
|
linux* | k*bsd*-gnu | gnu*) |
|
link_all_deplibs=no |
|
;; |
esac |
esac |
|
|
ld_shlibs=yes |
ld_shlibs=yes |
Line 9408 _LT_EOF
|
Line 10879 _LT_EOF
|
xlf* | bgf* | bgxlf* | mpixlf*) |
xlf* | bgf* | bgxlf* | mpixlf*) |
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
hardcode_libdir_flag_spec= | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
hardcode_libdir_flag_spec_ld='-rpath $libdir' | |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
if test "x$supports_anon_versioning" = xyes; then |
if test "x$supports_anon_versioning" = xyes; then |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
Line 9424 _LT_EOF
|
Line 10894 _LT_EOF
|
fi |
fi |
;; |
;; |
|
|
netbsd*) | netbsd* | netbsdelf*-gnu) |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
wlarc= |
wlarc= |
Line 9601 _LT_EOF
|
Line 11071 _LT_EOF
|
if test "$aix_use_runtimelinking" = yes; then |
if test "$aix_use_runtimelinking" = yes; then |
shared_flag="$shared_flag "'${wl}-G' |
shared_flag="$shared_flag "'${wl}-G' |
fi |
fi |
|
link_all_deplibs=no |
else |
else |
# not using gcc |
# not using gcc |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
Line 9788 fi
|
Line 11259 fi
|
# The linker will not automatically build a static lib if we build a DLL. |
# The linker will not automatically build a static lib if we build a DLL. |
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
enable_shared_with_static_runtimes=yes |
enable_shared_with_static_runtimes=yes |
|
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
# Don't use ranlib |
# Don't use ranlib |
old_postinstall_cmds='chmod 644 $oldlib' |
old_postinstall_cmds='chmod 644 $oldlib' |
Line 9833 fi
|
Line 11305 fi
|
hardcode_shlibpath_var=unsupported |
hardcode_shlibpath_var=unsupported |
if test "$lt_cv_ld_force_load" = "yes"; then |
if test "$lt_cv_ld_force_load" = "yes"; then |
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
|
|
else |
else |
whole_archive_flag_spec='' |
whole_archive_flag_spec='' |
fi |
fi |
Line 9861 fi
|
Line 11334 fi
|
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
;; |
;; |
|
|
freebsd1*) |
|
ld_shlibs=no |
|
;; |
|
|
|
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
# support. Future versions do this automatically, but an explicit c++rt0.o |
# support. Future versions do this automatically, but an explicit c++rt0.o |
# does not break anything, and helps significantly (at the cost of a little |
# does not break anything, and helps significantly (at the cost of a little |
Line 9877 fi
|
Line 11346 fi
|
;; |
;; |
|
|
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
freebsd2*) | freebsd2.*) |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
hardcode_direct=yes |
hardcode_direct=yes |
hardcode_minus_L=yes |
hardcode_minus_L=yes |
Line 9916 fi
|
Line 11385 fi
|
fi |
fi |
if test "$with_gnu_ld" = no; then |
if test "$with_gnu_ld" = no; then |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
hardcode_libdir_flag_spec_ld='+b $libdir' |
|
hardcode_libdir_separator=: |
hardcode_libdir_separator=: |
hardcode_direct=yes |
hardcode_direct=yes |
hardcode_direct_absolute=yes |
hardcode_direct_absolute=yes |
Line 10057 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
|
Line 11525 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
|
link_all_deplibs=yes |
link_all_deplibs=yes |
;; |
;; |
|
|
netbsd*) | netbsd* | netbsdelf*-gnu) |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
else |
else |
Line 10540 esac
|
Line 12008 esac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
|
|
Line 10634 need_version=unknown
|
Line 12097 need_version=unknown
|
|
|
case $host_os in |
case $host_os in |
aix3*) |
aix3*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
shlibpath_var=LIBPATH |
shlibpath_var=LIBPATH |
|
|
Line 10643 aix3*)
|
Line 12106 aix3*)
|
;; |
;; |
|
|
aix[4-9]*) |
aix[4-9]*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
Line 10708 beos*)
|
Line 12171 beos*)
|
;; |
;; |
|
|
bsdi[45]*) |
bsdi[45]*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
Line 10847 darwin* | rhapsody*)
|
Line 12310 darwin* | rhapsody*)
|
;; |
;; |
|
|
dgux*) |
dgux*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
Line 10855 dgux*)
|
Line 12318 dgux*)
|
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
;; |
;; |
|
|
freebsd1*) |
|
dynamic_linker=no |
|
;; |
|
|
|
freebsd* | dragonfly*) |
freebsd* | dragonfly*) |
# DragonFly does not have aout. When/if they implement a new |
# DragonFly does not have aout. When/if they implement a new |
# versioning mechanism, adjust this. |
# versioning mechanism, adjust this. |
Line 10866 freebsd* | dragonfly*)
|
Line 12325 freebsd* | dragonfly*)
|
objformat=`/usr/bin/objformat` |
objformat=`/usr/bin/objformat` |
else |
else |
case $host_os in |
case $host_os in |
freebsd[123]*) objformat=aout ;; | freebsd[23].*) objformat=aout ;; |
*) objformat=elf ;; |
*) objformat=elf ;; |
esac |
esac |
fi |
fi |
Line 10884 freebsd* | dragonfly*)
|
Line 12343 freebsd* | dragonfly*)
|
esac |
esac |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
case $host_os in |
case $host_os in |
freebsd2*) | freebsd2.*) |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
;; |
;; |
freebsd3.[01]* | freebsdelf3.[01]*) |
freebsd3.[01]* | freebsdelf3.[01]*) |
Line 10903 freebsd* | dragonfly*)
|
Line 12362 freebsd* | dragonfly*)
|
esac |
esac |
;; |
;; |
|
|
gnu*) |
|
version_type=linux |
|
need_lib_prefix=no |
|
need_version=no |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
|
soname_spec='${libname}${release}${shared_ext}$major' |
|
shlibpath_var=LD_LIBRARY_PATH |
|
hardcode_into_libs=yes |
|
;; |
|
|
|
haiku*) |
haiku*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
dynamic_linker="$host_os runtime_loader" |
dynamic_linker="$host_os runtime_loader" |
Line 10975 hpux9* | hpux10* | hpux11*)
|
Line 12424 hpux9* | hpux10* | hpux11*)
|
;; |
;; |
|
|
interix[3-9]*) |
interix[3-9]*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
Line 10991 irix5* | irix6* | nonstopux*)
|
Line 12440 irix5* | irix6* | nonstopux*)
|
nonstopux*) version_type=nonstopux ;; |
nonstopux*) version_type=nonstopux ;; |
*) |
*) |
if test "$lt_cv_prog_gnu_ld" = yes; then |
if test "$lt_cv_prog_gnu_ld" = yes; then |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
else |
else |
version_type=irix |
version_type=irix |
fi ;; |
fi ;; |
Line 11028 linux*oldld* | linux*aout* | linux*coff*)
|
Line 12477 linux*oldld* | linux*aout* | linux*coff*)
|
dynamic_linker=no |
dynamic_linker=no |
;; |
;; |
|
|
# This must be Linux ELF. | # This must be glibc/ELF. |
linux* | k*bsd*-gnu | kopensolaris*-gnu) | linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
Line 11078 fi
|
Line 12527 fi
|
# before this can be enabled. |
# before this can be enabled. |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
|
|
# Add ABI-specific directories to the system library path. |
|
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" |
|
|
|
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` |
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" | sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| |
fi |
fi |
|
|
# We used to test for /lib/ld.so.1 and disable shared libraries on |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
Line 11097 fi
|
Line 12542 fi
|
dynamic_linker='GNU/Linux ld.so' |
dynamic_linker='GNU/Linux ld.so' |
;; |
;; |
|
|
|
netbsdelf*-gnu) |
|
version_type=linux |
|
need_lib_prefix=no |
|
need_version=no |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
soname_spec='${libname}${release}${shared_ext}$major' |
|
shlibpath_var=LD_LIBRARY_PATH |
|
shlibpath_overrides_runpath=no |
|
hardcode_into_libs=yes |
|
dynamic_linker='NetBSD ld.elf_so' |
|
;; |
|
|
netbsd*) |
netbsd*) |
version_type=sunos |
version_type=sunos |
need_lib_prefix=no |
need_lib_prefix=no |
Line 11116 netbsd*)
|
Line 12573 netbsd*)
|
;; |
;; |
|
|
newsos6) |
newsos6) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
Line 11185 rdos*)
|
Line 12642 rdos*)
|
;; |
;; |
|
|
solaris*) |
solaris*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
Line 11210 sunos4*)
|
Line 12667 sunos4*)
|
;; |
;; |
|
|
sysv4 | sysv4.3*) |
sysv4 | sysv4.3*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
Line 11234 sysv4 | sysv4.3*)
|
Line 12691 sysv4 | sysv4.3*)
|
|
|
sysv4*MP*) |
sysv4*MP*) |
if test -d /usr/nec ;then |
if test -d /usr/nec ;then |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
soname_spec='$libname${shared_ext}.$major' |
soname_spec='$libname${shared_ext}.$major' |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
Line 11265 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* |
|
Line 12722 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* |
|
|
|
tpf*) |
tpf*) |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
Line 11275 tpf*)
|
Line 12732 tpf*)
|
;; |
;; |
|
|
uts4*) |
uts4*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
Line 12057 CC="$lt_save_CC"
|
Line 13514 CC="$lt_save_CC"
|
|
|
|
|
|
|
|
|
|
|
ac_config_commands="$ac_config_commands libtool" |
ac_config_commands="$ac_config_commands libtool" |
|
|
|
|
Line 12066 CC="$lt_save_CC"
|
Line 13525 CC="$lt_save_CC"
|
|
|
|
|
|
|
|
|
|
# Check whether --with-pkg-extra-version was given. |
|
if test "${with_pkg_extra_version+set}" = set; then : |
|
withval=$with_pkg_extra_version; EXTRAVERSION=$withval |
|
fi |
|
|
|
|
|
# Check whether --with-pkg-git-version was given. |
|
if test "${with_pkg_git_version+set}" = set; then : |
|
withval=$with_pkg_git_version; test "x$withval" != "xno" && with_pkg_git_version="yes" |
|
fi |
|
|
# Check whether --enable-vtysh was given. |
# Check whether --enable-vtysh was given. |
if test "${enable_vtysh+set}" = set; then : |
if test "${enable_vtysh+set}" = set; then : |
enableval=$enable_vtysh; |
enableval=$enable_vtysh; |
fi |
fi |
|
|
# Check whether --enable-ipv6 was given. |
|
if test "${enable_ipv6+set}" = set; then : |
|
enableval=$enable_ipv6; |
|
fi |
|
|
|
# Check whether --enable-doc was given. |
# Check whether --enable-doc was given. |
if test "${enable_doc+set}" = set; then : |
if test "${enable_doc+set}" = set; then : |
enableval=$enable_doc; |
enableval=$enable_doc; |
Line 12121 if test "${enable_isisd+set}" = set; then :
|
Line 13587 if test "${enable_isisd+set}" = set; then :
|
enableval=$enable_isisd; |
enableval=$enable_isisd; |
fi |
fi |
|
|
# Check whether --enable-solaris was given. | # Check whether --enable-pimd was given. |
if test "${enable_solaris+set}" = set; then : | if test "${enable_pimd+set}" = set; then : |
enableval=$enable_solaris; | enableval=$enable_pimd; |
fi |
fi |
|
|
# Check whether --enable-bgp-announce was given. |
# Check whether --enable-bgp-announce was given. |
Line 12131 if test "${enable_bgp_announce+set}" = set; then :
|
Line 13597 if test "${enable_bgp_announce+set}" = set; then :
|
enableval=$enable_bgp_announce; |
enableval=$enable_bgp_announce; |
fi |
fi |
|
|
# Check whether --enable-netlink was given. |
|
if test "${enable_netlink+set}" = set; then : |
|
enableval=$enable_netlink; |
|
fi |
|
|
|
# Check whether --enable-broken-aliases was given. |
|
if test "${enable_broken_aliases+set}" = set; then : |
|
enableval=$enable_broken_aliases; |
|
fi |
|
|
|
|
|
# Check whether --with-crypto was given. |
|
if test "${with_crypto+set}" = set; then : |
|
withval=$with_crypto; |
|
fi |
|
|
|
# Check whether --enable-snmp was given. |
# Check whether --enable-snmp was given. |
if test "${enable_snmp+set}" = set; then : |
if test "${enable_snmp+set}" = set; then : |
enableval=$enable_snmp; |
enableval=$enable_snmp; |
Line 12163 if test "${enable_tcp_zebra+set}" = set; then :
|
Line 13613 if test "${enable_tcp_zebra+set}" = set; then :
|
enableval=$enable_tcp_zebra; |
enableval=$enable_tcp_zebra; |
fi |
fi |
|
|
# Check whether --enable-opaque-lsa was given. |
|
if test "${enable_opaque_lsa+set}" = set; then : |
|
enableval=$enable_opaque_lsa; |
|
fi |
|
|
|
# Check whether --enable-ospfapi was given. |
# Check whether --enable-ospfapi was given. |
if test "${enable_ospfapi+set}" = set; then : |
if test "${enable_ospfapi+set}" = set; then : |
enableval=$enable_ospfapi; |
enableval=$enable_ospfapi; |
Line 12178 if test "${enable_ospfclient+set}" = set; then :
|
Line 13623 if test "${enable_ospfclient+set}" = set; then :
|
enableval=$enable_ospfclient; |
enableval=$enable_ospfclient; |
fi |
fi |
|
|
# Check whether --enable-ospf-te was given. |
|
if test "${enable_ospf_te+set}" = set; then : |
|
enableval=$enable_ospf_te; |
|
fi |
|
|
|
# Check whether --enable-multipath was given. |
# Check whether --enable-multipath was given. |
if test "${enable_multipath+set}" = set; then : |
if test "${enable_multipath+set}" = set; then : |
enableval=$enable_multipath; |
enableval=$enable_multipath; |
Line 12234 if test "${enable_capabilities+set}" = set; then :
|
Line 13674 if test "${enable_capabilities+set}" = set; then :
|
enableval=$enable_capabilities; |
enableval=$enable_capabilities; |
fi |
fi |
|
|
|
# Check whether --enable-rusage was given. |
|
if test "${enable_rusage+set}" = set; then : |
|
enableval=$enable_rusage; |
|
fi |
|
|
# Check whether --enable-gcc_ultra_verbose was given. |
# Check whether --enable-gcc_ultra_verbose was given. |
if test "${enable_gcc_ultra_verbose+set}" = set; then : |
if test "${enable_gcc_ultra_verbose+set}" = set; then : |
enableval=$enable_gcc_ultra_verbose; |
enableval=$enable_gcc_ultra_verbose; |
Line 12249 if test "${enable_gcc_rdynamic+set}" = set; then :
|
Line 13694 if test "${enable_gcc_rdynamic+set}" = set; then :
|
enableval=$enable_gcc_rdynamic; |
enableval=$enable_gcc_rdynamic; |
fi |
fi |
|
|
|
# Check whether --enable-backtrace was given. |
|
if test "${enable_backtrace+set}" = set; then : |
|
enableval=$enable_backtrace; |
|
fi |
|
|
# Check whether --enable-time-check was given. |
# Check whether --enable-time-check was given. |
if test "${enable_time_check+set}" = set; then : |
if test "${enable_time_check+set}" = set; then : |
enableval=$enable_time_check; |
enableval=$enable_time_check; |
Line 12259 if test "${enable_pcreposix+set}" = set; then :
|
Line 13709 if test "${enable_pcreposix+set}" = set; then :
|
enableval=$enable_pcreposix; |
enableval=$enable_pcreposix; |
fi |
fi |
|
|
|
# Check whether --enable-fpm was given. |
|
if test "${enable_fpm+set}" = set; then : |
|
enableval=$enable_fpm; |
|
fi |
|
|
if test x"${enable_gcc_ultra_verbose}" = x"yes" ; then | # Check whether --enable-werror was given. |
CFLAGS="${CFLAGS} -W -Wcast-qual -Wstrict-prototypes" | if test "${enable_werror+set}" = set; then : |
CFLAGS="${CFLAGS} -Wmissing-declarations -Wmissing-noreturn" | enableval=$enable_werror; |
CFLAGS="${CFLAGS} -Wmissing-format-attribute -Wunreachable-code" | |
CFLAGS="${CFLAGS} -Wpacked -Wpadded" | |
fi |
fi |
|
|
if test x"${enable_gcc_rdynamic}" = x"yes" ; then | |
LDFLAGS="${LDFLAGS} -rdynamic" | if test x"${enable_gcc_rdynamic}" != x"no" ; then |
| if test x"${enable_gcc_rdynamic}" = x"yes" -o x"$COMPILER" = x"GCC"; then |
| LDFLAGS="${LDFLAGS} -rdynamic" |
| fi |
fi |
fi |
|
|
if test x"${enable_time_check}" != x"no" ; then |
if test x"${enable_time_check}" != x"no" ; then |
Line 12285 _ACEOF
|
Line 13740 _ACEOF
|
fi |
fi |
fi |
fi |
|
|
if test "${enable_broken_aliases}" = "yes"; then | if test "${enable_fpm}" = "yes"; then |
if test "${enable_netlink}" = "yes" | |
then | |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
as_fn_error $? "Sorry you can not use netlink with broken aliases | |
See \`config.log' for more details" "$LINENO" 5; } | |
fi | |
|
|
$as_echo "#define HAVE_BROKEN_ALIASES /**/" >>confdefs.h | $as_echo "#define HAVE_FPM /**/" >>confdefs.h |
|
|
enable_netlink=no |
|
fi |
fi |
|
|
if test "${enable_tcp_zebra}" = "yes"; then |
if test "${enable_tcp_zebra}" = "yes"; then |
Line 12305 $as_echo "#define HAVE_TCP_ZEBRA /**/" >>confdefs.h
|
Line 13752 $as_echo "#define HAVE_TCP_ZEBRA /**/" >>confdefs.h
|
|
|
fi |
fi |
|
|
if test "${enable_opaque_lsa}" != "no"; then |
|
|
|
$as_echo "#define HAVE_OPAQUE_LSA /**/" >>confdefs.h |
|
|
|
fi |
|
|
|
if test "${enable_ospf_te}" != "no"; then |
|
|
|
$as_echo "#define HAVE_OPAQUE_LSA /**/" >>confdefs.h |
|
|
|
|
|
$as_echo "#define HAVE_OSPF_TE /**/" >>confdefs.h |
|
|
|
fi |
|
|
|
if test "${enable_linux24_tcp_md5}" = "yes"; then |
if test "${enable_linux24_tcp_md5}" = "yes"; then |
|
|
$as_echo "#define HAVE_TCP_MD5_LINUX24 /**/" >>confdefs.h |
$as_echo "#define HAVE_TCP_MD5_LINUX24 /**/" >>confdefs.h |
Line 12345 $as_echo "#define HAVE_IRDP /**/" >>confdefs.h
|
Line 13777 $as_echo "#define HAVE_IRDP /**/" >>confdefs.h
|
|
|
fi |
fi |
|
|
if test "${enable_isisd}" = "yes" && test "${enable_isis_topology}" = yes; then | if test "${enable_isisd}" != "no" && test "${enable_isis_topology}" = yes; then |
|
|
$as_echo "#define TOPOLOGY_GENERATE /**/" >>confdefs.h |
$as_echo "#define TOPOLOGY_GENERATE /**/" >>confdefs.h |
|
|
ISIS_TOPOLOGY_INCLUDES="-I./topology" | ISIS_TOPOLOGY_INCLUDES="-I\$(srcdir)/topology" |
ISIS_TOPOLOGY_DIR="topology" |
ISIS_TOPOLOGY_DIR="topology" |
ISIS_TOPOLOGY_LIB="./topology/libtopology.a" |
ISIS_TOPOLOGY_LIB="./topology/libtopology.a" |
fi |
fi |
Line 12409 cat >>confdefs.h <<_ACEOF
|
Line 13841 cat >>confdefs.h <<_ACEOF
|
_ACEOF |
_ACEOF |
|
|
|
|
MULTIPATH_NUM=1 | MPATH_NUM=1 |
|
|
case "${enable_multipath}" in |
case "${enable_multipath}" in |
[0-9]|[1-9][0-9]) | 0) |
MULTIPATH_NUM="${enable_multipath}" | MPATH_NUM=64 |
;; |
;; |
|
[1-9]|[1-9][0-9]|[1-9][0-9][0-9]) |
|
MPATH_NUM="${enable_multipath}" |
|
;; |
"") |
"") |
;; |
;; |
*) |
*) |
Line 12426 See \`config.log' for more details" "$LINENO" 5; }
|
Line 13861 See \`config.log' for more details" "$LINENO" 5; }
|
esac |
esac |
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define MULTIPATH_NUM $MPATH_NUM |
|
_ACEOF |
|
|
|
|
|
if test "x${EXTRAVERSION}" != "x" ; then |
|
VERSION="${VERSION}${EXTRAVERSION}" |
|
PACKAGE_VERSION="${PACKAGE_VERSION}${EXTRAVERSION}" |
|
PACKAGE_STRING="${PACKAGE_STRING}${EXTRAVERSION}" |
|
fi |
|
|
|
if test "x$with_pkg_git_version" = "xyes"; then |
|
if test -d "${srcdir}/.git"; then |
|
|
|
$as_echo "#define GIT_VERSION 1" >>confdefs.h |
|
|
|
else with_pkg_git_version="no" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pkg-git-version given, but this is not a git checkout" >&5 |
|
$as_echo "$as_me: WARNING: --with-pkg-git-version given, but this is not a git checkout" >&2;} |
|
fi |
|
fi |
|
if test "x$with_pkg_git_version" = "xyes"; then |
|
GIT_VERSION_TRUE= |
|
GIT_VERSION_FALSE='#' |
|
else |
|
GIT_VERSION_TRUE='#' |
|
GIT_VERSION_FALSE= |
|
fi |
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
if ${ac_cv_c_const+:} false; then : |
if ${ac_cv_c_const+:} false; then : |
Line 12438 else
|
Line 13902 else
|
int |
int |
main () |
main () |
{ |
{ |
/* FIXME: Include the comments suggested by Paul. */ | |
#ifndef __cplusplus |
#ifndef __cplusplus |
/* Ultrix mips cc rejects this. */ | /* Ultrix mips cc rejects this sort of thing. */ |
typedef int charset[2]; |
typedef int charset[2]; |
const charset cs; | const charset cs = { 0, 0 }; |
/* SunOS 4.1.1 cc rejects this. */ |
/* SunOS 4.1.1 cc rejects this. */ |
char const *const *pcpcc; |
char const *const *pcpcc; |
char **ppc; |
char **ppc; |
Line 12459 main ()
|
Line 13923 main ()
|
++pcpcc; |
++pcpcc; |
ppc = (char**) pcpcc; |
ppc = (char**) pcpcc; |
pcpcc = (char const *const *) ppc; |
pcpcc = (char const *const *) ppc; |
{ /* SCO 3.2v4 cc rejects this. */ | { /* SCO 3.2v4 cc rejects this sort of thing. */ |
char *t; | char tx; |
| char *t = &tx; |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
|
|
*t++ = 0; |
*t++ = 0; |
Line 12476 main ()
|
Line 13941 main ()
|
iptr p = 0; |
iptr p = 0; |
++p; |
++p; |
} |
} |
{ /* AIX XL C 1.02.0.0 rejects this saying | { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
struct s { int j; const int *ap[3]; }; | struct s { int j; const int *ap[3]; } bx; |
struct s *b; b->j = 5; | struct s *b = &bx; b->j = 5; |
} |
} |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
const int foo = 10; |
const int foo = 10; |
Line 12817 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
|
Line 14282 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
|
|
|
fi |
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 |
|
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } |
|
if ${ac_cv_header_stdbool_h+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
#include <stdbool.h> |
|
#ifndef bool |
|
"error: bool is not defined" |
|
#endif |
|
#ifndef false |
|
"error: false is not defined" |
|
#endif |
|
#if false |
|
"error: false is not 0" |
|
#endif |
|
#ifndef true |
|
"error: true is not defined" |
|
#endif |
|
#if true != 1 |
|
"error: true is not 1" |
|
#endif |
|
#ifndef __bool_true_false_are_defined |
|
"error: __bool_true_false_are_defined is not defined" |
|
#endif |
|
|
|
struct s { _Bool s: 1; _Bool t; } s; |
|
|
|
char a[true == 1 ? 1 : -1]; |
|
char b[false == 0 ? 1 : -1]; |
|
char c[__bool_true_false_are_defined == 1 ? 1 : -1]; |
|
char d[(bool) 0.5 == true ? 1 : -1]; |
|
/* See body of main program for 'e'. */ |
|
char f[(_Bool) 0.0 == false ? 1 : -1]; |
|
char g[true]; |
|
char h[sizeof (_Bool)]; |
|
char i[sizeof s.t]; |
|
enum { j = false, k = true, l = false * true, m = true * 256 }; |
|
/* The following fails for |
|
HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ |
|
_Bool n[m]; |
|
char o[sizeof n == m * sizeof n[0] ? 1 : -1]; |
|
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; |
|
/* Catch a bug in an HP-UX C compiler. See |
|
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html |
|
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html |
|
*/ |
|
_Bool q = true; |
|
_Bool *pq = &q; |
|
|
|
int |
|
main () |
|
{ |
|
|
|
bool e = &s; |
|
*pq |= q; |
|
*pq |= ! q; |
|
/* Refer to every declared value, to avoid compiler optimizations. */ |
|
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l |
|
+ !m + !n + !o + !p + !q + !pq); |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_cv_header_stdbool_h=yes |
|
else |
|
ac_cv_header_stdbool_h=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 |
|
$as_echo "$ac_cv_header_stdbool_h" >&6; } |
|
ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" |
|
if test "x$ac_cv_type__Bool" = xyes; then : |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE__BOOL 1 |
|
_ACEOF |
|
|
|
|
|
fi |
|
|
|
|
|
if test $ac_cv_header_stdbool_h = yes; then |
|
|
|
$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h |
|
|
|
fi |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 |
$as_echo_n "checking for uid_t in sys/types.h... " >&6; } |
$as_echo_n "checking for uid_t in sys/types.h... " >&6; } |
if ${ac_cv_type_uid_t+:} false; then : |
if ${ac_cv_type_uid_t+:} false; then : |
Line 12869 _ACEOF
|
Line 14427 _ACEOF
|
|
|
fi |
fi |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 |
|
$as_echo_n "checking return type of signal handlers... " >&6; } |
|
if ${ac_cv_type_signal+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <sys/types.h> |
|
#include <signal.h> |
|
|
|
int |
|
main () |
|
{ |
|
return *(signal (0, 0)) (0) == 1; |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_cv_type_signal=int |
|
else |
|
ac_cv_type_signal=void |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 |
|
$as_echo "$ac_cv_type_signal" >&6; } |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define RETSIGTYPE $ac_cv_type_signal |
|
_ACEOF |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 |
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
if ${ac_cv_struct_tm+:} false; then : |
if ${ac_cv_struct_tm+:} false; then : |
Line 12940 fi
|
Line 14465 fi
|
|
|
for ac_header in stropts.h sys/ksym.h sys/times.h sys/select.h \ |
for ac_header in stropts.h sys/ksym.h sys/times.h sys/select.h \ |
sys/types.h linux/version.h netdb.h asm/types.h \ |
sys/types.h linux/version.h netdb.h asm/types.h \ |
sys/param.h limits.h signal.h \ | sys/cdefs.h sys/param.h limits.h signal.h \ |
sys/socket.h netinet/in.h time.h sys/time.h |
sys/socket.h netinet/in.h time.h sys/time.h |
do : |
do : |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
Line 12986 do :
|
Line 14511 do :
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 13042 do :
|
Line 14570 do :
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 13106 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$
|
Line 14637 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 13171 do :
|
Line 14705 do :
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 13206 done
|
Line 14743 done
|
|
|
|
|
|
|
|
ac_fn_c_check_member "$LINENO" "ucontext_t" "uc_mcontext.uc_regs" "ac_cv_member_ucontext_t_uc_mcontext_uc_regs" "#include <ucontext.h> |
|
" |
|
if test "x$ac_cv_member_ucontext_t_uc_mcontext_uc_regs" = xyes; then : |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_UCONTEXT_T_UC_MCONTEXT_UC_REGS 1 |
|
_ACEOF |
|
|
|
|
|
fi |
|
|
|
ac_fn_c_check_member "$LINENO" "ucontext_t" "uc_mcontext.regs" "ac_cv_member_ucontext_t_uc_mcontext_regs" "#include <ucontext.h> |
|
" |
|
if test "x$ac_cv_member_ucontext_t_uc_mcontext_regs" = xyes; then : |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_UCONTEXT_T_UC_MCONTEXT_REGS 1 |
|
_ACEOF |
|
|
|
ac_fn_c_check_member "$LINENO" "ucontext_t" "uc_mcontext.regs.nip" "ac_cv_member_ucontext_t_uc_mcontext_regs_nip" "#include <ucontext.h> |
|
" |
|
if test "x$ac_cv_member_ucontext_t_uc_mcontext_regs_nip" = xyes; then : |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_UCONTEXT_T_UC_MCONTEXT_REGS_NIP 1 |
|
_ACEOF |
|
|
|
|
|
fi |
|
|
|
fi |
|
|
|
ac_fn_c_check_member "$LINENO" "ucontext_t" "uc_mcontext.gregs" "ac_cv_member_ucontext_t_uc_mcontext_gregs" "#include <ucontext.h> |
|
" |
|
if test "x$ac_cv_member_ucontext_t_uc_mcontext_gregs" = xyes; then : |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_UCONTEXT_T_UC_MCONTEXT_GREGS 1 |
|
_ACEOF |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
case "$host" in |
case "$host" in |
*-sunos5.[6-7]* | *-solaris2.[6-7]*) |
*-sunos5.[6-7]* | *-solaris2.[6-7]*) |
opsys=sol2-6 |
opsys=sol2-6 |
Line 13256 _ACEOF
|
Line 14838 _ACEOF
|
fi |
fi |
|
|
CURSES=-lcurses |
CURSES=-lcurses |
|
SOLARIS="solaris" |
;; |
;; |
*-sunos5.[8-9] \ |
*-sunos5.[8-9] \ |
| *-sunos5.1[0-9] \ |
| *-sunos5.1[0-9] \ |
Line 13405 fi
|
Line 14988 fi
|
done |
done |
|
|
CURSES=-lcurses |
CURSES=-lcurses |
|
SOLARIS="solaris" |
;; |
;; |
*-sunos5* | *-solaris2*) |
*-sunos5* | *-solaris2*) |
|
|
Line 13489 _ACEOF
|
Line 15073 _ACEOF
|
fi |
fi |
|
|
CURSES=-lcurses |
CURSES=-lcurses |
|
SOLARIS="solaris" |
;; |
;; |
*-linux*) |
*-linux*) |
opsys=gnu-linux |
opsys=gnu-linux |
Line 13496 fi
|
Line 15081 fi
|
$as_echo "#define GNU_LINUX /**/" >>confdefs.h |
$as_echo "#define GNU_LINUX /**/" >>confdefs.h |
|
|
;; |
;; |
*-nec-sysv4*) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 |
|
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
|
if ${ac_cv_lib_nsl_gethostbyname+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lnsl $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 gethostbyname (); |
|
int |
|
main () |
|
{ |
|
return gethostbyname (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_nsl_gethostbyname=yes |
|
else |
|
ac_cv_lib_nsl_gethostbyname=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_nsl_gethostbyname" >&5 |
|
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
|
if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_LIBNSL 1 |
|
_ACEOF |
|
|
|
LIBS="-lnsl $LIBS" |
|
|
|
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 |
|
$as_echo_n "checking for socket in -lsocket... " >&6; } |
|
if ${ac_cv_lib_socket_socket+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lsocket $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 socket (); |
|
int |
|
main () |
|
{ |
|
return socket (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_socket_socket=yes |
|
else |
|
ac_cv_lib_socket_socket=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_socket_socket" >&5 |
|
$as_echo "$ac_cv_lib_socket_socket" >&6; } |
|
if test "x$ac_cv_lib_socket_socket" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_LIBSOCKET 1 |
|
_ACEOF |
|
|
|
LIBS="-lsocket $LIBS" |
|
|
|
fi |
|
|
|
;; |
|
*-openbsd*) |
*-openbsd*) |
opsys=openbsd |
opsys=openbsd |
|
|
$as_echo "#define OPEN_BSD /**/" >>confdefs.h |
$as_echo "#define OPEN_BSD /**/" >>confdefs.h |
|
|
;; |
;; |
*-bsdi*) |
|
opsys=bsdi |
|
OTHER_METHOD="mtu_kvm.o" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkvm" >&5 |
|
$as_echo_n "checking for main in -lkvm... " >&6; } |
|
if ${ac_cv_lib_kvm_main+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lkvm $LIBS" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
|
|
int |
|
main () |
|
{ |
|
return main (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_kvm_main=yes |
|
else |
|
ac_cv_lib_kvm_main=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_kvm_main" >&5 |
|
$as_echo "$ac_cv_lib_kvm_main" >&6; } |
|
if test "x$ac_cv_lib_kvm_main" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_LIBKVM 1 |
|
_ACEOF |
|
|
|
LIBS="-lkvm $LIBS" |
|
|
|
fi |
|
|
|
;; |
|
*-irix6.5) |
|
opsys=irix |
|
|
|
$as_echo "#define IRIX_65 /**/" >>confdefs.h |
|
|
|
;; |
|
esac |
esac |
|
|
# Check whether --enable-largefile was given. |
# Check whether --enable-largefile was given. |
Line 13841 _ACEOF
|
Line 15285 _ACEOF
|
esac |
esac |
rm -rf conftest* |
rm -rf conftest* |
fi |
fi |
|
|
|
|
fi |
fi |
|
|
|
|
case "${enable_vtysh}" in |
case "${enable_vtysh}" in |
"yes") VTYSH="vtysh"; | "no") VTYSH="";; |
| *) VTYSH="vtysh"; |
|
|
$as_echo "#define VTYSH /**/" >>confdefs.h |
$as_echo "#define VTYSH /**/" >>confdefs.h |
|
|
# Extract the first word of "perl", so it can be a program name with args. |
|
set dummy perl; 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_path_PERL+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
case $PERL in |
|
[\\/]* | ?:[\\/]*) |
|
ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
;; |
|
*) |
|
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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
$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 |
|
|
|
;; |
|
esac |
|
fi |
|
PERL=$ac_cv_path_PERL |
|
if test -n "$PERL"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 |
|
$as_echo "$PERL" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -ltermcap" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -ltermcap" >&5 |
$as_echo_n "checking for tputs in -ltermcap... " >&6; } |
$as_echo_n "checking for tputs in -ltermcap... " >&6; } |
if ${ac_cv_lib_termcap_tputs+:} false; then : |
if ${ac_cv_lib_termcap_tputs+:} false; then : |
Line 14148 $as_echo "#define rl_completion_matches completion_mat
|
Line 15555 $as_echo "#define rl_completion_matches completion_mat
|
fi |
fi |
;; |
;; |
"no" ) VTYSH="";; |
"no" ) VTYSH="";; |
* ) ;; |
|
esac |
esac |
|
|
|
if test "x$VTYSH" = "xvtysh"; then |
|
VTYSH_TRUE= |
|
VTYSH_FALSE='#' |
|
else |
|
VTYSH_TRUE='#' |
|
VTYSH_FALSE= |
|
fi |
|
|
|
|
if test "$with_libpam" = "yes"; then |
if test "$with_libpam" = "yes"; then |
ac_fn_c_check_header_compile "$LINENO" "security/pam_misc.h" "ac_cv_header_security_pam_misc_h" "#ifdef SUNOS_5 |
ac_fn_c_check_header_compile "$LINENO" "security/pam_misc.h" "ac_cv_header_security_pam_misc_h" "#ifdef SUNOS_5 |
#define _XPG4_2 |
#define _XPG4_2 |
Line 14180 if test "$with_libpam" = "yes"; then
|
Line 15594 if test "$with_libpam" = "yes"; then
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 14271 fi
|
Line 15688 fi
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 15101 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
|
Line 16521 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
|
|
|
fi |
fi |
|
|
for ac_header in stdlib.h |
|
do : |
|
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
|
if test "x$ac_cv_header_stdlib_h" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_STDLIB_H 1 |
|
_ACEOF |
|
|
|
fi |
|
|
|
done |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 |
|
$as_echo_n "checking for GNU libc compatible malloc... " >&6; } |
|
if ${ac_cv_func_malloc_0_nonnull+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test "$cross_compiling" = yes; then : |
|
ac_cv_func_malloc_0_nonnull=no |
|
else |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#if defined STDC_HEADERS || defined HAVE_STDLIB_H |
|
# include <stdlib.h> |
|
#else |
|
char *malloc (); |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return ! malloc (0); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_run "$LINENO"; then : |
|
ac_cv_func_malloc_0_nonnull=yes |
|
else |
|
ac_cv_func_malloc_0_nonnull=no |
|
fi |
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
fi |
|
|
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 |
|
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } |
|
if test $ac_cv_func_malloc_0_nonnull = yes; then : |
|
|
|
$as_echo "#define HAVE_MALLOC 1" >>confdefs.h |
|
|
|
else |
|
$as_echo "#define HAVE_MALLOC 0" >>confdefs.h |
|
|
|
case " $LIBOBJS " in |
|
*" malloc.$ac_objext "* ) ;; |
|
*) LIBOBJS="$LIBOBJS malloc.$ac_objext" |
|
;; |
|
esac |
|
|
|
|
|
$as_echo "#define malloc rpl_malloc" >>confdefs.h |
|
|
|
fi |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5 |
$as_echo_n "checking for working memcmp... " >&6; } |
$as_echo_n "checking for working memcmp... " >&6; } |
if ${ac_cv_func_memcmp_working+:} false; then : |
if ${ac_cv_func_memcmp_working+:} false; then : |
Line 15548 fi
|
Line 16901 fi
|
fi |
fi |
done |
done |
|
|
for ac_header in stdlib.h |
|
do : |
|
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" |
|
if test "x$ac_cv_header_stdlib_h" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_STDLIB_H 1 |
|
_ACEOF |
|
|
|
fi |
|
|
|
done |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 |
|
$as_echo_n "checking for GNU libc compatible realloc... " >&6; } |
|
if ${ac_cv_func_realloc_0_nonnull+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test "$cross_compiling" = yes; then : |
|
ac_cv_func_realloc_0_nonnull=no |
|
else |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#if defined STDC_HEADERS || defined HAVE_STDLIB_H |
|
# include <stdlib.h> |
|
#else |
|
char *realloc (); |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return ! realloc (0, 0); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_run "$LINENO"; then : |
|
ac_cv_func_realloc_0_nonnull=yes |
|
else |
|
ac_cv_func_realloc_0_nonnull=no |
|
fi |
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
fi |
|
|
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5 |
|
$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; } |
|
if test $ac_cv_func_realloc_0_nonnull = yes; then : |
|
|
|
$as_echo "#define HAVE_REALLOC 1" >>confdefs.h |
|
|
|
else |
|
$as_echo "#define HAVE_REALLOC 0" >>confdefs.h |
|
|
|
case " $LIBOBJS " in |
|
*" realloc.$ac_objext "* ) ;; |
|
*) LIBOBJS="$LIBOBJS realloc.$ac_objext" |
|
;; |
|
esac |
|
|
|
|
|
$as_echo "#define realloc rpl_realloc" >>confdefs.h |
|
|
|
fi |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 |
$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; } |
$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; } |
if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then : |
if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then : |
Line 15953 for ac_func in dup2 ftruncate getcwd gethostbyname get
|
Line 17239 for ac_func in dup2 ftruncate getcwd gethostbyname get
|
strtol strtoul strlcat strlcpy \ |
strtol strtoul strlcat strlcpy \ |
daemon snprintf vsnprintf \ |
daemon snprintf vsnprintf \ |
if_nametoindex if_indextoname getifaddrs \ |
if_nametoindex if_indextoname getifaddrs \ |
uname fcntl | uname fcntl getgrouplist |
do : |
do : |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
Line 16026 fi
|
Line 17312 fi
|
done |
done |
|
|
|
|
|
ac_fn_c_check_header_mongrel "$LINENO" "asm-generic/unistd.h" "ac_cv_header_asm_generic_unistd_h" "$ac_includes_default" |
|
if test "x$ac_cv_header_asm_generic_unistd_h" = xyes; then : |
|
ac_fn_c_check_decl "$LINENO" "__NR_setns" "ac_cv_have_decl___NR_setns" "#ifdef SUNOS_5 |
|
#define _XPG4_2 |
|
#define __EXTENSIONS__ |
|
#endif |
|
#include <stdio.h> |
|
#if STDC_HEADERS |
|
# include <stdlib.h> |
|
# include <stddef.h> |
|
#else |
|
# if HAVE_STDLIB_H |
|
# include <stdlib.h> |
|
# endif |
|
#endif |
|
#if HAVE_SYS_TYPES_H |
|
# include <sys/types.h> |
|
#endif |
|
/* sys/conf.h depends on param.h on FBSD at least */ |
|
#if HAVE_SYS_PARAM_H |
|
# include <sys/param.h> |
|
#endif |
|
/* Required for MAXSIG */ |
|
#if HAVE_SIGNAL_H |
|
# include <signal.h> |
|
#endif |
|
#if HAVE_SYS_SOCKET_H |
|
# include <sys/socket.h> |
|
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
|
#if HAVE_NETINET_IN_H |
|
# include <netinet/in.h> |
|
#endif |
|
#ifdef TIME_WITH_SYS_TIME |
|
# include <sys/time.h> |
|
# include <time.h> |
|
#else |
|
# ifdef HAVE_SYS_TIME_H |
|
# include <sys/time.h> |
|
# else |
|
# include <time.h> |
|
# endif |
|
#endif /* TIME_WITH_SYS_TIME */ |
|
|
|
#if HAVE_NET_IF_H |
|
# include <net/if.h> |
|
#endif |
|
|
|
#if HAVE_NET_IF_VAR_H |
|
# include <net/if_var.h> |
|
#endif |
|
|
|
#if HAVE_SYS_UN_H |
|
# include <sys/un.h> |
|
#endif |
|
#if HAVE_NETINET_IN_SYSTM_H |
|
# include <netinet/in_systm.h> |
|
#endif |
|
#if HAVE_NETINET_IN_VAR_H |
|
# include <netinet/in_var.h> |
|
#endif |
|
#if HAVE_NET_IF_DL_H |
|
# include <net/if_dl.h> |
|
#endif |
|
#if HAVE_NET_NETOPT_H |
|
# include <net/netopt.h> |
|
#endif |
|
#if HAVE_NET_ROUTE_H |
|
# include <net/route.h> |
|
#endif |
|
#if HAVE_INET_ND_H |
|
# include <inet/nd.h> |
|
#endif |
|
#if HAVE_ARPA_INET_H |
|
# include <arpa/inet.h> |
|
#endif |
|
/* Required for IDRP */ |
|
#if HAVE_NETINET_IP_ICMP_H |
|
# include <netinet/ip_icmp.h> |
|
#endif |
|
#include <asm-generic/unistd.h> |
|
|
|
" |
|
if test "x$ac_cv_have_decl___NR_setns" = xyes; then : |
|
|
|
$as_echo "#define HAVE_NETNS /**/" >>confdefs.h |
|
|
|
fi |
|
|
|
for ac_func in setns |
|
do : |
|
ac_fn_c_check_func "$LINENO" "setns" "ac_cv_func_setns" |
|
if test "x$ac_cv_func_setns" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_SETNS 1 |
|
_ACEOF |
|
|
|
$as_echo "#define HAVE_SETNS /**/" >>confdefs.h |
|
|
|
fi |
|
done |
|
|
|
|
|
fi |
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking zebra between kernel interface method" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking zebra between kernel interface method" >&5 |
$as_echo_n "checking zebra between kernel interface method... " >&6; } |
$as_echo_n "checking zebra between kernel interface method... " >&6; } |
if test x"$opsys" = x"gnu-linux"; then |
if test x"$opsys" = x"gnu-linux"; then |
if test "${enable_netlink}" = "yes";then | { $as_echo "$as_me:${as_lineno-$LINENO}: result: netlink" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: netlink" >&5 | |
$as_echo "netlink" >&6; } |
$as_echo "netlink" >&6; } |
RT_METHOD=rt_netlink.o | RT_METHOD=rt_netlink.o |
|
|
$as_echo "#define HAVE_NETLINK /**/" >>confdefs.h |
$as_echo "#define HAVE_NETLINK /**/" >>confdefs.h |
|
|
netlink=yes | netlink=yes |
elif test "${enable_netlink}" = "no"; then | else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ioctl" >&5 | |
$as_echo "ioctl" >&6; } | |
RT_METHOD=rt_ioctl.o | |
netlink=no | |
else | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: netlink" >&5 | |
$as_echo "netlink" >&6; } | |
RT_METHOD=rt_netlink.o | |
| |
$as_echo "#define HAVE_NETLINK /**/" >>confdefs.h | |
| |
netlink=yes | |
fi | |
elif test x"$opsys" = x"sol2-6";then | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Route socket" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Route socket" >&5 |
$as_echo "Route socket" >&6; } |
$as_echo "Route socket" >&6; } |
KERNEL_METHOD="kernel_socket.o" |
KERNEL_METHOD="kernel_socket.o" |
RT_METHOD="rt_socket.o" |
RT_METHOD="rt_socket.o" |
elif test x"$opsys" = x"sol8";then | fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Route socket" >&5 | |
$as_echo "Route socket" >&6; } | |
KERNEL_METHOD="kernel_socket.o" | |
RT_METHOD="rt_socket.o" | |
elif test "$opsys" = "irix" ; then | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Route socket" >&5 | |
$as_echo "Route socket" >&6; } | |
KERNEL_METHOD="kernel_socket.o" | |
RT_METHOD="rt_socket.o" | |
else | |
if test "$cross_compiling" = yes; then : | |
KERNEL_METHOD=kernel_socket.o | |
RT_METHOD=rt_socket.o | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: socket" >&5 | |
$as_echo "socket" >&6; } | |
else | |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
/* end confdefs.h. */ | |
#include <errno.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
|
|
main () |
|
{ |
|
int ac_sock; |
|
|
|
ac_sock = socket (AF_ROUTE, SOCK_RAW, 0); | if test "x$netlink" = "xyes"; then |
if (ac_sock < 0 && errno == EINVAL) | HAVE_NETLINK_TRUE= |
exit (1); | HAVE_NETLINK_FALSE='#' |
exit (0); | |
} | |
_ACEOF | |
if ac_fn_c_try_run "$LINENO"; then : | |
KERNEL_METHOD=kernel_socket.o | |
RT_METHOD=rt_socket.o | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: socket" >&5 | |
$as_echo "socket" >&6; } | |
else |
else |
RT_METHOD=rt_ioctl.o | HAVE_NETLINK_TRUE='#' |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ioctl" >&5 | HAVE_NETLINK_FALSE= |
$as_echo "ioctl" >&6; } | |
fi |
fi |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
$as_echo "#define ISIS_METHOD_PFPACKET 1" >>confdefs.h |
$as_echo "#define ISIS_METHOD_PFPACKET 1" >>confdefs.h |
|
|
|
|
Line 16222 else
|
Line 17562 else
|
if test "x$netlink" = xyes; then |
if test "x$netlink" = xyes; then |
quagga_cv_rtread_method="netlink" |
quagga_cv_rtread_method="netlink" |
else |
else |
for quagga_cv_rtread_method in /proc/net/route /dev/ip /dev/null; | for quagga_cv_rtread_method in /dev/ip /dev/null; |
do |
do |
test x`ls $quagga_cv_rtread_method 2>/dev/null` = x"$quagga_cv_rtread_method" && break |
test x`ls $quagga_cv_rtread_method 2>/dev/null` = x"$quagga_cv_rtread_method" && break |
done |
done |
case $quagga_cv_rtread_method in |
case $quagga_cv_rtread_method in |
"/proc/net/route") quagga_cv_rtread_method="proc";; |
|
"/dev/ip") |
"/dev/ip") |
case "$host" in |
case "$host" in |
*-freebsd*) quagga_cv_rtread_method="sysctl";; |
*-freebsd*) quagga_cv_rtread_method="sysctl";; |
Line 16259 elif test "$opsys" = "sol8";then
|
Line 17598 elif test "$opsys" = "sol8";then
|
$as_echo "Solaris GLIF" >&6; } |
$as_echo "Solaris GLIF" >&6; } |
IF_METHOD=if_ioctl_solaris.o |
IF_METHOD=if_ioctl_solaris.o |
IOCTL_METHOD=ioctl_solaris.o |
IOCTL_METHOD=ioctl_solaris.o |
elif test "$opsys" = "irix" ; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: IRIX" >&5 |
|
$as_echo "IRIX" >&6; } |
|
IF_METHOD=if_ioctl.o |
|
elif test "$opsys" = "openbsd";then |
elif test "$opsys" = "openbsd";then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: openbsd" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: openbsd" >&5 |
$as_echo "openbsd" >&6; } |
$as_echo "openbsd" >&6; } |
Line 16309 ac_fn_c_check_member "$LINENO" "struct ip_mreqn" "imr_
|
Line 17644 ac_fn_c_check_member "$LINENO" "struct ip_mreqn" "imr_
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 16371 _ACEOF
|
Line 17709 _ACEOF
|
fi |
fi |
|
|
|
|
|
for ac_header in linux/mroute.h |
|
do : |
|
ac_fn_c_check_header_compile "$LINENO" "linux/mroute.h" "ac_cv_header_linux_mroute_h" " |
|
#if HAVE_NETINET_IN_H |
|
#include<netinet/in.h> |
|
#endif |
|
" |
|
if test "x$ac_cv_header_linux_mroute_h" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_LINUX_MROUTE_H 1 |
|
_ACEOF |
|
|
|
fi |
|
|
|
done |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD struct ip_mreq hack" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD struct ip_mreq hack" >&5 |
$as_echo_n "checking for BSD struct ip_mreq hack... " >&6; } |
$as_echo_n "checking for BSD struct ip_mreq hack... " >&6; } |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
Line 16381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 17735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
int |
int |
main () |
main () |
{ |
{ |
#if (defined(__FreeBSD__) && ((__FreeBSD_version >= 500022 && __FreeBSD_version < 700000) || (__FreeBSD_version < 500000 && __FreeBSD_version >= 440000))) || (defined(__NetBSD__) && defined(__NetBSD_Version__) && __NetBSD_Version__ >= 106010000) | #if (defined(__FreeBSD__) && ((__FreeBSD_version >= 500022 && __FreeBSD_version < 700000) || (__FreeBSD_version < 500000 && __FreeBSD_version >= 440000))) || (defined(__NetBSD__) && defined(__NetBSD_Version__) && __NetBSD_Version__ >= 106010000) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__DragonFly__) || defined(__sun) |
return (0); |
return (0); |
#else |
#else |
#error No support for BSD struct ip_mreq hack detected |
#error No support for BSD struct ip_mreq hack detected |
Line 16458 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_
|
Line 17812 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 16538 if test "x$ac_cv_header_net_if_h" = xyes; then :
|
Line 17895 if test "x$ac_cv_header_net_if_h" = xyes; then :
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 16619 if test "x$ac_cv_header_net_if_media_h" = xyes; then :
|
Line 17979 if test "x$ac_cv_header_net_if_media_h" = xyes; then :
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 16691 fi
|
Line 18054 fi
|
|
|
|
|
|
|
|
ac_fn_c_check_header_mongrel "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default" |
|
if test "x$ac_cv_header_net_if_h" = xyes; then : |
|
ac_fn_c_check_member "$LINENO" "struct if_data" "ifi_link_state" "ac_cv_member_struct_if_data_ifi_link_state" "#ifdef SUNOS_5 |
|
#define _XPG4_2 |
|
#define __EXTENSIONS__ |
|
#endif |
|
#include <stdio.h> |
|
#if STDC_HEADERS |
|
# include <stdlib.h> |
|
# include <stddef.h> |
|
#else |
|
# if HAVE_STDLIB_H |
|
# include <stdlib.h> |
|
# endif |
|
#endif |
|
#if HAVE_SYS_TYPES_H |
|
# include <sys/types.h> |
|
#endif |
|
/* sys/conf.h depends on param.h on FBSD at least */ |
|
#if HAVE_SYS_PARAM_H |
|
# include <sys/param.h> |
|
#endif |
|
/* Required for MAXSIG */ |
|
#if HAVE_SIGNAL_H |
|
# include <signal.h> |
|
#endif |
|
#if HAVE_SYS_SOCKET_H |
|
# include <sys/socket.h> |
|
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
|
#if HAVE_NETINET_IN_H |
|
# include <netinet/in.h> |
|
#endif |
|
#ifdef TIME_WITH_SYS_TIME |
|
# include <sys/time.h> |
|
# include <time.h> |
|
#else |
|
# ifdef HAVE_SYS_TIME_H |
|
# include <sys/time.h> |
|
# else |
|
# include <time.h> |
|
# endif |
|
#endif /* TIME_WITH_SYS_TIME */ |
|
|
|
#if HAVE_NET_IF_H |
|
# include <net/if.h> |
|
#endif |
|
|
|
#if HAVE_NET_IF_VAR_H |
|
# include <net/if_var.h> |
|
#endif |
|
|
|
#if HAVE_SYS_UN_H |
|
# include <sys/un.h> |
|
#endif |
|
#if HAVE_NETINET_IN_SYSTM_H |
|
# include <netinet/in_systm.h> |
|
#endif |
|
#if HAVE_NETINET_IN_VAR_H |
|
# include <netinet/in_var.h> |
|
#endif |
|
#if HAVE_NET_IF_DL_H |
|
# include <net/if_dl.h> |
|
#endif |
|
#if HAVE_NET_NETOPT_H |
|
# include <net/netopt.h> |
|
#endif |
|
#if HAVE_NET_ROUTE_H |
|
# include <net/route.h> |
|
#endif |
|
#if HAVE_INET_ND_H |
|
# include <inet/nd.h> |
|
#endif |
|
#if HAVE_ARPA_INET_H |
|
# include <arpa/inet.h> |
|
#endif |
|
/* Required for IDRP */ |
|
#if HAVE_NETINET_IP_ICMP_H |
|
# include <netinet/ip_icmp.h> |
|
#endif |
|
|
|
" |
|
if test "x$ac_cv_member_struct_if_data_ifi_link_state" = xyes; then : |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_STRUCT_IF_DATA_IFI_LINK_STATE 1 |
|
_ACEOF |
|
|
|
|
|
$as_echo "#define HAVE_BSD_IFI_LINK_STATE /**/" >>confdefs.h |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "#ifdef SUNOS_5 |
ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "#ifdef SUNOS_5 |
#define _XPG4_2 |
#define _XPG4_2 |
#define __EXTENSIONS__ |
#define __EXTENSIONS__ |
Line 16719 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h"
|
Line 18181 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h"
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 16800 if test "x$ac_cv_header_netinet_tcp_h" = xyes; then :
|
Line 18265 if test "x$ac_cv_header_netinet_tcp_h" = xyes; then :
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 16898 if test "x$ac_cv_header_linux_tcp_h" = xyes; then :
|
Line 18366 if test "x$ac_cv_header_linux_tcp_h" = xyes; then :
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 16967 fi
|
Line 18438 fi
|
|
|
fi |
fi |
|
|
if test "$netlink" != yes; then |
|
if test -r /proc/net/dev; then |
|
|
|
$as_echo "#define HAVE_PROC_NET_DEV /**/" >>confdefs.h |
|
|
|
IF_PROC=if_proc.o |
|
fi |
|
if test -r /proc/net/if_inet6; then |
|
|
|
$as_echo "#define HAVE_PROC_NET_IF_INET6 /**/" >>confdefs.h |
|
|
|
IF_PROC=if_proc.o |
|
fi |
|
fi |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ipforward method" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking ipforward method" >&5 |
$as_echo_n "checking ipforward method... " >&6; } |
$as_echo_n "checking ipforward method... " >&6; } |
if ${quagga_cv_ipforward_method+:} false; then : |
if ${quagga_cv_ipforward_method+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
|
if test x$cross_compiling = xyes; then |
|
if test x"$opsys" = x"gnu-linux"; then |
|
quagga_cv_ipforward_method=/proc/net/snmp |
|
else |
|
quagga_cv_ipforward_method=/dev/ip |
|
fi |
|
else |
for quagga_cv_ipforward_method in /proc/net/snmp /dev/ip /dev/null; |
for quagga_cv_ipforward_method in /proc/net/snmp /dev/ip /dev/null; |
do | do |
test x`ls $quagga_cv_ipforward_method 2>/dev/null` = x"$quagga_cv_ipforward_method" && break | test x`ls $quagga_cv_ipforward_method 2>/dev/null` = x"$quagga_cv_ipforward_method" && break |
done | done |
| fi |
case $quagga_cv_ipforward_method in |
case $quagga_cv_ipforward_method in |
"/proc/net/snmp") quagga_cv_ipforward_method="proc";; |
"/proc/net/snmp") quagga_cv_ipforward_method="proc";; |
"/dev/ip") |
"/dev/ip") |
case "$host" in |
case "$host" in |
*-nec-sysv4*) quagga_cv_ipforward_method="ews";; |
|
*-freebsd*) quagga_cv_ipforward_method="sysctl";; |
*-freebsd*) quagga_cv_ipforward_method="sysctl";; |
*) quagga_cv_ipforward_method="solaris";; |
*) quagga_cv_ipforward_method="solaris";; |
esac;; |
esac;; |
Line 17024 done
|
Line 18486 done
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether does this OS have IPv6 stack" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether does this OS have IPv6 stack" >&5 |
$as_echo_n "checking whether does this OS have IPv6 stack... " >&6; } |
$as_echo_n "checking whether does this OS have IPv6 stack... " >&6; } |
if test "${enable_ipv6}" = "no"; then | if grep WIDE /usr/include/netinet6/in6.h >/dev/null 2>&1; then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 | |
$as_echo "disabled" >&6; } | |
else | |
if grep IPV6_INRIA_VERSION /usr/include/netinet/in.h >/dev/null 2>&1; then | |
zebra_cv_ipv6=yes | |
|
|
$as_echo "#define HAVE_IPV6 1" >>confdefs.h |
|
|
|
|
|
$as_echo "#define INRIA_IPV6 1" >>confdefs.h |
|
|
|
RIPNGD="ripngd" |
|
OSPF6D="ospf6d" |
|
LIB_IPV6="" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: INRIA IPv6" >&5 |
|
$as_echo "INRIA IPv6" >&6; } |
|
elif grep WIDE /usr/include/netinet6/in6.h >/dev/null 2>&1; then |
|
zebra_cv_ipv6=yes |
|
|
|
$as_echo "#define HAVE_IPV6 1" >>confdefs.h |
|
|
|
|
|
$as_echo "#define KAME 1" >>confdefs.h |
$as_echo "#define KAME 1" >>confdefs.h |
|
|
RIPNGD="ripngd" |
|
OSPF6D="ospf6d" |
|
if test -d /usr/local/v6/lib -a -f /usr/local/v6/lib/libinet6.a; then |
|
LIB_IPV6="-L/usr/local/v6/lib -linet6" |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: KAME" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: KAME" >&5 |
$as_echo "KAME" >&6; } |
$as_echo "KAME" >&6; } |
elif grep MUSICA /usr/include6/netinet6/in6.h >/dev/null 2>&1; then |
|
zebra_cv_ipv6=yes |
|
|
|
$as_echo "#define HAVE_IPV6 1" >>confdefs.h |
|
|
|
|
|
$as_echo "#define MUSICA 1" >>confdefs.h |
|
|
|
|
|
$as_echo "#define KAME 1" >>confdefs.h |
|
|
|
RIPNGD="ripngd" |
|
OSPF6D="ospf6d" |
|
if test -d /usr/local/v6/lib -a -f /usr/local/v6/lib/libinet6.a; then |
|
LIB_IPV6="-L/usr/local/v6/lib -linet6" |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: MUSICA" >&5 |
|
$as_echo "MUSICA" >&6; } |
|
elif grep NRL /usr/include/netinet6/in6.h >/dev/null 2>&1; then |
|
zebra_cv_ipv6=yes |
|
|
|
$as_echo "#define HAVE_IPV6 1" >>confdefs.h |
|
|
|
|
|
$as_echo "#define NRL 1" >>confdefs.h |
|
|
|
RIPNGD="ripngd" |
|
OSPF6D="ospf6d" |
|
if test x"$opsys" = x"bsdi";then |
|
|
|
$as_echo "#define BSDI_NRL /**/" >>confdefs.h |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: BSDI_NRL" >&5 |
|
$as_echo "BSDI_NRL" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: NRL" >&5 |
|
$as_echo "NRL" >&6; } |
|
fi |
|
elif test x"$opsys" = x"sol8"; then |
elif test x"$opsys" = x"sol8"; then |
zebra_cv_ipv6=yes; |
|
|
|
$as_echo "#define HAVE_IPV6 1" >>confdefs.h |
|
|
|
|
|
$as_echo "#define SOLARIS_IPV6 1" >>confdefs.h |
$as_echo "#define SOLARIS_IPV6 1" >>confdefs.h |
|
|
RIPNGD="ripngd" |
|
OSPF6D="ospf6d" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris IPv6" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris IPv6" >&5 |
$as_echo "Solaris IPv6" >&6; } |
$as_echo "Solaris IPv6" >&6; } |
elif test "${enable_ipv6}" = "yes"; then | elif test x"$opsys" = x"gnu-linux"; then |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
/* end confdefs.h. */ | |
|
|
#include <linux/version.h> | $as_echo "#define LINUX_IPV6 1" >>confdefs.h |
/* 2.1.128 or later */ | |
#if LINUX_VERSION_CODE >= 0x020180 | |
yes | |
#endif | |
_ACEOF | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
$EGREP "yes" >/dev/null 2>&1; then : | |
zebra_cv_ipv6=yes | |
zebra_cv_linux_ipv6=yes | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux IPv6" >&5 | |
$as_echo "Linux IPv6" >&6; } | |
fi | |
rm -f conftest* | |
|
|
else | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux IPv6" >&5 |
if test x`ls /proc/net/ipv6_route 2>/dev/null` = x"/proc/net/ipv6_route" | |
then | |
zebra_cv_ipv6=yes | |
zebra_cv_linux_ipv6=yes | |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux IPv6" >&5 | |
$as_echo "Linux IPv6" >&6; } |
$as_echo "Linux IPv6" >&6; } |
fi | else |
| as_fn_error $? "Failed to detect IPv6 stack" "$LINENO" 5 |
fi |
fi |
|
|
if test "$zebra_cv_linux_ipv6" = "yes";then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libc has IPv6 support" >&5 |
|
$as_echo_n "checking whether libc has IPv6 support... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <netinet/in.h> |
|
|
|
int |
|
main () |
|
{ |
|
int a; a = (int) in6addr_any.s6_addr[0]; if (a != 12345) return a; |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
zebra_cv_ipv6=yes |
|
zebra_cv_linux_ipv6=yes |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
zebra_cv_ipv6=no |
|
zebra_cv_linux_ipv6=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
fi |
|
|
|
if test "$zebra_cv_linux_ipv6" = "yes";then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc >= 2.1" >&5 |
|
$as_echo_n "checking for GNU libc >= 2.1... " >&6; } |
|
|
|
$as_echo "#define HAVE_IPV6 1" >>confdefs.h |
$as_echo "#define HAVE_IPV6 1" >>confdefs.h |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
#include <features.h> |
|
#if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1 |
|
yes |
|
#endif |
|
_ACEOF |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
$EGREP "yes" >/dev/null 2>&1; then : |
|
glibc=yes |
|
|
|
$as_echo "#define LINUX_IPV6 1" >>confdefs.h |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
fi |
|
rm -f conftest* |
|
|
|
RIPNGD="ripngd" |
|
OSPF6D="ospf6d" |
|
if test "$glibc" != "yes"; then |
|
INCLUDES="-I/usr/inet6/include" |
|
if test x`ls /usr/inet6/lib/libinet6.a 2>/dev/null` != x;then |
|
LIB_IPV6="-L/usr/inet6/lib -linet6" |
|
fi |
|
fi |
|
fi |
|
|
|
LIBS="$LIB_IPV6 $LIBS" |
|
|
|
|
|
if test x"$RIPNGD" = x""; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: IPv4 only" >&5 |
|
$as_echo "IPv4 only" >&6; } |
|
fi |
|
fi |
|
|
|
if test "x${zebra_cv_ipv6}" = "xyes"; then |
|
for ac_header in netinet6/in6.h netinet/in6_var.h netinet/icmp6.h \ |
for ac_header in netinet6/in6.h netinet/in6_var.h netinet/icmp6.h \ |
netinet6/in6_var.h netinet6/nd6.h |
netinet6/in6_var.h netinet6/nd6.h |
do : |
do : |
Line 17245 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$
|
Line 18543 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 17306 fi
|
Line 18607 fi
|
|
|
done |
done |
|
|
fi |
|
|
|
|
|
if test "${enable_doc}" = "no";then |
if test "${enable_doc}" = "no";then |
Line 17320 if test "${enable_zebra}" = "no";then
|
Line 18620 if test "${enable_zebra}" = "no";then
|
else |
else |
ZEBRA="zebra" |
ZEBRA="zebra" |
fi |
fi |
|
if test "x$ZEBRA" = "xzebra"; then |
|
ZEBRA_TRUE= |
|
ZEBRA_FALSE='#' |
|
else |
|
ZEBRA_TRUE='#' |
|
ZEBRA_FALSE= |
|
fi |
|
|
|
|
if test "${enable_bgpd}" = "no";then |
if test "${enable_bgpd}" = "no";then |
BGPD="" |
BGPD="" |
else |
else |
BGPD="bgpd" |
BGPD="bgpd" |
fi |
fi |
|
if test "x$BGPD" = "xbgpd"; then |
|
BGPD_TRUE= |
|
BGPD_FALSE='#' |
|
else |
|
BGPD_TRUE='#' |
|
BGPD_FALSE= |
|
fi |
|
|
|
|
if test "${enable_ripd}" = "no";then |
if test "${enable_ripd}" = "no";then |
RIPD="" |
RIPD="" |
else |
else |
RIPD="ripd" |
RIPD="ripd" |
fi |
fi |
|
if test "x$RIPD" = "xripd"; then |
|
RIPD_TRUE= |
|
RIPD_FALSE='#' |
|
else |
|
RIPD_TRUE='#' |
|
RIPD_FALSE= |
|
fi |
|
|
|
|
if test "${enable_ospfd}" = "no";then |
if test "${enable_ospfd}" = "no";then |
OSPFD="" |
OSPFD="" |
else |
else |
OSPFD="ospfd" |
OSPFD="ospfd" |
fi |
fi |
|
if test "x$OSPFD" = "xospfd"; then |
|
OSPFD_TRUE= |
|
OSPFD_FALSE='#' |
|
else |
|
OSPFD_TRUE='#' |
|
OSPFD_FALSE= |
|
fi |
|
|
|
|
if test "${enable_watchquagga}" = "no";then |
if test "${enable_watchquagga}" = "no";then |
WATCHQUAGGA="" |
WATCHQUAGGA="" |
else |
else |
WATCHQUAGGA="watchquagga" |
WATCHQUAGGA="watchquagga" |
fi |
fi |
|
if test "x$WATCHQUAGGA" = "xwatchquagga"; then |
|
WATCHQUAGGA_TRUE= |
|
WATCHQUAGGA_FALSE='#' |
|
else |
|
WATCHQUAGGA_TRUE='#' |
|
WATCHQUAGGA_FALSE= |
|
fi |
|
|
|
|
OSPFCLIENT="" |
OSPFCLIENT="" |
if test "${enable_opaque_lsa}" != "no"; then | if test "${enable_ospfapi}" != "no";then |
if test "${enable_ospfapi}" != "no";then | |
|
|
$as_echo "#define SUPPORT_OSPF_API /**/" >>confdefs.h |
$as_echo "#define SUPPORT_OSPF_API /**/" >>confdefs.h |
|
|
|
|
if test "${enable_ospfclient}" != "no";then | if test "${enable_ospfclient}" != "no";then |
OSPFCLIENT="ospfclient" |
OSPFCLIENT="ospfclient" |
fi |
|
fi |
fi |
|
fi |
|
|
|
if test "x$OSPFCLIENT" = "xospfclient"; then |
|
OSPFCLIENT_TRUE= |
|
OSPFCLIENT_FALSE='#' |
|
else |
|
OSPFCLIENT_TRUE='#' |
|
OSPFCLIENT_FALSE= |
fi |
fi |
|
|
|
|
case "${enable_ripngd}" in |
case "${enable_ripngd}" in |
"yes") RIPNGD="ripngd";; |
|
"no" ) RIPNGD="";; |
"no" ) RIPNGD="";; |
* ) ;; | * ) RIPNGD="ripngd";; |
esac |
esac |
|
if test "x$RIPNGD" = "xripngd"; then |
|
RIPNGD_TRUE= |
|
RIPNGD_FALSE='#' |
|
else |
|
RIPNGD_TRUE='#' |
|
RIPNGD_FALSE= |
|
fi |
|
|
|
|
case "${enable_ospf6d}" in |
case "${enable_ospf6d}" in |
"yes") OSPF6D="ospf6d";; |
|
"no" ) OSPF6D="";; |
"no" ) OSPF6D="";; |
* ) ;; | * ) OSPF6D="ospf6d";; |
esac |
esac |
|
if test "x$OSPF6D" = "xospf6d"; then |
|
OSPF6D_TRUE= |
|
OSPF6D_FALSE='#' |
|
else |
|
OSPF6D_TRUE='#' |
|
OSPF6D_FALSE= |
|
fi |
|
|
|
|
case "${enable_isisd}" in |
case "${enable_isisd}" in |
"yes") ISISD="isisd";; |
|
"no" ) ISISD="";; |
"no" ) ISISD="";; |
* ) ;; | * ) ISISD="isisd";; |
esac |
esac |
|
if test "x$ISISD" = "xisisd"; then |
|
ISISD_TRUE= |
|
ISISD_FALSE='#' |
|
else |
|
ISISD_TRUE='#' |
|
ISISD_FALSE= |
|
fi |
|
|
# XXX Perhaps auto-enable on Solaris, but that's messy for cross builds. | |
case "${enable_solaris}" in | case "${enable_pimd}" in |
"yes") SOLARIS="solaris";; | "no" ) PIMD="";; |
"no" ) SOLARIS="";; | * ) PIMD="pimd";; |
* ) ;; | |
esac |
esac |
|
if test "x$PIMD" = "xpimd"; then |
|
PIMD_TRUE= |
|
PIMD_FALSE='#' |
|
else |
|
PIMD_TRUE='#' |
|
PIMD_FALSE= |
|
fi |
|
|
|
|
if test "${enable_bgp_announce}" = "no";then |
if test "${enable_bgp_announce}" = "no";then |
|
|
$as_echo "#define DISABLE_BGP_ANNOUNCE 1" >>confdefs.h |
$as_echo "#define DISABLE_BGP_ANNOUNCE 1" >>confdefs.h |
Line 17584 _ACEOF
|
Line 18957 _ACEOF
|
fi |
fi |
|
|
|
|
ac_fn_c_check_func "$LINENO" "__inet_ntop" "ac_cv_func___inet_ntop" |
|
if test "x$ac_cv_func___inet_ntop" = xyes; then : |
|
|
|
$as_echo "#define HAVE_INET_NTOP /**/" >>confdefs.h |
|
|
|
fi |
|
|
|
ac_fn_c_check_func "$LINENO" "__inet_pton" "ac_cv_func___inet_pton" |
|
if test "x$ac_cv_func___inet_pton" = xyes; then : |
|
|
|
$as_echo "#define HAVE_INET_PTON /**/" >>confdefs.h |
|
|
|
fi |
|
|
|
ac_fn_c_check_func "$LINENO" "__inet_aton" "ac_cv_func___inet_aton" |
|
if test "x$ac_cv_func___inet_aton" = xyes; then : |
|
|
|
$as_echo "#define HAVE_INET_ATON /**/" >>confdefs.h |
|
|
|
fi |
|
|
|
|
|
if test "x$enable_pcreposix" = "xyes"; then |
if test "x$enable_pcreposix" = "xyes"; then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcreposix_regexec in -lpcreposix" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcreposix_regexec in -lpcreposix" >&5 |
$as_echo_n "checking for pcreposix_regexec in -lpcreposix... " >&6; } |
$as_echo_n "checking for pcreposix_regexec in -lpcreposix... " >&6; } |
Line 17710 fi
|
Line 19061 fi
|
|
|
|
|
|
|
if test "${enable_snmp}" = "yes"; then | if test "${enable_snmp}" != ""; then |
if test "$with_crypto" != "no"; then | if test -n "$ac_tool_prefix"; then |
LIBS="${LIBS} -lcrypto"; | # Extract the first word of "${ac_tool_prefix}net-snmp-config", so it can be a program name with args. |
fi | set dummy ${ac_tool_prefix}net-snmp-config; ac_word=$2 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for asn_parse_int in -lnetsnmp" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
$as_echo_n "checking for asn_parse_int in -lnetsnmp... " >&6; } | $as_echo_n "checking for $ac_word... " >&6; } |
if ${ac_cv_lib_netsnmp_asn_parse_int+:} false; then : | if ${ac_cv_path_NETSNMP_CONFIG+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS | case $NETSNMP_CONFIG in |
LIBS="-lnetsnmp $LIBS" | [\\/]* | ?:[\\/]*) |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ac_cv_path_NETSNMP_CONFIG="$NETSNMP_CONFIG" # Let the user override the test with a path. |
| ;; |
| *) |
| 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_path_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| $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 |
| |
| ;; |
| esac |
| fi |
| NETSNMP_CONFIG=$ac_cv_path_NETSNMP_CONFIG |
| if test -n "$NETSNMP_CONFIG"; then |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NETSNMP_CONFIG" >&5 |
| $as_echo "$NETSNMP_CONFIG" >&6; } |
| else |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| $as_echo "no" >&6; } |
| fi |
| |
| |
| fi |
| if test -z "$ac_cv_path_NETSNMP_CONFIG"; then |
| ac_pt_NETSNMP_CONFIG=$NETSNMP_CONFIG |
| # Extract the first word of "net-snmp-config", so it can be a program name with args. |
| set dummy net-snmp-config; 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_path_ac_pt_NETSNMP_CONFIG+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| case $ac_pt_NETSNMP_CONFIG in |
| [\\/]* | ?:[\\/]*) |
| ac_cv_path_ac_pt_NETSNMP_CONFIG="$ac_pt_NETSNMP_CONFIG" # Let the user override the test with a path. |
| ;; |
| *) |
| 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_path_ac_pt_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| $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 |
| |
| ;; |
| esac |
| fi |
| ac_pt_NETSNMP_CONFIG=$ac_cv_path_ac_pt_NETSNMP_CONFIG |
| if test -n "$ac_pt_NETSNMP_CONFIG"; then |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_NETSNMP_CONFIG" >&5 |
| $as_echo "$ac_pt_NETSNMP_CONFIG" >&6; } |
| else |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| $as_echo "no" >&6; } |
| fi |
| |
| if test "x$ac_pt_NETSNMP_CONFIG" = x; then |
| NETSNMP_CONFIG="no" |
| else |
| case $cross_compiling:$ac_tool_warned in |
| yes:) |
| { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| ac_tool_warned=yes ;; |
| esac |
| NETSNMP_CONFIG=$ac_pt_NETSNMP_CONFIG |
| fi |
| else |
| NETSNMP_CONFIG="$ac_cv_path_NETSNMP_CONFIG" |
| fi |
| |
| if test x"$NETSNMP_CONFIG" = x"no"; then |
| as_fn_error $? "--enable-snmp given but unable to find net-snmp-config" "$LINENO" 5 |
| fi |
| LIBS="$LIBS `${NETSNMP_CONFIG} --agent-libs`" |
| CFLAGS="`${NETSNMP_CONFIG} --base-cflags` $CFLAGS" |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can link to Net-SNMP" >&5 |
| $as_echo_n "checking whether we can link to Net-SNMP... " >&6; } |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
/* Override any GCC internal prototype to avoid an error. | int main(void); |
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 asn_parse_int (); | |
int |
int |
main () |
main () |
{ |
{ |
return asn_parse_int (); | |
| { |
| return 0; |
| } |
| |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
if ac_fn_c_try_link "$LINENO"; then : |
if ac_fn_c_try_link "$LINENO"; then : |
ac_cv_lib_netsnmp_asn_parse_int=yes | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| $as_echo "yes" >&6; } |
else |
else |
ac_cv_lib_netsnmp_asn_parse_int=no | |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| $as_echo "no" >&6; } |
| as_fn_error $? "--enable-snmp given but not usable" "$LINENO" 5 |
fi |
fi |
rm -f core conftest.err conftest.$ac_objext \ |
rm -f core conftest.err conftest.$ac_objext \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS | |
| $as_echo "#define HAVE_SNMP /**/" >>confdefs.h |
| |
| case "${enable_snmp}" in |
| yes) |
| SNMP_METHOD=agentx |
| ;; |
| smux|agentx) |
| SNMP_METHOD="${enable_snmp}" |
| ;; |
| *) |
| as_fn_error $? "--enable-snmp given with an unknown method (${enable_snmp}). Use smux or agentx" "$LINENO" 5 |
| ;; |
| esac |
| |
| |
| |
| cat >>confdefs.h <<_ACEOF |
| #define `$as_echo "SNMP_${SNMP_METHOD}" | $as_tr_cpp` /**/ |
| _ACEOF |
| |
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_netsnmp_asn_parse_int" >&5 |
|
$as_echo "$ac_cv_lib_netsnmp_asn_parse_int" >&6; } |
|
if test "x$ac_cv_lib_netsnmp_asn_parse_int" = xyes; then : |
|
|
|
$as_echo "#define HAVE_NETSNMP /**/" >>confdefs.h | ac_fn_c_check_type "$LINENO" "struct sockaddr" "ac_cv_type_struct_sockaddr" "#ifdef SUNOS_5 |
| #define _XPG4_2 |
| #define __EXTENSIONS__ |
| #endif |
| #include <stdio.h> |
| #if STDC_HEADERS |
| # include <stdlib.h> |
| # include <stddef.h> |
| #else |
| # if HAVE_STDLIB_H |
| # include <stdlib.h> |
| # endif |
| #endif |
| #if HAVE_SYS_TYPES_H |
| # include <sys/types.h> |
| #endif |
| /* sys/conf.h depends on param.h on FBSD at least */ |
| #if HAVE_SYS_PARAM_H |
| # include <sys/param.h> |
| #endif |
| /* Required for MAXSIG */ |
| #if HAVE_SIGNAL_H |
| # include <signal.h> |
| #endif |
| #if HAVE_SYS_SOCKET_H |
| # include <sys/socket.h> |
| #endif |
| #ifdef __APPLE__ |
| # define __APPLE_USE_RFC_3542 |
| #endif |
| #if HAVE_NETINET_IN_H |
| # include <netinet/in.h> |
| #endif |
| #ifdef TIME_WITH_SYS_TIME |
| # include <sys/time.h> |
| # include <time.h> |
| #else |
| # ifdef HAVE_SYS_TIME_H |
| # include <sys/time.h> |
| # else |
| # include <time.h> |
| # endif |
| #endif /* TIME_WITH_SYS_TIME */ |
|
|
|
#if HAVE_NET_IF_H |
|
# include <net/if.h> |
|
#endif |
|
|
$as_echo "#define HAVE_SNMP /**/" >>confdefs.h | #if HAVE_NET_IF_VAR_H |
| # include <net/if_var.h> |
| #endif |
|
|
LIBS="${LIBS} -lnetsnmp" | #if HAVE_SYS_UN_H |
else | # include <sys/un.h> |
as_fn_error $? "--enable-snmp given, but cannot find support for SNMP" "$LINENO" 5 | #endif |
| #if HAVE_NETINET_IN_SYSTM_H |
| # include <netinet/in_systm.h> |
| #endif |
| #if HAVE_NETINET_IN_VAR_H |
| # include <netinet/in_var.h> |
| #endif |
| #if HAVE_NET_IF_DL_H |
| # include <net/if_dl.h> |
| #endif |
| #if HAVE_NET_NETOPT_H |
| # include <net/netopt.h> |
| #endif |
| #if HAVE_NET_ROUTE_H |
| # include <net/route.h> |
| #endif |
| #if HAVE_INET_ND_H |
| # include <inet/nd.h> |
| #endif |
| #if HAVE_ARPA_INET_H |
| # include <arpa/inet.h> |
| #endif |
| /* Required for IDRP */ |
| #if HAVE_NETINET_IP_ICMP_H |
| # include <netinet/ip_icmp.h> |
| #endif |
| |
| #if HAVE_NETINET6_IN6_H |
| #include <netinet6/in6.h> |
| #endif |
| #if HAVE_NETINET_IN6_VAR_H |
| #include <netinet/in6_var.h> |
| #endif |
| #if HAVE_NETINET_ICMP6_H |
| # include <netinet/icmp6.h> |
| #endif |
| #if HAVE_NETINET6_IN6_VAR_H |
| # include <netinet6/in6_var.h> |
| #endif |
| #if HAVE_NETINET6_ND6_H |
| # include <netinet6/nd6.h> |
| #endif |
| |
| " |
| if test "x$ac_cv_type_struct_sockaddr" = xyes; then : |
| |
| cat >>confdefs.h <<_ACEOF |
| #define HAVE_STRUCT_SOCKADDR 1 |
| _ACEOF |
| |
| |
fi |
fi |
|
ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#ifdef SUNOS_5 |
|
#define _XPG4_2 |
|
#define __EXTENSIONS__ |
|
#endif |
|
#include <stdio.h> |
|
#if STDC_HEADERS |
|
# include <stdlib.h> |
|
# include <stddef.h> |
|
#else |
|
# if HAVE_STDLIB_H |
|
# include <stdlib.h> |
|
# endif |
|
#endif |
|
#if HAVE_SYS_TYPES_H |
|
# include <sys/types.h> |
|
#endif |
|
/* sys/conf.h depends on param.h on FBSD at least */ |
|
#if HAVE_SYS_PARAM_H |
|
# include <sys/param.h> |
|
#endif |
|
/* Required for MAXSIG */ |
|
#if HAVE_SIGNAL_H |
|
# include <signal.h> |
|
#endif |
|
#if HAVE_SYS_SOCKET_H |
|
# include <sys/socket.h> |
|
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
|
#if HAVE_NETINET_IN_H |
|
# include <netinet/in.h> |
|
#endif |
|
#ifdef TIME_WITH_SYS_TIME |
|
# include <sys/time.h> |
|
# include <time.h> |
|
#else |
|
# ifdef HAVE_SYS_TIME_H |
|
# include <sys/time.h> |
|
# else |
|
# include <time.h> |
|
# endif |
|
#endif /* TIME_WITH_SYS_TIME */ |
|
|
|
#if HAVE_NET_IF_H |
|
# include <net/if.h> |
|
#endif |
|
|
ac_fn_c_check_header_compile "$LINENO" "net-snmp/net-snmp-config.h" "ac_cv_header_net_snmp_net_snmp_config_h" "#ifdef SUNOS_5 | #if HAVE_NET_IF_VAR_H |
| # include <net/if_var.h> |
| #endif |
| |
| #if HAVE_SYS_UN_H |
| # include <sys/un.h> |
| #endif |
| #if HAVE_NETINET_IN_SYSTM_H |
| # include <netinet/in_systm.h> |
| #endif |
| #if HAVE_NETINET_IN_VAR_H |
| # include <netinet/in_var.h> |
| #endif |
| #if HAVE_NET_IF_DL_H |
| # include <net/if_dl.h> |
| #endif |
| #if HAVE_NET_NETOPT_H |
| # include <net/netopt.h> |
| #endif |
| #if HAVE_NET_ROUTE_H |
| # include <net/route.h> |
| #endif |
| #if HAVE_INET_ND_H |
| # include <inet/nd.h> |
| #endif |
| #if HAVE_ARPA_INET_H |
| # include <arpa/inet.h> |
| #endif |
| /* Required for IDRP */ |
| #if HAVE_NETINET_IP_ICMP_H |
| # include <netinet/ip_icmp.h> |
| #endif |
| |
| #if HAVE_NETINET6_IN6_H |
| #include <netinet6/in6.h> |
| #endif |
| #if HAVE_NETINET_IN6_VAR_H |
| #include <netinet/in6_var.h> |
| #endif |
| #if HAVE_NETINET_ICMP6_H |
| # include <netinet/icmp6.h> |
| #endif |
| #if HAVE_NETINET6_IN6_VAR_H |
| # include <netinet6/in6_var.h> |
| #endif |
| #if HAVE_NETINET6_ND6_H |
| # include <netinet6/nd6.h> |
| #endif |
| |
| " |
| if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then : |
| |
| cat >>confdefs.h <<_ACEOF |
| #define HAVE_STRUCT_SOCKADDR_IN 1 |
| _ACEOF |
| |
| |
| fi |
| ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#ifdef SUNOS_5 |
#define _XPG4_2 |
#define _XPG4_2 |
#define __EXTENSIONS__ |
#define __EXTENSIONS__ |
#endif |
#endif |
Line 17790 fi
|
Line 19457 fi
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 17858 fi
|
Line 19528 fi
|
#endif |
#endif |
|
|
" |
" |
if test "x$ac_cv_header_net_snmp_net_snmp_config_h" = xyes; then : | if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then : |
|
|
else | cat >>confdefs.h <<_ACEOF |
as_fn_error $? "--enable-snmp given, but cannot find net-snmp-config.h" "$LINENO" 5 | #define HAVE_STRUCT_SOCKADDR_IN6 1 |
| _ACEOF |
| |
| |
fi |
fi |
|
ac_fn_c_check_type "$LINENO" "struct sockaddr_un" "ac_cv_type_struct_sockaddr_un" "#ifdef SUNOS_5 |
|
#define _XPG4_2 |
|
#define __EXTENSIONS__ |
|
#endif |
|
#include <stdio.h> |
|
#if STDC_HEADERS |
|
# include <stdlib.h> |
|
# include <stddef.h> |
|
#else |
|
# if HAVE_STDLIB_H |
|
# include <stdlib.h> |
|
# endif |
|
#endif |
|
#if HAVE_SYS_TYPES_H |
|
# include <sys/types.h> |
|
#endif |
|
/* sys/conf.h depends on param.h on FBSD at least */ |
|
#if HAVE_SYS_PARAM_H |
|
# include <sys/param.h> |
|
#endif |
|
/* Required for MAXSIG */ |
|
#if HAVE_SIGNAL_H |
|
# include <signal.h> |
|
#endif |
|
#if HAVE_SYS_SOCKET_H |
|
# include <sys/socket.h> |
|
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
|
#if HAVE_NETINET_IN_H |
|
# include <netinet/in.h> |
|
#endif |
|
#ifdef TIME_WITH_SYS_TIME |
|
# include <sys/time.h> |
|
# include <time.h> |
|
#else |
|
# ifdef HAVE_SYS_TIME_H |
|
# include <sys/time.h> |
|
# else |
|
# include <time.h> |
|
# endif |
|
#endif /* TIME_WITH_SYS_TIME */ |
|
|
|
#if HAVE_NET_IF_H |
|
# include <net/if.h> |
|
#endif |
|
|
|
#if HAVE_NET_IF_VAR_H |
|
# include <net/if_var.h> |
|
#endif |
|
|
|
#if HAVE_SYS_UN_H |
|
# include <sys/un.h> |
|
#endif |
|
#if HAVE_NETINET_IN_SYSTM_H |
|
# include <netinet/in_systm.h> |
|
#endif |
|
#if HAVE_NETINET_IN_VAR_H |
|
# include <netinet/in_var.h> |
|
#endif |
|
#if HAVE_NET_IF_DL_H |
|
# include <net/if_dl.h> |
|
#endif |
|
#if HAVE_NET_NETOPT_H |
|
# include <net/netopt.h> |
|
#endif |
|
#if HAVE_NET_ROUTE_H |
|
# include <net/route.h> |
|
#endif |
|
#if HAVE_INET_ND_H |
|
# include <inet/nd.h> |
|
#endif |
|
#if HAVE_ARPA_INET_H |
|
# include <arpa/inet.h> |
|
#endif |
|
/* Required for IDRP */ |
|
#if HAVE_NETINET_IP_ICMP_H |
|
# include <netinet/ip_icmp.h> |
|
#endif |
|
|
|
#if HAVE_NETINET6_IN6_H |
|
#include <netinet6/in6.h> |
|
#endif |
|
#if HAVE_NETINET_IN6_VAR_H |
|
#include <netinet/in6_var.h> |
|
#endif |
|
#if HAVE_NETINET_ICMP6_H |
|
# include <netinet/icmp6.h> |
|
#endif |
|
#if HAVE_NETINET6_IN6_VAR_H |
|
# include <netinet6/in6_var.h> |
|
#endif |
|
#if HAVE_NETINET6_ND6_H |
|
# include <netinet6/nd6.h> |
|
#endif |
|
|
|
" |
|
if test "x$ac_cv_type_struct_sockaddr_un" = xyes; then : |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_STRUCT_SOCKADDR_UN 1 |
|
_ACEOF |
|
|
|
|
fi |
fi |
|
ac_fn_c_check_type "$LINENO" "struct sockaddr_dl" "ac_cv_type_struct_sockaddr_dl" "#ifdef SUNOS_5 |
|
#define _XPG4_2 |
|
#define __EXTENSIONS__ |
|
#endif |
|
#include <stdio.h> |
|
#if STDC_HEADERS |
|
# include <stdlib.h> |
|
# include <stddef.h> |
|
#else |
|
# if HAVE_STDLIB_H |
|
# include <stdlib.h> |
|
# endif |
|
#endif |
|
#if HAVE_SYS_TYPES_H |
|
# include <sys/types.h> |
|
#endif |
|
/* sys/conf.h depends on param.h on FBSD at least */ |
|
#if HAVE_SYS_PARAM_H |
|
# include <sys/param.h> |
|
#endif |
|
/* Required for MAXSIG */ |
|
#if HAVE_SIGNAL_H |
|
# include <signal.h> |
|
#endif |
|
#if HAVE_SYS_SOCKET_H |
|
# include <sys/socket.h> |
|
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
|
#if HAVE_NETINET_IN_H |
|
# include <netinet/in.h> |
|
#endif |
|
#ifdef TIME_WITH_SYS_TIME |
|
# include <sys/time.h> |
|
# include <time.h> |
|
#else |
|
# ifdef HAVE_SYS_TIME_H |
|
# include <sys/time.h> |
|
# else |
|
# include <time.h> |
|
# endif |
|
#endif /* TIME_WITH_SYS_TIME */ |
|
|
ac_fn_c_check_type "$LINENO" "struct sockaddr" "ac_cv_type_struct_sockaddr" "#ifdef SUNOS_5 | #if HAVE_NET_IF_H |
| # include <net/if.h> |
| #endif |
| |
| #if HAVE_NET_IF_VAR_H |
| # include <net/if_var.h> |
| #endif |
| |
| #if HAVE_SYS_UN_H |
| # include <sys/un.h> |
| #endif |
| #if HAVE_NETINET_IN_SYSTM_H |
| # include <netinet/in_systm.h> |
| #endif |
| #if HAVE_NETINET_IN_VAR_H |
| # include <netinet/in_var.h> |
| #endif |
| #if HAVE_NET_IF_DL_H |
| # include <net/if_dl.h> |
| #endif |
| #if HAVE_NET_NETOPT_H |
| # include <net/netopt.h> |
| #endif |
| #if HAVE_NET_ROUTE_H |
| # include <net/route.h> |
| #endif |
| #if HAVE_INET_ND_H |
| # include <inet/nd.h> |
| #endif |
| #if HAVE_ARPA_INET_H |
| # include <arpa/inet.h> |
| #endif |
| /* Required for IDRP */ |
| #if HAVE_NETINET_IP_ICMP_H |
| # include <netinet/ip_icmp.h> |
| #endif |
| |
| #if HAVE_NETINET6_IN6_H |
| #include <netinet6/in6.h> |
| #endif |
| #if HAVE_NETINET_IN6_VAR_H |
| #include <netinet/in6_var.h> |
| #endif |
| #if HAVE_NETINET_ICMP6_H |
| # include <netinet/icmp6.h> |
| #endif |
| #if HAVE_NETINET6_IN6_VAR_H |
| # include <netinet6/in6_var.h> |
| #endif |
| #if HAVE_NETINET6_ND6_H |
| # include <netinet6/nd6.h> |
| #endif |
| |
| " |
| if test "x$ac_cv_type_struct_sockaddr_dl" = xyes; then : |
| |
| cat >>confdefs.h <<_ACEOF |
| #define HAVE_STRUCT_SOCKADDR_DL 1 |
| _ACEOF |
| |
| |
| fi |
| ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#ifdef SUNOS_5 |
#define _XPG4_2 |
#define _XPG4_2 |
#define __EXTENSIONS__ |
#define __EXTENSIONS__ |
#endif |
#endif |
Line 17895 ac_fn_c_check_type "$LINENO" "struct sockaddr" "ac_cv_
|
Line 19775 ac_fn_c_check_type "$LINENO" "struct sockaddr" "ac_cv_
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 17963 ac_fn_c_check_type "$LINENO" "struct sockaddr" "ac_cv_
|
Line 19846 ac_fn_c_check_type "$LINENO" "struct sockaddr" "ac_cv_
|
#endif |
#endif |
|
|
" |
" |
if test "x$ac_cv_type_struct_sockaddr" = xyes; then : | if test "x$ac_cv_type_socklen_t" = xyes; then : |
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_STRUCT_SOCKADDR 1 | #define HAVE_SOCKLEN_T 1 |
_ACEOF |
_ACEOF |
|
|
|
|
fi |
fi |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#ifdef SUNOS_5 | ac_fn_c_check_type "$LINENO" "struct vifctl" "ac_cv_type_struct_vifctl" "#ifdef SUNOS_5 |
#define _XPG4_2 |
#define _XPG4_2 |
#define __EXTENSIONS__ |
#define __EXTENSIONS__ |
#endif |
#endif |
Line 17998 ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_
|
Line 19881 ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 18066 ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_
|
Line 19952 ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_
|
#endif |
#endif |
|
|
" |
" |
if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then : | if test "x$ac_cv_type_struct_vifctl" = xyes; then : |
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_STRUCT_SOCKADDR_IN 1 | #define HAVE_STRUCT_VIFCTL 1 |
_ACEOF |
_ACEOF |
|
|
|
|
fi |
fi |
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#ifdef SUNOS_5 | ac_fn_c_check_type "$LINENO" "struct mfcctl" "ac_cv_type_struct_mfcctl" "#ifdef SUNOS_5 |
#define _XPG4_2 |
#define _XPG4_2 |
#define __EXTENSIONS__ |
#define __EXTENSIONS__ |
#endif |
#endif |
Line 18101 ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac
|
Line 19987 ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 18169 ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac
|
Line 20058 ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac
|
#endif |
#endif |
|
|
" |
" |
if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then : | if test "x$ac_cv_type_struct_mfcctl" = xyes; then : |
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_STRUCT_MFCCTL 1 |
_ACEOF |
_ACEOF |
|
|
|
|
fi |
fi |
ac_fn_c_check_type "$LINENO" "struct sockaddr_un" "ac_cv_type_struct_sockaddr_un" "#ifdef SUNOS_5 | ac_fn_c_check_type "$LINENO" "struct sioc_sg_req" "ac_cv_type_struct_sioc_sg_req" "#ifdef SUNOS_5 |
#define _XPG4_2 |
#define _XPG4_2 |
#define __EXTENSIONS__ |
#define __EXTENSIONS__ |
#endif |
#endif |
Line 18204 ac_fn_c_check_type "$LINENO" "struct sockaddr_un" "ac_
|
Line 20093 ac_fn_c_check_type "$LINENO" "struct sockaddr_un" "ac_
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 18272 ac_fn_c_check_type "$LINENO" "struct sockaddr_un" "ac_
|
Line 20164 ac_fn_c_check_type "$LINENO" "struct sockaddr_un" "ac_
|
#endif |
#endif |
|
|
" |
" |
if test "x$ac_cv_type_struct_sockaddr_un" = xyes; then : | if test "x$ac_cv_type_struct_sioc_sg_req" = xyes; then : |
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_STRUCT_SOCKADDR_UN 1 | #define HAVE_STRUCT_SIOC_SG_REQ 1 |
_ACEOF |
_ACEOF |
|
|
|
|
fi |
fi |
ac_fn_c_check_type "$LINENO" "struct sockaddr_dl" "ac_cv_type_struct_sockaddr_dl" "#ifdef SUNOS_5 | ac_fn_c_check_type "$LINENO" "vifi_t" "ac_cv_type_vifi_t" "#ifdef SUNOS_5 |
#define _XPG4_2 |
#define _XPG4_2 |
#define __EXTENSIONS__ |
#define __EXTENSIONS__ |
#endif |
#endif |
Line 18307 ac_fn_c_check_type "$LINENO" "struct sockaddr_dl" "ac_
|
Line 20199 ac_fn_c_check_type "$LINENO" "struct sockaddr_dl" "ac_
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 18375 ac_fn_c_check_type "$LINENO" "struct sockaddr_dl" "ac_
|
Line 20270 ac_fn_c_check_type "$LINENO" "struct sockaddr_dl" "ac_
|
#endif |
#endif |
|
|
" |
" |
if test "x$ac_cv_type_struct_sockaddr_dl" = xyes; then : | if test "x$ac_cv_type_vifi_t" = xyes; then : |
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_STRUCT_SOCKADDR_DL 1 | #define HAVE_VIFI_T 1 |
_ACEOF |
_ACEOF |
|
|
|
|
fi |
fi |
ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#ifdef SUNOS_5 | ac_fn_c_check_type "$LINENO" "struct sioc_vif_req" "ac_cv_type_struct_sioc_vif_req" "#ifdef SUNOS_5 |
#define _XPG4_2 |
#define _XPG4_2 |
#define __EXTENSIONS__ |
#define __EXTENSIONS__ |
#endif |
#endif |
Line 18410 ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_s
|
Line 20305 ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_s
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 18478 ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_s
|
Line 20376 ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_s
|
#endif |
#endif |
|
|
" |
" |
if test "x$ac_cv_type_socklen_t" = xyes; then : | if test "x$ac_cv_type_struct_sioc_vif_req" = xyes; then : |
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_SOCKLEN_T 1 | #define HAVE_STRUCT_SIOC_VIF_REQ 1 |
_ACEOF |
_ACEOF |
|
|
|
|
fi |
fi |
|
ac_fn_c_check_type "$LINENO" "struct igmpmsg" "ac_cv_type_struct_igmpmsg" "#ifdef SUNOS_5 |
|
#define _XPG4_2 |
|
#define __EXTENSIONS__ |
|
#endif |
|
#include <stdio.h> |
|
#if STDC_HEADERS |
|
# include <stdlib.h> |
|
# include <stddef.h> |
|
#else |
|
# if HAVE_STDLIB_H |
|
# include <stdlib.h> |
|
# endif |
|
#endif |
|
#if HAVE_SYS_TYPES_H |
|
# include <sys/types.h> |
|
#endif |
|
/* sys/conf.h depends on param.h on FBSD at least */ |
|
#if HAVE_SYS_PARAM_H |
|
# include <sys/param.h> |
|
#endif |
|
/* Required for MAXSIG */ |
|
#if HAVE_SIGNAL_H |
|
# include <signal.h> |
|
#endif |
|
#if HAVE_SYS_SOCKET_H |
|
# include <sys/socket.h> |
|
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
|
#if HAVE_NETINET_IN_H |
|
# include <netinet/in.h> |
|
#endif |
|
#ifdef TIME_WITH_SYS_TIME |
|
# include <sys/time.h> |
|
# include <time.h> |
|
#else |
|
# ifdef HAVE_SYS_TIME_H |
|
# include <sys/time.h> |
|
# else |
|
# include <time.h> |
|
# endif |
|
#endif /* TIME_WITH_SYS_TIME */ |
|
|
|
#if HAVE_NET_IF_H |
|
# include <net/if.h> |
|
#endif |
|
|
|
#if HAVE_NET_IF_VAR_H |
|
# include <net/if_var.h> |
|
#endif |
|
|
|
#if HAVE_SYS_UN_H |
|
# include <sys/un.h> |
|
#endif |
|
#if HAVE_NETINET_IN_SYSTM_H |
|
# include <netinet/in_systm.h> |
|
#endif |
|
#if HAVE_NETINET_IN_VAR_H |
|
# include <netinet/in_var.h> |
|
#endif |
|
#if HAVE_NET_IF_DL_H |
|
# include <net/if_dl.h> |
|
#endif |
|
#if HAVE_NET_NETOPT_H |
|
# include <net/netopt.h> |
|
#endif |
|
#if HAVE_NET_ROUTE_H |
|
# include <net/route.h> |
|
#endif |
|
#if HAVE_INET_ND_H |
|
# include <inet/nd.h> |
|
#endif |
|
#if HAVE_ARPA_INET_H |
|
# include <arpa/inet.h> |
|
#endif |
|
/* Required for IDRP */ |
|
#if HAVE_NETINET_IP_ICMP_H |
|
# include <netinet/ip_icmp.h> |
|
#endif |
|
|
|
#if HAVE_NETINET6_IN6_H |
|
#include <netinet6/in6.h> |
|
#endif |
|
#if HAVE_NETINET_IN6_VAR_H |
|
#include <netinet/in6_var.h> |
|
#endif |
|
#if HAVE_NETINET_ICMP6_H |
|
# include <netinet/icmp6.h> |
|
#endif |
|
#if HAVE_NETINET6_IN6_VAR_H |
|
# include <netinet6/in6_var.h> |
|
#endif |
|
#if HAVE_NETINET6_ND6_H |
|
# include <netinet6/nd6.h> |
|
#endif |
|
|
|
" |
|
if test "x$ac_cv_type_struct_igmpmsg" = xyes; then : |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_STRUCT_IGMPMSG 1 |
|
_ACEOF |
|
|
|
|
|
fi |
ac_fn_c_check_type "$LINENO" "struct ifaliasreq" "ac_cv_type_struct_ifaliasreq" "#ifdef SUNOS_5 |
ac_fn_c_check_type "$LINENO" "struct ifaliasreq" "ac_cv_type_struct_ifaliasreq" "#ifdef SUNOS_5 |
#define _XPG4_2 |
#define _XPG4_2 |
#define __EXTENSIONS__ |
#define __EXTENSIONS__ |
Line 18513 ac_fn_c_check_type "$LINENO" "struct ifaliasreq" "ac_c
|
Line 20517 ac_fn_c_check_type "$LINENO" "struct ifaliasreq" "ac_c
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 18616 ac_fn_c_check_type "$LINENO" "struct if6_aliasreq" "ac
|
Line 20623 ac_fn_c_check_type "$LINENO" "struct if6_aliasreq" "ac
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 18719 ac_fn_c_check_type "$LINENO" "struct in6_aliasreq" "ac
|
Line 20729 ac_fn_c_check_type "$LINENO" "struct in6_aliasreq" "ac
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 18822 ac_fn_c_check_type "$LINENO" "struct nd_opt_adv_interv
|
Line 20835 ac_fn_c_check_type "$LINENO" "struct nd_opt_adv_interv
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 18925 ac_fn_c_check_type "$LINENO" "struct rt_addrinfo" "ac_
|
Line 20941 ac_fn_c_check_type "$LINENO" "struct rt_addrinfo" "ac_
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 19028 ac_fn_c_check_type "$LINENO" "struct nd_opt_homeagent_
|
Line 21047 ac_fn_c_check_type "$LINENO" "struct nd_opt_homeagent_
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 19131 ac_fn_c_check_type "$LINENO" "struct nd_opt_adv_interv
|
Line 21153 ac_fn_c_check_type "$LINENO" "struct nd_opt_adv_interv
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 19236 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_l
|
Line 21261 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_l
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 19339 ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "s
|
Line 21367 ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "s
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 19442 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "s
|
Line 21473 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "s
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 19545 ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "
|
Line 21579 ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 19621 _ACEOF
|
Line 21658 _ACEOF
|
|
|
|
|
fi |
fi |
|
ac_fn_c_check_member "$LINENO" "struct sockaddr_dl" "sdl_len" "ac_cv_member_struct_sockaddr_dl_sdl_len" "#ifdef SUNOS_5 |
|
#define _XPG4_2 |
|
#define __EXTENSIONS__ |
|
#endif |
|
#include <stdio.h> |
|
#if STDC_HEADERS |
|
# include <stdlib.h> |
|
# include <stddef.h> |
|
#else |
|
# if HAVE_STDLIB_H |
|
# include <stdlib.h> |
|
# endif |
|
#endif |
|
#if HAVE_SYS_TYPES_H |
|
# include <sys/types.h> |
|
#endif |
|
/* sys/conf.h depends on param.h on FBSD at least */ |
|
#if HAVE_SYS_PARAM_H |
|
# include <sys/param.h> |
|
#endif |
|
/* Required for MAXSIG */ |
|
#if HAVE_SIGNAL_H |
|
# include <signal.h> |
|
#endif |
|
#if HAVE_SYS_SOCKET_H |
|
# include <sys/socket.h> |
|
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
|
#if HAVE_NETINET_IN_H |
|
# include <netinet/in.h> |
|
#endif |
|
#ifdef TIME_WITH_SYS_TIME |
|
# include <sys/time.h> |
|
# include <time.h> |
|
#else |
|
# ifdef HAVE_SYS_TIME_H |
|
# include <sys/time.h> |
|
# else |
|
# include <time.h> |
|
# endif |
|
#endif /* TIME_WITH_SYS_TIME */ |
|
|
|
#if HAVE_NET_IF_H |
|
# include <net/if.h> |
|
#endif |
|
|
|
#if HAVE_NET_IF_VAR_H |
|
# include <net/if_var.h> |
|
#endif |
|
|
|
#if HAVE_SYS_UN_H |
|
# include <sys/un.h> |
|
#endif |
|
#if HAVE_NETINET_IN_SYSTM_H |
|
# include <netinet/in_systm.h> |
|
#endif |
|
#if HAVE_NETINET_IN_VAR_H |
|
# include <netinet/in_var.h> |
|
#endif |
|
#if HAVE_NET_IF_DL_H |
|
# include <net/if_dl.h> |
|
#endif |
|
#if HAVE_NET_NETOPT_H |
|
# include <net/netopt.h> |
|
#endif |
|
#if HAVE_NET_ROUTE_H |
|
# include <net/route.h> |
|
#endif |
|
#if HAVE_INET_ND_H |
|
# include <inet/nd.h> |
|
#endif |
|
#if HAVE_ARPA_INET_H |
|
# include <arpa/inet.h> |
|
#endif |
|
/* Required for IDRP */ |
|
#if HAVE_NETINET_IP_ICMP_H |
|
# include <netinet/ip_icmp.h> |
|
#endif |
|
|
|
#if HAVE_NETINET6_IN6_H |
|
#include <netinet6/in6.h> |
|
#endif |
|
#if HAVE_NETINET_IN6_VAR_H |
|
#include <netinet/in6_var.h> |
|
#endif |
|
#if HAVE_NETINET_ICMP6_H |
|
# include <netinet/icmp6.h> |
|
#endif |
|
#if HAVE_NETINET6_IN6_VAR_H |
|
# include <netinet6/in6_var.h> |
|
#endif |
|
#if HAVE_NETINET6_ND6_H |
|
# include <netinet6/nd6.h> |
|
#endif |
|
|
|
" |
|
if test "x$ac_cv_member_struct_sockaddr_dl_sdl_len" = xyes; then : |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_STRUCT_SOCKADDR_DL_SDL_LEN 1 |
|
_ACEOF |
|
|
|
|
|
fi |
ac_fn_c_check_member "$LINENO" "struct if6_aliasreq" "ifra_lifetime" "ac_cv_member_struct_if6_aliasreq_ifra_lifetime" "#ifdef SUNOS_5 |
ac_fn_c_check_member "$LINENO" "struct if6_aliasreq" "ifra_lifetime" "ac_cv_member_struct_if6_aliasreq_ifra_lifetime" "#ifdef SUNOS_5 |
#define _XPG4_2 |
#define _XPG4_2 |
#define __EXTENSIONS__ |
#define __EXTENSIONS__ |
Line 19648 ac_fn_c_check_member "$LINENO" "struct if6_aliasreq" "
|
Line 21791 ac_fn_c_check_member "$LINENO" "struct if6_aliasreq" "
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 19751 ac_fn_c_check_member "$LINENO" "struct nd_opt_adv_inte
|
Line 21897 ac_fn_c_check_member "$LINENO" "struct nd_opt_adv_inte
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 19856 ac_fn_c_check_type "$LINENO" "struct in_pktinfo" "ac_c
|
Line 22005 ac_fn_c_check_type "$LINENO" "struct in_pktinfo" "ac_c
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 19957 ac_fn_c_check_type "$LINENO" "struct icmphdr" "ac_cv_t
|
Line 22109 ac_fn_c_check_type "$LINENO" "struct icmphdr" "ac_cv_t
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 20049 else
|
Line 22204 else
|
fi |
fi |
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getrusage is available" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IP_PKTINFO" >&5 |
$as_echo_n "checking whether getrusage is available... " >&6; } | $as_echo_n "checking for IP_PKTINFO... " >&6; } |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include <sys/resource.h> | #include <netdb.h> |
| int |
| main () |
| { |
|
|
|
int opt = IP_PKTINFO; |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
$as_echo "#define HAVE_IP_PKTINFO 1" >>confdefs.h |
|
|
|
|
|
else |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IP_RECVDSTADDR" >&5 |
|
$as_echo_n "checking for IP_RECVDSTADDR... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <netinet/in.h> |
int |
int |
main () |
main () |
{ |
{ |
|
|
|
int opt = IP_RECVDSTADDR; |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
$as_echo "#define HAVE_IP_RECVDSTADDR 1" >>confdefs.h |
|
|
|
|
|
else |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IP_RECVIF" >&5 |
|
$as_echo_n "checking for IP_RECVIF... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <netinet/in.h> |
|
int |
|
main () |
|
{ |
|
|
|
int opt = IP_RECVIF; |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
$as_echo "#define HAVE_IP_RECVIF 1" >>confdefs.h |
|
|
|
|
|
else |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
|
if test "${enable_rusage}" != "no"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getrusage is available" >&5 |
|
$as_echo_n "checking whether getrusage is available... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <sys/resource.h> |
|
int |
|
main () |
|
{ |
struct rusage ac_x; getrusage (RUSAGE_SELF, &ac_x); |
struct rusage ac_x; getrusage (RUSAGE_SELF, &ac_x); |
; |
; |
return 0; |
return 0; |
Line 20074 else
|
Line 22322 else
|
$as_echo "no" >&6; } |
$as_echo "no" >&6; } |
fi |
fi |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
fi |
|
|
ac_fn_c_check_decl "$LINENO" "CLOCK_MONOTONIC" "ac_cv_have_decl_CLOCK_MONOTONIC" "#ifdef SUNOS_5 |
ac_fn_c_check_decl "$LINENO" "CLOCK_MONOTONIC" "ac_cv_have_decl_CLOCK_MONOTONIC" "#ifdef SUNOS_5 |
#define _XPG4_2 |
#define _XPG4_2 |
Line 20102 ac_fn_c_check_decl "$LINENO" "CLOCK_MONOTONIC" "ac_cv_
|
Line 22351 ac_fn_c_check_decl "$LINENO" "CLOCK_MONOTONIC" "ac_cv_
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 20358 $as_echo "#define HAVE_CAPABILITIES 1" >>confdefs.h
|
Line 22610 $as_echo "#define HAVE_CAPABILITIES 1" >>confdefs.h
|
fi |
fi |
|
|
|
|
ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default" | |
| # starting point: no aliasing scheme yet... |
| ax_sys_weak_alias=no |
| |
| # Figure out what kind of aliasing may be supported... |
| # Test whether compiler accepts __attribute__ form of weak aliasing |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts function __attribute__((weak,alias()))" >&5 |
| $as_echo_n "checking whether $CC accepts function __attribute__((weak,alias()))... " >&6; } |
| if ${ax_cv_sys_weak_alias_attribute+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| |
| # We add -Werror if it's gcc to force an error exit if the weak attribute |
| # isn't understood |
| if test $GCC = yes; then : |
| |
| save_CFLAGS=$CFLAGS |
| CFLAGS=-Werror |
| fi |
| |
| # Try linking with a weak alias... |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ |
| |
| |
| void __weakf(int c) {} |
| void weakf(int c) __attribute__((weak, alias("__weakf"))); |
| int |
| main () |
| { |
| weakf(0) |
| ; |
| return 0; |
| } |
| _ACEOF |
| if ac_fn_c_try_link "$LINENO"; then : |
| ax_cv_sys_weak_alias_attribute=yes |
| else |
| ax_cv_sys_weak_alias_attribute=no |
| fi |
| rm -f core conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext conftest.$ac_ext |
| |
| # Restore original CFLAGS |
| if test $GCC = yes; then : |
| |
| CFLAGS=$save_CFLAGS |
| fi |
| |
| fi |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_sys_weak_alias_attribute" >&5 |
| $as_echo "$ax_cv_sys_weak_alias_attribute" >&6; } |
| |
| # What was the result of the test? |
| if test $ax_cv_sys_weak_alias_attribute = yes; then : |
| |
| test $ax_sys_weak_alias = no && ax_sys_weak_alias=attribute |
| |
| $as_echo "#define HAVE_SYS_WEAK_ALIAS_ATTRIBUTE 1" >>confdefs.h |
| |
| |
| fi |
| |
| # Test whether compiler accepts #pragma form of weak aliasing |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports #pragma weak" >&5 |
| $as_echo_n "checking whether $CC supports #pragma weak... " >&6; } |
| if ${ax_cv_sys_weak_alias_pragma+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| |
| |
| # Try linking with a weak alias... |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ |
| |
| |
| extern void weakf(int c); |
| #pragma weak weakf = __weakf |
| void __weakf(int c) {} |
| int |
| main () |
| { |
| weakf(0) |
| ; |
| return 0; |
| } |
| _ACEOF |
| if ac_fn_c_try_link "$LINENO"; then : |
| ax_cv_sys_weak_alias_pragma=yes |
| else |
| ax_cv_sys_weak_alias_pragma=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: $ax_cv_sys_weak_alias_pragma" >&5 |
| $as_echo "$ax_cv_sys_weak_alias_pragma" >&6; } |
| |
| # What was the result of the test? |
| if test $ax_cv_sys_weak_alias_pragma = yes; then : |
| |
| test $ax_sys_weak_alias = no && ax_sys_weak_alias=pragma |
| |
| $as_echo "#define HAVE_SYS_WEAK_ALIAS_PRAGMA 1" >>confdefs.h |
| |
| |
| fi |
| |
| # Test whether compiler accepts _HP_SECONDARY_DEF pragma from HP... |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports #pragma _HP_SECONDARY_DEF" >&5 |
| $as_echo_n "checking whether $CC supports #pragma _HP_SECONDARY_DEF... " >&6; } |
| if ${ax_cv_sys_weak_alias_hpsecondary+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| |
| |
| # Try linking with a weak alias... |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ |
| |
| |
| extern void weakf(int c); |
| #pragma _HP_SECONDARY_DEF __weakf weakf |
| void __weakf(int c) {} |
| int |
| main () |
| { |
| weakf(0) |
| ; |
| return 0; |
| } |
| _ACEOF |
| if ac_fn_c_try_link "$LINENO"; then : |
| ax_cv_sys_weak_alias_hpsecondary=yes |
| else |
| ax_cv_sys_weak_alias_hpsecondary=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: $ax_cv_sys_weak_alias_hpsecondary" >&5 |
| $as_echo "$ax_cv_sys_weak_alias_hpsecondary" >&6; } |
| |
| # What was the result of the test? |
| if test $ax_cv_sys_weak_alias_hpsecondary = yes; then : |
| |
| test $ax_sys_weak_alias = no && ax_sys_weak_alias=hpsecondary |
| |
| $as_echo "#define HAVE_SYS_WEAK_ALIAS_HPSECONDARY 1" >>confdefs.h |
| |
| |
| fi |
| |
| # Test whether compiler accepts "_CRI duplicate" pragma from Cray |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports #pragma _CRI duplicate" >&5 |
| $as_echo_n "checking whether $CC supports #pragma _CRI duplicate... " >&6; } |
| if ${ax_cv_sys_weak_alias_criduplicate+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| |
| |
| # Try linking with a weak alias... |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ |
| |
| |
| extern void weakf(int c); |
| #pragma _CRI duplicate weakf as __weakf |
| void __weakf(int c) {} |
| int |
| main () |
| { |
| weakf(0) |
| ; |
| return 0; |
| } |
| _ACEOF |
| if ac_fn_c_try_link "$LINENO"; then : |
| ax_cv_sys_weak_alias_criduplicate=yes |
| else |
| ax_cv_sys_weak_alias_criduplicate=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: $ax_cv_sys_weak_alias_criduplicate" >&5 |
| $as_echo "$ax_cv_sys_weak_alias_criduplicate" >&6; } |
| |
| # What was the result of the test? |
| if test $ax_cv_sys_weak_alias_criduplicate = yes; then : |
| |
| test $ax_sys_weak_alias = no && ax_sys_weak_alias=criduplicate |
| |
| $as_echo "#define HAVE_SYS_WEAK_ALIAS_CRIDUPLICATE 1" >>confdefs.h |
| |
| |
| fi |
| |
| |
| # Do we actually support aliasing? |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create weak aliases with $CC" >&5 |
| $as_echo_n "checking how to create weak aliases with $CC... " >&6; } |
| if ${ax_cv_sys_weak_alias+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| ax_cv_sys_weak_alias=$ax_sys_weak_alias |
| fi |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_sys_weak_alias" >&5 |
| $as_echo "$ax_cv_sys_weak_alias" >&6; } |
| |
| # OK, set a #define |
| if test $ax_cv_sys_weak_alias != no; then : |
| |
| |
| $as_echo "#define HAVE_SYS_WEAK_ALIAS 1" >>confdefs.h |
| |
| |
| fi |
| |
| # Can aliases cross object file boundaries? |
| # Check to see if weak aliases can cross object file boundaries |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports weak aliases across object file boundaries" >&5 |
| $as_echo_n "checking whether $CC supports weak aliases across object file boundaries... " >&6; } |
| if ${ax_cv_sys_weak_alias_crossfile+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| |
| if test $ax_cv_sys_weak_alias = no; then : |
| ax_cv_sys_weak_alias_crossfile=no |
| else |
| |
| # conftest1 contains our weak alias definition... |
| cat >conftest1.$ac_ext <<_ACEOF |
| /* confdefs.h. */ |
| _ACEOF |
| cat confdefs.h >>conftest1.$ac_ext |
| cat >>conftest1.$ac_ext <<_ACEOF |
| /* end confdefs.h. */ |
| |
| #ifndef HAVE_SYS_WEAK_ALIAS_ATTRIBUTE |
| extern void weakf(int c); |
| #if defined(HAVE_SYS_WEAK_ALIAS_PRAGMA) |
| #pragma weak weakf = __weakf |
| #elif defined(HAVE_SYS_WEAK_ALIAS_HPSECONDARY) |
| #pragma _HP_SECONDARY_DEF __weakf weakf |
| #elif defined(HAVE_SYS_WEAK_ALIAS_CRIDUPLICATE) |
| #pragma _CRI duplicate weakf as __weakf |
| #endif |
| #endif |
| void __weakf(int c) {} |
| #ifdef HAVE_SYS_WEAK_ALIAS_ATTRIBUTE |
| void weakf(int c) __attribute((weak, alias("__weakf"))); |
| #endif |
| _ACEOF |
| # And conftest2 contains our main routine that calls it |
| cat >conftest2.$ac_ext <<_ACEOF |
| /* confdefs.h. */ |
| _ACEOF |
| cat confdefs.h >> conftest2.$ac_ext |
| cat >>conftest2.$ac_ext <<_ACEOF |
| /* end confdefs.h. */ |
| |
| extern void weakf(int c); |
| int |
| main () |
| { |
| weakf(0); |
| return 0; |
| } |
| _ACEOF |
| # We must remove the object files (if any) ourselves... |
| rm -f conftest2.$ac_objext conftest$ac_exeext |
| |
| # Change ac_link to compile *2* files together |
| save_aclink=$ac_link |
| ac_link=`echo "$ac_link" | \ |
| sed -e 's/conftest\(\.\$ac_ext\)/conftest1\1 conftest2\1/'` |
| # Since we created the files ourselves, don't use SOURCE argument |
| if ac_fn_c_try_link "$LINENO"; then : |
| ax_cv_sys_weak_alias_crossfile=yes |
| else |
| ax_cv_sys_weak_alias_crossfile=no |
| fi |
| rm -f core conftest.err conftest.$ac_objext \ |
| conftest$ac_exeext |
| # Restore ac_link |
| ac_link=$save_aclink |
| |
| # We must remove the object files (if any) and C files ourselves... |
| rm -f conftest1.$ac_ext conftest2.$ac_ext \ |
| conftest1.$ac_objext conftest2.$ac_objext |
| |
| fi |
| |
| fi |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_sys_weak_alias_crossfile" >&5 |
| $as_echo "$ax_cv_sys_weak_alias_crossfile" >&6; } |
| |
| # What were the results of the test? |
| if test $ax_cv_sys_weak_alias_crossfile = yes; then : |
| |
| |
| $as_echo "#define HAVE_SYS_WEAK_ALIAS_CROSSFILE 1" >>confdefs.h |
| |
| |
| fi |
| |
| |
| # OK, remember the results |
| WEAK_ALIAS=$ax_cv_sys_weak_alias |
| |
| WEAK_ALIAS_CROSSFILE=$ax_cv_sys_weak_alias_crossfile |
| |
| |
| |
| if test x"${enable_backtrace}" != x"no" ; then |
| backtrace_ok=no |
| ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default" |
if test "x$ac_cv_header_execinfo_h" = xyes; then : |
if test "x$ac_cv_header_execinfo_h" = xyes; then : |
ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace" |
|
if test "x$ac_cv_func_backtrace" = xyes; then : |
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5 |
|
$as_echo_n "checking for library containing backtrace... " >&6; } |
|
if ${ac_cv_search_backtrace+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_func_search_save_LIBS=$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 backtrace (); |
|
int |
|
main () |
|
{ |
|
return backtrace (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
for ac_lib in '' execinfo; do |
|
if test -z "$ac_lib"; then |
|
ac_res="none required" |
|
else |
|
ac_res=-l$ac_lib |
|
LIBS="-l$ac_lib -lm $ac_func_search_save_LIBS" |
|
fi |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_search_backtrace=$ac_res |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext |
|
if ${ac_cv_search_backtrace+:} false; then : |
|
break |
|
fi |
|
done |
|
if ${ac_cv_search_backtrace+:} false; then : |
|
|
|
else |
|
ac_cv_search_backtrace=no |
|
fi |
|
rm conftest.$ac_ext |
|
LIBS=$ac_func_search_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5 |
|
$as_echo "$ac_cv_search_backtrace" >&6; } |
|
ac_res=$ac_cv_search_backtrace |
|
if test "$ac_res" != no; then : |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
|
|
$as_echo "#define HAVE_GLIBC_BACKTRACE /**/" >>confdefs.h |
$as_echo "#define HAVE_GLIBC_BACKTRACE /**/" >>confdefs.h |
|
|
|
|
$as_echo "#define HAVE_STACK_TRACE /**/" >>confdefs.h |
$as_echo "#define HAVE_STACK_TRACE /**/" >>confdefs.h |
|
|
|
backtrace_ok=yes |
|
|
fi |
fi |
|
|
Line 20376 fi
|
Line 23002 fi
|
|
|
|
|
|
|
|
if test x"${enable_backtrace}" = x"yes" -a x"${backtrace_ok}" = x"no"; then |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
as_fn_error $? "failed to find backtrace support |
|
See \`config.log' for more details" "$LINENO" 5; } |
|
fi |
|
fi |
|
|
ac_fn_c_check_header_compile "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "#ifdef SUNOS_5 |
ac_fn_c_check_header_compile "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "#ifdef SUNOS_5 |
#define _XPG4_2 |
#define _XPG4_2 |
#define __EXTENSIONS__ |
#define __EXTENSIONS__ |
Line 20403 ac_fn_c_check_header_compile "$LINENO" "malloc.h" "ac_
|
Line 23037 ac_fn_c_check_header_compile "$LINENO" "malloc.h" "ac_
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 20506 fi
|
Line 23143 fi
|
CONFDATE=`date '+%Y%m%d'` |
CONFDATE=`date '+%Y%m%d'` |
|
|
|
|
# Check whether --enable-pie was given. | if test x"$DEJAGNU" = x |
if test "${enable_pie+set}" = set; then : | then |
enableval=$enable_pie; | DEJAGNU="\$(top_srcdir)/tests/global-conf.exp" |
fi |
fi |
|
RUNTESTDEFAULTFLAGS="-x --tool \$\$tool" |
|
|
if test "$enable_pie" != "no"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts PIE flags" >&5 |
|
$as_echo_n "checking whether $CC accepts PIE flags... " >&6; } |
|
if ${ap_cv_cc_pie+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
|
|
save_CFLAGS=$CFLAGS |
|
save_LDFLAGS=$LDFLAGS |
|
CFLAGS="$CFLAGS -fPIE" |
|
LDFLAGS="$LDFLAGS -pie" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
static int foo[30000]; int main () { return 0; } |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ap_cv_cc_pie=yes |
|
else |
|
ap_cv_cc_pie=no |
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
CFLAGS=$save_CFLAGS |
|
LDFLAGS=$save_LDFLAGS |
|
|
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ap_cv_cc_pie" >&5 |
|
$as_echo "$ap_cv_cc_pie" >&6; } |
|
if test "$ap_cv_cc_pie" = "yes"; then |
|
PICFLAGS="-fPIE" |
|
PILDFLAGS="-pie" |
|
fi |
|
fi |
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking directory to use for state file" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking directory to use for state file" >&5 |
$as_echo_n "checking directory to use for state file... " >&6; } |
$as_echo_n "checking directory to use for state file... " >&6; } |
if test "${prefix}" = "NONE"; then |
if test "${prefix}" = "NONE"; then |
Line 20609 _ACEOF
|
Line 23212 _ACEOF
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
|
#define PATH_PIMD_PID "$quagga_statedir/pimd.pid" |
|
_ACEOF |
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
#define PATH_WATCHQUAGGA_PID "$quagga_statedir/watchquagga.pid" |
#define PATH_WATCHQUAGGA_PID "$quagga_statedir/watchquagga.pid" |
_ACEOF |
_ACEOF |
|
|
Line 20654 _ACEOF
|
Line 23262 _ACEOF
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
|
#define PIM_VTYSH_PATH "$quagga_statedir/pimd.vty" |
|
_ACEOF |
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
#define DAEMON_VTY_DIR "$quagga_statedir" |
#define DAEMON_VTY_DIR "$quagga_statedir" |
_ACEOF |
_ACEOF |
|
|
Line 20696 else
|
Line 23309 else
|
#if HAVE_SYS_SOCKET_H |
#if HAVE_SYS_SOCKET_H |
# include <sys/socket.h> |
# include <sys/socket.h> |
#endif |
#endif |
|
#ifdef __APPLE__ |
|
# define __APPLE_USE_RFC_3542 |
|
#endif |
#if HAVE_NETINET_IN_H |
#if HAVE_NETINET_IN_H |
# include <netinet/in.h> |
# include <netinet/in.h> |
#endif |
#endif |
Line 20785 fi
|
Line 23401 fi
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_htonl_works" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_htonl_works" >&5 |
$as_echo "$ac_cv_htonl_works" >&6; } |
$as_echo "$ac_cv_htonl_works" >&6; } |
|
|
ac_config_files="$ac_config_files Makefile lib/Makefile zebra/Makefile ripd/Makefile ripngd/Makefile bgpd/Makefile ospfd/Makefile watchquagga/Makefile ospf6d/Makefile isisd/Makefile vtysh/Makefile doc/Makefile ospfclient/Makefile tests/Makefile m4/Makefile redhat/Makefile pkgsrc/Makefile redhat/quagga.spec lib/version.h doc/defines.texi isisd/topology/Makefile pkgsrc/bgpd.sh pkgsrc/ospf6d.sh pkgsrc/ospfd.sh pkgsrc/ripd.sh pkgsrc/ripngd.sh pkgsrc/zebra.sh" | ac_config_files="$ac_config_files Makefile lib/Makefile zebra/Makefile ripd/Makefile ripngd/Makefile bgpd/Makefile ospfd/Makefile watchquagga/Makefile ospf6d/Makefile isisd/Makefile vtysh/Makefile doc/Makefile ospfclient/Makefile tests/Makefile m4/Makefile pimd/Makefile tests/bgpd.tests/Makefile tests/libzebra.tests/Makefile redhat/Makefile pkgsrc/Makefile redhat/quagga.spec lib/version.h doc/defines.texi isisd/topology/Makefile pkgsrc/bgpd.sh pkgsrc/ospf6d.sh pkgsrc/ospfd.sh pkgsrc/ripd.sh pkgsrc/ripngd.sh pkgsrc/zebra.sh" |
|
|
ac_config_files="$ac_config_files solaris/Makefile" |
ac_config_files="$ac_config_files solaris/Makefile" |
|
|
Line 20919 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__f
|
Line 23535 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__f
|
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
fi |
fi |
|
if test -z "${HAVE_LATEX_TRUE}" && test -z "${HAVE_LATEX_FALSE}"; then |
|
as_fn_error $? "conditional \"HAVE_LATEX\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
if test -z "${GIT_VERSION_TRUE}" && test -z "${GIT_VERSION_FALSE}"; then |
|
as_fn_error $? "conditional \"GIT_VERSION\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
if test -z "${VTYSH_TRUE}" && test -z "${VTYSH_FALSE}"; then |
|
as_fn_error $? "conditional \"VTYSH\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
|
|
if test -z "${HAVE_NETLINK_TRUE}" && test -z "${HAVE_NETLINK_FALSE}"; then |
|
as_fn_error $? "conditional \"HAVE_NETLINK\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
if test -z "${ZEBRA_TRUE}" && test -z "${ZEBRA_FALSE}"; then |
|
as_fn_error $? "conditional \"ZEBRA\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
if test -z "${BGPD_TRUE}" && test -z "${BGPD_FALSE}"; then |
|
as_fn_error $? "conditional \"BGPD\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
if test -z "${RIPD_TRUE}" && test -z "${RIPD_FALSE}"; then |
|
as_fn_error $? "conditional \"RIPD\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
if test -z "${OSPFD_TRUE}" && test -z "${OSPFD_FALSE}"; then |
|
as_fn_error $? "conditional \"OSPFD\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
if test -z "${WATCHQUAGGA_TRUE}" && test -z "${WATCHQUAGGA_FALSE}"; then |
|
as_fn_error $? "conditional \"WATCHQUAGGA\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
if test -z "${OSPFCLIENT_TRUE}" && test -z "${OSPFCLIENT_FALSE}"; then |
|
as_fn_error $? "conditional \"OSPFCLIENT\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
if test -z "${RIPNGD_TRUE}" && test -z "${RIPNGD_FALSE}"; then |
|
as_fn_error $? "conditional \"RIPNGD\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
if test -z "${OSPF6D_TRUE}" && test -z "${OSPF6D_FALSE}"; then |
|
as_fn_error $? "conditional \"OSPF6D\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
if test -z "${ISISD_TRUE}" && test -z "${ISISD_FALSE}"; then |
|
as_fn_error $? "conditional \"ISISD\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
if test -z "${PIMD_TRUE}" && test -z "${PIMD_FALSE}"; then |
|
as_fn_error $? "conditional \"PIMD\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
|
: "${CONFIG_STATUS=./config.status}" |
: "${CONFIG_STATUS=./config.status}" |
ac_write_fail=0 |
ac_write_fail=0 |
Line 21218 if (echo >conf$$.file) 2>/dev/null; then
|
Line 23890 if (echo >conf$$.file) 2>/dev/null; then
|
# ... but there are two gotchas: |
# ... but there are two gotchas: |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# In both cases, we have to default to `cp -p'. | # In both cases, we have to default to `cp -pR'. |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
elif ln conf$$.file conf$$ 2>/dev/null; then |
elif ln conf$$.file conf$$ 2>/dev/null; then |
as_ln_s=ln |
as_ln_s=ln |
else |
else |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
fi |
fi |
else |
else |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
fi |
fi |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rmdir conf$$.dir 2>/dev/null |
rmdir conf$$.dir 2>/dev/null |
Line 21287 else
|
Line 23959 else
|
as_mkdir_p=false |
as_mkdir_p=false |
fi |
fi |
|
|
if test -x / >/dev/null 2>&1; then |
|
as_test_x='test -x' |
|
else |
|
if ls -dL / >/dev/null 2>&1; then |
|
as_ls_L_option=L |
|
else |
|
as_ls_L_option= |
|
fi |
|
as_test_x=' |
|
eval sh -c '\'' |
|
if test -d "$1"; then |
|
test -d "$1/."; |
|
else |
|
case $1 in #( |
|
-*)set "./$1";; |
|
esac; |
|
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
???[sx]*):;;*)false;;esac;fi |
|
'\'' sh |
|
' |
|
fi |
|
as_executable_p=$as_test_x |
|
|
|
|
# as_fn_executable_p FILE |
|
# ----------------------- |
|
# Test if FILE is an executable regular file. |
|
as_fn_executable_p () |
|
{ |
|
test -f "$1" && test -x "$1" |
|
} # as_fn_executable_p |
|
as_test_x='test -x' |
|
as_executable_p=as_fn_executable_p |
|
|
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
|
Line 21329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
Line 23989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
# 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 Quagga $as_me 0.99.20, which was | This file was extended by Quagga $as_me 1.0.20160315, which was |
generated by GNU Autoconf 2.68. 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 |
Line 21395 _ACEOF
|
Line 24055 _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="\\ |
Quagga config.status 0.99.20 | Quagga config.status 1.0.20160315 |
configured by $0, generated by GNU Autoconf 2.68, | configured by $0, generated by GNU Autoconf 2.69, |
with options \\"\$ac_cs_config\\" |
with options \\"\$ac_cs_config\\" |
|
|
Copyright (C) 2010 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." |
|
|
Line 21490 fi
|
Line 24150 fi
|
_ACEOF |
_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
if \$ac_cs_recheck; then |
if \$ac_cs_recheck; then |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
shift |
shift |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
CONFIG_SHELL='$SHELL' |
CONFIG_SHELL='$SHELL' |
Line 21532 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quo
|
Line 24192 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quo
|
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
|
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
Line 21614 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_sing
|
Line 24275 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_sing
|
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' |
|
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
Line 21670 _LTECHO_EOF'
|
Line 24330 _LTECHO_EOF'
|
# Quote evaled strings. |
# Quote evaled strings. |
for var in SHELL \ |
for var in SHELL \ |
ECHO \ |
ECHO \ |
|
PATH_SEPARATOR \ |
SED \ |
SED \ |
GREP \ |
GREP \ |
EGREP \ |
EGREP \ |
Line 21720 with_gnu_ld \
|
Line 24381 with_gnu_ld \
|
allow_undefined_flag \ |
allow_undefined_flag \ |
no_undefined_flag \ |
no_undefined_flag \ |
hardcode_libdir_flag_spec \ |
hardcode_libdir_flag_spec \ |
hardcode_libdir_flag_spec_ld \ |
|
hardcode_libdir_separator \ |
hardcode_libdir_separator \ |
exclude_expsyms \ |
exclude_expsyms \ |
include_expsyms \ |
include_expsyms \ |
Line 21819 do
|
Line 24479 do
|
"ospfclient/Makefile") CONFIG_FILES="$CONFIG_FILES ospfclient/Makefile" ;; |
"ospfclient/Makefile") CONFIG_FILES="$CONFIG_FILES ospfclient/Makefile" ;; |
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; |
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; |
"m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; |
"m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; |
|
"pimd/Makefile") CONFIG_FILES="$CONFIG_FILES pimd/Makefile" ;; |
|
"tests/bgpd.tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/bgpd.tests/Makefile" ;; |
|
"tests/libzebra.tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/libzebra.tests/Makefile" ;; |
"redhat/Makefile") CONFIG_FILES="$CONFIG_FILES redhat/Makefile" ;; |
"redhat/Makefile") CONFIG_FILES="$CONFIG_FILES redhat/Makefile" ;; |
"pkgsrc/Makefile") CONFIG_FILES="$CONFIG_FILES pkgsrc/Makefile" ;; |
"pkgsrc/Makefile") CONFIG_FILES="$CONFIG_FILES pkgsrc/Makefile" ;; |
"redhat/quagga.spec") CONFIG_FILES="$CONFIG_FILES redhat/quagga.spec" ;; |
"redhat/quagga.spec") CONFIG_FILES="$CONFIG_FILES redhat/quagga.spec" ;; |
Line 22544 $as_echo X"$file" |
|
Line 25207 $as_echo X"$file" |
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
# |
# |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, | # 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
# Inc. | # Foundation, Inc. |
# Written by Gordon Matzigkeit, 1996 |
# Written by Gordon Matzigkeit, 1996 |
# |
# |
# This file is part of GNU Libtool. |
# This file is part of GNU Libtool. |
Line 22599 SHELL=$lt_SHELL
|
Line 25262 SHELL=$lt_SHELL
|
# An echo program that protects backslashes. |
# An echo program that protects backslashes. |
ECHO=$lt_ECHO |
ECHO=$lt_ECHO |
|
|
|
# The PATH separator for the build system. |
|
PATH_SEPARATOR=$lt_PATH_SEPARATOR |
|
|
# The host system. |
# The host system. |
host_alias=$host_alias |
host_alias=$host_alias |
host=$host |
host=$host |
Line 22900 no_undefined_flag=$lt_no_undefined_flag
|
Line 25566 no_undefined_flag=$lt_no_undefined_flag
|
# This must work even if \$libdir does not exist |
# This must work even if \$libdir does not exist |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
|
|
# If ld is used when linking, flag to hardcode \$libdir into a binary |
|
# during linking. This must work even if \$libdir does not exist. |
|
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld |
|
|
|
# Whether we need a single "-rpath" flag with a separated argument. |
# Whether we need a single "-rpath" flag with a separated argument. |
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
|
|
Line 23198 echo "
|
Line 25860 echo "
|
Quagga configuration |
Quagga configuration |
-------------------- |
-------------------- |
quagga version : ${PACKAGE_VERSION} |
quagga version : ${PACKAGE_VERSION} |
host operating system : ${host_os} | host operating system : ${host_os} |
source code location : ${srcdir} |
source code location : ${srcdir} |
compiler : ${CC} |
compiler : ${CC} |
compiler flags : ${CFLAGS} |
compiler flags : ${CFLAGS} |
make : ${MAKE-make} |
make : ${MAKE-make} |
includes : ${INCLUDES} ${SNMP_INCLUDES} |
|
linker flags : ${LDFLAGS} ${LIBS} ${LIBCAP} ${LIBREADLINE} ${LIBM} |
linker flags : ${LDFLAGS} ${LIBS} ${LIBCAP} ${LIBREADLINE} ${LIBM} |
state file directory : ${quagga_statedir} |
state file directory : ${quagga_statedir} |
config file directory : `eval echo \`echo ${sysconfdir}\`` |
config file directory : `eval echo \`echo ${sysconfdir}\`` |