head 1.91; access; symbols pkgsrc-2026Q1:1.91.0.10 pkgsrc-2026Q1-base:1.91 pkgsrc-2025Q4:1.91.0.8 pkgsrc-2025Q4-base:1.91 pkgsrc-2025Q3:1.91.0.6 pkgsrc-2025Q3-base:1.91 pkgsrc-2025Q2:1.91.0.4 pkgsrc-2025Q2-base:1.91 pkgsrc-2025Q1:1.91.0.2 pkgsrc-2025Q1-base:1.91 pkgsrc-2024Q4:1.90.0.8 pkgsrc-2024Q4-base:1.90 pkgsrc-2024Q3:1.90.0.6 pkgsrc-2024Q3-base:1.90 pkgsrc-2024Q2:1.90.0.4 pkgsrc-2024Q2-base:1.90 pkgsrc-2024Q1:1.90.0.2 pkgsrc-2024Q1-base:1.90 pkgsrc-2023Q4:1.89.0.2 pkgsrc-2023Q4-base:1.89 pkgsrc-2023Q3:1.88.0.2 pkgsrc-2023Q3-base:1.88 pkgsrc-2023Q2:1.87.0.26 pkgsrc-2023Q2-base:1.87 pkgsrc-2023Q1:1.87.0.24 pkgsrc-2023Q1-base:1.87 pkgsrc-2022Q4:1.87.0.22 pkgsrc-2022Q4-base:1.87 pkgsrc-2022Q3:1.87.0.20 pkgsrc-2022Q3-base:1.87 pkgsrc-2022Q2:1.87.0.18 pkgsrc-2022Q2-base:1.87 pkgsrc-2022Q1:1.87.0.16 pkgsrc-2022Q1-base:1.87 pkgsrc-2021Q4:1.87.0.14 pkgsrc-2021Q4-base:1.87 pkgsrc-2021Q3:1.87.0.12 pkgsrc-2021Q3-base:1.87 pkgsrc-2021Q2:1.87.0.10 pkgsrc-2021Q2-base:1.87 pkgsrc-2021Q1:1.87.0.8 pkgsrc-2021Q1-base:1.87 pkgsrc-2020Q4:1.87.0.6 pkgsrc-2020Q4-base:1.87 pkgsrc-2020Q3:1.87.0.4 pkgsrc-2020Q3-base:1.87 pkgsrc-2020Q2:1.87.0.2 pkgsrc-2020Q2-base:1.87 pkgsrc-2020Q1:1.86.0.4 pkgsrc-2020Q1-base:1.86 pkgsrc-2019Q4:1.86.0.6 pkgsrc-2019Q4-base:1.86 pkgsrc-2019Q3:1.86.0.2 pkgsrc-2019Q3-base:1.86 pkgsrc-2019Q2:1.85.0.34 pkgsrc-2019Q2-base:1.85 pkgsrc-2019Q1:1.85.0.32 pkgsrc-2019Q1-base:1.85 pkgsrc-2018Q4:1.85.0.30 pkgsrc-2018Q4-base:1.85 pkgsrc-2018Q3:1.85.0.28 pkgsrc-2018Q3-base:1.85 pkgsrc-2018Q2:1.85.0.26 pkgsrc-2018Q2-base:1.85 pkgsrc-2018Q1:1.85.0.24 pkgsrc-2018Q1-base:1.85 pkgsrc-2017Q4:1.85.0.22 pkgsrc-2017Q4-base:1.85 pkgsrc-2017Q3:1.85.0.20 pkgsrc-2017Q3-base:1.85 pkgsrc-2017Q2:1.85.0.16 pkgsrc-2017Q2-base:1.85 pkgsrc-2017Q1:1.85.0.14 pkgsrc-2017Q1-base:1.85 pkgsrc-2016Q4:1.85.0.12 pkgsrc-2016Q4-base:1.85 pkgsrc-2016Q3:1.85.0.10 pkgsrc-2016Q3-base:1.85 pkgsrc-2016Q2:1.85.0.8 pkgsrc-2016Q2-base:1.85 pkgsrc-2016Q1:1.85.0.6 pkgsrc-2016Q1-base:1.85 pkgsrc-2015Q4:1.85.0.4 pkgsrc-2015Q4-base:1.85 pkgsrc-2015Q3:1.85.0.2 pkgsrc-2015Q3-base:1.85 pkgsrc-2015Q2:1.84.0.2 pkgsrc-2015Q2-base:1.84 pkgsrc-2015Q1:1.82.0.6 pkgsrc-2015Q1-base:1.82 pkgsrc-2014Q4:1.82.0.4 pkgsrc-2014Q4-base:1.82 pkgsrc-2014Q3:1.82.0.2 pkgsrc-2014Q3-base:1.82 pkgsrc-2014Q2:1.81.0.4 pkgsrc-2014Q2-base:1.81 pkgsrc-2014Q1:1.81.0.2 pkgsrc-2014Q1-base:1.81 pkgsrc-2013Q4:1.80.0.4 pkgsrc-2013Q4-base:1.80 pkgsrc-2013Q3:1.80.0.2 pkgsrc-2013Q3-base:1.80 pkgsrc-2013Q2:1.79.0.4 pkgsrc-2013Q2-base:1.79 pkgsrc-2013Q1:1.79.0.2 pkgsrc-2013Q1-base:1.79 pkgsrc-2012Q4:1.78.0.4 pkgsrc-2012Q4-base:1.78 pkgsrc-2012Q3:1.78.0.2 pkgsrc-2012Q3-base:1.78 pkgsrc-2012Q2:1.77.0.6 pkgsrc-2012Q2-base:1.77 pkgsrc-2012Q1:1.77.0.4 pkgsrc-2012Q1-base:1.77 pkgsrc-2011Q4:1.77.0.2 pkgsrc-2011Q4-base:1.77 pkgsrc-2011Q3:1.76.0.12 pkgsrc-2011Q3-base:1.76 pkgsrc-2011Q2:1.76.0.10 pkgsrc-2011Q2-base:1.76 pkgsrc-2011Q1:1.76.0.8 pkgsrc-2011Q1-base:1.76 pkgsrc-2010Q4:1.76.0.6 pkgsrc-2010Q4-base:1.76 pkgsrc-2010Q3:1.76.0.4 pkgsrc-2010Q3-base:1.76 pkgsrc-2010Q2:1.76.0.2 pkgsrc-2010Q2-base:1.76 pkgsrc-2010Q1:1.75.0.2 pkgsrc-2010Q1-base:1.75 pkgsrc-2009Q4:1.73.0.6 pkgsrc-2009Q4-base:1.73 pkgsrc-2009Q3:1.73.0.4 pkgsrc-2009Q3-base:1.73 pkgsrc-2009Q2:1.73.0.2 pkgsrc-2009Q2-base:1.73 pkgsrc-2009Q1:1.71.0.2 pkgsrc-2009Q1-base:1.71 pkgsrc-2008Q4:1.69.0.2 pkgsrc-2008Q4-base:1.69 pkgsrc-2008Q3:1.64.0.4 pkgsrc-2008Q3-base:1.64 cube-native-xorg:1.64.0.2 cube-native-xorg-base:1.64 pkgsrc-2008Q2:1.62.0.4 pkgsrc-2008Q2-base:1.62 cwrapper-base:1.62 cwrapper:1.62.0.2 pkgsrc-2008Q1:1.59.0.2 pkgsrc-2008Q1-base:1.59 pkgsrc-2007Q4:1.57.0.4 pkgsrc-2007Q4-base:1.57 pkgsrc-2007Q3:1.57.0.2 pkgsrc-2007Q3-base:1.57 pkgsrc-2007Q2:1.54.0.2 pkgsrc-2007Q2-base:1.54 pkgsrc-2007Q1:1.51.0.6 pkgsrc-2007Q1-base:1.51 pkgsrc-2006Q4:1.51.0.4 pkgsrc-2006Q4-base:1.51 pkgsrc-2006Q3:1.51.0.2 pkgsrc-2006Q3-base:1.51 pkgsrc-2006Q2:1.50.0.4 pkgsrc-2006Q2-base:1.50 pkgsrc-2006Q1:1.50.0.2 pkgsrc-2006Q1-base:1.50 pkgsrc-2005Q4:1.49.0.10 pkgsrc-2005Q4-base:1.49 pkgsrc-2005Q3:1.49.0.8 pkgsrc-2005Q3-base:1.49 pkgsrc-2005Q2:1.49.0.6 pkgsrc-2005Q2-base:1.49 pkgsrc-2005Q1:1.49.0.4 pkgsrc-2005Q1-base:1.49 pkgsrc-2004Q4:1.49.0.2 pkgsrc-2004Q4-base:1.49 pkgsrc-2004Q3:1.48.0.2 pkgsrc-2004Q3-base:1.48 pkgsrc-2004Q2:1.41.0.2 pkgsrc-2004Q2-base:1.41 pkgsrc-2004Q1:1.37.0.2 pkgsrc-2004Q1-base:1.37 pkgsrc-2003Q4:1.29.0.2 pkgsrc-2003Q4-base:1.29 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.91 date 2025.03.05.11.54.23; author nia; state Exp; branches; next 1.90; commitid Zfhoc4ahWQETbSLF; 1.90 date 2024.03.19.00.59.00; author nia; state Exp; branches; next 1.89; commitid ek0TcoUq6pXMQH2F; 1.89 date 2023.11.09.18.55.18; author nia; state Exp; branches; next 1.88; commitid GXMrEiv0HbW31YLE; 1.88 date 2023.06.27.09.30.43; author riastradh; state Exp; branches; next 1.87; commitid QewWBuJkdZstezuE; 1.87 date 2020.05.24.21.51.54; author nia; state Exp; branches; next 1.86; commitid rTErQOMHwwu6Cx9C; 1.86 date 2019.07.08.20.34.54; author sevan; state Exp; branches; next 1.85; commitid 1bqocBJryhOCuhuB; 1.85 date 2015.09.01.23.17.51; author kamil; state Exp; branches; next 1.84; commitid sD9KJDgMOM5uBBzy; 1.84 date 2015.06.08.00.44.46; author joerg; state Exp; branches; next 1.83; commitid 1ESoFR8aAICWPyoy; 1.83 date 2015.04.19.12.23.25; author tnn; state Exp; branches; next 1.82; commitid nQqVPTGZ85nukciy; 1.82 date 2014.07.25.13.26.24; author jperkin; state Exp; branches; next 1.81; commitid 54JNv3qlwSpVhLJx; 1.81 date 2014.03.14.22.08.17; author ryoon; state Exp; branches; next 1.80; commitid Sr4XFBbuzUYfsIsx; 1.80 date 2013.09.08.16.24.43; author ryoon; state Exp; branches; next 1.79; commitid p0BlpA0ez7T1zE4x; 1.79 date 2013.02.10.12.38.52; author obache; state Exp; branches; next 1.78; 1.78 date 2012.07.02.16.02.53; author joerg; state Exp; branches; next 1.77; 1.77 date 2011.12.28.19.19.31; author joerg; state Exp; branches 1.77.6.1; next 1.76; 1.76 date 2010.04.20.00.32.22; author joerg; state Exp; branches; next 1.75; 1.75 date 2010.02.20.15.21.35; author joerg; state Exp; branches; next 1.74; 1.74 date 2010.01.24.12.41.21; author obache; state Exp; branches; next 1.73; 1.73 date 2009.06.05.19.58.04; author joerg; state Exp; branches; next 1.72; 1.72 date 2009.04.13.11.30.46; author joerg; state Exp; branches; next 1.71; 1.71 date 2009.03.22.22.33.13; author joerg; state Exp; branches 1.71.2.1; next 1.70; 1.70 date 2009.02.09.20.35.21; author joerg; state Exp; branches; next 1.69; 1.69 date 2008.11.08.21.35.57; author joerg; state Exp; branches; next 1.68; 1.68 date 2008.10.26.12.31.30; author joerg; state Exp; branches; next 1.67; 1.67 date 2008.10.10.00.21.43; author joerg; state Exp; branches; next 1.66; 1.66 date 2008.10.07.16.03.10; author joerg; state Exp; branches; next 1.65; 1.65 date 2008.10.06.12.36.20; author joerg; state Exp; branches; next 1.64; 1.64 date 2008.09.12.13.47.26; author joerg; state Exp; branches; next 1.63; 1.63 date 2008.09.08.20.20.22; author joerg; state Exp; branches; next 1.62; 1.62 date 2008.05.19.12.52.57; author joerg; state Exp; branches; next 1.61; 1.61 date 2008.04.21.22.24.43; author joerg; state Exp; branches; next 1.60; 1.60 date 2008.04.04.15.19.10; author joerg; state Exp; branches; next 1.59; 1.59 date 2008.03.21.23.28.08; author joerg; state Exp; branches; next 1.58; 1.58 date 2008.02.21.16.50.08; author tnn; state Exp; branches; next 1.57; 1.57 date 2007.09.21.19.51.58; author joerg; state Exp; branches; next 1.56; 1.56 date 2007.07.21.13.57.33; author tnn; state Exp; branches; next 1.55; 1.55 date 2007.07.20.00.21.02; author tnn; state Exp; branches; next 1.54; 1.54 date 2007.06.25.21.35.04; author joerg; state Exp; branches; next 1.53; 1.53 date 2007.05.07.21.41.33; author joerg; state Exp; branches; next 1.52; 1.52 date 2007.05.07.16.38.47; author joerg; state Exp; branches; next 1.51; 1.51 date 2006.08.26.21.28.21; author seb; state Exp; branches; next 1.50; 1.50 date 2006.03.01.16.47.54; author joerg; state Exp; branches; next 1.49; 1.49 date 2004.10.24.11.18.33; author grant; state Exp; branches; next 1.48; 1.48 date 2004.09.11.19.01.40; author jlam; state Exp; branches; next 1.47; 1.47 date 2004.08.23.03.32.12; author jlam; state Exp; branches; next 1.46; 1.46 date 2004.08.21.06.36.13; author jlam; state Exp; branches; next 1.45; 1.45 date 2004.08.16.17.24.56; author jlam; state Exp; branches; next 1.44; 1.44 date 2004.08.13.04.38.02; author jlam; state Exp; branches; next 1.43; 1.43 date 2004.08.10.18.47.55; author jlam; state Exp; branches; next 1.42; 1.42 date 2004.08.06.16.55.09; author jlam; state Exp; branches; next 1.41; 1.41 date 2004.04.23.11.42.46; author grant; state Exp; branches; next 1.40; 1.40 date 2004.04.20.12.13.05; author grant; state Exp; branches; next 1.39; 1.39 date 2004.04.20.10.45.48; author grant; state Exp; branches; next 1.38; 1.38 date 2004.04.16.23.59.32; author heinz; state Exp; branches; next 1.37; 1.37 date 2004.03.11.18.35.29; author sketch; state Exp; branches; next 1.36; 1.36 date 2004.03.11.13.28.45; author grant; state Exp; branches; next 1.35; 1.35 date 2004.02.14.04.47.13; author simonb; state Exp; branches; next 1.34; 1.34 date 2004.01.14.08.59.31; author grant; state Exp; branches; next 1.33; 1.33 date 2003.12.19.22.46.01; author grant; state Exp; branches; next 1.32; 1.32 date 2003.12.10.07.21.20; author grant; state Exp; branches; next 1.31; 1.31 date 2003.12.08.14.52.02; author grant; state Exp; branches; next 1.30; 1.30 date 2003.12.05.15.43.10; author erh; state Exp; branches; next 1.29; 1.29 date 2003.09.16.16.48.24; author grant; state Exp; branches; next 1.28; 1.28 date 2003.09.14.07.36.13; author grant; state Exp; branches; next 1.27; 1.27 date 2003.09.13.16.17.40; author jschauma; state Exp; branches; next 1.26; 1.26 date 2003.09.13.03.50.12; author jlam; state Exp; branches; next 1.25; 1.25 date 2003.09.11.11.26.10; author grant; state Exp; branches; next 1.24; 1.24 date 2003.09.06.23.05.40; author grant; state Exp; branches; next 1.23; 1.23 date 2003.09.06.12.45.47; author jlam; state Exp; branches; next 1.22; 1.22 date 2003.09.06.12.21.45; author jlam; state Exp; branches; next 1.21; 1.21 date 2003.09.06.06.13.47; author jlam; state Exp; branches; next 1.20; 1.20 date 2003.09.06.01.35.08; author jlam; state Exp; branches; next 1.19; 1.19 date 2003.09.05.18.35.58; author jlam; state Exp; branches; next 1.18; 1.18 date 2003.09.04.20.20.08; author jlam; state Exp; branches; next 1.17; 1.17 date 2003.09.03.16.38.39; author jlam; state Exp; branches; next 1.16; 1.16 date 2003.09.03.13.11.13; author jlam; state Exp; branches; next 1.15; 1.15 date 2003.09.03.03.28.29; author jlam; state Exp; branches; next 1.14; 1.14 date 2003.09.02.02.05.22; author jlam; state Exp; branches; next 1.13; 1.13 date 2003.09.02.01.45.14; author jlam; state Exp; branches; next 1.12; 1.12 date 2003.09.01.15.31.16; author jlam; state Exp; branches; next 1.11; 1.11 date 2003.07.19.03.05.00; author grant; state Exp; branches; next 1.10; 1.10 date 2003.07.17.19.53.54; author grant; state Exp; branches; next 1.9; 1.9 date 2003.07.15.05.36.03; author grant; state Exp; branches; next 1.8; 1.8 date 2003.07.15.05.33.04; author grant; state Exp; branches; next 1.7; 1.7 date 2003.06.23.11.33.08; author grant; state Exp; branches; next 1.6; 1.6 date 2003.06.10.05.59.16; author grant; state Exp; branches; next 1.5; 1.5 date 2003.06.09.17.21.15; author grant; state Exp; branches; next 1.4; 1.4 date 2003.06.09.17.19.49; author grant; state Exp; branches; next 1.3; 1.3 date 2003.05.22.18.10.43; author jschauma; state Exp; branches; next 1.2; 1.2 date 2003.03.31.05.34.35; author grant; state Exp; branches; next 1.1; 1.1 date 2003.03.31.05.02.42; author grant; state Exp; branches 1.1.1.1; next ; 1.77.6.1 date 2012.07.09.08.34.52; author tron; state Exp; branches; next ; 1.71.2.1 date 2009.04.14.21.18.35; author tron; state Exp; branches; next ; 1.1.1.1 date 2003.03.31.05.02.42; author grant; state Exp; branches; next ; desc @@ 1.91 log @libnbcompat: Update to 20250303 Avoid duplicating a variable name from libc, found on UnixWare 7. Build verified on FreeBSD, OpenBSD, NetBSD, macOS, OmniOS, Linux by drecklypkg ci. @ text @#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.72 for libnbcompat 20190708. # # Report bugs to . # # # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation, # Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@@"}'='"$@@"' setopt NO_GLOB_SUBST else case e in #( e) case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac ;; esac fi # Reset variables that may have inherited troublesome values from # the environment. # IFS needs to be set, to space, tab, and newline, in precisely that order. # (If _AS_PATH_WALK were called with IFS unset, it would have the # side effect of setting IFS to empty, thus disabling word splitting.) # Quoting is to prevent editors from complaining about space-tab. as_nl=' ' export as_nl IFS=" "" $as_nl" PS1='$ ' PS2='> ' PS4='+ ' # Ensure predictable behavior from utilities with locale-dependent output. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # We cannot yet rely on "unset" to work, but we need these variables # to be unset--not just set to an empty or harmless value--now, to # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct # also avoids known problems related to "unset" and subshell syntax # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH do eval test \${$as_var+y} \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done # Ensure that fds 0, 1, and 2 are open. if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi if (exec 3>&2) ; then :; else exec 2>/dev/null; fi # The user is always right. if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac test -r "$as_dir$0" && as_myself=$as_dir$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as 'sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # 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'. printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 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 as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@@\"}'='\"\$@@\"' setopt NO_GLOB_SUBST else case e in #( e) case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ) then : else case e in #( e) exitcode=1; echo positional parameters were not saved. ;; esac fi test x\$exitcode = x0 || exit 1 blah=\$(echo \$(echo blah)) test x\"\$blah\" = xblah || 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_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'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null then : as_have_required=yes else case e in #( e) as_have_required=no ;; esac fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null then : else case e in #( e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null then : CONFIG_SHELL=$as_shell as_have_required=yes if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null then : break 2 fi fi done;; esac as_found=false done IFS=$as_save_IFS if $as_found then : else case e in #( e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } && as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null then : CONFIG_SHELL=$SHELL as_have_required=yes fi ;; esac fi if test "x$CONFIG_SHELL" != x then : export CONFIG_SHELL # 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'. printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno then : printf "%s\n" "$0: This script requires a shell more modern than all" printf "%s\n" "$0: the shells that I found on your system." if test ${ZSH_VERSION+y} ; then printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." else printf "%s\n" "$0: Please tell bug-autoconf@@gnu.org and joerg@@NetBSD.org $0: about your system, including any error possibly output $0: before this message. Then install a modern shell, or $0: manually run the script under such a shell if you do $0: have one." fi exit 1 fi ;; esac fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # 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 # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null then : eval 'as_fn_append () { eval $1+=\$2 }' else case e in #( e) as_fn_append () { eval $1=\$$1\$2 } ;; esac fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null then : eval 'as_fn_arith () { as_val=$(( $* )) }' else case e in #( e) as_fn_arith () { as_val=`expr "$@@" || test $? -eq 1` } ;; esac fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' t clear :clear s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { printf "%s\n" "$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 # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } # Determine whether it's possible to make 'echo' print without a newline. # These variables are no longer used directly by Autoconf, but are AC_SUBSTed # for compatibility with existing Makefiles. ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac # For backward compatibility with old third-party macros, we provide # the shell variables $as_echo and $as_echo_n. New code should use # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. as_echo='printf %s\n' as_echo_n='printf %s' rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 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. # In both cases, we have to default to 'cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated # Sed expression to map a string onto a valid variable name. as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" as_tr_sh="eval sed '$as_sed_sh'" # deprecated test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='libnbcompat' PACKAGE_TARNAME='libnbcompat' PACKAGE_VERSION='20190708' PACKAGE_STRING='libnbcompat 20190708' PACKAGE_BUGREPORT='joerg@@NetBSD.org' PACKAGE_URL='' # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_STDIO_H # include #endif #ifdef HAVE_STDLIB_H # include #endif #ifdef HAVE_STRING_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_header_c_list= ac_func_c_list= ac_subst_vars='LTLIBOBJS WITH_DB LIBOBJS EGREP GREP AUTOHEADER AUTOCONF AR AWK RANLIB LN_S INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM SET_MAKE INCLUDES CANONICAL_HOST OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC host_os host_vendor host_cpu host build_os build_vendor build_cpu build target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir runstatedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_db enable_bsd_getopt ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: '$ac_useropt'" ac_useropt_orig=$ac_useropt ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: '$ac_useropt'" ac_useropt_orig=$ac_useropt ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -runstatedir | --runstatedir | --runstatedi | --runstated \ | --runstate | --runstat | --runsta | --runst | --runs \ | --run | --ru | --r) ac_prev=runstatedir ;; -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | --run=* | --ru=* | --r=*) runstatedir=$ac_optarg ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: '$ac_useropt'" ac_useropt_orig=$ac_useropt ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: '$ac_useropt'" ac_useropt_orig=$ac_useropt ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: '$ac_option' Try '$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: '$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: '$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # 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. cat <<_ACEOF 'configure' configures libnbcompat 20190708 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print 'checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for '--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or '..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, 'make install' will install all the files in '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify an installation prefix other than '$ac_default_prefix' using '--prefix', for instance '--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/libnbcompat] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of libnbcompat 20190708:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-db include DB implementation --enable-bsd-getopt force use of BSDish getopt implementation Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory Use these variables to override the choices made by 'configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for configure.gnu first; this name is used for a wrapper for # Metaconfig's "Configure" on case-insensitive file systems. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF libnbcompat configure 20190708 generated by GNU Autoconf 2.72 Copyright (C) 2023 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest.beam if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext then : ac_retval=0 else case e in #( e) printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 ;; esac fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 printf %s "checking for $2... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO" then : eval "$3=yes" else case e in #( e) eval "$3=no" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi eval ac_res=\$$3 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext } then : ac_retval=0 else case e in #( e) printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 ;; esac fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_check_type LINENO TYPE VAR INCLUDES # ------------------------------------------- # Tests whether TYPE exists after having included INCLUDES, setting cache # variable VAR accordingly. ac_fn_c_check_type () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 printf %s "checking for $2... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 else case e in #( e) eval "$3=no" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main (void) { if (sizeof ($2)) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main (void) { if (sizeof (($2))) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : else case e in #( e) eval "$3=yes" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi eval ac_res=\$$3 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_type # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 printf %s "checking for $2... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (void); below. */ #include #undef $2 /* 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 $2 (void); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main (void) { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : eval "$3=yes" else case e in #( e) eval "$3=no" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi eval ac_res=\$$3 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR # ------------------------------------------------------------------ # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR. ac_fn_check_decl () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack as_decl_name=`echo $2|sed 's/ *(.*//'` { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 printf %s "checking whether $as_decl_name is declared... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 else case e in #( e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` eval ac_save_FLAGS=\$$6 as_fn_append $6 " $5" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main (void) { #ifndef $as_decl_name #ifdef __cplusplus (void) $as_decl_use; #else (void) $as_decl_name; #endif #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : eval "$3=yes" else case e in #( e) eval "$3=no" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext eval $6=\$ac_save_FLAGS ;; esac fi eval ac_res=\$$3 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_check_decl # ac_fn_c_find_intX_t LINENO BITS VAR # ----------------------------------- # Finds a signed integer type with width BITS, setting cache variable VAR # accordingly. ac_fn_c_find_intX_t () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 printf %s "checking for int$2_t... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 else case e in #( e) eval "$3=no" # Order is important - never check a type that is potentially smaller # than half of the expected target width. for ac_type in int$2_t 'int' 'long int' \ 'long long int' 'short int' 'signed char'; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default enum { N = $2 / 2 - 1 }; int main (void) { static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default enum { N = $2 / 2 - 1 }; int main (void) { static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : else case e in #( e) case $ac_type in #( int$2_t) : eval "$3=yes" ;; #( *) : eval "$3=\$ac_type" ;; esac ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if eval test \"x\$"$3"\" = x"no" then : else case e in #( e) break ;; esac fi done ;; esac fi eval ac_res=\$$3 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_find_intX_t # ac_fn_c_find_uintX_t LINENO BITS VAR # ------------------------------------ # Finds an unsigned integer type with width BITS, setting cache variable VAR # accordingly. ac_fn_c_find_uintX_t () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 printf %s "checking for uint$2_t... " >&6; } if eval test \${$3+y} then : printf %s "(cached) " >&6 else case e in #( e) eval "$3=no" # Order is important - never check a type that is potentially smaller # than half of the expected target width. for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ 'unsigned long long int' 'unsigned short int' 'unsigned char'; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main (void) { static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : case $ac_type in #( uint$2_t) : eval "$3=yes" ;; #( *) : eval "$3=\$ac_type" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if eval test \"x\$"$3"\" = x"no" then : else case e in #( e) break ;; esac fi done ;; esac fi eval ac_res=\$$3 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_find_uintX_t # ac_fn_c_try_run LINENO # ---------------------- # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that # executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; } then : ac_retval=0 else case e in #( e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5 printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status ;; esac fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES # -------------------------------------------- # Tries to find the compile-time value of EXPR in a program that includes # INCLUDES, setting VAR accordingly. Returns whether the value could be # computed ac_fn_c_compute_int () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main (void) { static int test_array [1 - 2 * !(($2) >= 0)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_lo=0 ac_mid=0 while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main (void) { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_hi=$ac_mid; break else case e in #( e) as_fn_arith $ac_mid + 1 && ac_lo=$as_val if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main (void) { static int test_array [1 - 2 * !(($2) < 0)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_hi=-1 ac_mid=-1 while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main (void) { static int test_array [1 - 2 * !(($2) >= $ac_mid)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_lo=$ac_mid; break else case e in #( e) as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done else case e in #( e) ac_lo= ac_hi= ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main (void) { static int test_array [1 - 2 * !(($2) <= $ac_mid)]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_hi=$ac_mid else case e in #( e) as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done case $ac_lo in #(( ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; '') ac_retval=1 ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 static long int longval (void) { return $2; } static unsigned long int ulongval (void) { return $2; } #include #include int main (void) { FILE *f = fopen ("conftest.val", "w"); if (! f) return 1; if (($2) < 0) { long int i = longval (); if (i != ($2)) return 1; fprintf (f, "%ld", i); } else { unsigned long int i = ulongval (); if (i != ($2)) return 1; fprintf (f, "%lu", i); } /* Do not output a trailing newline, as this causes \r\n confusion on some platforms. */ return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : echo >>conftest.val; read $3 &5 printf %s "checking for $2.$3... " >&6; } if eval test \${$4+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $5 int main (void) { static $2 ac_aggr; if (ac_aggr.$3) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : eval "$4=yes" else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $5 int main (void) { static $2 ac_aggr; if (sizeof ac_aggr.$3) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : eval "$4=yes" else case e in #( e) eval "$4=no" ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi eval ac_res=\$$4 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 printf "%s\n" "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_member ac_configure_args_raw= for ac_arg do case $ac_arg in *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append ac_configure_args_raw " '$ac_arg'" done case $ac_configure_args_raw in *$as_nl*) ac_safe_unquote= ;; *) ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. ac_unsafe_a="$ac_unsafe_z#~" ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; esac cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by libnbcompat $as_me 20190708, which was generated by GNU Autoconf 2.72. Invocation command line was $ $0$ac_configure_args_raw _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac printf "%s\n" "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Sanitize IFS. IFS=" "" $as_nl" # Save into config.log some information that might help in debugging. { echo printf "%s\n" "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo printf "%s\n" "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac printf "%s\n" "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then printf "%s\n" "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac printf "%s\n" "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then printf "%s\n" "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && printf "%s\n" "$as_me: caught signal $ac_signal" printf "%s\n" "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h printf "%s\n" "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. if test -n "$CONFIG_SITE"; then ac_site_files="$CONFIG_SITE" elif test "x$prefix" != xNONE; then ac_site_files="$prefix/share/config.site $prefix/etc/config.site" else ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi for ac_site_file in $ac_site_files do case $ac_site_file in #( */*) : ;; #( *) : ac_site_file=./$ac_site_file ;; esac if test -f "$ac_site_file" && test -r "$ac_site_file"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See 'config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 printf "%s\n" "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 printf "%s\n" "$as_me: creating cache $cache_file" >&6;} >$cache_file fi as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" # Test code for whether the C compiler supports C89 (global declarations) ac_c_conftest_c89_globals=' /* Does the compiler advertise C89 conformance? Do not test the value of __STDC__, because some compilers set it to 0 while being otherwise adequately conformant. */ #if !defined __STDC__ # error "Compiler does not advertise C89 conformance" #endif #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ struct buf { int x; }; struct buf * (*rcsopen) (struct buf *, struct stat *, int); static char *e (char **p, int i) { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* C89 style stringification. */ #define noexpand_stringify(a) #a const char *stringified = noexpand_stringify(arbitrary+token=sequence); /* C89 style token pasting. Exercises some of the corner cases that e.g. old MSVC gets wrong, but not very hard. */ #define noexpand_concat(a,b) a##b #define expand_concat(a,b) noexpand_concat(a,b) extern int vA; extern int vbee; #define aye A #define bee B int *pvA = &expand_concat(v,aye); int *pvbee = &noexpand_concat(v,bee); /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not \xHH hex character constants. These do not provoke an error unfortunately, instead are silently treated as an "x". The following induces an error, until -std is added to get proper ANSI mode. Curiously \x00 != x always comes out true, for an array size at least. It is necessary to write \x00 == 0 to get something that is true only with -std. */ int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) '\''x'\'' int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), int, int);' # Test code for whether the C compiler supports C89 (body of main). ac_c_conftest_c89_main=' ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); ' # Test code for whether the C compiler supports C99 (global declarations) ac_c_conftest_c99_globals=' /* Does the compiler advertise C99 conformance? */ #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L # error "Compiler does not advertise C99 conformance" #endif // See if C++-style comments work. #include extern int puts (const char *); extern int printf (const char *, ...); extern int dprintf (int, const char *, ...); extern void *malloc (size_t); extern void free (void *); // Check varargs macros. These examples are taken from C99 6.10.3.5. // dprintf is used instead of fprintf to avoid needing to declare // FILE and stderr. #define debug(...) dprintf (2, __VA_ARGS__) #define showlist(...) puts (#__VA_ARGS__) #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) static void test_varargs_macros (void) { int x = 1234; int y = 5678; debug ("Flag"); debug ("X = %d\n", x); showlist (The first, second, and third items.); report (x>y, "x is %d but y is %d", x, y); } // Check long long types. #define BIG64 18446744073709551615ull #define BIG32 4294967295ul #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) #if !BIG_OK #error "your preprocessor is broken" #endif #if BIG_OK #else #error "your preprocessor is broken" #endif static long long int bignum = -9223372036854775807LL; static unsigned long long int ubignum = BIG64; struct incomplete_array { int datasize; double data[]; }; struct named_init { int number; const wchar_t *name; double average; }; typedef const char *ccp; static inline int test_restrict (ccp restrict text) { // Iterate through items via the restricted pointer. // Also check for declarations in for loops. for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) continue; return 0; } // Check varargs and va_copy. static bool test_varargs (const char *format, ...) { va_list args; va_start (args, format); va_list args_copy; va_copy (args_copy, args); const char *str = ""; int number = 0; float fnumber = 0; while (*format) { switch (*format++) { case '\''s'\'': // string str = va_arg (args_copy, const char *); break; case '\''d'\'': // int number = va_arg (args_copy, int); break; case '\''f'\'': // float fnumber = va_arg (args_copy, double); break; default: break; } } va_end (args_copy); va_end (args); return *str && number && fnumber; } ' # Test code for whether the C compiler supports C99 (body of main). ac_c_conftest_c99_main=' // Check bool. _Bool success = false; success |= (argc != 0); // Check restrict. if (test_restrict ("String literal") == 0) success = true; char *restrict newvar = "Another string"; // Check varargs. success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); test_varargs_macros (); // Check flexible array members. struct incomplete_array *ia = malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ia->datasize = 10; for (int i = 0; i < ia->datasize; ++i) ia->data[i] = i * 1.234; // Work around memory leak warnings. free (ia); // Check named initializers. struct named_init ni = { .number = 34, .name = L"Test wide string", .average = 543.34343, }; ni.number = 58; int dynamic_array[ni.number]; dynamic_array[0] = argv[0][0]; dynamic_array[ni.number - 1] = 543; // work around unused variable warnings ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' || dynamic_array[ni.number - 1] != 543); ' # Test code for whether the C compiler supports C11 (global declarations) ac_c_conftest_c11_globals=' /* Does the compiler advertise C11 conformance? */ #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L # error "Compiler does not advertise C11 conformance" #endif // Check _Alignas. char _Alignas (double) aligned_as_double; char _Alignas (0) no_special_alignment; extern char aligned_as_int; char _Alignas (0) _Alignas (int) aligned_as_int; // Check _Alignof. enum { int_alignment = _Alignof (int), int_array_alignment = _Alignof (int[100]), char_alignment = _Alignof (char) }; _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); // Check _Noreturn. int _Noreturn does_not_return (void) { for (;;) continue; } // Check _Static_assert. struct test_static_assert { int x; _Static_assert (sizeof (int) <= sizeof (long int), "_Static_assert does not work in struct"); long int y; }; // Check UTF-8 literals. #define u8 syntax error! char const utf8_literal[] = u8"happens to be ASCII" "another string"; // Check duplicate typedefs. typedef long *long_ptr; typedef long int *long_ptr; typedef long_ptr long_ptr; // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. struct anonymous { union { struct { int i; int j; }; struct { int k; long int l; } w; }; int m; } v1; ' # Test code for whether the C compiler supports C11 (body of main). ac_c_conftest_c11_main=' _Static_assert ((offsetof (struct anonymous, i) == offsetof (struct anonymous, w.k)), "Anonymous union alignment botch"); v1.i = 2; v1.w.k = 5; ok |= v1.i != 5; ' # Test code for whether the C compiler supports C11 (complete). ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} ${ac_c_conftest_c99_globals} ${ac_c_conftest_c11_globals} int main (int argc, char **argv) { int ok = 0; ${ac_c_conftest_c89_main} ${ac_c_conftest_c99_main} ${ac_c_conftest_c11_main} return ok; } " # Test code for whether the C compiler supports C99 (complete). ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} ${ac_c_conftest_c99_globals} int main (int argc, char **argv) { int ok = 0; ${ac_c_conftest_c89_main} ${ac_c_conftest_c99_main} return ok; } " # Test code for whether the C compiler supports C89 (complete). ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} int main (int argc, char **argv) { int ok = 0; ${ac_c_conftest_c89_main} return ok; } " as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" as_fn_append ac_header_c_list " sys/time.h sys_time_h HAVE_SYS_TIME_H" as_fn_append ac_header_c_list " vfork.h vfork_h HAVE_VFORK_H" as_fn_append ac_func_c_list " fork HAVE_FORK" as_fn_append ac_func_c_list " vfork HAVE_VFORK" # Auxiliary files required by this configure script. ac_aux_files="install-sh config.guess config.sub" # Locations in which to look for auxiliary files. ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." # Search for a directory containing all of the required auxiliary files, # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. # If we don't find one directory that contains all the files we need, # we report the set of missing files from the *first* directory in # $ac_aux_dir_candidates and give up. ac_missing_aux_files="" ac_first_candidate=: printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in $ac_aux_dir_candidates do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac as_found=: printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 ac_aux_dir_found=yes ac_install_sh= for ac_aux in $ac_aux_files do # As a special case, if "install-sh" is required, that requirement # can be satisfied by any of "install-sh", "install.sh", or "shtool", # and $ac_install_sh is set appropriately for whichever one is found. if test x"$ac_aux" = x"install-sh" then if test -f "${as_dir}install-sh"; then printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 ac_install_sh="${as_dir}install-sh -c" elif test -f "${as_dir}install.sh"; then printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 ac_install_sh="${as_dir}install.sh -c" elif test -f "${as_dir}shtool"; then printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 ac_install_sh="${as_dir}shtool install -c" else ac_aux_dir_found=no if $ac_first_candidate; then ac_missing_aux_files="${ac_missing_aux_files} install-sh" else break fi fi else if test -f "${as_dir}${ac_aux}"; then printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 else ac_aux_dir_found=no if $ac_first_candidate; then ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" else break fi fi fi done if test "$ac_aux_dir_found" = yes; then ac_aux_dir="$as_dir" break fi ac_first_candidate=false as_found=false done IFS=$as_save_IFS if $as_found then : else case e in #( e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;; esac fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. if test -f "${ac_aux_dir}config.guess"; then ac_config_guess="$SHELL ${ac_aux_dir}config.guess" fi if test -f "${ac_aux_dir}config.sub"; then ac_config_sub="$SHELL ${ac_aux_dir}config.sub" fi if test -f "$ac_aux_dir/configure"; then ac_configure="$SHELL ${ac_aux_dir}configure" fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;} { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## 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_config_headers="$ac_config_headers nbcompat/config.h" test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was 's,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` # Make sure we can run config.sub. $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 printf %s "checking build system type... " >&6; } if test ${ac_cv_build+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 printf "%s\n" "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 printf %s "checking host system type... " >&6; } if test ${ac_cv_host+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 printf "%s\n" "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 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 -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac 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_CC="${ac_tool_prefix}gcc" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 printf "%s\n" "$CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_CC+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac 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_CC="gcc" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 printf "%s\n" "$ac_ct_CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac 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_CC="${ac_tool_prefix}cc" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 printf "%s\n" "$CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_exec_ext in '' $ac_executable_extensions; do 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 ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@@" fi fi fi ;; esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 printf "%s\n" "$CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac 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_CC="$ac_tool_prefix$ac_prog" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 printf "%s\n" "$CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_CC+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac 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_CC="$ac_prog" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 printf "%s\n" "$ac_ct_CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. set dummy ${ac_tool_prefix}clang; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_CC+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac 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_CC="${ac_tool_prefix}clang" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi CC=$ac_cv_prog_CC if test -n "$CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 printf "%s\n" "$CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "clang", so it can be a program name with args. set dummy clang; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_CC+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac 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_CC="clang" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 printf "%s\n" "$ac_ct_CC" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi fi test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See 'config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion -version; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 printf %s "checking whether the C compiler works... " >&6; } ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then : # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'. # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an '-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else case e in #( e) ac_file='' ;; esac fi if test -z "$ac_file" then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See 'config.log' for more details" "$LINENO" 5; } else case e in #( e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 printf "%s\n" "yes" >&6; } ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 printf %s "checking for C compiler default output file name... " >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 printf "%s\n" "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 printf %s "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then : # If both 'conftest.exe' and 'conftest' are 'present' (well, observable) # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will # work properly (i.e., refer to 'conftest.exe'), while it won't with # 'rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else case e in #( e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See 'config.log' for more details" "$LINENO" 5; } ;; esac fi rm -f conftest conftest$ac_cv_exeext { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 printf "%s\n" "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { FILE *f = fopen ("conftest.out", "w"); if (!f) return 1; return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 printf %s "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error 77 "cannot run C compiled programs. If you meant to cross compile, use '--host'. See 'config.log' for more details" "$LINENO" 5; } fi fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 printf "%s\n" "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext \ conftest.o conftest.obj conftest.out ac_clean_files=$ac_clean_files_save { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 printf %s "checking for suffix of object files... " >&6; } if test ${ac_cv_objext+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" printf "%s\n" "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else case e in #( e) printf "%s\n" "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See 'config.log' for more details" "$LINENO" 5; } ;; esac fi rm -f conftest.$ac_cv_objext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 printf "%s\n" "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 printf %s "checking whether the compiler supports GNU C... " >&6; } if test ${ac_cv_c_compiler_gnu+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_compiler_gnu=yes else case e in #( e) ac_compiler_gnu=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } ac_compiler_gnu=$ac_cv_c_compiler_gnu if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+y} ac_save_CFLAGS=$CFLAGS { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 printf %s "checking whether $CC accepts -g... " >&6; } if test ${ac_cv_prog_cc_g+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_prog_cc_g=yes else case e in #( e) CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : else case e in #( e) ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 printf "%s\n" "$ac_cv_prog_cc_g" >&6; } if test $ac_test_CFLAGS; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi ac_prog_cc_stdc=no if test x$ac_prog_cc_stdc = xno then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 printf %s "checking for $CC option to enable C11 features... " >&6; } if test ${ac_cv_prog_cc_c11+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_cv_prog_cc_c11=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_c_conftest_c11_program _ACEOF for ac_arg in '' -std=gnu11 do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO" then : ac_cv_prog_cc_c11=$ac_arg fi rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c11" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC ;; esac fi if test "x$ac_cv_prog_cc_c11" = xno then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 printf "%s\n" "unsupported" >&6; } else case e in #( e) if test "x$ac_cv_prog_cc_c11" = x then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 printf "%s\n" "none needed" >&6; } else case e in #( e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } CC="$CC $ac_cv_prog_cc_c11" ;; esac fi ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 ac_prog_cc_stdc=c11 ;; esac fi fi if test x$ac_prog_cc_stdc = xno then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 printf %s "checking for $CC option to enable C99 features... " >&6; } if test ${ac_cv_prog_cc_c99+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_cv_prog_cc_c99=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_c_conftest_c99_program _ACEOF for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO" then : ac_cv_prog_cc_c99=$ac_arg fi rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c99" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC ;; esac fi if test "x$ac_cv_prog_cc_c99" = xno then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 printf "%s\n" "unsupported" >&6; } else case e in #( e) if test "x$ac_cv_prog_cc_c99" = x then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 printf "%s\n" "none needed" >&6; } else case e in #( e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } CC="$CC $ac_cv_prog_cc_c99" ;; esac fi ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 ac_prog_cc_stdc=c99 ;; esac fi fi if test x$ac_prog_cc_stdc = xno then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 printf %s "checking for $CC option to enable C89 features... " >&6; } if test ${ac_cv_prog_cc_c89+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_c_conftest_c89_program _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO" then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext conftest.beam test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC ;; esac fi if test "x$ac_cv_prog_cc_c89" = xno then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 printf "%s\n" "unsupported" >&6; } else case e in #( e) if test "x$ac_cv_prog_cc_c89" = x then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 printf "%s\n" "none needed" >&6; } else case e in #( e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } CC="$CC $ac_cv_prog_cc_c89" ;; esac fi ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 ac_prog_cc_stdc=c89 ;; esac fi 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_header= ac_cache= for ac_item in $ac_header_c_list do if test $ac_cache; then ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then printf "%s\n" "#define $ac_item 1" >> confdefs.h fi ac_header= ac_cache= elif test $ac_header; then ac_cache=$ac_item else ac_header=$ac_item fi done if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes then : printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } if test ${ac_cv_safe_to_define___extensions__+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ # define __EXTENSIONS__ 1 $ac_includes_default int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_safe_to_define___extensions__=yes else case e in #( e) ac_cv_safe_to_define___extensions__=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } if test ${ac_cv_should_define__xopen_source+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_cv_should_define__xopen_source=no if test $ac_cv_header_wchar_h = yes then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include mbstate_t x; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _XOPEN_SOURCE 500 #include mbstate_t x; int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_should_define__xopen_source=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h if test $ac_cv_header_minix_config_h = yes then : MINIX=yes printf "%s\n" "#define _MINIX 1" >>confdefs.h printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h else case e in #( e) MINIX= ;; esac fi if test $ac_cv_safe_to_define___extensions__ = yes then : printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h fi if test $ac_cv_should_define__xopen_source = yes then : printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h fi CANONICAL_HOST=$host # Checks for programs. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval test \${ac_cv_prog_make_${ac_make}_set+y} then : printf %s "(cached) " >&6 else case e in #( e) 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 ;; esac fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 printf "%s\n" "yes" >&6; } SET_MAKE= else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 printf %s "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if test ${ac_cv_path_install+y} then : printf %s "(cached) " >&6 else case e in #( e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac # Account for fact that we put trailing slashes in our PATH walk. case $as_dir in #(( ./ | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir ;; esac fi if test ${ac_cv_path_install+y}; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 printf "%s\n" "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 printf %s "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 printf "%s\n" "yes" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 printf "%s\n" "no, using $LN_S" >&6; } 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 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_RANLIB+y} then : printf %s "(cached) " >&6 else case e in #( e) 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 case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac 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" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 printf "%s\n" "$RANLIB" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "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 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_ac_ct_RANLIB+y} then : printf %s "(cached) " >&6 else case e in #( e) 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 case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac 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" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 printf "%s\n" "$ac_ct_RANLIB" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 printf "%s\n" "$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 for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_AWK+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac 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_AWK="$ac_prog" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 printf "%s\n" "$AWK" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi test -n "$AWK" && break done # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 printf %s "checking for $ac_word... " >&6; } if test ${ac_cv_prog_AR+y} then : printf %s "(cached) " >&6 else case e in #( e) 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 case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac 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="ar" printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi ;; esac fi AR=$ac_cv_prog_AR if test -n "$AR"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 printf "%s\n" "$AR" >&6; } else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 printf "%s\n" "no" >&6; } fi AUTOCONF=${AUTOCONF-"$srcdir/missing --run autoconf"} AUTOHEADER=${AUTOHEADER-"$srcdir/missing --run autoheader"} { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fparseln in -lutil" >&5 printf %s "checking for fparseln in -lutil... " >&6; } if test ${ac_cv_lib_util_fparseln+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_check_lib_save_LIBS=$LIBS LIBS="-lutil $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. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char fparseln (void); int main (void) { return fparseln (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_util_fparseln=yes else case e in #( e) ac_cv_lib_util_fparseln=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_fparseln" >&5 printf "%s\n" "$ac_cv_lib_util_fparseln" >&6; } if test "x$ac_cv_lib_util_fparseln" = xyes then : printf "%s\n" "#define HAVE_LIBUTIL 1" >>confdefs.h LIBS="-lutil $LIBS" fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 printf %s "checking for grep that handles long lines and -e... " >&6; } if test ${ac_cv_path_GREP+y} then : printf %s "(cached) " >&6 else case e in #( e) if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_prog in grep ggrep do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" 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 case `"$ac_path_GREP" --version 2>&1` in #( *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; #( *) ac_count=0 printf %s 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" printf "%s\n" 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 printf "%s\n" "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" # Autoupdate added the next two lines to ensure that your configure # script's behavior did not change. They are probably safe to remove. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 printf %s "checking for egrep... " >&6; } if test ${ac_cv_path_EGREP+y} then : printf %s "(cached) " >&6 else case e in #( e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac for ac_prog in egrep do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" 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 case `"$ac_path_EGREP" --version 2>&1` in #( *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; #( *) ac_count=0 printf %s 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" printf "%s\n" 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 printf "%s\n" "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" EGREP_TRADITIONAL=$EGREP ac_cv_path_EGREP_TRADITIONAL=$EGREP # Obsolete code to be removed. if test $ac_cv_header_sys_time_h = yes; then printf "%s\n" "#define TIME_WITH_SYS_TIME 1" >>confdefs.h fi # End of obsolete code. ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" if test "x$ac_cv_type__Bool" = xyes then : printf "%s\n" "#define HAVE__BOOL 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99 or later" >&5 printf %s "checking for stdbool.h that conforms to C99 or later... " >&6; } if test ${ac_cv_header_stdbool_h+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* "true" and "false" should be usable in #if expressions and integer constant expressions, and "bool" should be a valid type name. Although C99 requires bool, true, and false to be macros, C23 and C++11 overrule that, so do not test for that. Although C99 requires __bool_true_false_are_defined and _Bool, C23 says they are obsolescent, so do not require them. */ #if !true #error "'true' is not true" #endif #if true != 1 #error "'true' is not equal to 1" #endif char b[true == 1 ? 1 : -1]; char c[true]; #if false #error "'false' is not false" #endif #if false != 0 #error "'false' is not equal to 0" #endif char d[false == 0 ? 1 : -1]; enum { e = false, f = true, g = false * true, h = true * 256 }; char i[(bool) 0.5 == true ? 1 : -1]; char j[(bool) 0.0 == false ? 1 : -1]; char k[sizeof (bool) > 0 ? 1 : -1]; struct sb { bool s: 1; bool t; } s; char l[sizeof s.t > 0 ? 1 : -1]; /* The following fails for HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ bool m[h]; char n[sizeof m == h * sizeof m[0] ? 1 : -1]; char o[-1 - (bool) 0 < 0 ? 1 : -1]; /* Catch a bug in an HP-UX C compiler. See https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html */ bool p = true; bool *pp = &p; int main (void) { bool ps = &s; *pp |= p; *pp |= ! p; /* Refer to every declared value, so they cannot be discarded as unused. */ return (!b + !c + !d + !e + !f + !g + !h + !i + !j + !k + !l + !m + !n + !o + !p + !pp + !ps); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_header_stdbool_h=yes else case e in #( e) ac_cv_header_stdbool_h=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 printf "%s\n" "$ac_cv_header_stdbool_h" >&6; } if test $ac_cv_header_stdbool_h = yes; then printf "%s\n" "#define HAVE_STDBOOL_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "alloca.h" "ac_cv_header_alloca_h" "$ac_includes_default" if test "x$ac_cv_header_alloca_h" = xyes then : printf "%s\n" "#define HAVE_ALLOCA_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" if test "x$ac_cv_header_assert_h" = xyes then : printf "%s\n" "#define HAVE_ASSERT_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "bsd/libutil.h" "ac_cv_header_bsd_libutil_h" "$ac_includes_default" if test "x$ac_cv_header_bsd_libutil_h" = xyes then : printf "%s\n" "#define HAVE_BSD_LIBUTIL_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" if test "x$ac_cv_header_ctype_h" = xyes then : printf "%s\n" "#define HAVE_CTYPE_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default" if test "x$ac_cv_header_dirent_h" = xyes then : printf "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "endian.h" "ac_cv_header_endian_h" "$ac_includes_default" if test "x$ac_cv_header_endian_h" = xyes then : printf "%s\n" "#define HAVE_ENDIAN_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "err.h" "ac_cv_header_err_h" "$ac_includes_default" if test "x$ac_cv_header_err_h" = xyes then : printf "%s\n" "#define HAVE_ERR_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" if test "x$ac_cv_header_errno_h" = xyes then : printf "%s\n" "#define HAVE_ERRNO_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" if test "x$ac_cv_header_fcntl_h" = xyes then : printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "fnmatch.h" "ac_cv_header_fnmatch_h" "$ac_includes_default" if test "x$ac_cv_header_fnmatch_h" = xyes then : printf "%s\n" "#define HAVE_FNMATCH_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "fts.h" "ac_cv_header_fts_h" "$ac_includes_default" if test "x$ac_cv_header_fts_h" = xyes then : printf "%s\n" "#define HAVE_FTS_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "grp.h" "ac_cv_header_grp_h" "$ac_includes_default" if test "x$ac_cv_header_grp_h" = xyes then : printf "%s\n" "#define HAVE_GRP_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" if test "x$ac_cv_header_inttypes_h" = xyes then : printf "%s\n" "#define HAVE_INTTYPES_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "libutil.h" "ac_cv_header_libutil_h" "$ac_includes_default" if test "x$ac_cv_header_libutil_h" = xyes then : printf "%s\n" "#define HAVE_LIBUTIL_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" if test "x$ac_cv_header_limits_h" = xyes then : printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "machine/endian.h" "ac_cv_header_machine_endian_h" "$ac_includes_default" if test "x$ac_cv_header_machine_endian_h" = xyes then : printf "%s\n" "#define HAVE_MACHINE_ENDIAN_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "ndir.h" "ac_cv_header_ndir_h" "$ac_includes_default" if test "x$ac_cv_header_ndir_h" = xyes then : printf "%s\n" "#define HAVE_NDIR_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" if test "x$ac_cv_header_netdb_h" = xyes then : printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "paths.h" "ac_cv_header_paths_h" "$ac_includes_default" if test "x$ac_cv_header_paths_h" = xyes then : printf "%s\n" "#define HAVE_PATHS_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default" if test "x$ac_cv_header_pwd_h" = xyes then : printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default" if test "x$ac_cv_header_signal_h" = xyes then : printf "%s\n" "#define HAVE_SIGNAL_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" if test "x$ac_cv_header_stdarg_h" = xyes then : printf "%s\n" "#define HAVE_STDARG_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" if test "x$ac_cv_header_stddef_h" = xyes then : printf "%s\n" "#define HAVE_STDDEF_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" if test "x$ac_cv_header_stdint_h" = xyes then : printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" if test "x$ac_cv_header_stdio_h" = xyes then : printf "%s\n" "#define HAVE_STDIO_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" if test "x$ac_cv_header_stdlib_h" = xyes then : printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" if test "x$ac_cv_header_string_h" = xyes then : printf "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/byteorder.h" "ac_cv_header_sys_byteorder_h" "$ac_includes_default" if test "x$ac_cv_header_sys_byteorder_h" = xyes then : printf "%s\n" "#define HAVE_SYS_BYTEORDER_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/cdefs.h" "ac_cv_header_sys_cdefs_h" "$ac_includes_default" if test "x$ac_cv_header_sys_cdefs_h" = xyes then : printf "%s\n" "#define HAVE_SYS_CDEFS_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/dir.h" "ac_cv_header_sys_dir_h" "$ac_includes_default" if test "x$ac_cv_header_sys_dir_h" = xyes then : printf "%s\n" "#define HAVE_SYS_DIR_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/endian.h" "ac_cv_header_sys_endian_h" "$ac_includes_default" if test "x$ac_cv_header_sys_endian_h" = xyes then : printf "%s\n" "#define HAVE_SYS_ENDIAN_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "$ac_includes_default" if test "x$ac_cv_header_sys_file_h" = xyes then : printf "%s\n" "#define HAVE_SYS_FILE_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default" if test "x$ac_cv_header_sys_mkdev_h" = xyes then : printf "%s\n" "#define HAVE_SYS_MKDEV_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/ndir.h" "ac_cv_header_sys_ndir_h" "$ac_includes_default" if test "x$ac_cv_header_sys_ndir_h" = xyes then : printf "%s\n" "#define HAVE_SYS_NDIR_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" if test "x$ac_cv_header_sys_param_h" = xyes then : printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" if test "x$ac_cv_header_sys_socket_h" = xyes then : printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default" if test "x$ac_cv_header_sys_stat_h" = xyes then : printf "%s\n" "#define HAVE_SYS_STAT_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "$ac_includes_default" if test "x$ac_cv_header_sys_statfs_h" = xyes then : printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default" if test "x$ac_cv_header_sys_statvfs_h" = xyes then : printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" if test "x$ac_cv_header_sys_time_h" = xyes then : printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/ttycom.h" "ac_cv_header_sys_ttycom_h" "$ac_includes_default" if test "x$ac_cv_header_sys_ttycom_h" = xyes then : printf "%s\n" "#define HAVE_SYS_TTYCOM_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" if test "x$ac_cv_header_sys_types_h" = xyes then : printf "%s\n" "#define HAVE_SYS_TYPES_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default" if test "x$ac_cv_header_sys_uio_h" = xyes then : printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "$ac_includes_default" if test "x$ac_cv_header_sys_vfs_h" = xyes then : printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sysexits.h" "ac_cv_header_sysexits_h" "$ac_includes_default" if test "x$ac_cv_header_sysexits_h" = xyes then : printf "%s\n" "#define HAVE_SYSEXITS_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "termcap.h" "ac_cv_header_termcap_h" "$ac_includes_default" if test "x$ac_cv_header_termcap_h" = xyes then : printf "%s\n" "#define HAVE_TERMCAP_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" if test "x$ac_cv_header_time_h" = xyes then : printf "%s\n" "#define HAVE_TIME_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "tzfile.h" "ac_cv_header_tzfile_h" "$ac_includes_default" if test "x$ac_cv_header_tzfile_h" = xyes then : printf "%s\n" "#define HAVE_TZFILE_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" if test "x$ac_cv_header_unistd_h" = xyes then : printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "util.h" "ac_cv_header_util_h" "$ac_includes_default" if test "x$ac_cv_header_util_h" = xyes then : printf "%s\n" "#define HAVE_UTIL_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default" if test "x$ac_cv_header_utime_h" = xyes then : printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default" if test "x$ac_cv_header_sys_mman_h" = xyes then : printf "%s\n" "#define HAVE_SYS_MMAN_H 1" >>confdefs.h fi for ac_header in sys/mount.h do : ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" " $ac_includes_default #ifdef HAVE_SYS_PARAM_H #include #endif " if test "x$ac_cv_header_sys_mount_h" = xyes then : printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h : else case e in #( e) : ;; esac fi done ac_fn_c_check_header_compile "$LINENO" "glob.h" "ac_cv_header_glob_h" "$ac_includes_default" if test "x$ac_cv_header_glob_h" = xyes then : printf "%s\n" "#define HAVE_GLOB_H 1" >>confdefs.h fi printf "%s\n" "#define HAVE_NBCOMPAT_GLOB 1" >>confdefs.h case " $LIBOBJS " in *" glob.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS glob.$ac_objext" ;; esac ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default" if test "x$ac_cv_header_sys_queue_h" = xyes then : printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h fi printf "%s\n" "#define HAVE_NBCOMPAT_QUEUE 1" >>confdefs.h ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default" if test "x$ac_cv_header_regex_h" = xyes then : printf "%s\n" "#define HAVE_REGEX_H 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "regexec" "ac_cv_func_regexec" if test "x$ac_cv_func_regexec" = xyes then : : else case e in #( e) printf "%s\n" "#define HAVE_NBCOMPAT_REGEX 1" >>confdefs.h case " $LIBOBJS " in *" regcomp.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS regcomp.$ac_objext" ;; esac case " $LIBOBJS " in *" regerror.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS regerror.$ac_objext" ;; esac case " $LIBOBJS " in *" regexec.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS regexec.$ac_objext" ;; esac case " $LIBOBJS " in *" regfree.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS regfree.$ac_objext" ;; esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5 printf %s "checking for va_copy... " >&6; } if test ${pkg_cv_have_va_copy+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { va_list ap, ap2; va_copy(ap2, ap); return 0; ; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : pkg_cv_have_va_copy=yes else case e in #( e) pkg_cv_have_va_copy=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pkg_cv_have_va_copy" >&5 printf "%s\n" "$pkg_cv_have_va_copy" >&6; } if test "x$pkg_cv_have_va_copy" = "xyes"; then printf "%s\n" "#define HAVE_VA_COPY 1" >>confdefs.h else : ] : fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_va_copy" >&5 printf %s "checking for __builtin_va_copy... " >&6; } if test ${pkg_cv_have___builtin_va_copy+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { va_list ap, ap2; __builtin_va_copy(ap2, ap); return 0; ; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : pkg_cv_have___builtin_va_copy=yes else case e in #( e) pkg_cv_have___builtin_va_copy=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pkg_cv_have___builtin_va_copy" >&5 printf "%s\n" "$pkg_cv_have___builtin_va_copy" >&6; } if test "x$pkg_cv_have___builtin_va_copy" = "xyes"; then printf "%s\n" "#define HAVE___BUILTIN_VA_COPY 1" >>confdefs.h else : ] : fi for ac_header in md5.h do : ac_fn_c_check_header_compile "$LINENO" "md5.h" "ac_cv_header_md5_h" "$ac_includes_default" if test "x$ac_cv_header_md5_h" = xyes then : printf "%s\n" "#define HAVE_MD5_H 1" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MD5Init in md5.h" >&5 printf %s "checking for MD5Init in md5.h... " >&6; } if test ${pkg_cv_have_md5init+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main (void) { MD5_CTX *f; MD5Init(f); ; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : pkg_cv_have_md5init=yes else case e in #( e) pkg_cv_have_md5init=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pkg_cv_have_md5init" >&5 printf "%s\n" "$pkg_cv_have_md5init" >&6; } if test "x$pkg_cv_have_md5init" = "xyes"; then : else printf "%s\n" "#define HAVE_NBCOMPAT_MD5INIT 1" >>confdefs.h : fi fi done ac_fn_c_check_header_compile "$LINENO" "md5.h" "ac_cv_header_md5_h" "$ac_includes_default" if test "x$ac_cv_header_md5_h" = xyes then : printf "%s\n" "#define HAVE_MD5_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "rmd160.h" "ac_cv_header_rmd160_h" "$ac_includes_default" if test "x$ac_cv_header_rmd160_h" = xyes then : printf "%s\n" "#define HAVE_RMD160_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sha1.h" "ac_cv_header_sha1_h" "$ac_includes_default" if test "x$ac_cv_header_sha1_h" = xyes then : printf "%s\n" "#define HAVE_SHA1_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sha2.h" "ac_cv_header_sha2_h" "$ac_includes_default" if test "x$ac_cv_header_sha2_h" = xyes then : printf "%s\n" "#define HAVE_SHA2_H 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "MD5File" "ac_cv_func_MD5File" if test "x$ac_cv_func_MD5File" = xyes then : : else case e in #( e) printf "%s\n" "#define HAVE_NBCOMPAT_MD5 1" >>confdefs.h case " $LIBOBJS " in *" md5c.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS md5c.$ac_objext" ;; esac case " $LIBOBJS " in *" md5hl.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS md5hl.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "RMD160File" "ac_cv_func_RMD160File" if test "x$ac_cv_func_RMD160File" = xyes then : : else case e in #( e) printf "%s\n" "#define HAVE_NBCOMPAT_RMD160 1" >>confdefs.h case " $LIBOBJS " in *" rmd160.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS rmd160.$ac_objext" ;; esac case " $LIBOBJS " in *" rmd160hl.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS rmd160hl.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "SHA1File" "ac_cv_func_SHA1File" if test "x$ac_cv_func_SHA1File" = xyes then : : else case e in #( e) printf "%s\n" "#define HAVE_NBCOMPAT_SHA1 1" >>confdefs.h case " $LIBOBJS " in *" sha1.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS sha1.$ac_objext" ;; esac case " $LIBOBJS " in *" sha1hl.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS sha1hl.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "SHA512_File" "ac_cv_func_SHA512_File" if test "x$ac_cv_func_SHA512_File" = xyes then : : else case e in #( e) printf "%s\n" "#define HAVE_NBCOMPAT_SHA2 1" >>confdefs.h case " $LIBOBJS " in *" sha2.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS sha2.$ac_objext" ;; esac case " $LIBOBJS " in *" sha2hl.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS sha2hl.$ac_objext" ;; esac ;; esac fi case $host in *-*-hpux*) printf "%s\n" "#define BROKEN_PREAD 1" >>confdefs.h printf "%s\n" "#define BROKEN_PWRITE 1" >>confdefs.h ;; *-*-sco3.2v5*) printf "%s\n" "#define BROKEN_PREAD 1" >>confdefs.h printf "%s\n" "#define BROKEN_PWRITE 1" >>confdefs.h ;; esac # Check whether --enable-db was given. if test ${enable_db+y} then : enableval=$enable_db; fi WITH_DB=$enable_db ac_fn_c_check_func "$LINENO" "issetugid" "ac_cv_func_issetugid" if test "x$ac_cv_func_issetugid" = xyes then : printf "%s\n" "#define HAVE_ISSETUGID 1" >>confdefs.h fi # Check whether --enable-bsd-getopt was given. if test ${enable_bsd_getopt+y} then : enableval=$enable_bsd_getopt; fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; } if test ${ac_cv_c_undeclared_builtin_options+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_save_CFLAGS=$CFLAGS ac_cv_c_undeclared_builtin_options='cannot detect' for ac_arg in '' -fno-builtin; do CFLAGS="$ac_save_CFLAGS $ac_arg" # This test program should *not* compile successfully. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main (void) { (void) strchr; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : else case e in #( e) # This test program should compile successfully. # No library function is consistently available on # freestanding implementations, so test against a dummy # declaration. Include always-available headers on the # off chance that they somehow elicit warnings. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include extern void ac_decl (int, char *); int main (void) { (void) ac_decl (0, (char *) 0); (void) ac_decl; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : if test x"$ac_arg" = x then : ac_cv_c_undeclared_builtin_options='none needed' else case e in #( e) ac_cv_c_undeclared_builtin_options=$ac_arg ;; esac fi break fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext done CFLAGS=$ac_save_CFLAGS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; } case $ac_cv_c_undeclared_builtin_options in #( 'cannot detect') : { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "cannot make $CC report undeclared builtins See 'config.log' for more details" "$LINENO" 5; } ;; #( 'none needed') : ac_c_undeclared_builtin_options='' ;; #( *) : ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;; esac ac_fn_check_decl "$LINENO" "opterr" "ac_cv_have_decl_opterr" " #include #include #include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_opterr" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_OPTERR $ac_have_decl" >>confdefs.h if test $ac_have_decl = 1 then : : else case e in #( e) : ;; esac fi ac_fn_check_decl "$LINENO" "optarg" "ac_cv_have_decl_optarg" " #include #include #include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_optarg" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_OPTARG $ac_have_decl" >>confdefs.h if test $ac_have_decl = 1 then : : else case e in #( e) : ;; esac fi ac_fn_check_decl "$LINENO" "optind" "ac_cv_have_decl_optind" " #include #include #include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_optind" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_OPTIND $ac_have_decl" >>confdefs.h if test $ac_have_decl = 1 then : : else case e in #( e) : ;; esac fi ac_fn_check_decl "$LINENO" "optopt" "ac_cv_have_decl_optopt" " #include #include #include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_optopt" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_OPTOPT $ac_have_decl" >>confdefs.h if test $ac_have_decl = 1 then : : else case e in #( e) : ;; esac fi ac_fn_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" " #include #include #include " "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_optreset" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_OPTRESET $ac_have_decl" >>confdefs.h if test $ac_have_decl = 1 then : : else case e in #( e) : ;; esac fi our_getopt_long=no for ac_header in getopt.h do : ac_fn_c_check_header_compile "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" if test "x$ac_cv_header_getopt_h" = xyes then : printf "%s\n" "#define HAVE_GETOPT_H 1" >>confdefs.h ac_fn_c_check_type "$LINENO" "struct option" "ac_cv_type_struct_option" "#include " if test "x$ac_cv_type_struct_option" = xyes then : printf "%s\n" "#define HAVE_STRUCT_OPTION 1" >>confdefs.h : else case e in #( e) our_getopt_long=yes ;; esac fi else case e in #( e) our_getopt_long=yes ;; esac fi done if test "$enable_bsd_getopt" = yes; then if test "$ac_cv_have_decl_optreset" = no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using included getopt and getopt_long" >&5 printf "%s\n" "$as_me: Using included getopt and getopt_long" >&6;} case " $LIBOBJS " in *" getopt.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;; esac our_getopt_long=yes fi fi if test "$our_getopt_long" = "yes"; then case " $LIBOBJS " in *" getopt_long.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS getopt_long.$ac_objext" ;; esac fi pkg_use_nbcompat_vis=yes for ac_header in vis.h do : ac_fn_c_check_header_compile "$LINENO" "vis.h" "ac_cv_header_vis_h" "$ac_includes_default" if test "x$ac_cv_header_vis_h" = xyes then : printf "%s\n" "#define HAVE_VIS_H 1" >>confdefs.h { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for VIS_WHITE in vis.h" >&5 printf %s "checking for VIS_WHITE in vis.h... " >&6; } if test ${pkg_cv_have_vis_white+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main (void) { int X = VIS_WHITE; ; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : pkg_cv_have_vis_white=yes else case e in #( e) pkg_cv_have_vis_white=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pkg_cv_have_vis_white" >&5 printf "%s\n" "$pkg_cv_have_vis_white" >&6; } if test "x$pkg_cv_have_vis_white" = "xyes"; then ac_fn_c_check_func "$LINENO" "strunvis" "ac_cv_func_strunvis" if test "x$ac_cv_func_strunvis" = xyes then : printf "%s\n" "#define HAVE_STRUNVIS 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "strvis" "ac_cv_func_strvis" if test "x$ac_cv_func_strvis" = xyes then : printf "%s\n" "#define HAVE_STRVIS 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "strsvis" "ac_cv_func_strsvis" if test "x$ac_cv_func_strsvis" = xyes then : printf "%s\n" "#define HAVE_STRSVIS 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "svis" "ac_cv_func_svis" if test "x$ac_cv_func_svis" = xyes then : printf "%s\n" "#define HAVE_SVIS 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "unvis" "ac_cv_func_unvis" if test "x$ac_cv_func_unvis" = xyes then : printf "%s\n" "#define HAVE_UNVIS 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "vis" "ac_cv_func_vis" if test "x$ac_cv_func_vis" = xyes then : printf "%s\n" "#define HAVE_VIS 1" >>confdefs.h fi for ac_func in strunvis strvis strsvis svis unvis vis do : as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes" then : cat >>confdefs.h <<_ACEOF #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1 _ACEOF pkg_use_nbcompat_vis=no else case e in #( e) pkg_use_nbcompat_vis=yes; break ;; esac fi done else : fi fi done if test $pkg_use_nbcompat_vis = yes; then printf "%s\n" "#define HAVE_NBCOMPAT_VIS 1" >>confdefs.h case " $LIBOBJS " in *" vis.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS vis.$ac_objext" ;; esac case " $LIBOBJS " in *" unvis.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS unvis.$ac_objext" ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5 printf %s "checking for __attribute__... " >&6; } if test ${ac_cv___attribute__+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include static void foo(void) __attribute__ ((noreturn)); static void foo(void) { exit(1); } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv___attribute__=yes else case e in #( e) ac_cv___attribute__=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi if test "$ac_cv___attribute__" = "yes"; then printf "%s\n" "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5 printf "%s\n" "$ac_cv___attribute__" >&6; } ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" if test "x$ac_cv_type_size_t" = xyes then : else case e in #( e) printf "%s\n" "#define size_t unsigned int" >>confdefs.h ;; esac fi ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default" if test "x$ac_cv_type_uintptr_t" = xyes then : printf "%s\n" "#define HAVE_UINTPTR_T 1" >>confdefs.h else case e in #( e) for ac_type in 'unsigned int' 'unsigned long int' \ 'unsigned long long int'; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main (void) { static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))]; test_array [0] = 0; return test_array [0]; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : printf "%s\n" "#define uintptr_t $ac_type" >>confdefs.h ac_type= fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext test -z "$ac_type" && break done ;; esac fi ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t" case $ac_cv_c_int8_t in #( no|yes) ;; #( *) printf "%s\n" "#define int8_t $ac_cv_c_int8_t" >>confdefs.h ;; esac ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t" case $ac_cv_c_int16_t in #( no|yes) ;; #( *) printf "%s\n" "#define int16_t $ac_cv_c_int16_t" >>confdefs.h ;; esac ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t" case $ac_cv_c_int32_t in #( no|yes) ;; #( *) printf "%s\n" "#define int32_t $ac_cv_c_int32_t" >>confdefs.h ;; esac ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t" case $ac_cv_c_int64_t in #( no|yes) ;; #( *) printf "%s\n" "#define int64_t $ac_cv_c_int64_t" >>confdefs.h ;; esac ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t" case $ac_cv_c_uint8_t in #( no|yes) ;; #( *) printf "%s\n" "#define _UINT8_T 1" >>confdefs.h printf "%s\n" "#define uint8_t $ac_cv_c_uint8_t" >>confdefs.h ;; esac ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" case $ac_cv_c_uint16_t in #( no|yes) ;; #( *) printf "%s\n" "#define uint16_t $ac_cv_c_uint16_t" >>confdefs.h ;; esac ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" case $ac_cv_c_uint32_t in #( no|yes) ;; #( *) printf "%s\n" "#define _UINT32_T 1" >>confdefs.h printf "%s\n" "#define uint32_t $ac_cv_c_uint32_t" >>confdefs.h ;; esac ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t" case $ac_cv_c_uint64_t in #( no|yes) ;; #( *) printf "%s\n" "#define _UINT64_T 1" >>confdefs.h printf "%s\n" "#define uint64_t $ac_cv_c_uint64_t" >>confdefs.h ;; esac ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "#if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif " if test "x$ac_cv_type_long_long" = xyes then : printf "%s\n" "#define HAVE_LONG_LONG 1" >>confdefs.h fi ac_fn_c_check_type "$LINENO" "long double" "ac_cv_type_long_double" "#if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif " if test "x$ac_cv_type_long_double" = xyes then : printf "%s\n" "#define HAVE_LONG_DOUBLE 1" >>confdefs.h fi ac_fn_c_check_type "$LINENO" "fsid_t" "ac_cv_type_fsid_t" "#if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_PARAM_H #include #endif #if HAVE_SYS_MOUNT_H #include #endif #if HAVE_SYS_VFS_H #include #endif " if test "x$ac_cv_type_fsid_t" = xyes then : printf "%s\n" "#define HAVE_FSID_T 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 printf %s "checking whether byte ordering is bigendian... " >&6; } if test ${ac_cv_c_bigendian+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_cv_c_bigendian=unknown # See if we're dealing with a universal compiler. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __APPLE_CC__ not a universal capable compiler #endif typedef int dummy; _ACEOF if ac_fn_c_try_compile "$LINENO" then : # Check for potential -arch flags. It is not universal unless # there are at least two -arch flags with different values. ac_arch= ac_prev= for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do if test -n "$ac_prev"; then case $ac_word in i?86 | x86_64 | ppc | ppc64) if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then ac_arch=$ac_word else ac_cv_c_bigendian=universal break fi ;; esac ac_prev= elif test "x$ac_word" = "x-arch"; then ac_prev=arch fi done fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext if test $ac_cv_c_bigendian = unknown; then # See if sys/param.h defines the BYTE_ORDER macro. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main (void) { #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \\ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \\ && LITTLE_ENDIAN) bogus endian macros #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : # It does; now see whether it defined to BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main (void) { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_c_bigendian=yes else case e in #( e) ac_cv_c_bigendian=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) bogus endian macros #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : # It does; now see whether it defined to _BIG_ENDIAN or not. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { #ifndef _BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_c_bigendian=yes else case e in #( e) ac_cv_c_bigendian=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # Compile a test program. if test "$cross_compiling" = yes then : # Try to guess by grepping values from an object file. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ unsigned short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; unsigned short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; int use_ascii (int i) { return ascii_mm[i] + ascii_ii[i]; } unsigned short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; unsigned short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; int use_ebcdic (int i) { return ebcdic_mm[i] + ebcdic_ii[i]; } int main (int argc, char **argv) { /* Intimidate the compiler so that it does not optimize the arrays away. */ char *p = argv[0]; ascii_mm[1] = *p++; ebcdic_mm[1] = *p++; ascii_ii[1] = *p++; ebcdic_ii[1] = *p++; return use_ascii (argc) == use_ebcdic (*p); } _ACEOF if ac_fn_c_try_link "$LINENO" then : if grep BIGenDianSyS conftest$ac_exeext >/dev/null; then ac_cv_c_bigendian=yes fi if grep LiTTleEnDian conftest$ac_exeext >/dev/null ; then if test "$ac_cv_c_bigendian" = unknown; then ac_cv_c_bigendian=no else # finding both strings is unlikely to happen, but who knows? ac_cv_c_bigendian=unknown fi fi fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main (void) { /* Are we little or big endian? From Harbison&Steele. */ union { long int l; char c[sizeof (long int)]; } u; u.l = 1; return u.c[sizeof (long int) - 1] == 1; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : ac_cv_c_bigendian=no else case e in #( e) ac_cv_c_bigendian=yes ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 printf "%s\n" "$ac_cv_c_bigendian" >&6; } case $ac_cv_c_bigendian in #( yes) printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h ;; #( no) ;; #( universal) printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ;; #( *) as_fn_error $? "unknown endianness presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; esac # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like 'int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 printf %s "checking size of off_t... " >&6; } if test ${ac_cv_sizeof_off_t+y} then : printf %s "(cached) " >&6 else case e in #( e) if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default" then : else case e in #( e) if test "$ac_cv_type_off_t" = yes; then { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error 77 "cannot compute sizeof (off_t) See 'config.log' for more details" "$LINENO" 5; } else ac_cv_sizeof_off_t=0 fi ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 printf "%s\n" "$ac_cv_sizeof_off_t" >&6; } printf "%s\n" "#define SIZEOF_OFF_T $ac_cv_sizeof_off_t" >>confdefs.h # Checks for library functions. ac_fn_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_strerror_r" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_STRERROR_R $ac_have_decl" >>confdefs.h if test $ac_cv_have_decl_strerror_r = yes; then # For backward compatibility's sake, define HAVE_STRERROR_R. # (We used to run AC_CHECK_FUNCS_ONCE for strerror_r, as well # as AC_CHECK_DECLS_ONCE.) printf "%s\n" "#define HAVE_STRERROR_R 1" >>confdefs.h fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 printf %s "checking whether strerror_r returns char *... " >&6; } if test ${ac_cv_func_strerror_r_char_p+y} then : printf %s "(cached) " >&6 else case e in #( e) ac_cv_func_strerror_r_char_p=no if test $ac_cv_have_decl_strerror_r = yes; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main (void) { char buf[100]; char x = *strerror_r (0, buf, sizeof buf); char *p = strerror_r (0, buf, sizeof buf); return !p || x; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_func_strerror_r_char_p=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 printf "%s\n" "$ac_cv_func_strerror_r_char_p" >&6; } if test $ac_cv_func_strerror_r_char_p = yes; then printf "%s\n" "#define STRERROR_R_CHAR_P 1" >>confdefs.h fi ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default " if test "x$ac_cv_type_pid_t" = xyes then : else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined _WIN64 && !defined __CYGWIN__ LLP64 #endif int main (void) { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_pid_type='int' else case e in #( e) ac_pid_type='__int64' ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h ;; esac fi ac_func= for ac_item in $ac_func_c_list do if test $ac_func; then ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then echo "#define $ac_item 1" >> confdefs.h fi ac_func= else ac_func=$ac_item fi done if test "x$ac_cv_func_fork" = xyes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 printf %s "checking for working fork... " >&6; } if test ${ac_cv_func_fork_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : ac_cv_func_fork_works=cross else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main (void) { /* By R. Kuhlmann. */ return fork () < 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO" then : ac_cv_func_fork_works=yes else case e in #( e) ac_cv_func_fork_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 printf "%s\n" "$ac_cv_func_fork_works" >&6; } else ac_cv_func_fork_works=$ac_cv_func_fork fi if test "x$ac_cv_func_fork_works" = xcross; then case $host in *-*-amigaos* | *-*-msdosdjgpp*) # Override, as these systems have only a dummy fork() stub ac_cv_func_fork_works=no ;; *) ac_cv_func_fork_works=yes ;; esac { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 printf "%s\n" "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} fi ac_cv_func_vfork_works=$ac_cv_func_vfork if test "x$ac_cv_func_vfork" = xyes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 printf %s "checking for working vfork... " >&6; } if test ${ac_cv_func_vfork_works+y} then : printf %s "(cached) " >&6 else case e in #( e) if test "$cross_compiling" = yes then : ac_cv_func_vfork_works=cross else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Thanks to Paul Eggert for this test. */ $ac_includes_default #include #include #ifdef HAVE_VFORK_H # include #endif static void do_nothing (int sig) { (void) sig; } /* On some sparc systems, changes by the child to local and incoming argument registers are propagated back to the parent. The compiler is told about this with #include , but some compilers (e.g. gcc -O) don't grok . Test for this by using a static variable whose address is put into a register that is clobbered by the vfork. */ static void sparc_address_test (int arg) { static pid_t child; if (!child) { child = vfork (); if (child < 0) { perror ("vfork"); _exit(2); } if (!child) { arg = getpid(); write(-1, "", 0); _exit (arg); } } } int main (void) { pid_t parent = getpid (); pid_t child; sparc_address_test (0); /* On Solaris 2.4, changes by the child to the signal handler also munge signal handlers in the parent. To detect this, start by putting the parent's handler in a known state. */ signal (SIGTERM, SIG_DFL); child = vfork (); if (child == 0) { /* Here is another test for sparc vfork register problems. This test uses lots of local variables, at least as many local variables as main has allocated so far including compiler temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should reuse the register of parent for one of the local variables, since it will think that parent can't possibly be used any more in this routine. Assigning to the local variable will thus munge parent in the parent process. */ pid_t p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); /* Convince the compiler that p..p7 are live; otherwise, it might use the same hardware register for all 8 local variables. */ if (p != p1 || p != p2 || p != p3 || p != p4 || p != p5 || p != p6 || p != p7) _exit(1); /* Alter the child's signal handler. */ if (signal (SIGTERM, do_nothing) != SIG_DFL) _exit(1); /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent from child file descriptors. If the child closes a descriptor before it execs or exits, this munges the parent's descriptor as well. Test for this by closing stdout in the child. */ _exit(close(fileno(stdout)) != 0); } else { int status; struct stat st; while (wait(&status) != child) ; return ( /* Was there some problem with vforking? */ child < 0 /* Did the child munge the parent's signal handler? */ || signal (SIGTERM, SIG_DFL) != SIG_DFL /* Did the child fail? (This shouldn't happen.) */ || status /* Did the vfork/compiler bug occur? */ || parent != getpid() /* Did the file descriptor bug occur? */ || fstat(fileno(stdout), &st) != 0 ); } } _ACEOF if ac_fn_c_try_run "$LINENO" then : ac_cv_func_vfork_works=yes else case e in #( e) ac_cv_func_vfork_works=no ;; esac fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 printf "%s\n" "$ac_cv_func_vfork_works" >&6; } fi; if test "x$ac_cv_func_fork_works" = xcross; then ac_cv_func_vfork_works=$ac_cv_func_vfork { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 printf "%s\n" "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} fi if test "x$ac_cv_func_vfork_works" = xyes; then printf "%s\n" "#define HAVE_WORKING_VFORK 1" >>confdefs.h else printf "%s\n" "#define vfork fork" >>confdefs.h fi if test "x$ac_cv_func_fork_works" = xyes; then printf "%s\n" "#define HAVE_WORKING_FORK 1" >>confdefs.h fi as_ac_Symbol=`printf "%s\n" "ac_cv_have_decl_snprintf(char *, size_t, const char *, ...)" | sed "$as_sed_sh"` ac_fn_check_decl "$LINENO" "snprintf(char *, size_t, const char *, ...)" "$as_ac_Symbol" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if eval test \"x\$"$as_ac_Symbol"\" = x"yes" then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_SNPRINTF $ac_have_decl" >>confdefs.h if test $ac_have_decl = 1 then : else case e in #( e) case " $LIBOBJS " in *" snprintf.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS snprintf.$ac_objext" ;; esac ;; esac fi as_ac_Symbol=`printf "%s\n" "ac_cv_have_decl_asprintf(char **, const char *, ...)" | sed "$as_sed_sh"` ac_fn_check_decl "$LINENO" "asprintf(char **, const char *, ...)" "$as_ac_Symbol" "#define _GNU_SOURCE #include " "$ac_c_undeclared_builtin_options" "CFLAGS" if eval test \"x\$"$as_ac_Symbol"\" = x"yes" then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_ASPRINTF $ac_have_decl" >>confdefs.h if test $ac_have_decl = 1 then : else case e in #( e) case " $LIBOBJS " in *" asprintf.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS asprintf.$ac_objext" ;; esac ;; esac fi as_ac_Symbol=`printf "%s\n" "ac_cv_have_decl_strdup(const char *)" | sed "$as_sed_sh"` ac_fn_check_decl "$LINENO" "strdup(const char *)" "$as_ac_Symbol" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if eval test \"x\$"$as_ac_Symbol"\" = x"yes" then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_STRDUP $ac_have_decl" >>confdefs.h if test $ac_have_decl = 1 then : else case e in #( e) case " $LIBOBJS " in *" strdup.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strdup.$ac_objext" ;; esac ;; esac fi case $host_os in darwin*) # NetBSD PR 38488: warnx(3) escapes certain characters like \n ac_cv_func_warn=no ;; esac as_ac_Symbol=`printf "%s\n" "ac_cv_have_decl_isblank(int)" | sed "$as_sed_sh"` ac_fn_check_decl "$LINENO" "isblank(int)" "$as_ac_Symbol" "#include " "$ac_c_undeclared_builtin_options" "CFLAGS" if eval test \"x\$"$as_ac_Symbol"\" = x"yes" then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_ISBLANK $ac_have_decl" >>confdefs.h if test $ac_have_decl = 1 then : else case e in #( e) case " $LIBOBJS " in *" isblank.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS isblank.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "err" "ac_cv_func_err" if test "x$ac_cv_func_err" = xyes then : printf "%s\n" "#define HAVE_ERR 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" err.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS err.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "fgetln" "ac_cv_func_fgetln" if test "x$ac_cv_func_fgetln" = xyes then : printf "%s\n" "#define HAVE_FGETLN 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" fgetln.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS fgetln.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "fnmatch" "ac_cv_func_fnmatch" if test "x$ac_cv_func_fnmatch" = xyes then : printf "%s\n" "#define HAVE_FNMATCH 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" fnmatch.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS fnmatch.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "fparseln" "ac_cv_func_fparseln" if test "x$ac_cv_func_fparseln" = xyes then : printf "%s\n" "#define HAVE_FPARSELN 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" fparseln.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS fparseln.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "getdelim" "ac_cv_func_getdelim" if test "x$ac_cv_func_getdelim" = xyes then : printf "%s\n" "#define HAVE_GETDELIM 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" getdelim.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS getdelim.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "getenv" "ac_cv_func_getenv" if test "x$ac_cv_func_getenv" = xyes then : printf "%s\n" "#define HAVE_GETENV 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" getenv.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS getenv.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline" if test "x$ac_cv_func_getline" = xyes then : printf "%s\n" "#define HAVE_GETLINE 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" getline.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS getline.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "lchflags" "ac_cv_func_lchflags" if test "x$ac_cv_func_lchflags" = xyes then : printf "%s\n" "#define HAVE_LCHFLAGS 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" lchflags.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS lchflags.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "lchmod" "ac_cv_func_lchmod" if test "x$ac_cv_func_lchmod" = xyes then : printf "%s\n" "#define HAVE_LCHMOD 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" lchmod.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS lchmod.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "lchown" "ac_cv_func_lchown" if test "x$ac_cv_func_lchown" = xyes then : printf "%s\n" "#define HAVE_LCHOWN 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" lchown.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS lchown.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "lutimes" "ac_cv_func_lutimes" if test "x$ac_cv_func_lutimes" = xyes then : printf "%s\n" "#define HAVE_LUTIMES 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" lutimes.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS lutimes.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "mkdtemp" "ac_cv_func_mkdtemp" if test "x$ac_cv_func_mkdtemp" = xyes then : printf "%s\n" "#define HAVE_MKDTEMP 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" mkdtemp.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS mkdtemp.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp" if test "x$ac_cv_func_mkstemp" = xyes then : printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" mkstemp.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv" if test "x$ac_cv_func_setenv" = xyes then : printf "%s\n" "#define HAVE_SETENV 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" setenv.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS setenv.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "setgroupent" "ac_cv_func_setgroupent" if test "x$ac_cv_func_setgroupent" = xyes then : printf "%s\n" "#define HAVE_SETGROUPENT 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" setgroupent.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS setgroupent.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "setpassent" "ac_cv_func_setpassent" if test "x$ac_cv_func_setpassent" = xyes then : printf "%s\n" "#define HAVE_SETPASSENT 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" setpassent.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS setpassent.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname" if test "x$ac_cv_func_setprogname" = xyes then : printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" setprogname.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS setprogname.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "shquote" "ac_cv_func_shquote" if test "x$ac_cv_func_shquote" = xyes then : printf "%s\n" "#define HAVE_SHQUOTE 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" shquote.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS shquote.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "statvfs" "ac_cv_func_statvfs" if test "x$ac_cv_func_statvfs" = xyes then : printf "%s\n" "#define HAVE_STATVFS 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" statvfs.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS statvfs.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror" if test "x$ac_cv_func_strerror" = xyes then : printf "%s\n" "#define HAVE_STRERROR 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" strerror.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strerror.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat" if test "x$ac_cv_func_strlcat" = xyes then : printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" strlcat.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strlcat.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy" if test "x$ac_cv_func_strlcpy" = xyes then : printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" strlcpy.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strlcpy.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "strmode" "ac_cv_func_strmode" if test "x$ac_cv_func_strmode" = xyes then : printf "%s\n" "#define HAVE_STRMODE 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" strmode.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strmode.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "strsep" "ac_cv_func_strsep" if test "x$ac_cv_func_strsep" = xyes then : printf "%s\n" "#define HAVE_STRSEP 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" strsep.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strsep.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "strtoll" "ac_cv_func_strtoll" if test "x$ac_cv_func_strtoll" = xyes then : printf "%s\n" "#define HAVE_STRTOLL 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" strtoll.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strtoll.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" if test "x$ac_cv_func_unsetenv" = xyes then : printf "%s\n" "#define HAVE_UNSETENV 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" unsetenv.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS unsetenv.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "usleep" "ac_cv_func_usleep" if test "x$ac_cv_func_usleep" = xyes then : printf "%s\n" "#define HAVE_USLEEP 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" usleep.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS usleep.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "utimes" "ac_cv_func_utimes" if test "x$ac_cv_func_utimes" = xyes then : printf "%s\n" "#define HAVE_UTIMES 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" utimes.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS utimes.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "warn" "ac_cv_func_warn" if test "x$ac_cv_func_warn" = xyes then : printf "%s\n" "#define HAVE_WARN 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" warn.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS warn.$ac_objext" ;; esac ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 printf %s "checking for library containing socket... " >&6; } if test ${ac_cv_search_socket+y} then : printf %s "(cached) " >&6 else case e in #( e) 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. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char socket (void); int main (void) { return socket (); ; return 0; } _ACEOF for ac_lib in '' socket network do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO" then : ac_cv_search_socket=$ac_res fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext if test ${ac_cv_search_socket+y} then : break fi done if test ${ac_cv_search_socket+y} then : else case e in #( e) ac_cv_search_socket=no ;; esac fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 printf "%s\n" "$ac_cv_search_socket" >&6; } ac_res=$ac_cv_search_socket if test "$ac_res" != no then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 printf %s "checking for gethostbyname in -lnsl... " >&6; } if test ${ac_cv_lib_nsl_gethostbyname+y} then : printf %s "(cached) " >&6 else case e in #( e) 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. The 'extern "C"' is for builds by C++ compilers; although this is not generally supported in C code supporting it here has little cost and some practical benefit (sr 110532). */ #ifdef __cplusplus extern "C" #endif char gethostbyname (void); int main (void) { return gethostbyname (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : ac_cv_lib_nsl_gethostbyname=yes else case e in #( e) ac_cv_lib_nsl_gethostbyname=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; } if test "x$ac_cv_lib_nsl_gethostbyname" = xyes then : printf "%s\n" "#define HAVE_LIBNSL 1" >>confdefs.h LIBS="-lnsl $LIBS" fi need_getaddrinfo=no ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#ifdef HAVE_SYS_TYPES_H # include #endif #include " if test "x$ac_cv_type_socklen_t" = xyes then : printf "%s\n" "#define HAVE_SOCKLEN_T 1" >>confdefs.h fi ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "#include " if test "x$ac_cv_type_struct_addrinfo" = xyes then : printf "%s\n" "#define HAVE_STRUCT_ADDRINFO 1" >>confdefs.h fi ac_fn_c_check_type "$LINENO" "struct in6_addr" "ac_cv_type_struct_in6_addr" "#ifdef HAVE_SYS_TYPES_H # include #endif #include " if test "x$ac_cv_type_struct_in6_addr" = xyes then : printf "%s\n" "#define HAVE_STRUCT_IN6_ADDR 1" >>confdefs.h fi ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#ifdef HAVE_SYS_TYPES_H # include #endif #include " if test "x$ac_cv_type_struct_sockaddr_in6" = xyes then : printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6 1" >>confdefs.h fi ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "#ifdef HAVE_SYS_TYPES_H # include #endif #include " if test "x$ac_cv_type_struct_sockaddr_storage" = xyes then : printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h fi for ac_func in getnameinfo gai_strerror getaddrinfo do : as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes" then : cat >>confdefs.h <<_ACEOF #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1 _ACEOF : else case e in #( e) need_getaddrinfo=yes ;; esac fi done if test $need_getaddrinfo = yes; then case " $LIBOBJS " in *" getaddrinfo.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS getaddrinfo.$ac_objext" ;; esac fi need_findenv=no for ac_func in getenv setenv unsetenv do : as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes" then : cat >>confdefs.h <<_ACEOF #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1 _ACEOF : else case e in #( e) need_findenv=yes ;; esac fi done if test $need_findenv = yes; then case " $LIBOBJS " in *" findenv.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS findenv.$ac_objext" ;; esac fi need_gettemp=no for ac_func in mkdtemp mkstemp do : as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes" then : cat >>confdefs.h <<_ACEOF #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1 _ACEOF : else case e in #( e) need_gettemp=yes ;; esac fi done if test $need_gettemp = yes; then case " $LIBOBJS " in *" gettemp.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS gettemp.$ac_objext" ;; esac fi ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" if test "x$ac_cv_func_setlocale" = xyes then : printf "%s\n" "#define HAVE_SETLOCALE 1" >>confdefs.h fi need_setmode=no for ac_func in getmode setmode do : as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes" then : cat >>confdefs.h <<_ACEOF #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1 _ACEOF : else case e in #( e) need_setmode=yes ;; esac fi done if test $need_setmode = yes; then case " $LIBOBJS " in *" setmode.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS setmode.$ac_objext" ;; esac fi need_strnlen=no for ac_func in strnlen do : ac_fn_c_check_func "$LINENO" "strnlen" "ac_cv_func_strnlen" if test "x$ac_cv_func_strnlen" = xyes then : printf "%s\n" "#define HAVE_STRNLEN 1" >>confdefs.h : else case e in #( e) need_strnlen=yes ;; esac fi done if test $need_strnlen = yes; then case " $LIBOBJS " in *" strnlen.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strnlen.$ac_objext" ;; esac fi need_strndup=no for ac_func in strndup do : ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup" if test "x$ac_cv_func_strndup" = xyes then : printf "%s\n" "#define HAVE_STRNDUP 1" >>confdefs.h : else case e in #( e) need_strndup=yes ;; esac fi done if test $need_strndup = yes; then case " $LIBOBJS " in *" strndup.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strndup.$ac_objext" ;; esac fi need_memrchr=no for ac_func in memrchr do : ac_fn_c_check_func "$LINENO" "memrchr" "ac_cv_func_memrchr" if test "x$ac_cv_func_memrchr" = xyes then : printf "%s\n" "#define HAVE_MEMRCHR 1" >>confdefs.h : else case e in #( e) need_memrchr=yes ;; esac fi done if test $need_memrchr = yes; then case " $LIBOBJS " in *" memrchr.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS memrchr.$ac_objext" ;; esac fi ac_fn_check_decl "$LINENO" "endgrent" "ac_cv_have_decl_endgrent" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_endgrent" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_ENDGRENT $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "endpwent" "ac_cv_have_decl_endpwent" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_endpwent" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_ENDPWENT $ac_have_decl" >>confdefs.h ac_fn_check_decl "$LINENO" "setpassent" "ac_cv_have_decl_setpassent" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS" if test "x$ac_cv_have_decl_setpassent" = xyes then : ac_have_decl=1 else case e in #( e) ac_have_decl=0 ;; esac fi printf "%s\n" "#define HAVE_DECL_SETPASSENT $ac_have_decl" >>confdefs.h need_pwcache=no for ac_func in gid_from_group group_from_gid pwcache_groupdb pwcache_userdb uid_from_user user_from_uid do : as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes" then : cat >>confdefs.h <<_ACEOF #define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1 _ACEOF : else case e in #( e) need_pwcache=yes ;; esac fi done if test $need_pwcache = yes; then case " $LIBOBJS " in *" pwcache.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS pwcache.$ac_objext" ;; esac fi ac_fn_c_check_func "$LINENO" "fts_open" "ac_cv_func_fts_open" if test "x$ac_cv_func_fts_open" = xyes then : : else case e in #( e) printf "%s\n" "#define HAVE_NBCOMPAT_FTS 1" >>confdefs.h case " $LIBOBJS " in *" fts.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS fts.$ac_objext" ;; esac ;; esac fi ac_fn_c_check_func "$LINENO" "timegm" "ac_cv_func_timegm" if test "x$ac_cv_func_timegm" = xyes then : : else case e in #( e) case " $LIBOBJS " in *" timegm.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS timegm.$ac_objext" ;; esac ;; esac fi # Handle Darwin 7 having a poll() compatibility function. Be # conservative -- if we don't find one of or , then # use our own poll() implementation. # pkg_cv_have_poll_h=no ac_fn_c_check_header_compile "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default" if test "x$ac_cv_header_poll_h" = xyes then : printf "%s\n" "#define HAVE_POLL_H 1" >>confdefs.h fi ac_fn_c_check_header_compile "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default" if test "x$ac_cv_header_sys_poll_h" = xyes then : printf "%s\n" "#define HAVE_SYS_POLL_H 1" >>confdefs.h fi for ac_header in poll.h sys/poll.h do : as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | sed "$as_sed_sh"` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" if eval test \"x\$"$as_ac_Header"\" = x"yes" then : cat >>confdefs.h <<_ACEOF #define `printf "%s\n" "HAVE_$ac_header" | sed "$as_sed_cpp"` 1 _ACEOF pkg_cv_have_poll_h=yes fi done pkg_use_nbcompat_poll=yes if test $pkg_cv_have_poll_h = yes; then pkg_use_nbcompat_poll=no fi if test $pkg_cv_have_poll_h = yes -o test $pkg_cv_have_sys_poll_h = yes; then ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll" if test "x$ac_cv_func_poll" = xyes then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll() is implemented natively" >&5 printf %s "checking if poll() is implemented natively... " >&6; } if test ${pkg_cv_native_poll+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if HAVE_POLL_H #include #endif #if HAVE_SYS_POLL_H #include #endif int main (void) { #ifdef _POLL_EMUL_H_ #error "poll() is emulated" #endif ; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : pkg_cv_native_poll=yes else case e in #( e) pkg_cv_native_poll=no ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pkg_cv_native_poll" >&5 printf "%s\n" "$pkg_cv_native_poll" >&6; } if test "x$pkg_cv_native_poll" = "xyes"; then pkg_use_nbcompat_poll=no else pkg_use_nbcompat_poll=yes : fi fi fi if test $pkg_use_nbcompat_poll = yes; then printf "%s\n" "#define HAVE_NBCOMPAT_POLL 1" >>confdefs.h case " $LIBOBJS " in *" poll.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS poll.$ac_objext" ;; esac fi ac_fn_c_check_func "$LINENO" "getpassphrase" "ac_cv_func_getpassphrase" if test "x$ac_cv_func_getpassphrase" = xyes then : printf "%s\n" "#define HAVE_GETPASSPHRASE 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "getpgrp" "ac_cv_func_getpgrp" if test "x$ac_cv_func_getpgrp" = xyes then : printf "%s\n" "#define HAVE_GETPGRP 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "select" "ac_cv_func_select" if test "x$ac_cv_func_select" = xyes then : printf "%s\n" "#define HAVE_SELECT 1" >>confdefs.h fi ac_fn_c_check_func "$LINENO" "getpgrp" "ac_cv_func_getpgrp" if test "x$ac_cv_func_getpgrp" = xyes then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 printf %s "checking whether getpgrp requires zero arguments... " >&6; } if test ${ac_cv_func_getpgrp_void+y} then : printf %s "(cached) " >&6 else case e in #( e) # Use it with a single arg. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main (void) { getpgrp (0); ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : ac_cv_func_getpgrp_void=no else case e in #( e) ac_cv_func_getpgrp_void=yes ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5 printf "%s\n" "$ac_cv_func_getpgrp_void" >&6; } if test $ac_cv_func_getpgrp_void = yes; then printf "%s\n" "#define GETPGRP_VOID 1" >>confdefs.h fi fi ac_fn_c_check_member "$LINENO" "struct statfs" "f_flags" "ac_cv_member_struct_statfs_f_flags" " #include " if test "x$ac_cv_member_struct_statfs_f_flags" = xyes then : printf "%s\n" "#define HAVE_STRUCT_STATFS_F_FLAGS 1" >>confdefs.h : else case e in #( e) : ;; esac fi ac_fn_c_check_member "$LINENO" "struct statfs" "f_fsize" "ac_cv_member_struct_statfs_f_fsize" " #include " if test "x$ac_cv_member_struct_statfs_f_fsize" = xyes then : printf "%s\n" "#define HAVE_STRUCT_STATFS_F_FSIZE 1" >>confdefs.h : else case e in #( e) : ;; esac fi ac_fn_c_check_member "$LINENO" "struct statfs" "f_iosize" "ac_cv_member_struct_statfs_f_iosize" " #include " if test "x$ac_cv_member_struct_statfs_f_iosize" = xyes then : printf "%s\n" "#define HAVE_STRUCT_STATFS_F_IOSIZE 1" >>confdefs.h : else case e in #( e) : ;; esac fi ac_fn_c_check_member "$LINENO" "struct dirent" "d_namlen" "ac_cv_member_struct_dirent_d_namlen" " #include #if HAVE_DIRENT_H # include #else # define dirent direct # if HAVE_SYS_NDIR_H # include # endif # if HAVE_SYS_DIR_H # include # endif # if HAVE_NDIR_H # include # endif #endif " if test "x$ac_cv_member_struct_dirent_d_namlen" = xyes then : printf "%s\n" "#define HAVE_STRUCT_DIRENT_D_NAMLEN 1" >>confdefs.h : else case e in #( e) : ;; esac fi ac_fn_c_check_member "$LINENO" "DIR" "dd_fd" "ac_cv_member_DIR_dd_fd" " #include #if HAVE_DIRENT_H # include #else # define dirent direct # if HAVE_SYS_NDIR_H # include # endif # if HAVE_SYS_DIR_H # include # endif # if HAVE_NDIR_H # include # endif #endif " if test "x$ac_cv_member_DIR_dd_fd" = xyes then : printf "%s\n" "#define HAVE_DIR_DD_FD 1" >>confdefs.h : else case e in #( e) : ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5 printf %s "checking for dirfd... " >&6; } if test ${nb_cv_dirfd+y} then : printf %s "(cached) " >&6 else case e in #( e) nb_cv_dirfd=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #if HAVE_DIRENT_H # include #else # define dirent direct # if HAVE_SYS_NDIR_H # include # endif # if HAVE_SYS_DIR_H # include # endif # if HAVE_NDIR_H # include # endif #endif int dummy_var; int main (void) { dummy_var = dirfd((DIR *)0) ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO" then : nb_cv_dirfd=yes fi rm -f core conftest.err conftest.$ac_objext conftest.beam \ conftest$ac_exeext conftest.$ac_ext ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $nb_cv_dirfd" >&5 printf "%s\n" "$nb_cv_dirfd" >&6; } if test $nb_cv_dirfd = yes; then printf "%s\n" "#define HAVE_DIRFD 1" >>confdefs.h fi if test $ac_cv_type_long_long = yes; then can_printf_longlong=no { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for *printf() support for %lld" >&5 printf %s "checking for *printf() support for %lld... " >&6; } if test ${nb_cv_printf_lld+y} then : printf %s "(cached) " >&6 else case e in #( e) nb_cv_printf_lld=no if test "$cross_compiling" = yes then : { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "cannot run test program while cross compiling See 'config.log' for more details" "$LINENO" 5; } else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main() { char buf[100]; sprintf(buf, "%lld", 4294967300LL); return (strcmp(buf, "4294967300")); } _ACEOF if ac_fn_c_try_run "$LINENO" then : nb_cv_printf_lld=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $nb_cv_printf_lld" >&5 printf "%s\n" "$nb_cv_printf_lld" >&6; } if test $nb_cv_printf_lld = yes; then can_printf_longlong=yes fi if test $can_printf_longlong != yes; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for *printf() support for %qd" >&5 printf %s "checking for *printf() support for %qd... " >&6; } if test ${nb_cv_printf_qd+y} then : printf %s "(cached) " >&6 else case e in #( e) nb_cv_printf_qd=no if test "$cross_compiling" = yes then : { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "cannot run test program while cross compiling See 'config.log' for more details" "$LINENO" 5; } else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main() { char buf[100]; sprintf(buf, "%qd", 4294967300LL); return (strcmp(buf, "4294967300")); } _ACEOF if ac_fn_c_try_run "$LINENO" then : nb_cv_printf_qd=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $nb_cv_printf_qd" >&5 printf "%s\n" "$nb_cv_printf_qd" >&6; } if test $nb_cv_printf_qd = yes; then printf "%s\n" "#define HAVE_PRINTF_QD 1" >>confdefs.h can_printf_longlong=yes fi fi if test $can_printf_longlong = yes; then printf "%s\n" "#define HAVE_WORKING_LONG_LONG 1" >>confdefs.h ac_fn_c_check_func "$LINENO" "strtoll" "ac_cv_func_strtoll" if test "x$ac_cv_func_strtoll" = xyes then : printf "%s\n" "#define HAVE_STRTOLL 1" >>confdefs.h else case e in #( e) case " $LIBOBJS " in *" strtoll.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strtoll.$ac_objext" ;; esac ;; esac fi fi fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if vsnprintf is standards compliant" >&5 printf %s "checking if vsnprintf is standards compliant... " >&6; } if test ${nb_cv_std_vsnprintf+y} then : printf %s "(cached) " >&6 else case e in #( e) nb_cv_std_vsnprintf=no if test "$cross_compiling" = yes then : { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} as_fn_error $? "cannot run test program while cross compiling See 'config.log' for more details" "$LINENO" 5; } else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include void dotest(char *fmt, ...) { char buf[3]; va_list ap; va_start(ap, fmt); exit(snprintf(buf, 3, fmt, ap) == 4 ? 0 : 1); } int main() { dotest("test"); } _ACEOF if ac_fn_c_try_run "$LINENO" then : nb_cv_std_vsnprintf=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext ;; esac fi ;; esac fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $nb_cv_std_vsnprintf" >&5 printf "%s\n" "$nb_cv_std_vsnprintf" >&6; } if test nb_cv_std_vsnprintf = no; then case " $LIBOBJS " in *" snprintf.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS snprintf.$ac_objext" ;; esac fi ac_config_files="$ac_config_files Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # 'ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* 'ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # 'set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # 'set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 printf "%s\n" "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@@"}'='"$@@"' setopt NO_GLOB_SUBST else case e in #( e) case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac ;; esac fi # Reset variables that may have inherited troublesome values from # the environment. # IFS needs to be set, to space, tab, and newline, in precisely that order. # (If _AS_PATH_WALK were called with IFS unset, it would have the # side effect of setting IFS to empty, thus disabling word splitting.) # Quoting is to prevent editors from complaining about space-tab. as_nl=' ' export as_nl IFS=" "" $as_nl" PS1='$ ' PS2='> ' PS4='+ ' # Ensure predictable behavior from utilities with locale-dependent output. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # We cannot yet rely on "unset" to work, but we need these variables # to be unset--not just set to an empty or harmless value--now, to # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct # also avoids known problems related to "unset" and subshell syntax # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH do eval test \${$as_var+y} \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done # Ensure that fds 0, 1, and 2 are open. if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi if (exec 3>&2) ; then :; else exec 2>/dev/null; fi # The user is always right. if ${PATH_SEPARATOR+false} :; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS case $as_dir in #((( '') as_dir=./ ;; */) ;; *) as_dir=$as_dir/ ;; esac test -r "$as_dir$0" && as_myself=$as_dir$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as 'sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi printf "%s\n" "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null then : eval 'as_fn_append () { eval $1+=\$2 }' else case e in #( e) as_fn_append () { eval $1=\$$1\$2 } ;; esac fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null then : eval 'as_fn_arith () { as_val=$(( $* )) }' else case e in #( e) as_fn_arith () { as_val=`expr "$@@" || test $? -eq 1` } ;; esac fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # Determine whether it's possible to make 'echo' print without a newline. # These variables are no longer used directly by Autoconf, but are AC_SUBSTed # for compatibility with existing Makefiles. ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac # For backward compatibility with old third-party macros, we provide # the shell variables $as_echo and $as_echo_n. New code should use # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. as_echo='printf %s\n' as_echo_n='printf %s' rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 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. # In both cases, we have to default to 'cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # 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. as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated # Sed expression to map a string onto a valid variable name. as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g" as_tr_sh="eval sed '$as_sed_sh'" # deprecated exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by libnbcompat $as_me 20190708, which was generated by GNU Autoconf 2.72. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ '$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Report bugs to ." _ACEOF ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ libnbcompat config.status 20190708 configured by $0, generated by GNU Autoconf 2.72, with options \\"\$ac_cs_config\\" Copyright (C) 2023 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) printf "%s\n" "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) printf "%s\n" "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: '$1' Try '$0 --help' for more information.";; --help | --hel | -h ) printf "%s\n" "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: '$1' Try '$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX printf "%s\n" "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "nbcompat/config.h") CONFIG_HEADERS="$CONFIG_HEADERS nbcompat/config.h" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to '$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with './config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @@srcdir@@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@@srcdir@@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with './config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script 'defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain ':'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is 'configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 printf "%s\n" "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`printf "%s\n" "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || printf "%s\n" X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@@datadir@@/p /@@docdir@@/p /@@infodir@@/p /@@localedir@@/p /@@mandir@@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@@datadir@@*|*@@docdir@@*|*@@infodir@@*|*@@localedir@@*|*@@mandir@@*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@@datadir@@&$datadir&g s&@@docdir@@&$docdir&g s&@@infodir@@&$infodir&g s&@@localedir@@&$localedir&g s&@@mandir@@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when '$srcdir' = '.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b s|@@configure_input@@|$ac_sed_conf_input|;t t s&@@top_builddir@@&$ac_top_builddir_sub&;t t s&@@top_build_prefix@@&$ac_top_build_prefix&;t t s&@@srcdir@@&$ac_srcdir&;t t s&@@abs_srcdir@@&$ac_abs_srcdir&;t t s&@@top_srcdir@@&$ac_top_srcdir&;t t s&@@abs_top_srcdir@@&$ac_abs_top_srcdir&;t t s&@@builddir@@&$ac_builddir&;t t s&@@abs_builddir@@&$ac_abs_builddir&;t t s&@@abs_top_builddir@@&$ac_abs_top_builddir&;t t s&@@INSTALL@@&$ac_INSTALL&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir' which seems to be undefined. Please make sure it is defined" >&5 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { printf "%s\n" "/* $configure_input */" >&1 \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else printf "%s\n" "/* $configure_input */" >&1 \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi @ 1.90 log @libnbcompat: Add memrchr. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.71 for libnbcompat 20190708. d8 1 a8 1 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, a19 1 as_nop=: d28 2 a29 2 else $as_nop case `(set -o) 2>/dev/null` in #( d34 1 d106 1 a106 1 # We did not find ourselves, most probably we were run as `sh COMMAND' d136 1 a136 1 # out after a failed `exec'. d143 1 a143 2 as_bourne_compatible="as_nop=: if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 d151 2 a152 2 else \$as_nop case \`(set -o) 2>/dev/null\` in #( d157 1 d175 3 a177 2 else \$as_nop exitcode=1; echo positional parameters were not saved. d191 3 a193 2 else $as_nop as_have_required=no d198 2 a199 2 else $as_nop as_save_IFS=$IFS; IFS=$PATH_SEPARATOR d232 2 a233 2 else $as_nop if { test -f "$SHELL" || test -f "$SHELL.exe"; } && d237 2 a238 1 fi d260 1 a260 1 # out after a failed `exec'. d280 2 a281 1 fi a319 8 # as_fn_nop # --------- # Do nothing but, unlike ":", preserve the value of $?. as_fn_nop () { return $? } as_nop=as_fn_nop d388 2 a389 2 else $as_nop as_fn_append () d392 2 a393 1 } d407 2 a408 2 else $as_nop as_fn_arith () d411 2 a412 1 } a414 8 # as_fn_nop # --------- # Do nothing but, unlike ":", preserve the value of $?. as_fn_nop () { return $? } as_nop=as_fn_nop d488 2 a537 1 d549 3 a551 3 # 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. # In both cases, we have to default to `cp -pR'. d576 2 a577 1 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" d580 2 a581 1 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" d838 1 a838 1 as_fn_error $? "invalid feature name: \`$ac_useropt'" d864 1 a864 1 as_fn_error $? "invalid feature name: \`$ac_useropt'" d1077 1 a1077 1 as_fn_error $? "invalid package name: \`$ac_useropt'" d1093 1 a1093 1 as_fn_error $? "invalid package name: \`$ac_useropt'" d1123 2 a1124 2 -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" d1132 1 a1132 1 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; d1182 1 a1182 1 # There might be people who depend on the old broken behavior: `$host' d1250 1 a1250 1 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" d1278 1 a1278 1 \`configure' configures libnbcompat 20190708 to adapt to many kinds of systems. d1292 1 a1292 1 -q, --quiet, --silent do not print \`checking ...' messages d1294 1 a1294 1 -C, --config-cache alias for \`--cache-file=config.cache' d1296 1 a1296 1 --srcdir=DIR find the sources in DIR [configure dir or \`..'] d1304 4 a1307 4 By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. d1369 1 a1369 1 Use these variables to override the choices made by `configure' or to help d1437 1 a1437 1 generated by GNU Autoconf 2.71 d1439 1 a1439 1 Copyright (C) 2021 Free Software Foundation, Inc. d1478 2 a1479 2 else $as_nop printf "%s\n" "$as_me: failed program was:" >&5 d1482 2 a1483 1 ac_retval=1 d1502 2 a1503 2 else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext d1511 3 a1513 2 else $as_nop eval "$3=no" d1515 2 a1516 1 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext d1556 2 a1557 2 else $as_nop printf "%s\n" "$as_me: failed program was:" >&5 d1560 2 a1561 1 ac_retval=1 d1585 2 a1586 2 else $as_nop eval "$3=no" d1616 3 a1618 2 else $as_nop eval "$3=yes" d1622 2 a1623 1 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext d1643 2 a1644 2 else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext d1651 1 a1651 1 which can conflict with char $2 (); below. */ d1662 1 a1662 1 char $2 (); d1681 3 a1683 2 else $as_nop eval "$3=no" d1686 2 a1687 1 conftest$ac_exeext conftest.$ac_ext d1709 2 a1710 2 else $as_nop as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` d1734 3 a1736 2 else $as_nop eval "$3=no" d1740 2 a1741 1 d1762 2 a1763 2 else $as_nop eval "$3=no" d1804 2 a1805 2 else $as_nop case $ac_type in #( d1810 1 d1819 3 a1821 2 else $as_nop break d1823 2 a1824 1 done d1845 2 a1846 2 else $as_nop eval "$3=no" d1878 3 a1880 2 else $as_nop break d1882 2 a1883 1 done d1922 2 a1923 2 else $as_nop printf "%s\n" "$as_me: program exited with status $ac_status" >&5 d1927 2 a1928 1 ac_retval=$ac_status d1981 2 a1982 2 else $as_nop as_fn_arith $ac_mid + 1 && ac_lo=$as_val d1987 2 a1988 1 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val d1992 2 a1993 2 else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext d2028 2 a2029 2 else $as_nop as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val d2034 2 a2035 1 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val d2039 3 a2041 2 else $as_nop ac_lo= ac_hi= d2043 2 a2044 1 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext d2067 3 a2069 2 else $as_nop as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val d2117 3 a2119 2 else $as_nop ac_retval=1 d2143 2 a2144 2 else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext d2160 2 a2161 2 else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext d2177 3 a2179 2 else $as_nop eval "$4=no" d2181 2 a2182 1 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext d2184 2 a2185 1 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext d2218 1 a2218 1 generated by GNU Autoconf 2.71. Invocation command line was d2464 2 a2465 2 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} d2467 1 a2467 1 See \`config.log' for more details" "$LINENO" 5; } d2504 1 a2504 3 static char *e (p, i) char **p; int i; d2518 15 d2560 1 a2560 1 // Does the compiler advertise C99 conformance? d2565 2 d2572 1 a2621 1 // See if C++-style comments work. d2687 2 d2710 1 a2710 1 // Does the compiler advertise C11 conformance? d2907 3 a2909 2 else $as_nop as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 d2937 2 a2938 2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} d2941 2 a2942 2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} d2951 2 a2952 2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} d2955 2 a2956 2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} d2959 4 a2962 4 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} d2978 2 a2979 2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} d2982 1 a2982 1 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' d3004 1 a3004 1 # By default was `s,x,x', remove it if useless. d3021 2 a3022 2 else $as_nop ac_build_alias=$build_alias d3029 2 a3030 1 d3057 2 a3058 2 else $as_nop if test "x$host_alias" = x; then d3064 2 a3065 1 d3109 2 a3110 2 else $as_nop if test -n "$CC"; then d3132 2 a3133 1 fi d3155 2 a3156 2 else $as_nop if test -n "$ac_ct_CC"; then d3178 2 a3179 1 fi d3214 2 a3215 2 else $as_nop if test -n "$CC"; then d3237 2 a3238 1 fi d3260 2 a3261 2 else $as_nop if test -n "$CC"; then d3300 2 a3301 1 fi d3325 2 a3326 2 else $as_nop if test -n "$CC"; then d3348 2 a3349 1 fi d3375 2 a3376 2 else $as_nop if test -n "$ac_ct_CC"; then d3398 2 a3399 1 fi d3437 2 a3438 2 else $as_nop if test -n "$CC"; then d3460 2 a3461 1 fi d3483 2 a3484 2 else $as_nop if test -n "$ac_ct_CC"; then d3506 2 a3507 1 fi d3536 2 a3537 2 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} d3539 1 a3539 1 See \`config.log' for more details" "$LINENO" 5; } d3611 2 a3612 2 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' d3632 1 a3632 1 # safe: cross compilers may not add the suffix if given an `-o' d3643 3 a3645 2 else $as_nop ac_file='' d3654 2 a3655 2 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} d3657 5 a3661 4 See \`config.log' for more details" "$LINENO" 5; } else $as_nop { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 printf "%s\n" "yes" >&6; } d3685 4 a3688 4 # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. d3698 3 a3700 3 else $as_nop { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} d3702 2 a3703 1 See \`config.log' for more details" "$LINENO" 5; } d3719 2 d3760 2 a3761 2 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} d3763 2 a3764 2 If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } d3771 2 a3772 1 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out d3779 2 a3780 2 else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext d3812 2 a3813 2 else $as_nop printf "%s\n" "$as_me: failed program was:" >&5 d3816 2 a3817 2 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} d3819 2 a3820 1 See \`config.log' for more details" "$LINENO" 5; } d3822 2 a3823 1 rm -f conftest.$ac_cv_objext conftest.$ac_ext d3834 2 a3835 2 else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext d3852 3 a3854 2 else $as_nop ac_compiler_gnu=no d3858 2 a3859 1 d3877 2 a3878 2 else $as_nop ac_save_c_werror_flag=$ac_c_werror_flag d3896 2 a3897 2 else $as_nop CFLAGS="" d3912 2 a3913 2 else $as_nop ac_c_werror_flag=$ac_save_c_werror_flag d3930 2 a3931 1 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext d3933 2 a3934 1 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext d3937 2 a3938 1 ac_c_werror_flag=$ac_save_c_werror_flag d3965 2 a3966 2 else $as_nop ac_cv_prog_cc_c11=no d3983 2 a3984 1 CC=$ac_save_CC d3991 2 a3992 2 else $as_nop if test "x$ac_cv_prog_cc_c11" = x d3996 2 a3997 2 else $as_nop { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 d3999 2 a4000 1 CC="$CC $ac_cv_prog_cc_c11" d4003 2 a4004 1 ac_prog_cc_stdc=c11 d4014 2 a4015 2 else $as_nop ac_cv_prog_cc_c99=no d4032 2 a4033 1 CC=$ac_save_CC d4040 2 a4041 2 else $as_nop if test "x$ac_cv_prog_cc_c99" = x d4045 2 a4046 2 else $as_nop { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 d4048 2 a4049 1 CC="$CC $ac_cv_prog_cc_c99" d4052 2 a4053 1 ac_prog_cc_stdc=c99 d4063 2 a4064 2 else $as_nop ac_cv_prog_cc_c89=no d4081 2 a4082 1 CC=$ac_save_CC d4089 2 a4090 2 else $as_nop if test "x$ac_cv_prog_cc_c89" = x d4094 2 a4095 2 else $as_nop { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 d4097 2 a4098 1 CC="$CC $ac_cv_prog_cc_c89" d4101 2 a4102 1 ac_prog_cc_stdc=c89 d4153 2 a4154 2 else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext d4170 3 a4172 2 else $as_nop ac_cv_safe_to_define___extensions__=no d4174 2 a4175 1 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext d4185 2 a4186 2 else $as_nop ac_cv_should_define__xopen_source=no d4205 2 a4206 2 else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext d4224 2 a4225 1 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext d4228 2 a4229 1 fi d4254 2 d4275 3 a4277 2 else $as_nop MINIX= d4303 2 a4304 2 else $as_nop cat >conftest.make <<\_ACEOF d4316 2 a4317 1 rm -f conftest.make d4351 2 a4352 2 else $as_nop as_save_IFS=$IFS; IFS=$PATH_SEPARATOR d4406 2 a4407 1 d4449 2 a4450 2 else $as_nop if test -n "$RANLIB"; then d4472 2 a4473 1 fi d4495 2 a4496 2 else $as_nop if test -n "$ac_ct_RANLIB"; then d4518 2 a4519 1 fi d4554 2 a4555 2 else $as_nop if test -n "$AWK"; then d4577 2 a4578 1 fi d4600 2 a4601 2 else $as_nop if test -n "$AR"; then d4623 2 a4624 1 fi d4647 2 a4648 2 else $as_nop ac_check_lib_save_LIBS=$LIBS d4655 8 a4662 2 builtin and then its argument prototype would still apply. */ char fparseln (); d4674 3 a4676 2 else $as_nop ac_cv_lib_util_fparseln=no d4680 2 a4681 1 LIBS=$ac_check_lib_save_LIBS d4699 2 a4700 2 else $as_nop if test -z "$GREP"; then d4719 1 a4719 1 case `"$ac_path_GREP" --version 2>&1` in d4722 1 d4757 2 a4758 1 d4773 2 a4774 2 else $as_nop if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 d4796 1 a4796 1 case `"$ac_path_EGREP" --version 2>&1` in d4799 1 d4835 2 a4836 1 fi d4842 2 d4865 2 a4866 2 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 printf %s "checking for stdbool.h that conforms to C99... " >&6; } d4870 2 a4871 2 else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext d4875 9 a4883 9 #ifndef __bool_true_false_are_defined #error "__bool_true_false_are_defined is not defined" #endif char a[__bool_true_false_are_defined == 1 ? 1 : -1]; /* Regardless of whether this is C++ or "_Bool" is a valid type name, "true" and "false" should be usable in #if expressions and integer constant expressions, and "bool" should be a valid type name. */ d4917 2 a4918 2 https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html https://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html a4922 31 /* C 1999 specifies that bool, true, and false are to be macros, but C++ 2011 and later overrule this. */ #if __cplusplus < 201103 #ifndef bool #error "bool is not defined" #endif #ifndef false #error "false is not defined" #endif #ifndef true #error "true is not defined" #endif #endif /* If _Bool is available, repeat with it all the tests above that used bool. */ #ifdef HAVE__BOOL struct sB { _Bool s: 1; _Bool t; } t; char q[(_Bool) 0.5 == true ? 1 : -1]; char r[(_Bool) 0.0 == false ? 1 : -1]; char u[sizeof (_Bool) > 0 ? 1 : -1]; char v[sizeof t.t > 0 ? 1 : -1]; _Bool w[h]; char x[sizeof m == h * sizeof m[0] ? 1 : -1]; char y[-1 - (_Bool) 0 < 0 ? 1 : -1]; _Bool z = true; _Bool *pz = &p; #endif a4930 6 #ifdef HAVE__BOOL _Bool pt = &t; *pz |= z; *pz |= ! z; #endif d4933 2 a4934 6 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k + !l + !m + !n + !o + !p + !pp + !ps #ifdef HAVE__BOOL + !q + !r + !u + !v + !w + !x + !y + !z + !pt #endif ); d4943 3 a4945 2 else $as_nop ac_cv_header_stdbool_h=no d4947 2 a4948 1 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext d5286 3 a5288 2 else $as_nop : d5332 2 a5333 2 else $as_nop d5361 2 a5362 1 d5372 2 a5373 2 else $as_nop d5394 3 a5396 2 else $as_nop pkg_cv_have_va_copy=no d5400 2 a5401 1 d5422 2 a5423 2 else $as_nop d5444 3 a5446 2 else $as_nop pkg_cv_have___builtin_va_copy=no d5450 2 a5451 1 d5479 2 a5480 2 else $as_nop d5501 3 a5503 2 else $as_nop pkg_cv_have_md5init=no d5506 2 a5507 1 d5556 2 a5557 2 else $as_nop d5573 2 a5574 1 d5581 2 a5582 2 else $as_nop d5598 2 a5599 1 d5606 2 a5607 2 else $as_nop d5623 2 a5624 1 d5632 2 a5633 2 else $as_nop d5649 2 a5650 1 d5701 2 a5702 2 else $as_nop ac_save_CFLAGS=$CFLAGS d5721 2 a5722 2 else $as_nop # This test program should compile successfully. d5750 3 a5752 2 else $as_nop ac_cv_c_undeclared_builtin_options=$ac_arg d5756 2 a5757 1 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext d5762 2 a5763 1 d5769 2 a5770 2 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} d5772 1 a5772 1 See \`config.log' for more details" "$LINENO" 5; } ;; #( d5779 21 d5809 3 a5811 2 else $as_nop ac_have_decl=0 d5817 3 a5819 2 else $as_nop : d5830 3 a5832 2 else $as_nop ac_have_decl=0 d5838 20 a5857 1 else $as_nop d5859 3 d5872 3 a5874 2 else $as_nop ac_have_decl=0 d5880 3 a5882 2 else $as_nop : d5901 3 a5903 2 else $as_nop our_getopt_long=yes d5906 4 a5909 3 else $as_nop our_getopt_long=yes d5951 2 a5952 2 else $as_nop d5970 3 a5972 2 else $as_nop pkg_cv_have_vis_white=no d5975 2 a5976 1 d6022 1 a6022 1 as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` d6027 1 a6027 1 #define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1 d6030 3 a6032 2 else $as_nop pkg_use_nbcompat_vis=yes; break d6071 2 a6072 2 else $as_nop d6088 3 a6090 2 else $as_nop ac_cv___attribute__=no d6092 2 a6093 1 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext d6108 2 a6109 2 else $as_nop d6111 2 a6112 1 d6122 2 a6123 2 else $as_nop for ac_type in 'unsigned int' 'unsigned long int' \ d6148 2 a6149 1 done d6304 2 a6305 2 else $as_nop ac_cv_c_bigendian=unknown d6351 2 a6352 2 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ d6383 3 a6385 2 else $as_nop ac_cv_c_bigendian=no d6429 3 a6431 2 else $as_nop ac_cv_c_bigendian=no d6458 10 a6467 9 extern int foo; int main (void) { return use_ascii (foo) == use_ebcdic (foo); ; return 0; } d6469 1 a6469 1 if ac_fn_c_try_compile "$LINENO" d6471 1 a6471 1 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then d6474 1 a6474 1 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then d6483 4 a6486 3 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext d6509 3 a6511 2 else $as_nop ac_cv_c_bigendian=yes d6514 2 a6515 1 conftest.$ac_objext conftest.beam conftest.$ac_ext d6518 2 a6519 1 fi d6541 1 a6541 1 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. d6548 2 a6549 2 else $as_nop if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default" d6552 4 a6555 4 else $as_nop if test "$ac_cv_type_off_t" = yes; then { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} d6557 1 a6557 1 See \`config.log' for more details" "$LINENO" 5; } d6560 2 a6561 1 fi d6563 2 a6564 1 d6580 3 a6582 2 else $as_nop ac_have_decl=0 d6601 2 a6602 2 else $as_nop d6628 2 a6629 1 d6645 2 a6646 2 else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext d6665 3 a6667 2 else $as_nop ac_pid_type='__int64' d6673 2 a6674 1 d6701 2 a6702 2 else $as_nop if test "$cross_compiling" = yes d6705 2 a6706 2 else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext d6713 1 a6713 1 /* By Ruediger Kuhlmann. */ d6723 3 a6725 2 else $as_nop ac_cv_func_fork_works=no d6728 2 a6729 1 conftest.$ac_objext conftest.beam conftest.$ac_ext d6731 2 a6732 1 d6760 2 a6761 2 else $as_nop if test "$cross_compiling" = yes d6764 2 a6765 2 else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext d6876 3 a6878 2 else $as_nop ac_cv_func_vfork_works=no d6881 2 a6882 1 conftest.$ac_objext conftest.beam conftest.$ac_ext d6884 2 a6885 1 d6913 1 a6913 1 as_ac_Symbol=`printf "%s\n" "ac_cv_have_decl_snprintf(char *, size_t, const char *, ...)" | $as_tr_sh` d6919 3 a6921 2 else $as_nop ac_have_decl=0 d6927 2 a6928 2 else $as_nop case " $LIBOBJS " in d6933 2 a6934 1 d6937 1 a6937 1 as_ac_Symbol=`printf "%s\n" "ac_cv_have_decl_asprintf(char **, const char *, ...)" | $as_tr_sh` d6944 3 a6946 2 else $as_nop ac_have_decl=0 d6952 2 a6953 2 else $as_nop case " $LIBOBJS " in d6958 2 a6959 1 d6962 1 a6962 1 as_ac_Symbol=`printf "%s\n" "ac_cv_have_decl_strdup(const char *)" | $as_tr_sh` d6968 3 a6970 2 else $as_nop ac_have_decl=0 d6976 2 a6977 2 else $as_nop case " $LIBOBJS " in d6982 2 a6983 1 d6994 1 a6994 1 as_ac_Symbol=`printf "%s\n" "ac_cv_have_decl_isblank(int)" | $as_tr_sh` d7000 3 a7002 2 else $as_nop ac_have_decl=0 d7008 2 a7009 2 else $as_nop case " $LIBOBJS " in d7014 2 a7015 1 d7024 2 a7025 2 else $as_nop case " $LIBOBJS " in d7030 2 a7031 1 d7038 2 a7039 2 else $as_nop case " $LIBOBJS " in d7044 2 a7045 1 d7052 2 a7053 2 else $as_nop case " $LIBOBJS " in d7058 2 a7059 1 d7066 2 a7067 2 else $as_nop case " $LIBOBJS " in d7072 2 a7073 1 d7080 2 a7081 2 else $as_nop case " $LIBOBJS " in d7086 2 a7087 1 d7094 2 a7095 2 else $as_nop case " $LIBOBJS " in d7100 2 a7101 1 d7108 2 a7109 2 else $as_nop case " $LIBOBJS " in d7114 2 a7115 1 d7122 2 a7123 2 else $as_nop case " $LIBOBJS " in d7128 2 a7129 1 d7136 2 a7137 2 else $as_nop case " $LIBOBJS " in d7142 2 a7143 1 d7150 2 a7151 2 else $as_nop case " $LIBOBJS " in d7156 2 a7157 1 d7164 2 a7165 2 else $as_nop case " $LIBOBJS " in d7170 2 a7171 1 d7178 2 a7179 2 else $as_nop case " $LIBOBJS " in d7184 2 a7185 1 d7192 2 a7193 2 else $as_nop case " $LIBOBJS " in d7198 2 a7199 1 d7206 2 a7207 2 else $as_nop case " $LIBOBJS " in d7212 2 a7213 1 d7220 2 a7221 2 else $as_nop case " $LIBOBJS " in d7226 2 a7227 1 d7234 2 a7235 2 else $as_nop case " $LIBOBJS " in d7240 2 a7241 1 d7248 2 a7249 2 else $as_nop case " $LIBOBJS " in d7254 2 a7255 1 d7262 2 a7263 2 else $as_nop case " $LIBOBJS " in d7268 2 a7269 1 d7276 2 a7277 2 else $as_nop case " $LIBOBJS " in d7282 2 a7283 1 d7290 2 a7291 2 else $as_nop case " $LIBOBJS " in d7296 2 a7297 1 d7304 2 a7305 2 else $as_nop case " $LIBOBJS " in d7310 2 a7311 1 d7318 2 a7319 2 else $as_nop case " $LIBOBJS " in d7324 2 a7325 1 d7332 2 a7333 2 else $as_nop case " $LIBOBJS " in d7338 2 a7339 1 d7346 2 a7347 2 else $as_nop case " $LIBOBJS " in d7352 2 a7353 1 d7360 2 a7361 2 else $as_nop case " $LIBOBJS " in d7366 2 a7367 1 d7374 2 a7375 2 else $as_nop case " $LIBOBJS " in d7380 2 a7381 1 d7388 2 a7389 2 else $as_nop case " $LIBOBJS " in d7394 2 a7395 1 d7402 2 a7403 2 else $as_nop case " $LIBOBJS " in d7408 2 a7409 1 d7416 2 a7417 2 else $as_nop case " $LIBOBJS " in d7422 2 a7423 1 d7432 2 a7433 2 else $as_nop ac_func_search_save_LIBS=$LIBS d7439 8 a7446 2 builtin and then its argument prototype would still apply. */ char socket (); d7477 3 a7479 2 else $as_nop ac_cv_search_socket=no d7482 2 a7483 1 LIBS=$ac_func_search_save_LIBS d7499 2 a7500 2 else $as_nop ac_check_lib_save_LIBS=$LIBS d7507 8 a7514 2 builtin and then its argument prototype would still apply. */ char gethostbyname (); d7526 3 a7528 2 else $as_nop ac_cv_lib_nsl_gethostbyname=no d7532 2 a7533 1 LIBS=$ac_check_lib_save_LIBS d7617 1 a7617 1 as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` d7622 1 a7622 1 #define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1 d7625 3 a7627 2 else $as_nop need_getaddrinfo=yes d7644 1 a7644 1 as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` d7649 1 a7649 1 #define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1 d7652 3 a7654 2 else $as_nop need_findenv=yes d7671 1 a7671 1 as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` d7676 1 a7676 1 #define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1 d7679 3 a7681 2 else $as_nop need_gettemp=yes d7706 1 a7706 1 as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` d7711 1 a7711 1 #define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1 d7714 3 a7716 2 else $as_nop need_setmode=yes d7739 3 a7741 2 else $as_nop need_strnlen=yes d7764 3 a7766 2 else $as_nop need_strndup=yes d7789 3 a7791 2 else $as_nop need_memrchr=yes d7809 3 a7811 2 else $as_nop ac_have_decl=0 d7818 3 a7820 2 else $as_nop ac_have_decl=0 d7827 3 a7829 2 else $as_nop ac_have_decl=0 d7838 1 a7838 1 as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh` d7843 1 a7843 1 #define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1 d7846 3 a7848 2 else $as_nop need_pwcache=yes d7866 2 a7867 2 else $as_nop d7877 2 a7878 1 d7886 2 a7887 2 else $as_nop case " $LIBOBJS " in d7892 2 a7893 1 d7917 1 a7917 1 as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | $as_tr_sh` d7922 1 a7922 1 #define `printf "%s\n" "HAVE_$ac_header" | $as_tr_cpp` 1 d7945 2 a7946 2 else $as_nop d7970 3 a7972 2 else $as_nop pkg_cv_native_poll=no d7975 2 a7976 1 d8032 2 a8033 2 else $as_nop # Use it with a single arg. d8048 3 a8050 2 else $as_nop ac_cv_func_getpgrp_void=yes d8053 2 a8054 1 d8075 3 a8077 2 else $as_nop : d8088 3 a8090 2 else $as_nop : d8101 3 a8103 2 else $as_nop : d8128 3 a8130 2 else $as_nop : d8154 3 a8156 2 else $as_nop : d8165 2 a8166 2 else $as_nop d8201 2 a8202 1 d8222 2 a8223 2 else $as_nop d8227 2 a8228 2 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} d8230 3 a8232 3 See \`config.log' for more details" "$LINENO" 5; } else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext d8248 2 a8249 1 conftest.$ac_objext conftest.beam conftest.$ac_ext d8252 2 a8253 1 d8267 2 a8268 2 else $as_nop d8272 2 a8273 2 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} d8275 3 a8277 3 See \`config.log' for more details" "$LINENO" 5; } else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext d8293 2 a8294 1 conftest.$ac_objext conftest.beam conftest.$ac_ext d8297 2 a8298 1 d8319 2 a8320 2 else $as_nop case " $LIBOBJS " in d8325 2 a8326 1 d8340 2 a8341 2 else $as_nop d8345 2 a8346 2 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} d8348 3 a8350 3 See \`config.log' for more details" "$LINENO" 5; } else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext d8372 2 a8373 1 conftest.$ac_objext conftest.beam conftest.$ac_ext d8376 2 a8377 1 d8405 2 a8406 2 # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the d8436 1 a8436 1 # `set' does not quote correctly, so add quotes: double-quote d8443 1 a8443 1 # `set' quotes correctly as required by POSIX, so do not add quotes. a8533 1 as_nop=: d8542 2 a8543 2 else $as_nop case `(set -o) 2>/dev/null` in #( d8548 1 d8620 1 a8620 1 # We did not find ourselves, most probably we were run as `sh COMMAND' a8648 1 d8688 2 a8689 2 else $as_nop as_fn_append () d8692 2 a8693 1 } d8707 2 a8708 2 else $as_nop as_fn_arith () d8711 2 a8712 1 } d8795 3 a8797 3 # 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. # In both cases, we have to default to `cp -pR'. d8878 2 a8879 1 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" d8882 2 a8883 1 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" d8899 1 a8899 1 generated by GNU Autoconf 2.71. Invocation command line was d8930 1 a8930 1 \`$as_me' instantiates files and other configuration actions d8963 1 a8963 1 configured by $0, generated by GNU Autoconf 2.71, d8966 1 a8966 1 Copyright (C) 2021 Free Software Foundation, Inc. d9027 2 a9028 2 as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; d9036 2 a9037 2 -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; d9088 1 a9088 1 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; d9107 1 a9107 1 # after its creation but before its name has been assigned to `$tmp'. d9131 1 a9131 1 # This happens for instance with `./config.status config.h'. d9289 1 a9289 1 # This happens for instance with `./config.status Makefile'. d9295 1 a9295 1 # Transform confdefs.h into an awk script `defines.awk', embedded as d9405 1 a9405 1 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; d9427 1 a9427 1 # because $ac_f cannot contain `:'. d9433 1 a9433 1 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; d9439 1 a9439 1 # Let's still pretend it is `configure' which instantiates (i.e., don't d9567 1 a9567 1 # Neutralize VPATH when `$srcdir' = `.'. d9597 1 a9597 1 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' d9599 1 a9599 1 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' @ 1.89 log @libnbcompat: Add strndup(3) for Mac OS X 10.4. @ text @d7574 24 @ 1.88 log @libnbcompat: regen configure @ text @d7550 24 @ 1.87 log @libnbcompat: Update to 20200524 One change: use AC_PROG_CC_C99 and regen configure This helps bootstrapping on legacy systems where the compiler doesn't default to c99 without additional guidance. Patch from ky0ko@@disroot.org, tested on NetBSD and Alpine Linux by myself and on IRIX with mipspro by ky0ko. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.69 for libnbcompat 20190708. d8 2 a9 1 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. d20 3 a22 1 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : d29 1 a29 1 else d39 8 d50 26 a75 34 # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi d78 1 a78 1 if test "${PATH_SEPARATOR+set}" != set; then a86 7 # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" d95 6 a100 2 test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break d112 1 a112 1 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 a115 20 # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH d137 2 a138 2 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 as_fn_exit 255 d143 3 a145 1 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : d152 1 a152 1 else d172 2 a173 1 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : d175 1 a175 1 else d179 2 d187 2 a188 1 if (eval "$as_required") 2>/dev/null; then : d190 1 a190 1 else d193 2 a194 1 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : d196 1 a196 1 else d202 5 a206 1 test -z "$as_dir" && as_dir=. d212 1 a212 1 as_shell=$as_dir/$as_base d214 2 a215 1 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : d217 2 a218 1 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : d226 8 a233 2 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : d235 2 a236 2 fi; } IFS=$as_save_IFS d239 2 a240 1 if test "x$CONFIG_SHELL" != x; then : d258 1 a258 1 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 d262 7 a268 6 if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." d270 1 a270 1 $as_echo "$0: Please tell bug-autoconf@@gnu.org and joerg@@NetBSD.org d298 1 d316 8 d338 1 a338 1 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( d347 1 a347 1 $as_echo X"$as_dir" | d386 2 a387 1 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : d392 1 a392 1 else d404 2 a405 1 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : d410 1 a410 1 else d417 8 d436 1 a436 1 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 d438 1 a438 1 $as_echo "$as_me: error: $2" >&2 d465 1 a465 1 $as_echo X/"$0" | d509 1 a509 1 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } d523 4 d540 7 d621 3 a623 6 #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include d625 1 a625 1 #ifdef STDC_HEADERS a626 5 # include #else # ifdef HAVE_STDLIB_H # include # endif a628 3 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif a630 3 #ifdef HAVE_STRINGS_H # include #endif d637 9 d650 2 d655 2 a668 3 EGREP GREP CPP d703 1 d736 1 a736 2 CPPFLAGS CPP' d775 1 a804 2 # Accept the important Cygnus configure options, so we can diagnose typos. d845 1 a845 1 as_fn_error $? "invalid feature name: $ac_useropt" d847 1 a847 1 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` d871 1 a871 1 as_fn_error $? "invalid feature name: $ac_useropt" d873 1 a873 1 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` d1026 9 d1084 1 a1084 1 as_fn_error $? "invalid package name: $ac_useropt" d1086 1 a1086 1 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` d1100 1 a1100 1 as_fn_error $? "invalid package name: $ac_useropt" d1102 1 a1102 1 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` d1146 1 a1146 1 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 d1148 1 a1148 1 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 d1164 1 a1164 1 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; d1172 1 a1172 1 libdir localedir mandir d1228 1 a1228 1 $as_echo X"$as_myself" | d1325 1 a1374 1 CPP C preprocessor d1395 1 a1395 1 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` d1397 1 a1397 1 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` d1425 2 a1426 1 # Check for guested configure. d1434 1 a1434 1 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 d1444 1 a1444 1 generated by GNU Autoconf 2.69 d1446 1 a1446 1 Copyright (C) 2012 Free Software Foundation, Inc. d1463 1 a1463 1 rm -f conftest.$ac_objext d1470 1 a1470 1 $as_echo "$ac_try_echo"; } >&5 d1478 1 a1478 1 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 d1482 2 a1483 1 } && test -s conftest.$ac_objext; then : d1485 2 a1486 2 else $as_echo "$as_me: failed program was:" >&5 a1495 170 # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using # the include files in INCLUDES and setting the cache variable VAR # accordingly. ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <$2> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ( $as_echo "## ------------------------------- ## ## Report this to joerg@@NetBSD.org ## ## ------------------------------- ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_mongrel # ac_fn_c_try_run LINENO # ---------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run d1503 6 a1508 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else d1514 2 a1515 1 if ac_fn_c_try_compile "$LINENO"; then : d1517 1 a1517 1 else d1520 1 a1520 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d1523 2 a1524 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } d1535 1 a1535 1 rm -f conftest.$ac_objext conftest$ac_exeext d1542 1 a1542 1 $as_echo "$ac_try_echo"; } >&5 d1550 1 a1550 1 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 d1557 2 a1558 1 }; then : d1560 2 a1561 2 else $as_echo "$as_me: failed program was:" >&5 d1583 6 a1588 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else d1594 1 a1594 1 main () d1602 2 a1603 1 if ac_fn_c_try_compile "$LINENO"; then : d1608 1 a1608 1 main () d1616 2 a1617 1 if ac_fn_c_try_compile "$LINENO"; then : d1619 1 a1619 1 else d1622 1 a1622 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d1624 1 a1624 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d1627 2 a1628 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } d1639 6 a1644 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else d1652 1 a1652 9 which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif d1654 1 d1672 1 a1672 1 main () d1679 2 a1680 1 if ac_fn_c_try_link "$LINENO"; then : d1682 1 a1682 1 else d1685 1 a1685 1 rm -f core conftest.err conftest.$ac_objext \ d1689 2 a1690 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } d1695 2 a1696 2 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES # --------------------------------------------- d1698 2 a1699 2 # accordingly. ac_fn_c_check_decl () d1703 6 d1710 2 a1711 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else d1716 1 a1716 1 main () d1730 2 a1731 1 if ac_fn_c_try_compile "$LINENO"; then : d1733 1 a1733 1 else d1736 3 a1738 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d1741 2 a1742 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } d1745 1 a1745 1 } # ac_fn_c_check_decl d1754 6 a1759 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 $as_echo_n "checking for int$2_t... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else d1770 1 a1770 1 main () d1780 2 a1781 1 if ac_fn_c_try_compile "$LINENO"; then : d1787 1 a1787 1 main () d1798 2 a1799 1 if ac_fn_c_try_compile "$LINENO"; then : d1801 1 a1801 1 else d1809 1 a1809 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d1811 3 a1813 2 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if eval test \"x\$"$3"\" = x"no"; then : d1815 1 a1815 1 else d1821 2 a1822 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } d1834 6 a1839 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 $as_echo_n "checking for uint$2_t... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else d1849 1 a1849 1 main () d1859 2 a1860 1 if ac_fn_c_try_compile "$LINENO"; then : d1868 3 a1870 2 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if eval test \"x\$"$3"\" = x"no"; then : d1872 1 a1872 1 else d1878 2 a1879 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } d1884 43 d1941 1 a1941 1 main () d1951 2 a1952 1 if ac_fn_c_try_compile "$LINENO"; then : d1959 1 a1959 1 main () d1969 2 a1970 1 if ac_fn_c_try_compile "$LINENO"; then : d1972 1 a1972 1 else d1980 1 a1980 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d1982 1 a1982 1 else d1987 1 a1987 1 main () d1997 2 a1998 1 if ac_fn_c_try_compile "$LINENO"; then : d2005 1 a2005 1 main () d2015 2 a2016 1 if ac_fn_c_try_compile "$LINENO"; then : d2018 1 a2018 1 else d2026 1 a2026 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d2028 1 a2028 1 else d2031 1 a2031 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d2033 1 a2033 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d2041 1 a2041 1 main () d2051 2 a2052 1 if ac_fn_c_try_compile "$LINENO"; then : d2054 1 a2054 1 else d2057 1 a2057 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d2067 2 a2068 2 static long int longval () { return $2; } static unsigned long int ulongval () { return $2; } d2072 1 a2072 1 main () d2100 2 a2101 1 if ac_fn_c_try_run "$LINENO"; then : d2103 1 a2103 1 else d2123 6 a2128 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 $as_echo_n "checking for $2.$3... " >&6; } if eval \${$4+:} false; then : $as_echo_n "(cached) " >&6 else d2133 1 a2133 1 main () d2142 2 a2143 1 if ac_fn_c_try_compile "$LINENO"; then : d2145 1 a2145 1 else d2150 1 a2150 1 main () d2159 2 a2160 1 if ac_fn_c_try_compile "$LINENO"; then : d2162 1 a2162 1 else d2165 1 a2165 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d2167 1 a2167 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d2170 2 a2171 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } d2175 20 d2200 1 a2200 1 generated by GNU Autoconf 2.69. Invocation command line was d2202 1 a2202 1 $ $0 $@@ d2235 6 a2240 2 test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" d2275 1 a2275 1 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; d2310 2 d2316 1 a2316 1 $as_echo "## ---------------- ## d2327 2 a2328 2 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; d2352 1 a2352 1 $as_echo "## ----------------- ## d2360 1 a2360 1 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; d2362 1 a2362 1 $as_echo "$ac_var='\''$ac_val'\''" d2367 1 a2367 1 $as_echo "## ------------------- ## d2375 1 a2375 1 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; d2377 1 a2377 1 $as_echo "$ac_var='\''$ac_val'\''" d2383 1 a2383 1 $as_echo "## ----------- ## d2391 2 a2392 2 $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" d2406 1 a2406 1 $as_echo "/* confdefs.h */" > confdefs.h d2410 1 a2410 3 cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF d2412 1 a2412 3 cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF d2414 1 a2414 3 cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF d2416 1 a2416 3 cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF d2418 1 a2418 3 cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF d2420 1 a2420 3 cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF a2424 2 ac_site_file1=NONE ac_site_file2=NONE d2426 1 a2426 6 # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac d2428 1 a2428 2 ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site d2430 1 a2430 2 ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site d2432 2 a2433 1 for ac_site_file in "$ac_site_file1" "$ac_site_file2" d2435 9 a2443 4 test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} d2446 2 a2447 2 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} d2457 2 a2458 2 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} d2465 2 a2466 2 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} d2470 421 d2901 2 a2902 2 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} d2905 2 a2906 2 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} d2915 2 a2916 2 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} d2919 2 a2920 2 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} d2923 4 a2926 4 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} d2932 1 a2932 1 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; d2942 6 a2947 5 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 d2970 2 a2971 1 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` a2973 19 ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi a2974 7 # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. d2976 3 d2980 6 a2985 9 # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&6 else d2988 1 a2988 1 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` d2991 2 a2992 2 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 d2995 2 a2996 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } d3015 6 a3020 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&6 else d3024 2 a3025 2 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 d3029 2 a3030 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } d3049 9 d3066 6 a3071 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else d3079 5 a3083 1 test -z "$as_dir" && as_dir=. d3085 1 a3085 1 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then d3087 1 a3087 1 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 d3098 2 a3099 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } d3101 2 a3102 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } d3111 6 a3116 5 { $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_CC+:} false; then : $as_echo_n "(cached) " >&6 else d3124 5 a3128 1 test -z "$as_dir" && as_dir=. d3130 1 a3130 1 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then d3132 1 a3132 1 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 d3143 2 a3144 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } d3146 2 a3147 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } d3155 2 a3156 2 { $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;} d3169 6 a3174 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else d3182 5 a3186 1 test -z "$as_dir" && as_dir=. d3188 1 a3188 1 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then d3190 1 a3190 1 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 d3201 2 a3202 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } d3204 2 a3205 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } d3214 6 a3219 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else d3228 5 a3232 1 test -z "$as_dir" && as_dir=. d3234 2 a3235 2 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 d3240 1 a3240 1 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 d3256 1 a3256 1 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@@" d3263 2 a3264 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } d3266 2 a3267 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } d3278 6 a3283 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else d3291 5 a3295 1 test -z "$as_dir" && as_dir=. d3297 1 a3297 1 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then d3299 1 a3299 1 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 d3310 2 a3311 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } d3313 2 a3314 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } d3327 6 a3332 5 { $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_CC+:} false; then : $as_echo_n "(cached) " >&6 else d3340 5 a3344 1 test -z "$as_dir" && as_dir=. d3346 1 a3346 1 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then d3348 1 a3348 1 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 d3359 2 a3360 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } d3362 2 a3363 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } d3375 2 a3376 2 { $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;} d3384 104 d3490 2 a3491 2 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} d3496 1 a3496 1 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 d3499 1 a3499 1 for ac_option in --version -v -V -qversion; do d3506 1 a3506 1 $as_echo "$ac_try_echo"; } >&5 d3516 1 a3516 1 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 d3524 1 a3524 1 main () d3536 3 a3538 3 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` d3559 1 a3559 1 $as_echo "$ac_try_echo"; } >&5 d3562 3 a3564 2 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : d3581 1 a3581 1 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; d3597 1 a3597 1 else d3600 5 a3604 4 if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 d3607 2 a3608 2 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} d3611 8 a3618 8 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } d3623 2 a3624 2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } d3631 1 a3631 1 $as_echo "$ac_try_echo"; } >&5 d3634 3 a3636 2 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : d3650 3 a3652 3 else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} d3657 2 a3658 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } d3667 1 a3667 1 main () d3679 2 a3680 2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } d3688 1 a3688 1 $as_echo "$ac_try_echo"; } >&5 d3691 1 a3691 1 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 d3699 1 a3699 1 $as_echo "$ac_try_echo"; } >&5 d3702 1 a3702 1 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 d3709 3 a3711 3 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. d3717 2 a3718 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } d3722 6 a3727 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else d3732 1 a3732 1 main () d3746 1 a3746 1 $as_echo "$ac_try_echo"; } >&5 d3749 3 a3751 2 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : d3760 2 a3761 2 else $as_echo "$as_me: failed program was:" >&5 d3764 2 a3765 2 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} d3771 2 a3772 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } d3775 6 a3780 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else d3785 1 a3785 1 main () d3795 2 a3796 1 if ac_fn_c_try_compile "$LINENO"; then : d3798 1 a3798 1 else d3801 1 a3801 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d3805 4 a3808 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } d3814 1 a3814 1 ac_test_CFLAGS=${CFLAGS+set} d3816 6 a3821 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else d3830 1 a3830 1 main () d3837 2 a3838 1 if ac_fn_c_try_compile "$LINENO"; then : d3840 1 a3840 1 else d3846 1 a3846 1 main () d3853 2 a3854 1 if ac_fn_c_try_compile "$LINENO"; then : d3856 1 a3856 1 else d3863 1 a3863 1 main () d3870 2 a3871 1 if ac_fn_c_try_compile "$LINENO"; then : d3874 1 a3874 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d3876 1 a3876 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d3878 1 a3878 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d3881 3 a3883 3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then d3898 10 a3907 6 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no d3911 15 a3925 21 #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } d3927 45 a3971 8 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; d3973 31 a4003 18 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } d4005 1 a4005 2 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" d4008 2 a4009 1 if ac_fn_c_try_compile "$LINENO"; then : d4012 1 a4012 1 rm -f core conftest.err conftest.$ac_objext d4017 1 d4019 16 a4035 15 # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : d4045 2 a4046 20 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes d4048 24 a4071 16 # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : a4072 3 else # Broken: fails on valid input. continue a4073 1 rm -f conftest.err conftest.i conftest.$ac_ext d4075 11 a4085 2 # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. d4088 10 a4097 1 #include d4099 5 a4103 7 if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break d4105 1 a4105 7 rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break d4107 2 d4110 9 a4118 19 done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. d4121 10 a4130 6 #ifdef __STDC__ # include #else # include #endif Syntax error d4132 2 a4133 7 if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext d4135 1 a4135 2 # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. d4138 11 a4148 1 #include d4150 53 a4202 7 if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break d4204 3 a4206 1 rm -f conftest.err conftest.i conftest.$ac_ext d4208 4 a4211 4 done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : a4212 5 else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } d4215 3 a4217 5 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 d4220 27 a4246 4 { $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; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 d4248 363 d4618 7 a4624 2 test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do d4626 1 a4626 1 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" d4635 1 a4635 1 $as_echo_n 0123456789 >"conftest.in" d4641 1 a4641 1 $as_echo 'GREP' >> "conftest.nl" d4669 2 a4670 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } d4674 9 a4682 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else d4693 7 a4699 2 test -z "$as_dir" && as_dir=. for ac_prog in egrep; do d4701 1 a4701 1 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" d4710 1 a4710 1 $as_echo_n 0123456789 >"conftest.in" d4716 1 a4716 1 $as_echo 'EGREP' >> "conftest.nl" d4745 2 a4746 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } a4749 11 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include a4750 390 int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=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 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" if test "x$ac_cv_header_minix_config_h" = xyes; then : MINIX=yes else MINIX= fi if test "$MINIX" = yes; then $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h $as_echo "#define _MINIX 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } if ${ac_cv_safe_to_define___extensions__+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ # define __EXTENSIONS__ 1 $ac_includes_default int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_safe_to_define___extensions__=yes else ac_cv_safe_to_define___extensions__=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } test $ac_cv_safe_to_define___extensions__ = yes && $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h $as_echo "#define _ALL_SOURCE 1" >>confdefs.h $as_echo "#define _GNU_SOURCE 1" >>confdefs.h $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h CANONICAL_HOST=$host # Checks for programs. { $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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } if ${ac_cv_prog_cc_c99+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c99=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #include // Check varargs macros. These examples are taken from C99 6.10.3.5. #define debug(...) fprintf (stderr, __VA_ARGS__) #define showlist(...) puts (#__VA_ARGS__) #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) static void test_varargs_macros (void) { int x = 1234; int y = 5678; debug ("Flag"); debug ("X = %d\n", x); showlist (The first, second, and third items.); report (x>y, "x is %d but y is %d", x, y); } // Check long long types. #define BIG64 18446744073709551615ull #define BIG32 4294967295ul #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) #if !BIG_OK your preprocessor is broken; #endif #if BIG_OK #else your preprocessor is broken; #endif static long long int bignum = -9223372036854775807LL; static unsigned long long int ubignum = BIG64; struct incomplete_array { int datasize; double data[]; }; struct named_init { int number; const wchar_t *name; double average; }; typedef const char *ccp; static inline int test_restrict (ccp restrict text) { // See if C++-style comments work. // Iterate through items via the restricted pointer. // Also check for declarations in for loops. for (unsigned int i = 0; *(text+i) != '\0'; ++i) continue; return 0; } // Check varargs and va_copy. static void test_varargs (const char *format, ...) { va_list args; va_start (args, format); va_list args_copy; va_copy (args_copy, args); const char *str; int number; float fnumber; while (*format) { switch (*format++) { case 's': // string str = va_arg (args_copy, const char *); break; case 'd': // int number = va_arg (args_copy, int); break; case 'f': // float fnumber = va_arg (args_copy, double); break; default: break; } } va_end (args_copy); va_end (args); } int main () { // Check bool. _Bool success = false; // Check restrict. if (test_restrict ("String literal") == 0) success = true; char *restrict newvar = "Another string"; // Check varargs. test_varargs ("s, d' f .", "string", 65, 34.234); test_varargs_macros (); // Check flexible array members. struct incomplete_array *ia = malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ia->datasize = 10; for (int i = 0; i < ia->datasize; ++i) ia->data[i] = i * 1.234; // Check named initializers. struct named_init ni = { .number = 34, .name = L"Test wide string", .average = 543.34343, }; ni.number = 58; int dynamic_array[ni.number]; dynamic_array[ni.number - 1] = 543; // work around unused variable warnings return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' || dynamic_array[ni.number - 1] != 543); ; return 0; } _ACEOF for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c99=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c99" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c99" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c99" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; esac if test "x$ac_cv_prog_cc_c99" != xno; then : fi d4753 2 a4754 140 # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $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 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 d4756 1 d4759 1 a4759 26 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 d4761 3 a4763 10 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 d4765 1 a4765 14 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 a4766 26 for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # 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_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS a4768 9 fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi d4770 14 d4785 4 a4788 2 test -n "$AWK" && break done d4790 8 a4797 24 # 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_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="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 d4799 7 a4805 10 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 d4807 1 d4809 3 d4813 2 a4814 1 AUTOCONF=${AUTOCONF-"$srcdir/missing --run autoconf"} d4816 11 a4826 1 AUTOHEADER=${AUTOHEADER-"$srcdir/missing --run autoheader"} d4828 13 d4842 16 a4857 9 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fparseln in -lutil" >&5 $as_echo_n "checking for fparseln in -lutil... " >&6; } if ${ac_cv_lib_util_fparseln+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lutil $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ a4858 7 /* 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 fparseln (); d4860 1 a4860 1 main () d4862 20 a4881 1 return fparseln (); d4886 41 a4926 4 if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_util_fparseln=yes else ac_cv_lib_util_fparseln=no d4928 5 a4932 3 rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS d4934 4 a4937 6 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_fparseln" >&5 $as_echo "$ac_cv_lib_util_fparseln" >&6; } if test "x$ac_cv_lib_util_fparseln" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBUTIL 1 _ACEOF d4939 5 a4943 1 LIBS="-lutil $LIBS" d4946 4 d4951 5 d4957 5 a4961 11 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include d4963 5 a4967 3 int main () { a4968 8 ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no d4970 4 a4973 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d4975 5 a4979 5 if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include d4981 5 a4985 3 _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : a4986 2 else ac_cv_header_stdc=no d4988 4 a4991 1 rm -f conftest* d4994 4 d4999 5 a5003 5 if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include d5005 5 a5009 3 _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : a5010 2 else ac_cv_header_stdc=no d5012 4 a5015 1 rm -f conftest* d5018 4 d5023 5 a5027 19 if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif d5029 5 a5033 13 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : a5034 2 else ac_cv_header_stdc=no d5036 5 a5040 2 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext d5042 4 d5048 5 d5054 4 a5057 3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then d5059 5 a5063 1 $as_echo "#define STDC_HEADERS 1" >>confdefs.h d5066 4 d5071 5 a5075 10 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } if ${ac_cv_header_time+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include a5076 13 int main () { if ((struct tm *) 0) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_time=yes else ac_cv_header_time=no d5078 5 a5082 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d5084 4 a5087 3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 $as_echo "$ac_cv_header_time" >&6; } if test $ac_cv_header_time = yes; then d5089 5 a5093 1 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h d5096 4 d5101 5 a5105 7 { $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. */ d5107 5 a5111 19 #include #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 d5113 5 a5117 1 struct s { _Bool s: 1; _Bool t; } s; d5119 5 a5123 21 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; d5125 5 a5129 3 int main () { d5131 5 a5135 6 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); a5136 8 ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdbool_h=yes else ac_cv_header_stdbool_h=no d5138 5 a5142 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d5144 4 a5147 4 { $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 : d5149 5 a5153 3 cat >>confdefs.h <<_ACEOF #define HAVE__BOOL 1 _ACEOF d5155 5 d5162 4 d5167 5 d5173 5 a5177 1 if test $ac_cv_header_stdbool_h = yes; then d5179 5 a5183 1 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h d5186 4 d5191 5 d5197 5 a5201 9 for ac_header in alloca.h assert.h bsd/libutil.h ctype.h dirent.h endian.h \ err.h errno.h fcntl.h fnmatch.h fts.h grp.h inttypes.h libutil.h \ limits.h machine/endian.h ndir.h netdb.h paths.h pwd.h signal.h \ stdarg.h stddef.h stdint.h stdio.h \ stdlib.h string.h sys/byteorder.h sys/cdefs.h sys/dir.h sys/endian.h \ sys/file.h sys/mkdev.h sys/ndir.h sys/param.h sys/socket.h sys/stat.h \ sys/statfs.h sys/statvfs.h sys/time.h sys/ttycom.h sys/types.h \ sys/uio.h sys/vfs.h sysexits.h termcap.h time.h tzfile.h unistd.h \ util.h utime.h sys/mman.h d5203 5 a5207 7 do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF d5210 4 d5215 1 a5215 1 done d5217 1 a5217 1 for ac_header in sys/mount.h d5226 3 a5228 4 if test "x$ac_cv_header_sys_mount_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SYS_MOUNT_H 1 _ACEOF d5230 1 a5230 1 else d5236 4 a5239 8 for ac_header in glob.h do : ac_fn_c_check_header_mongrel "$LINENO" "glob.h" "ac_cv_header_glob_h" "$ac_includes_default" if test "x$ac_cv_header_glob_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GLOB_H 1 _ACEOF d5243 1 a5243 3 done $as_echo "#define HAVE_NBCOMPAT_GLOB 1" >>confdefs.h d5253 4 a5256 7 for ac_header in sys/queue.h do : ac_fn_c_check_header_mongrel "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default" if test "x$ac_cv_header_sys_queue_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SYS_QUEUE_H 1 _ACEOF d5260 1 a5260 3 done $as_echo "#define HAVE_NBCOMPAT_QUEUE 1" >>confdefs.h d5264 4 a5267 7 for ac_header in regex.h do : ac_fn_c_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default" if test "x$ac_cv_header_regex_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_REGEX_H 1 _ACEOF a5270 2 done d5272 2 a5273 1 if test "x$ac_cv_func_regexec" = xyes; then : d5275 1 a5275 1 else d5277 1 a5277 1 $as_echo "#define HAVE_NBCOMPAT_REGEX 1" >>confdefs.h d5309 6 a5314 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5 $as_echo_n "checking for va_copy... " >&6; } if ${pkg_cv_have_va_copy+:} false; then : $as_echo_n "(cached) " >&6 else d5322 1 a5322 1 main () d5333 2 a5334 1 if ac_fn_c_try_link "$LINENO"; then : d5336 1 a5336 1 else d5339 1 a5339 1 rm -f core conftest.err conftest.$ac_objext \ d5343 2 a5344 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkg_cv_have_va_copy" >&5 $as_echo "$pkg_cv_have_va_copy" >&6; } d5346 1 a5346 1 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h d5357 6 a5362 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_va_copy" >&5 $as_echo_n "checking for __builtin_va_copy... " >&6; } if ${pkg_cv_have___builtin_va_copy+:} false; then : $as_echo_n "(cached) " >&6 else d5370 1 a5370 1 main () d5381 2 a5382 1 if ac_fn_c_try_link "$LINENO"; then : d5384 1 a5384 1 else d5387 1 a5387 1 rm -f core conftest.err conftest.$ac_objext \ d5391 2 a5392 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkg_cv_have___builtin_va_copy" >&5 $as_echo "$pkg_cv_have___builtin_va_copy" >&6; } d5394 1 a5394 1 $as_echo "#define HAVE___BUILTIN_VA_COPY 1" >>confdefs.h d5404 1 a5404 1 for ac_header in md5.h d5406 4 a5409 5 ac_fn_c_check_header_mongrel "$LINENO" "md5.h" "ac_cv_header_md5_h" "$ac_includes_default" if test "x$ac_cv_header_md5_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_MD5_H 1 _ACEOF d5412 6 a5417 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5Init in md5.h" >&5 $as_echo_n "checking for MD5Init in md5.h... " >&6; } if ${pkg_cv_have_md5init+:} false; then : $as_echo_n "(cached) " >&6 else d5426 1 a5426 1 main () d5436 2 a5437 1 if ac_fn_c_try_compile "$LINENO"; then : d5439 1 a5439 1 else d5442 1 a5442 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d5445 2 a5446 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkg_cv_have_md5init" >&5 $as_echo "$pkg_cv_have_md5init" >&6; } d5451 1 a5451 1 $as_echo "#define HAVE_NBCOMPAT_MD5INIT 1" >>confdefs.h d5463 4 d5468 11 a5478 8 for ac_header in md5.h rmd160.h sha1.h sha2.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF d5481 4 d5486 1 a5486 1 done d5489 2 a5490 1 if test "x$ac_cv_func_MD5File" = xyes; then : d5492 1 a5492 1 else d5494 1 a5494 1 $as_echo "#define HAVE_NBCOMPAT_MD5 1" >>confdefs.h d5513 2 a5514 1 if test "x$ac_cv_func_RMD160File" = xyes; then : d5516 1 a5516 1 else d5518 1 a5518 1 $as_echo "#define HAVE_NBCOMPAT_RMD160 1" >>confdefs.h d5537 2 a5538 1 if test "x$ac_cv_func_SHA1File" = xyes; then : d5540 1 a5540 1 else d5542 1 a5542 1 $as_echo "#define HAVE_NBCOMPAT_SHA1 1" >>confdefs.h d5562 2 a5563 1 if test "x$ac_cv_func_SHA512_File" = xyes; then : d5565 1 a5565 1 else d5567 1 a5567 1 $as_echo "#define HAVE_NBCOMPAT_SHA2 1" >>confdefs.h d5588 1 a5588 1 $as_echo "#define BROKEN_PREAD 1" >>confdefs.h d5591 1 a5591 1 $as_echo "#define BROKEN_PWRITE 1" >>confdefs.h d5596 1 a5596 1 $as_echo "#define BROKEN_PREAD 1" >>confdefs.h d5599 1 a5599 1 $as_echo "#define BROKEN_PWRITE 1" >>confdefs.h d5606 2 a5607 1 if test "${enable_db+set}" = set; then : d5613 4 a5616 7 for ac_func in issetugid do : ac_fn_c_check_func "$LINENO" "issetugid" "ac_cv_func_issetugid" if test "x$ac_cv_func_issetugid" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_ISSETUGID 1 _ACEOF a5618 1 done d5622 2 a5623 1 if test "${enable_bsd_getopt+set}" = set; then : d5628 81 a5708 1 ac_fn_c_check_decl "$LINENO" "optarg" "ac_cv_have_decl_optarg" " d5713 3 a5715 2 " if test "x$ac_cv_have_decl_optarg" = xyes; then : d5717 1 a5717 1 else d5720 3 a5722 5 cat >>confdefs.h <<_ACEOF #define HAVE_DECL_OPTARG $ac_have_decl _ACEOF if test $ac_have_decl = 1; then : d5724 1 a5724 1 else d5727 1 a5727 1 ac_fn_c_check_decl "$LINENO" "optind" "ac_cv_have_decl_optind" " d5732 3 a5734 2 " if test "x$ac_cv_have_decl_optind" = xyes; then : d5736 1 a5736 1 else d5739 3 a5741 5 cat >>confdefs.h <<_ACEOF #define HAVE_DECL_OPTIND $ac_have_decl _ACEOF if test $ac_have_decl = 1; then : d5743 1 a5743 1 else d5746 1 a5746 1 ac_fn_c_check_decl "$LINENO" "optreset" "ac_cv_have_decl_optreset" " d5751 3 a5753 2 " if test "x$ac_cv_have_decl_optreset" = xyes; then : d5755 1 a5755 1 else d5758 3 a5760 5 cat >>confdefs.h <<_ACEOF #define HAVE_DECL_OPTRESET $ac_have_decl _ACEOF if test $ac_have_decl = 1; then : d5762 1 a5762 1 else d5768 1 a5768 1 for ac_header in getopt.h d5770 4 a5773 5 ac_fn_c_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" if test "x$ac_cv_header_getopt_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GETOPT_H 1 _ACEOF d5776 2 a5777 1 if test "x$ac_cv_type_struct_option" = xyes; then : d5779 1 a5779 3 cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_OPTION 1 _ACEOF d5782 1 a5782 1 else d5786 1 a5786 1 else a5792 1 d5795 2 a5796 2 { $as_echo "$as_me:${as_lineno-$LINENO}: Using included getopt and getopt_long" >&5 $as_echo "$as_me: Using included getopt and getopt_long" >&6;} d5817 1 a5817 1 for ac_header in vis.h d5819 4 a5822 5 ac_fn_c_check_header_mongrel "$LINENO" "vis.h" "ac_cv_header_vis_h" "$ac_includes_default" if test "x$ac_cv_header_vis_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_VIS_H 1 _ACEOF d5825 6 a5830 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VIS_WHITE in vis.h" >&5 $as_echo_n "checking for VIS_WHITE in vis.h... " >&6; } if ${pkg_cv_have_vis_white+:} false; then : $as_echo_n "(cached) " >&6 else d5839 1 a5839 1 main () d5846 2 a5847 1 if ac_fn_c_try_compile "$LINENO"; then : d5849 1 a5849 1 else d5852 1 a5852 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d5855 2 a5856 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkg_cv_have_vis_white" >&5 $as_echo "$pkg_cv_have_vis_white" >&6; } d5859 34 a5892 8 for ac_func in strunvis strvis strsvis svis unvis vis do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF a5894 1 done d5896 2 a5897 1 for ac_func in strunvis strvis strsvis svis unvis vis d5899 1 a5899 1 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` d5901 2 a5902 1 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : d5904 1 a5904 1 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 d5907 1 a5907 1 else d5910 1 a5912 1 a5922 1 d5924 1 a5924 1 $as_echo "#define HAVE_NBCOMPAT_VIS 1" >>confdefs.h d5942 6 a5947 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5 $as_echo_n "checking for __attribute__... " >&6; } if ${ac_cv___attribute__+:} false; then : $as_echo_n "(cached) " >&6 else d5961 2 a5962 1 if ac_fn_c_try_compile "$LINENO"; then : d5964 1 a5964 1 else d5967 1 a5967 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d5972 1 a5972 1 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h d5975 2 a5976 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5 $as_echo "$ac_cv___attribute__" >&6; } d5979 2 a5980 1 if test "x$ac_cv_type_size_t" = xyes; then : d5982 1 a5982 1 else d5984 1 a5984 3 cat >>confdefs.h <<_ACEOF #define size_t unsigned int _ACEOF d5990 2 a5991 1 if test "x$ac_cv_type_uintptr_t" = xyes; then : d5993 1 a5993 1 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h d5995 1 a5995 1 else d6002 1 a6002 1 main () d6012 2 a6013 1 if ac_fn_c_try_compile "$LINENO"; then : d6015 1 a6015 3 cat >>confdefs.h <<_ACEOF #define uintptr_t $ac_type _ACEOF d6019 1 a6019 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d6030 1 a6030 3 cat >>confdefs.h <<_ACEOF #define int8_t $ac_cv_c_int8_t _ACEOF d6039 1 a6039 3 cat >>confdefs.h <<_ACEOF #define int16_t $ac_cv_c_int16_t _ACEOF d6048 1 a6048 3 cat >>confdefs.h <<_ACEOF #define int32_t $ac_cv_c_int32_t _ACEOF d6057 1 a6057 3 cat >>confdefs.h <<_ACEOF #define int64_t $ac_cv_c_int64_t _ACEOF d6066 1 a6066 1 $as_echo "#define _UINT8_T 1" >>confdefs.h d6069 1 a6069 3 cat >>confdefs.h <<_ACEOF #define uint8_t $ac_cv_c_uint8_t _ACEOF d6079 1 a6079 3 cat >>confdefs.h <<_ACEOF #define uint16_t $ac_cv_c_uint16_t _ACEOF d6088 1 a6088 1 $as_echo "#define _UINT32_T 1" >>confdefs.h d6091 1 a6091 3 cat >>confdefs.h <<_ACEOF #define uint32_t $ac_cv_c_uint32_t _ACEOF d6100 1 a6100 1 $as_echo "#define _UINT64_T 1" >>confdefs.h d6103 1 a6103 3 cat >>confdefs.h <<_ACEOF #define uint64_t $ac_cv_c_uint64_t _ACEOF d6121 2 a6122 1 if test "x$ac_cv_type_long_long" = xyes; then : d6124 1 a6124 3 cat >>confdefs.h <<_ACEOF #define HAVE_LONG_LONG 1 _ACEOF d6142 2 a6143 1 if test "x$ac_cv_type_long_double" = xyes; then : d6145 1 a6145 3 cat >>confdefs.h <<_ACEOF #define HAVE_LONG_DOUBLE 1 _ACEOF d6163 2 a6164 1 if test "x$ac_cv_type_fsid_t" = xyes; then : d6166 1 a6166 3 cat >>confdefs.h <<_ACEOF #define HAVE_FSID_T 1 _ACEOF d6171 6 a6176 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } if ${ac_cv_c_bigendian+:} false; then : $as_echo_n "(cached) " >&6 else d6187 2 a6188 1 if ac_fn_c_try_compile "$LINENO"; then : d6212 1 a6212 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d6221 1 a6221 1 main () d6233 2 a6234 1 if ac_fn_c_try_compile "$LINENO"; then : d6242 1 a6242 1 main () d6252 2 a6253 1 if ac_fn_c_try_compile "$LINENO"; then : d6255 1 a6255 1 else d6258 1 a6258 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d6260 1 a6260 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d6269 1 a6269 1 main () d6279 2 a6280 1 if ac_fn_c_try_compile "$LINENO"; then : d6287 1 a6287 1 main () d6297 2 a6298 1 if ac_fn_c_try_compile "$LINENO"; then : d6300 1 a6300 1 else d6303 1 a6303 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d6305 1 a6305 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d6309 2 a6310 1 if test "$cross_compiling" = yes; then : d6314 1 a6314 1 short int ascii_mm[] = d6316 1 a6316 1 short int ascii_ii[] = d6321 1 a6321 1 short int ebcdic_ii[] = d6323 1 a6323 1 short int ebcdic_mm[] = d6331 1 a6331 1 main () d6338 2 a6339 1 if ac_fn_c_try_compile "$LINENO"; then : d6352 2 a6353 2 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else d6358 1 a6358 1 main () d6374 2 a6375 1 if ac_fn_c_try_run "$LINENO"; then : d6377 1 a6377 1 else d6386 2 a6387 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 $as_echo "$ac_cv_c_bigendian" >&6; } d6390 1 a6390 1 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h d6396 1 a6396 1 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h d6408 8 a6415 6 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 $as_echo_n "checking size of off_t... " >&6; } if ${ac_cv_sizeof_off_t+:} false; then : $as_echo_n "(cached) " >&6 else if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then : d6417 1 a6417 1 else d6419 2 a6420 2 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} d6429 2 a6430 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 $as_echo "$ac_cv_sizeof_off_t" >&6; } d6434 1 a6434 3 cat >>confdefs.h <<_ACEOF #define SIZEOF_OFF_T $ac_cv_sizeof_off_t _ACEOF d6439 3 a6441 2 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" if test "x$ac_cv_have_decl_strerror_r" = xyes; then : d6443 1 a6443 1 else d6446 1 a6447 3 cat >>confdefs.h <<_ACEOF #define HAVE_DECL_STRERROR_R $ac_have_decl _ACEOF d6449 6 a6454 7 for ac_func in strerror_r do : ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" if test "x$ac_cv_func_strerror_r" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRERROR_R 1 _ACEOF a6456 1 done d6458 6 a6463 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 $as_echo_n "checking whether strerror_r returns char *... " >&6; } if ${ac_cv_func_strerror_r_char_p+:} false; then : $as_echo_n "(cached) " >&6 else d6469 1 a6469 1 $ac_includes_default d6471 1 a6471 1 main () d6483 2 a6484 29 if ac_fn_c_try_compile "$LINENO"; then : ac_cv_func_strerror_r_char_p=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else # strerror_r is not declared. Choose between # systems that have relatively inaccessible declarations for the # function. BeOS and DEC UNIX 4.0 fall in this category, but the # former has a strerror_r that returns char*, while the latter # has a strerror_r that returns `int'. # This test should segfault on the DEC system. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default extern char *strerror_r (); int main () { char buf[100]; char x = *strerror_r (0, buf, sizeof buf); return ! isalpha (x); ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : d6487 1 a6487 3 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi d6492 2 a6493 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; } d6496 1 a6496 1 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h a6499 2 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" if test "x$ac_cv_type_pid_t" = xyes; then : d6501 20 a6520 1 else a6521 2 cat >>confdefs.h <<_ACEOF #define pid_t int d6523 10 a6535 7 for ac_header in vfork.h do : ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" if test "x$ac_cv_header_vfork_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_VFORK_H 1 _ACEOF a6536 1 fi d6538 12 a6551 8 for ac_func in fork vfork do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF a6552 2 fi done d6555 8 a6562 6 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 $as_echo_n "checking for working fork... " >&6; } if ${ac_cv_func_fork_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : d6564 1 a6564 1 else d6569 1 a6569 1 main () d6579 2 a6580 1 if ac_fn_c_try_run "$LINENO"; then : d6582 1 a6582 1 else d6590 2 a6591 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 $as_echo "$ac_cv_func_fork_works" >&6; } d6606 2 a6607 2 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} d6611 8 a6618 6 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 $as_echo_n "checking for working vfork... " >&6; } if ${ac_cv_func_vfork_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : d6620 1 a6620 1 else d6625 1 d6630 7 a6643 1 #ifdef __cplusplus a6644 3 # else sparc_address_test (arg) int arg; #endif d6662 1 a6662 1 main () d6669 5 d6695 4 d6714 3 d6729 2 a6730 1 if ac_fn_c_try_run "$LINENO"; then : d6732 1 a6732 1 else d6740 2 a6741 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 $as_echo "$ac_cv_func_vfork_works" >&6; } d6746 2 a6747 2 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} d6752 1 a6752 1 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h d6756 1 a6756 1 $as_echo "#define vfork fork" >>confdefs.h d6761 1 a6761 1 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h d6766 5 a6770 4 as_ac_Symbol=`$as_echo "ac_cv_have_decl_snprintf(char *, size_t, const char *, ...)" | $as_tr_sh` ac_fn_c_check_decl "$LINENO" "snprintf(char *, size_t, const char *, ...)" "$as_ac_Symbol" "#include " if eval test \"x\$"$as_ac_Symbol"\" = x"yes"; then : d6772 1 a6772 1 else d6775 3 d6779 1 a6779 6 cat >>confdefs.h <<_ACEOF #define HAVE_DECL_SNPRINTF $ac_have_decl _ACEOF if test $ac_have_decl = 1; then : else d6788 2 a6789 2 as_ac_Symbol=`$as_echo "ac_cv_have_decl_asprintf(char **, const char *, ...)" | $as_tr_sh` ac_fn_c_check_decl "$LINENO" "asprintf(char **, const char *, ...)" "$as_ac_Symbol" "#define _GNU_SOURCE d6791 3 a6793 2 " if eval test \"x\$"$as_ac_Symbol"\" = x"yes"; then : d6795 1 a6795 1 else d6798 3 d6802 1 a6802 6 cat >>confdefs.h <<_ACEOF #define HAVE_DECL_ASPRINTF $ac_have_decl _ACEOF if test $ac_have_decl = 1; then : else d6811 5 a6815 4 as_ac_Symbol=`$as_echo "ac_cv_have_decl_strdup(const char *)" | $as_tr_sh` ac_fn_c_check_decl "$LINENO" "strdup(const char *)" "$as_ac_Symbol" "#include " if eval test \"x\$"$as_ac_Symbol"\" = x"yes"; then : d6817 1 a6817 1 else d6820 3 d6824 1 a6824 6 cat >>confdefs.h <<_ACEOF #define HAVE_DECL_STRDUP $ac_have_decl _ACEOF if test $ac_have_decl = 1; then : else d6841 5 a6845 4 as_ac_Symbol=`$as_echo "ac_cv_have_decl_isblank(int)" | $as_tr_sh` ac_fn_c_check_decl "$LINENO" "isblank(int)" "$as_ac_Symbol" "#include " if eval test \"x\$"$as_ac_Symbol"\" = x"yes"; then : d6847 1 a6847 1 else d6850 3 d6854 1 a6854 6 cat >>confdefs.h <<_ACEOF #define HAVE_DECL_ISBLANK $ac_have_decl _ACEOF if test $ac_have_decl = 1; then : else d6865 3 a6867 2 if test "x$ac_cv_func_err" = xyes; then : $as_echo "#define HAVE_ERR 1" >>confdefs.h d6869 1 a6869 1 else a6876 1 d6878 3 a6880 2 if test "x$ac_cv_func_fgetln" = xyes; then : $as_echo "#define HAVE_FGETLN 1" >>confdefs.h d6882 1 a6882 1 else a6889 1 d6891 3 a6893 2 if test "x$ac_cv_func_fnmatch" = xyes; then : $as_echo "#define HAVE_FNMATCH 1" >>confdefs.h d6895 1 a6895 1 else a6902 1 d6904 3 a6906 2 if test "x$ac_cv_func_fparseln" = xyes; then : $as_echo "#define HAVE_FPARSELN 1" >>confdefs.h d6908 1 a6908 1 else a6915 1 d6917 3 a6919 2 if test "x$ac_cv_func_getdelim" = xyes; then : $as_echo "#define HAVE_GETDELIM 1" >>confdefs.h d6921 1 a6921 1 else a6928 1 d6930 3 a6932 2 if test "x$ac_cv_func_getenv" = xyes; then : $as_echo "#define HAVE_GETENV 1" >>confdefs.h d6934 1 a6934 1 else a6941 1 d6943 3 a6945 2 if test "x$ac_cv_func_getline" = xyes; then : $as_echo "#define HAVE_GETLINE 1" >>confdefs.h d6947 1 a6947 1 else a6954 1 d6956 3 a6958 2 if test "x$ac_cv_func_lchflags" = xyes; then : $as_echo "#define HAVE_LCHFLAGS 1" >>confdefs.h d6960 1 a6960 1 else a6967 1 d6969 3 a6971 2 if test "x$ac_cv_func_lchmod" = xyes; then : $as_echo "#define HAVE_LCHMOD 1" >>confdefs.h d6973 1 a6973 1 else a6980 1 d6982 3 a6984 2 if test "x$ac_cv_func_lchown" = xyes; then : $as_echo "#define HAVE_LCHOWN 1" >>confdefs.h d6986 1 a6986 1 else a6993 1 d6995 3 a6997 2 if test "x$ac_cv_func_lutimes" = xyes; then : $as_echo "#define HAVE_LUTIMES 1" >>confdefs.h d6999 1 a6999 1 else a7006 1 d7008 3 a7010 2 if test "x$ac_cv_func_mkdtemp" = xyes; then : $as_echo "#define HAVE_MKDTEMP 1" >>confdefs.h d7012 1 a7012 1 else a7019 1 d7021 3 a7023 2 if test "x$ac_cv_func_mkstemp" = xyes; then : $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h d7025 1 a7025 1 else a7032 1 d7034 3 a7036 2 if test "x$ac_cv_func_setenv" = xyes; then : $as_echo "#define HAVE_SETENV 1" >>confdefs.h d7038 1 a7038 1 else a7045 1 d7047 3 a7049 2 if test "x$ac_cv_func_setgroupent" = xyes; then : $as_echo "#define HAVE_SETGROUPENT 1" >>confdefs.h d7051 1 a7051 1 else a7058 1 d7060 3 a7062 2 if test "x$ac_cv_func_setpassent" = xyes; then : $as_echo "#define HAVE_SETPASSENT 1" >>confdefs.h d7064 1 a7064 1 else a7071 1 d7073 3 a7075 2 if test "x$ac_cv_func_setprogname" = xyes; then : $as_echo "#define HAVE_SETPROGNAME 1" >>confdefs.h d7077 1 a7077 1 else a7084 1 d7086 3 a7088 2 if test "x$ac_cv_func_shquote" = xyes; then : $as_echo "#define HAVE_SHQUOTE 1" >>confdefs.h d7090 1 a7090 1 else a7097 1 d7099 3 a7101 2 if test "x$ac_cv_func_statvfs" = xyes; then : $as_echo "#define HAVE_STATVFS 1" >>confdefs.h d7103 1 a7103 1 else a7110 1 d7112 3 a7114 2 if test "x$ac_cv_func_strerror" = xyes; then : $as_echo "#define HAVE_STRERROR 1" >>confdefs.h d7116 1 a7116 1 else a7123 1 d7125 3 a7127 2 if test "x$ac_cv_func_strlcat" = xyes; then : $as_echo "#define HAVE_STRLCAT 1" >>confdefs.h d7129 1 a7129 1 else a7136 1 d7138 3 a7140 2 if test "x$ac_cv_func_strlcpy" = xyes; then : $as_echo "#define HAVE_STRLCPY 1" >>confdefs.h d7142 1 a7142 1 else a7149 1 d7151 3 a7153 2 if test "x$ac_cv_func_strmode" = xyes; then : $as_echo "#define HAVE_STRMODE 1" >>confdefs.h d7155 1 a7155 1 else a7162 1 d7164 3 a7166 2 if test "x$ac_cv_func_strsep" = xyes; then : $as_echo "#define HAVE_STRSEP 1" >>confdefs.h d7168 1 a7168 1 else a7175 1 d7177 3 a7179 2 if test "x$ac_cv_func_strtoll" = xyes; then : $as_echo "#define HAVE_STRTOLL 1" >>confdefs.h d7181 1 a7181 1 else a7188 1 d7190 3 a7192 2 if test "x$ac_cv_func_unsetenv" = xyes; then : $as_echo "#define HAVE_UNSETENV 1" >>confdefs.h d7194 1 a7194 1 else a7201 1 d7203 3 a7205 2 if test "x$ac_cv_func_usleep" = xyes; then : $as_echo "#define HAVE_USLEEP 1" >>confdefs.h d7207 1 a7207 1 else a7214 1 d7216 3 a7218 2 if test "x$ac_cv_func_utimes" = xyes; then : $as_echo "#define HAVE_UTIMES 1" >>confdefs.h d7220 1 a7220 1 else a7227 1 d7229 3 a7231 2 if test "x$ac_cv_func_warn" = xyes; then : $as_echo "#define HAVE_WARN 1" >>confdefs.h d7233 1 a7233 1 else d7243 6 a7248 6 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 $as_echo_n "checking for library containing socket... " >&6; } if ${ac_cv_search_socket+:} false; then : $as_echo_n "(cached) " >&6 else a7255 3 #ifdef __cplusplus extern "C" #endif d7258 1 a7258 1 main () d7265 2 a7266 1 for ac_lib in '' socket network; do d7273 2 a7274 1 if ac_fn_c_try_link "$LINENO"; then : d7277 1 a7277 1 rm -f core conftest.err conftest.$ac_objext \ d7279 2 a7280 1 if ${ac_cv_search_socket+:} false; then : d7284 2 a7285 1 if ${ac_cv_search_socket+:} false; then : d7287 1 a7287 1 else d7293 2 a7294 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 $as_echo "$ac_cv_search_socket" >&6; } d7296 2 a7297 1 if test "$ac_res" != no; then : d7302 6 a7307 5 { $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 a7315 3 #ifdef __cplusplus extern "C" #endif d7318 1 a7318 1 main () d7325 2 a7326 1 if ac_fn_c_try_link "$LINENO"; then : d7328 1 a7328 1 else d7331 1 a7331 1 rm -f core conftest.err conftest.$ac_objext \ d7335 5 a7339 6 { $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 d7354 2 a7355 1 if test "x$ac_cv_type_socklen_t" = xyes; then : d7357 1 a7357 3 cat >>confdefs.h <<_ACEOF #define HAVE_SOCKLEN_T 1 _ACEOF d7364 2 a7365 1 if test "x$ac_cv_type_struct_addrinfo" = xyes; then : d7367 1 a7367 3 cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_ADDRINFO 1 _ACEOF d7378 2 a7379 1 if test "x$ac_cv_type_struct_in6_addr" = xyes; then : d7381 1 a7381 3 cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_IN6_ADDR 1 _ACEOF d7392 2 a7393 1 if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then : d7395 1 a7395 3 cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_SOCKADDR_IN6 1 _ACEOF d7406 2 a7407 1 if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then : d7409 1 a7409 3 cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_SOCKADDR_STORAGE 1 _ACEOF d7414 2 a7415 1 for ac_func in getnameinfo gai_strerror getaddrinfo d7417 1 a7417 1 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` d7419 2 a7420 1 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : d7422 1 a7422 1 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 d7425 1 a7425 1 else d7428 1 a7429 1 d7440 2 a7441 1 for ac_func in getenv setenv unsetenv d7443 1 a7443 1 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` d7445 2 a7446 1 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : d7448 1 a7448 1 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 d7451 1 a7451 1 else d7454 1 a7455 1 d7466 2 a7467 1 for ac_func in mkdtemp mkstemp d7469 1 a7469 1 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` d7471 2 a7472 1 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : d7474 1 a7474 1 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 d7477 1 a7477 1 else d7480 1 a7481 1 d7491 4 a7494 7 for ac_func in setlocale do : ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" if test "x$ac_cv_func_setlocale" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SETLOCALE 1 _ACEOF a7496 1 done d7500 2 a7501 1 for ac_func in getmode setmode d7503 1 a7503 1 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` d7505 2 a7506 1 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : d7508 1 a7508 1 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 d7511 1 a7511 1 else d7514 1 a7516 1 d7527 2 a7528 1 for ac_func in strnlen d7531 3 a7533 4 if test "x$ac_cv_func_strnlen" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRNLEN 1 _ACEOF d7535 1 a7535 1 else d7538 1 a7540 1 d7550 3 a7552 2 ac_fn_c_check_decl "$LINENO" "endgrent" "ac_cv_have_decl_endgrent" "$ac_includes_default" if test "x$ac_cv_have_decl_endgrent" = xyes; then : d7554 1 a7554 1 else d7557 4 a7560 6 cat >>confdefs.h <<_ACEOF #define HAVE_DECL_ENDGRENT $ac_have_decl _ACEOF ac_fn_c_check_decl "$LINENO" "endpwent" "ac_cv_have_decl_endpwent" "$ac_includes_default" if test "x$ac_cv_have_decl_endpwent" = xyes; then : d7562 1 a7562 1 else d7565 4 a7568 6 cat >>confdefs.h <<_ACEOF #define HAVE_DECL_ENDPWENT $ac_have_decl _ACEOF ac_fn_c_check_decl "$LINENO" "setpassent" "ac_cv_have_decl_setpassent" "$ac_includes_default" if test "x$ac_cv_have_decl_setpassent" = xyes; then : d7570 1 a7570 1 else d7573 1 a7573 4 cat >>confdefs.h <<_ACEOF #define HAVE_DECL_SETPASSENT $ac_have_decl _ACEOF a7576 2 for ac_func in gid_from_group group_from_gid pwcache_groupdb \ pwcache_userdb uid_from_user user_from_uid \ d7578 1 d7580 1 a7580 1 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` d7582 2 a7583 1 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : d7585 1 a7585 1 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 d7588 1 a7588 1 else d7591 1 a7593 1 d7604 2 a7605 1 if test "x$ac_cv_func_fts_open" = xyes; then : d7607 1 a7607 1 else d7609 1 a7609 1 $as_echo "#define HAVE_NBCOMPAT_FTS 1" >>confdefs.h d7623 2 a7624 1 if test "x$ac_cv_func_timegm" = xyes; then : d7626 1 a7626 1 else d7641 4 a7644 8 for ac_header in poll.h sys/poll.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF d7647 4 d7652 1 a7652 1 done d7654 1 a7654 1 for ac_header in poll.h sys/poll.h d7656 4 a7659 3 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : d7661 1 a7661 1 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 a7667 1 d7675 2 a7676 1 if test "x$ac_cv_func_poll" = xyes; then : d7679 6 a7684 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll() is implemented natively" >&5 $as_echo_n "checking if poll() is implemented natively... " >&6; } if ${pkg_cv_native_poll+:} false; then : $as_echo_n "(cached) " >&6 else d7696 1 a7696 1 main () d7706 2 a7707 1 if ac_fn_c_try_compile "$LINENO"; then : d7709 1 a7709 1 else d7712 1 a7712 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d7715 2 a7716 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkg_cv_native_poll" >&5 $as_echo "$pkg_cv_native_poll" >&6; } d7730 1 a7730 1 $as_echo "#define HAVE_NBCOMPAT_POLL 1" >>confdefs.h d7741 16 a7756 8 for ac_func in getpassphrase getpgrp select do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF a7758 1 done d7762 8 a7769 6 if test "x$ac_cv_func_getpgrp" = xyes; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } if ${ac_cv_func_getpgrp_void+:} false; then : $as_echo_n "(cached) " >&6 else d7775 1 a7775 1 main () d7782 2 a7783 1 if ac_fn_c_try_compile "$LINENO"; then : d7785 1 a7785 1 else d7788 1 a7788 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d7791 2 a7792 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5 $as_echo "$ac_cv_func_getpgrp_void" >&6; } d7795 1 a7795 1 $as_echo "#define GETPGRP_VOID 1" >>confdefs.h d7804 2 a7805 1 if test "x$ac_cv_member_struct_statfs_f_flags" = xyes; then : d7807 1 a7807 3 cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STATFS_F_FLAGS 1 _ACEOF d7810 1 a7810 1 else d7816 2 a7817 1 if test "x$ac_cv_member_struct_statfs_f_fsize" = xyes; then : d7819 1 a7819 3 cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STATFS_F_FSIZE 1 _ACEOF d7822 1 a7822 1 else d7828 2 a7829 1 if test "x$ac_cv_member_struct_statfs_f_iosize" = xyes; then : d7831 1 a7831 3 cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STATFS_F_IOSIZE 1 _ACEOF d7834 1 a7834 1 else d7854 2 a7855 1 if test "x$ac_cv_member_struct_dirent_d_namlen" = xyes; then : d7857 1 a7857 3 cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_DIRENT_D_NAMLEN 1 _ACEOF d7860 1 a7860 1 else d7879 2 a7880 1 if test "x$ac_cv_member_DIR_dd_fd" = xyes; then : d7882 1 a7882 3 cat >>confdefs.h <<_ACEOF #define HAVE_DIR_DD_FD 1 _ACEOF d7885 1 a7885 1 else d7890 9 a7898 3 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5 $as_echo_n "checking for dirfd... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext d7901 15 a7915 15 #if HAVE_DIRENT_H # include #else # define dirent direct # if HAVE_SYS_NDIR_H # include # endif # if HAVE_SYS_DIR_H # include # endif # if HAVE_NDIR_H # include # endif #endif int dummy_var; d7918 1 a7918 1 main () d7925 6 a7930 6 if ac_fn_c_try_link "$LINENO"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } $as_echo "#define HAVE_DIRFD 1" >>confdefs.h d7932 4 d7937 1 a7937 4 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } a7939 2 rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext a7943 2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking *printf() support for %lld" >&5 $as_echo_n "checking *printf() support for %lld... " >&6; } d7945 16 a7960 3 if test "$cross_compiling" = yes; then : : else d7964 6 a7969 6 #include int main() { char buf[100]; sprintf(buf, "%lld", 4294967300LL); return (strcmp(buf, "4294967300")); } d7972 3 a7974 11 if ac_fn_c_try_run "$LINENO"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } can_printf_longlong=yes else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } d7981 7 d7989 15 a8003 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking *printf() support for %qd" >&5 $as_echo_n "checking *printf() support for %qd... " >&6; } if test "$cross_compiling" = yes; then : : else d8007 6 a8012 6 #include int main() { char buf[100]; sprintf(buf, "%qd", 4294967300LL); return (strcmp(buf, "4294967300")); } d8015 3 a8017 14 if ac_fn_c_try_run "$LINENO"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } can_printf_longlong=yes $as_echo "#define HAVE_PRINTF_QD 1" >>confdefs.h else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } d8023 10 d8036 1 a8036 1 $as_echo "#define HAVE_WORKING_LONG_LONG 1" >>confdefs.h d8040 3 a8042 2 if test "x$ac_cv_func_strtoll" = xyes; then : $as_echo "#define HAVE_STRTOLL 1" >>confdefs.h d8044 1 a8044 1 else a8052 1 d8059 15 a8073 6 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf is standards compliant" >&5 $as_echo_n "checking if vsnprintf is standards compliant... " >&6; } have_std_vsnprintf=no if test "$cross_compiling" = yes; then : : else d8077 12 a8088 12 #include #include #include void dotest(char *fmt, ...) { char buf[3]; va_list ap; va_start(ap, fmt); exit(snprintf(buf, 3, fmt, ap) == 4 ? 0 : 1); } int main() { dotest("test"); } d8091 3 a8093 11 if ac_fn_c_try_run "$LINENO"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } have_std_vsnprintf=yes else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } d8100 5 a8104 1 if test $have_std_vsnprintf = no; then d8144 2 a8145 2 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; d8175 1 a8175 1 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ d8182 2 a8183 2 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} d8197 2 a8198 2 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} d8215 1 a8215 1 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` d8232 2 a8233 2 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} d8256 3 a8258 1 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : d8265 1 a8265 1 else d8275 8 d8286 26 a8311 34 # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi d8314 1 a8314 1 if test "${PATH_SEPARATOR+set}" != set; then a8322 7 # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" d8331 6 a8336 2 test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break d8348 1 a8348 1 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 a8351 20 # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH d8364 1 a8364 1 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 d8366 1 a8366 1 $as_echo "$as_me: error: $2" >&2 d8371 1 d8398 1 d8405 2 a8406 1 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : d8411 1 a8411 1 else d8423 2 a8424 1 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : d8429 1 a8429 1 else d8460 1 a8460 1 $as_echo X/"$0" | d8482 4 d8499 6 d8546 1 a8546 1 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( d8555 1 a8555 1 $as_echo X"$as_dir" | d8618 1 a8618 1 generated by GNU Autoconf 2.69. Invocation command line was d8676 2 d8679 1 a8679 1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" d8682 1 a8682 1 configured by $0, generated by GNU Autoconf 2.69, d8685 1 a8685 1 Copyright (C) 2012 Free Software Foundation, Inc. d8724 1 a8724 1 $as_echo "$ac_cs_version"; exit ;; d8726 1 a8726 1 $as_echo "$ac_cs_config"; exit ;; d8732 1 a8732 1 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; d8740 1 a8740 1 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; d8749 1 a8749 1 $as_echo "$ac_cs_usage"; exit ;; d8777 1 a8777 1 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 d8791 1 a8791 1 $as_echo "$ac_log" d8817 2 a8818 2 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers d9154 1 a9154 1 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac d9162 1 a9162 1 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' d9166 2 a9167 2 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} d9172 1 a9172 1 ac_sed_conf_input=`$as_echo "$configure_input" | d9189 1 a9189 1 $as_echo X"$ac_file" | d9213 1 a9213 1 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` d9215 1 a9215 1 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` d9272 2 a9273 2 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} d9316 1 a9316 1 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' d9318 1 a9318 1 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' d9334 1 a9334 1 $as_echo "/* $configure_input */" \ d9339 2 a9340 2 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} d9347 1 a9347 1 $as_echo "/* $configure_input */" \ d9388 2 a9389 2 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} d9392 1 @ 1.86 log @Include strnlen(3) - Needed on Tiger and more recent Intel only Darwin releases. @ text @d3992 3 a3994 11 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 -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; 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_CC+:} false; then : d3997 3 a3999 321 if test -n "$CC"; then ac_cv_prog_CC="$CC" # 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_CC="${ac_tool_prefix}gcc" $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 CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; 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_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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_CC="gcc" $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_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" 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 CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; 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_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # 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_CC="${ac_tool_prefix}cc" $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 CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; 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_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no 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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $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 if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # 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_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" 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 CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext d4001 5 d4007 6 a4012 2 int main () d4014 14 a4027 2 #ifndef __GNUC__ choke me d4029 6 d4036 22 a4057 1 ; a4059 8 _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu d4061 3 a4063 24 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () d4065 8 d4074 19 a4092 2 ; return 0; a4093 7 _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ d4099 2 a4100 11 ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ d4102 31 a4132 3 int main () { d4138 1 a4138 88 if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" d4142 1 a4142 1 ac_cv_prog_cc_c89=$ac_arg d4145 1 a4145 1 test "x$ac_cv_prog_cc_c89" != "xno" && break d4152 1 a4152 1 case "x$ac_cv_prog_cc_c89" in d4160 3 a4162 3 CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; d4164 1 a4164 1 if test "x$ac_cv_prog_cc_c89" != xno; then : a4167 5 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 @ 1.85 log @Add AC_GNU_SOURCE to configure.ac and regenerate autotools This fixes build on recent ArchLinux with GCC 5.2 and GLibc 2.22. Approved by @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.69 for libnbcompat 20150419. d583 2 a584 2 PACKAGE_VERSION='20150419' PACKAGE_STRING='libnbcompat 20150419' d1250 1 a1250 1 \`configure' configures libnbcompat 20150419 to adapt to many kinds of systems. d1320 1 a1320 1 short | recursive ) echo "Configuration of libnbcompat 20150419:";; d1407 1 a1407 1 libnbcompat configure 20150419 d2246 1 a2246 1 It was created by libnbcompat $as_me 20150419, which was d7330 24 d8395 1 a8395 1 This file was extended by libnbcompat $as_me 20150419, which was d8457 1 a8457 1 libnbcompat config.status 20150419 @ 1.84 log @As the seemingly untested -Werror changes break the bootstrap at least on Linux, update libnbcompat to 20150615: - Assume a C89 environment and malloc, vprintf, memcpy, memset, memmove to be present and working. - Use full prototypes for isblank, snprintf, asprintf and strdup. This avoids GCC failing to do conflicts with the builtins. @ text @a626 3 EGREP GREP CPP d636 6 a648 3 SET_MAKE INCLUDES CANONICAL_HOST a1458 46 # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link d1496 91 d1629 77 d1760 4 a1763 5 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () d1773 3 a1775 14 $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno d1777 4 a1780 114 } # ac_fn_c_check_header_compile # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using # the include files in INCLUDES and setting the cache variable VAR # accordingly. ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <$2> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ( $as_echo "## ------------------------------- ## ## Report this to joerg@@NetBSD.org ## ## ------------------------------- ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_mongrel # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ a2706 36 CANONICAL_HOST=$host # Checks for programs. { $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 d3496 14 a3509 18 # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : d3512 5 a3516 2 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH d3518 16 a3533 42 IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac d3535 1064 a4598 2 done IFS=$as_save_IFS d4727 11 a4737 244 for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # 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_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done # 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_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="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 AUTOCONF=${AUTOCONF-"$srcdir/missing --run autoconf"} AUTOHEADER=${AUTOHEADER-"$srcdir/missing --run autoheader"} { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fparseln in -lutil" >&5 $as_echo_n "checking for fparseln in -lutil... " >&6; } if ${ac_cv_lib_util_fparseln+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lutil $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 fparseln (); int main () { return fparseln (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_util_fparseln=yes else ac_cv_lib_util_fparseln=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_util_fparseln" >&5 $as_echo "$ac_cv_lib_util_fparseln" >&6; } if test "x$ac_cv_lib_util_fparseln" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBUTIL 1 _ACEOF LIBS="-lutil $LIBS" 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue d4739 11 a4749 6 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext d4751 2 a4752 3 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : d4754 6 d4761 2 a4762 4 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } a4764 5 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 d4766 2 d4769 5 a4773 3 { $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; } if ${ac_cv_path_GREP+:} false; then : d4776 5 a4780 5 if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin a4783 1 for ac_prog in grep ggrep; do d4785 6 a4790 26 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 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 case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break d4792 1 a4792 2 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac d4794 6 a4799 8 $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi d4801 2 a4802 1 ac_cv_path_GREP=$GREP a4804 4 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" d4807 8 a4814 3 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : d4817 4 a4820 42 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 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 case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac d4822 17 a4838 8 $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi d4840 5 a4844 1 ac_cv_path_EGREP=$EGREP d4846 8 a4854 1 fi a4855 3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" a5004 17 # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done @ 1.83 log @regen @ text @a5535 67 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 #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 a5851 7 for ac_func in vprintf do : ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" if test "x$ac_cv_func_vprintf" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_VPRINTF 1 _ACEOF d5853 8 a5860 2 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" if test "x$ac_cv_func__doprnt" = xyes; then : d5862 4 a5865 1 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h d5867 6 a5872 1 fi a5874 1 done d5876 3 a5878 3 ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "#include d5880 1 a5880 1 if test "x$ac_cv_have_decl_snprintf" = xyes; then : d5887 1 a5887 1 #define HAVE_DECL_SNPRINTF $ac_have_decl d5889 13 a5901 1 ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "#include d5903 1 a5903 1 if test "x$ac_cv_have_decl_vasprintf" = xyes; then : d5910 1 a5910 1 #define HAVE_DECL_VASPRINTF $ac_have_decl d5912 10 d5931 13 a5943 3 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf" if test "x$ac_cv_func_asprintf" = xyes; then : $as_echo "#define HAVE_ASPRINTF 1" >>confdefs.h d5947 2 a5948 2 *" asprintf.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS asprintf.$ac_objext" d5954 1 a6045 13 ac_fn_c_check_func "$LINENO" "isblank" "ac_cv_func_isblank" if test "x$ac_cv_func_isblank" = xyes; then : $as_echo "#define HAVE_ISBLANK 1" >>confdefs.h else case " $LIBOBJS " in *" isblank.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS isblank.$ac_objext" ;; esac fi a6188 13 ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf" if test "x$ac_cv_func_snprintf" = xyes; then : $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h else case " $LIBOBJS " in *" snprintf.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS snprintf.$ac_objext" ;; esac fi a6201 13 ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup" if test "x$ac_cv_func_strdup" = xyes; then : $as_echo "#define HAVE_STRDUP 1" >>confdefs.h else case " $LIBOBJS " in *" strdup.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS strdup.$ac_objext" ;; esac fi d6580 1 a6580 1 for ac_func in bcopy bzero memset memcpy setlocale d6582 2 a6583 3 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : d6585 1 a6585 1 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 d6809 1 a6809 1 for ac_func in getpassphrase getpgrp memmove select @ 1.82 log @libnbcompat-20140725: Newer Linux systems have moved libutil.h to bsd/libutil.h, add the necessary checks for that location. Fixes at least Ubuntu 12.04. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.69 for libnbcompat 20120702. d583 2 a584 2 PACKAGE_VERSION='20120702' PACKAGE_STRING='libnbcompat 20120702' d1250 1 a1250 1 \`configure' configures libnbcompat 20120702 to adapt to many kinds of systems. d1320 1 a1320 1 short | recursive ) echo "Configuration of libnbcompat 20120702:";; d1407 1 a1407 1 libnbcompat configure 20120702 d2246 1 a2246 1 It was created by libnbcompat $as_me 20120702, which was d6035 13 d6061 13 d7726 1 a7726 1 This file was extended by libnbcompat $as_me 20120702, which was d7788 1 a7788 1 libnbcompat config.status 20120702 @ 1.81 log @Add SCO OpenServer 5.0.7/3.2 support @ text @d4386 3 a4388 3 for ac_header in alloca.h assert.h ctype.h dirent.h endian.h err.h errno.h \ fcntl.h fnmatch.h fts.h grp.h inttypes.h libutil.h limits.h \ machine/endian.h ndir.h netdb.h paths.h pwd.h signal.h \ @ 1.80 log @Update to 20130908 * Fix build on FreeMiNT. * Tested on some platforms, See files/README. @ text @d4782 8 @ 1.79 log @check missing declaration of setpassent(3) for Cygwin. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.68 for libnbcompat 20120702. d8 1 a8 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software # Foundation, Inc. d137 25 d195 2 a196 1 test x\$exitcode = x0 || exit 1" d241 19 a259 15 # 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 export CONFIG_SHELL 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+"$@@"} d362 8 d491 4 d529 1 a529 1 # In both cases, we have to default to `cp -p'. d531 1 a531 1 as_ln_s='cp -p' d535 1 a535 1 as_ln_s='cp -p' d538 1 a538 1 as_ln_s='cp -p' d550 2 a551 22 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 a1164 2 $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 d1408 1 a1408 1 generated by GNU Autoconf 2.68 d1410 1 a1410 1 Copyright (C) 2010 Free Software Foundation, Inc. d1486 1 a1486 1 $as_test_x conftest$ac_exeext d1898 2 a1899 1 test_array [0] = 0 d1915 2 a1916 1 test_array [0] = 0 d1973 2 a1974 1 test_array [0] = 0 d2020 2 a2021 1 test_array [0] = 0 d2037 2 a2038 1 test_array [0] = 0 d2064 2 a2065 1 test_array [0] = 0 d2081 2 a2082 1 test_array [0] = 0 d2116 2 a2117 1 test_array [0] = 0 d2247 1 a2247 1 generated by GNU Autoconf 2.68. Invocation command line was d2765 1 a2765 1 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then d2805 1 a2805 1 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then d2858 1 a2858 1 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then d2899 1 a2899 1 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then d2957 1 a2957 1 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then d3001 1 a3001 1 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then d3447 1 a3447 2 #include #include d3569 1 a3569 1 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then d3653 1 a3653 1 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then d3693 1 a3693 1 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then d3746 1 a3746 1 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then d3786 1 a3786 1 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then d4014 1 a4014 1 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue d4080 1 a4080 1 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue d4300 43 a4342 43 #include #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; d4348 6 a4353 6 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); d4368 1 a4368 1 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" d4378 1 d4394 1 a4394 1 util.h utime.h d5083 2 a5084 1 test_array [0] = 0 d7593 1 a7593 1 # In both cases, we have to default to `cp -p'. d7595 1 a7595 1 as_ln_s='cp -p' d7599 1 a7599 1 as_ln_s='cp -p' d7602 1 a7602 1 as_ln_s='cp -p' d7662 10 a7671 22 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 d7693 1 a7693 1 generated by GNU Autoconf 2.68. Invocation command line was d7755 1 a7755 1 configured by $0, generated by GNU Autoconf 2.68, d7758 1 a7758 1 Copyright (C) 2010 Free Software Foundation, Inc. d7848 1 a7848 1 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion @ 1.78 log @If either va_copy or __builtin_va_copy is supported, use that in the asprintf fallback implementation. If neither is supported, still try to work by copying va_list directly. Should fix PR 45767. @ text @d6644 10 @ 1.77 log @libnbcompat-20111228: If requesting BSDish getopt behavior, also include our own getopt_long. Add a message to signify this in the configure output. Fixes issues reported by hans@@ on Solaris with nbpatch. OK during freeze by wiz@@ @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.68 for libnbcompat 20080605. d5 1 a5 1 # Report bugs to . d241 1 a241 1 $as_echo "$0: Please tell bug-autoconf@@gnu.org and grant@@NetBSD.org d563 3 a565 3 PACKAGE_VERSION='20080605' PACKAGE_STRING='libnbcompat 20080605' PACKAGE_BUGREPORT='grant@@NetBSD.org' d1232 1 a1232 1 \`configure' configures libnbcompat 20080605 to adapt to many kinds of systems. d1302 1 a1302 1 short | recursive ) echo "Configuration of libnbcompat 20080605:";; d1326 1 a1326 1 Report bugs to . d1389 1 a1389 1 libnbcompat configure 20080605 d1722 1 a1722 1 ## Report this to grant@@NetBSD.org ## d2220 1 a2220 1 It was created by libnbcompat $as_me 20080605, which was d4489 92 d7667 1 a7667 1 This file was extended by libnbcompat $as_me 20080605, which was d7723 1 a7723 1 Report bugs to ." d7729 1 a7729 1 libnbcompat config.status 20080605 @ 1.77.6.1 log @Pullup ticket #3855 - requested by joerg pkgtools/libnbcompat: portability fix Revisions pulled up: - pkgtools/libnbcompat/Makefile 1.77 - pkgtools/libnbcompat/files/asprintf.c 1.3 - pkgtools/libnbcompat/files/configure 1.78 - pkgtools/libnbcompat/files/configure.ac 1.79 - pkgtools/libnbcompat/files/nbcompat/config.h.in 1.30 --- Module Name: pkgsrc Committed By: joerg Date: Mon Jul 2 16:02:53 UTC 2012 Modified Files: pkgsrc/pkgtools/libnbcompat: Makefile pkgsrc/pkgtools/libnbcompat/files: asprintf.c configure configure.ac pkgsrc/pkgtools/libnbcompat/files/nbcompat: config.h.in Log Message: If either va_copy or __builtin_va_copy is supported, use that in the asprintf fallback implementation. If neither is supported, still try to work by copying va_list directly. Should fix PR 45767. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.68 for libnbcompat 20120702. d5 1 a5 1 # Report bugs to . d241 1 a241 1 $as_echo "$0: Please tell bug-autoconf@@gnu.org and joerg@@NetBSD.org d563 3 a565 3 PACKAGE_VERSION='20120702' PACKAGE_STRING='libnbcompat 20120702' PACKAGE_BUGREPORT='joerg@@NetBSD.org' d1232 1 a1232 1 \`configure' configures libnbcompat 20120702 to adapt to many kinds of systems. d1302 1 a1302 1 short | recursive ) echo "Configuration of libnbcompat 20120702:";; d1326 1 a1326 1 Report bugs to . d1389 1 a1389 1 libnbcompat configure 20120702 d1722 1 a1722 1 ## Report this to joerg@@NetBSD.org ## d2220 1 a2220 1 It was created by libnbcompat $as_me 20120702, which was a4488 92 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5 $as_echo_n "checking for va_copy... " >&6; } if ${pkg_cv_have_va_copy+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { va_list ap, ap2; va_copy(ap2, ap); return 0; ; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : pkg_cv_have_va_copy=yes else pkg_cv_have_va_copy=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: $pkg_cv_have_va_copy" >&5 $as_echo "$pkg_cv_have_va_copy" >&6; } if test "x$pkg_cv_have_va_copy" = "xyes"; then $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h else : ] : fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_va_copy" >&5 $as_echo_n "checking for __builtin_va_copy... " >&6; } if ${pkg_cv_have___builtin_va_copy+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { va_list ap, ap2; __builtin_va_copy(ap2, ap); return 0; ; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : pkg_cv_have___builtin_va_copy=yes else pkg_cv_have___builtin_va_copy=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: $pkg_cv_have___builtin_va_copy" >&5 $as_echo "$pkg_cv_have___builtin_va_copy" >&6; } if test "x$pkg_cv_have___builtin_va_copy" = "xyes"; then $as_echo "#define HAVE___BUILTIN_VA_COPY 1" >>confdefs.h else : ] : fi d7575 1 a7575 1 This file was extended by libnbcompat $as_me 20120702, which was d7631 1 a7631 1 Report bugs to ." d7637 1 a7637 1 libnbcompat config.status 20120702 @ 1.76 log @Add workaround for broken pread/pwrite. This is needed at least on HP-UX. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.65 for libnbcompat 20080605. d9 2 a10 2 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, # Inc. d94 1 d220 1 d225 7 a231 1 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@@"} d330 1 a330 1 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" d370 2 a371 2 # as_fn_error ERROR [LINENO LOG_FD] # --------------------------------- d374 1 a374 1 # script with status $?, using 1 if that was 0. d377 4 a380 4 as_status=$?; test $as_status -eq 0 && as_status=1 if test "$3"; then as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 d382 1 a382 1 $as_echo "$as_me: error: $1" >&2 d544 1 a544 1 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, d752 3 a754 2 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *) ac_optarg=yes ;; d799 1 a799 1 as_fn_error "invalid feature name: $ac_useropt" d825 1 a825 1 as_fn_error "invalid feature name: $ac_useropt" d1029 1 a1029 1 as_fn_error "invalid package name: $ac_useropt" d1045 1 a1045 1 as_fn_error "invalid package name: $ac_useropt" d1075 2 a1076 2 -*) as_fn_error "unrecognized option: \`$ac_option' Try \`$0 --help' for more information." d1084 1 a1084 1 as_fn_error "invalid variable name: \`$ac_envvar'" ;; d1094 1 a1094 1 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} d1102 1 a1102 1 as_fn_error "missing argument to $ac_option" d1108 1 a1108 1 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; d1131 1 a1131 1 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" d1145 2 a1146 2 $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 d1161 1 a1161 1 as_fn_error "working directory cannot be determined" d1163 1 a1163 1 as_fn_error "pwd does not report name of working directory" d1202 1 a1202 1 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" d1206 1 a1206 1 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" d1246 1 a1246 1 -q, --quiet, --silent do not print \`checking...' messages d1390 1 a1390 1 generated by GNU Autoconf 2.65 d1392 1 a1392 1 Copyright (C) 2009 Free Software Foundation, Inc. d1436 1 a1436 1 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} d1482 1 a1482 1 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} d1508 1 a1508 1 test $ac_status = 0; } >/dev/null && { d1519 1 a1519 1 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} d1561 1 a1561 1 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} d1575 1 a1575 1 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : d1616 1 a1616 1 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} d1629 1 a1629 1 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : d1647 1 a1647 1 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} d1659 1 a1659 1 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : d1662 1 a1662 1 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : d1698 1 a1698 1 rm -f conftest.err conftest.$ac_ext d1721 1 a1721 2 ( cat <<\_ASBOX ## ------------------------------- ## d1723 1 a1723 2 ## ------------------------------- ## _ASBOX d1729 1 a1729 1 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : d1738 1 a1738 1 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} d1750 1 a1750 1 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : d1805 1 a1805 1 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} d1809 4 a1812 3 # ac_fn_c_check_decl LINENO SYMBOL VAR # ------------------------------------ # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. d1816 5 a1820 3 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 $as_echo_n "checking whether $2 is declared... " >&6; } if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : d1829 6 a1834 2 #ifndef $2 (void) $2; d1851 1 a1851 1 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} d1864 1 a1864 1 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : d1875 1 d1879 1 a1879 2 static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 }; 0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; d1890 1 d1894 1 a1894 2 static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 }; ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) d1915 1 a1915 2 eval as_val=\$$3 if test "x$as_val" = x""no; then : d1925 1 a1925 1 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} d1938 1 a1938 1 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : d1968 1 a1968 2 eval as_val=\$$3 if test "x$as_val" = x""no; then : d1978 1 a1978 1 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} d2155 1 a2155 1 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} d2169 1 a2169 1 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : d2213 1 a2213 1 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} d2221 1 a2221 1 generated by GNU Autoconf 2.65. Invocation command line was d2331 1 a2331 2 cat <<\_ASBOX ## ---------------- ## d2333 1 a2333 2 ## ---------------- ## _ASBOX d2367 1 a2367 2 cat <<\_ASBOX ## ----------------- ## d2369 1 a2369 2 ## ----------------- ## _ASBOX d2382 1 a2382 2 cat <<\_ASBOX ## ------------------- ## d2384 1 a2384 2 ## ------------------- ## _ASBOX d2398 1 a2398 2 cat <<\_ASBOX ## ----------- ## d2400 1 a2400 2 ## ----------- ## _ASBOX d2455 6 a2460 1 ac_site_file1=$CONFIG_SITE d2475 5 a2479 1 . "$ac_site_file" d2555 1 a2555 1 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 d2583 13 a2595 7 for ac_t in install-sh install.sh shtool; do if test -f "$ac_dir/$ac_t"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/$ac_t -c" break 2 fi done d2598 1 a2598 1 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 d2612 1 a2612 1 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 d2616 1 a2616 1 if test "${ac_cv_build+set}" = set; then : d2623 1 a2623 1 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 d2625 1 a2625 1 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 d2632 1 a2632 1 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; d2650 1 a2650 1 if test "${ac_cv_host+set}" = set; then : d2657 1 a2657 1 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 d2665 1 a2665 1 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; d2690 1 a2690 1 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : d2698 1 a2698 1 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. d2727 1 a2727 1 if test "${ac_cv_prog_CC+set}" = set; then : d2767 1 a2767 1 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : d2820 1 a2820 1 if test "${ac_cv_prog_CC+set}" = set; then : d2860 1 a2860 1 if test "${ac_cv_prog_CC+set}" = set; then : d2919 1 a2919 1 if test "${ac_cv_prog_CC+set}" = set; then : d2963 1 a2963 1 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : d3017 2 a3018 2 as_fn_error "no acceptable C compiler found in \$PATH See \`config.log' for more details." "$LINENO" 5; } d3132 2 a3133 3 { as_fn_set_status 77 as_fn_error "C compiler cannot create executables See \`config.log' for more details." "$LINENO" 5; }; } d3175 2 a3176 2 as_fn_error "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." "$LINENO" 5; } d3233 1 a3233 1 as_fn_error "cannot run C compiled programs. d3235 1 a3235 1 See \`config.log' for more details." "$LINENO" 5; } d3246 1 a3246 1 if test "${ac_cv_objext+set}" = set; then : d3286 2 a3287 2 as_fn_error "cannot compute suffix of object files: cannot compile See \`config.log' for more details." "$LINENO" 5; } d3297 1 a3297 1 if test "${ac_cv_c_compiler_gnu+set}" = set; then : d3334 1 a3334 1 if test "${ac_cv_prog_cc_g+set}" = set; then : d3412 1 a3412 1 if test "${ac_cv_prog_cc_c89+set}" = set; then : d3524 1 a3524 1 if test "${ac_cv_path_install+set}" = set; then : d3616 1 a3616 1 if test "${ac_cv_prog_RANLIB+set}" = set; then : d3656 1 a3656 1 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : d3709 1 a3709 1 if test "${ac_cv_prog_AWK+set}" = set; then : d3749 1 a3749 1 if test "${ac_cv_prog_AR+set}" = set; then : d3791 1 a3791 1 if test "${ac_cv_lib_util_fparseln+set}" = set; then : d3825 1 a3825 1 if test "x$ac_cv_lib_util_fparseln" = x""yes; then : d3847 1 a3847 1 if test "${ac_cv_prog_CPP+set}" = set; then : d3877 1 a3877 1 rm -f conftest.err conftest.$ac_ext d3893 1 a3893 1 rm -f conftest.err conftest.$ac_ext d3897 1 a3897 1 rm -f conftest.err conftest.$ac_ext d3936 1 a3936 1 rm -f conftest.err conftest.$ac_ext d3952 1 a3952 1 rm -f conftest.err conftest.$ac_ext d3956 1 a3956 1 rm -f conftest.err conftest.$ac_ext d3962 2 a3963 2 as_fn_error "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." "$LINENO" 5; } d3975 1 a3975 1 if test "${ac_cv_path_GREP+set}" = set; then : d4024 1 a4024 1 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 d4038 1 a4038 1 if test "${ac_cv_path_EGREP+set}" = set; then : d4090 1 a4090 1 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 d4105 1 a4105 1 if test "${ac_cv_header_stdc+set}" = set; then : d4217 1 a4217 1 if test "${ac_cv_header_time+set}" = set; then : d4257 1 a4257 2 eval as_val=\$$as_ac_Header if test "x$as_val" = x""yes; then : d4269 1 a4269 1 if test "${ac_cv_header_stdbool_h+set}" = set; then : d4301 1 a4301 1 bool e = &s; a4311 19 # if defined __xlc__ || defined __GNUC__ /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 reported by James Lemley on 2005-10-05; see http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html This test is not quite right, since xlc is allowed to reject this program, as the initializer for xlcbug is not one of the forms that C requires support for. However, doing the test right would require a runtime test, and that would make cross-compilation harder. Let us hope that IBM fixes the xlc bug, and also adds support for this kind of constant expression. In the meantime, this test will reject xlc, which is OK, since our stdbool.h substitute should suffice. We also test this with GCC, where it should work, to detect more quickly whether someone messes up the test in the future. */ char digs[] = "0123456789"; int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); # endif d4323 1 d4344 1 a4344 1 if test "x$ac_cv_type__Bool" = x""yes; then : d4373 1 a4373 2 eval as_val=\$$as_ac_Header if test "x$as_val" = x""yes; then : d4391 1 a4391 1 if test "x$ac_cv_header_sys_mount_h" = x""yes; then : d4406 1 a4406 1 if test "x$ac_cv_header_glob_h" = x""yes; then : d4428 1 a4428 1 if test "x$ac_cv_header_sys_queue_h" = x""yes; then : d4444 1 a4444 1 if test "x$ac_cv_header_regex_h" = x""yes; then : d4454 1 a4454 1 if test "x$ac_cv_func_regexec" = x""yes; then : d4492 1 a4492 1 if test "x$ac_cv_header_md5_h" = x""yes; then : d4500 1 a4500 1 if test "${pkg_cv_have_md5init+set}" = set; then : d4552 1 a4552 2 eval as_val=\$$as_ac_Header if test "x$as_val" = x""yes; then : d4562 1 a4562 1 if test "x$ac_cv_func_MD5File" = x""yes; then : d4585 1 a4585 1 if test "x$ac_cv_func_RMD160File" = x""yes; then : d4608 1 a4608 1 if test "x$ac_cv_func_SHA1File" = x""yes; then : d4632 1 a4632 1 if test "x$ac_cv_func_SHA512_File" = x""yes; then : d4676 1 a4676 1 if test "x$ac_cv_func_issetugid" = x""yes; then : d4697 1 a4697 1 if test "x$ac_cv_have_decl_optarg" = x""yes; then : d4717 1 a4717 1 if test "x$ac_cv_have_decl_optind" = x""yes; then : d4737 1 a4737 1 if test "x$ac_cv_have_decl_optreset" = x""yes; then : d4753 1 a4753 1 d4757 1 a4757 1 if test "x$ac_cv_header_getopt_h" = x""yes; then : d4763 1 a4763 1 if test "x$ac_cv_type_struct_option" = x""yes; then : d4771 1 a4771 6 case " $LIBOBJS " in *" getopt_long.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS getopt_long.$ac_objext" ;; esac d4775 1 a4775 6 case " $LIBOBJS " in *" getopt_long.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS getopt_long.$ac_objext" ;; esac d4784 2 d4792 1 d4796 9 d4809 1 a4809 1 if test "x$ac_cv_header_vis_h" = x""yes; then : d4817 1 a4817 1 if test "${pkg_cv_have_vis_white+set}" = set; then : d4851 1 a4851 2 eval as_val=\$$as_ac_var if test "x$as_val" = x""yes; then : d4863 1 a4863 2 eval as_val=\$$as_ac_var if test "x$as_val" = x""yes; then : d4906 1 a4906 1 if test "${ac_cv___attribute__+set}" = set; then : d4939 1 a4939 1 if test "x$ac_cv_type_size_t" = x""yes; then : d4951 1 a4951 1 if test "x$ac_cv_type_uintptr_t" = x""yes; then : d5097 1 a5097 1 if test "x$ac_cv_type_long_long" = x""yes; then : d5119 1 a5119 1 if test "x$ac_cv_type_long_double" = x""yes; then : d5141 1 a5141 1 if test "x$ac_cv_type_fsid_t" = x""yes; then : d5152 1 a5152 1 if test "${ac_cv_c_bigendian+set}" = set; then : d5370 1 a5370 1 as_fn_error "unknown endianness d5380 1 a5380 1 if test "${ac_cv_sizeof_off_t+set}" = set; then : d5389 2 a5390 3 { as_fn_set_status 77 as_fn_error "cannot compute sizeof (off_t) See \`config.log' for more details." "$LINENO" 5; }; } d5412 1 a5412 1 if test "x$ac_cv_header_stdlib_h" = x""yes; then : d5423 1 a5423 1 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then : d5477 1 a5477 1 if test "x$ac_cv_have_decl_strerror_r" = x""yes; then : d5490 1 a5490 1 if test "x$ac_cv_func_strerror_r" = x""yes; then : d5500 1 a5500 1 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then : d5569 1 a5569 1 if test "x$ac_cv_type_pid_t" = x""yes; then : d5582 1 a5582 1 if test "x$ac_cv_header_vfork_h" = x""yes; then : d5595 1 a5595 2 eval as_val=\$$as_ac_var if test "x$as_val" = x""yes; then : d5606 1 a5606 1 if test "${ac_cv_func_fork_works+set}" = set; then : d5659 1 a5659 1 if test "${ac_cv_func_vfork_works+set}" = set; then : d5795 1 a5795 1 if test "x$ac_cv_func_vprintf" = x""yes; then : d5801 1 a5801 1 if test "x$ac_cv_func__doprnt" = x""yes; then : d5814 1 a5814 1 if test "x$ac_cv_have_decl_snprintf" = x""yes; then : d5825 1 a5825 1 if test "x$ac_cv_have_decl_vasprintf" = x""yes; then : d5843 389 a6231 4 for ac_func in asprintf err fgetln fnmatch fparseln getenv isblank \ lchflags lchmod lchown lutimes mkdtemp mkstemp setenv setgroupent \ setpassent setprogname shquote snprintf statvfs strdup strerror \ strlcat strlcpy strmode strsep strtoll unsetenv usleep utimes warn d6233 3 a6235 8 do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" eval as_val=\$$as_ac_var if test "x$as_val" = x""yes; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF d6239 2 a6240 2 *" $ac_func.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" a6244 1 done d6250 1 a6250 1 if test "${ac_cv_search_socket+set}" = set; then : d6284 1 a6284 1 if test "${ac_cv_search_socket+set}" = set; then : d6288 1 a6288 1 if test "${ac_cv_search_socket+set}" = set; then : d6306 1 a6306 1 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : d6340 1 a6340 1 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : d6358 1 a6358 1 if test "x$ac_cv_type_socklen_t" = x""yes; then : d6369 1 a6369 1 if test "x$ac_cv_type_struct_addrinfo" = x""yes; then : d6384 1 a6384 1 if test "x$ac_cv_type_struct_in6_addr" = x""yes; then : d6399 1 a6399 1 if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then : d6414 1 a6414 1 if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then : d6427 1 a6427 2 eval as_val=\$$as_ac_var if test "x$as_val" = x""yes; then : d6451 1 a6451 2 eval as_val=\$$as_ac_var if test "x$as_val" = x""yes; then : d6475 1 a6475 2 eval as_val=\$$as_ac_var if test "x$as_val" = x""yes; then : d6498 1 a6498 2 eval as_val=\$$as_ac_var if test "x$as_val" = x""yes; then : d6512 1 a6512 2 eval as_val=\$$as_ac_var if test "x$as_val" = x""yes; then : d6533 1 a6533 1 if test "x$ac_cv_have_decl_endgrent" = x""yes; then : d6543 1 a6543 1 if test "x$ac_cv_have_decl_endpwent" = x""yes; then : d6561 1 a6561 2 eval as_val=\$$as_ac_var if test "x$as_val" = x""yes; then : d6582 1 a6582 1 if test "x$ac_cv_func_fts_open" = x""yes; then : d6600 1 a6600 1 if test "x$ac_cv_func_timegm" = x""yes; then : d6621 1 a6621 2 eval as_val=\$$as_ac_Header if test "x$as_val" = x""yes; then : d6634 1 a6634 2 eval as_val=\$$as_ac_Header if test "x$as_val" = x""yes; then : d6651 1 a6651 1 if test "x$ac_cv_func_poll" = x""yes; then : d6656 1 a6656 1 if test "${pkg_cv_native_poll+set}" = set; then : d6718 1 a6718 2 eval as_val=\$$as_ac_var if test "x$as_val" = x""yes; then : d6728 1 a6728 1 if test "x$ac_cv_func_getpgrp" = x""yes; then : d6731 1 a6731 1 if test "${ac_cv_func_getpgrp_void+set}" = set; then : d6767 1 a6767 1 if test "x$ac_cv_member_struct_statfs_f_flags" = x""yes; then : d6780 1 a6780 1 if test "x$ac_cv_member_struct_statfs_f_fsize" = x""yes; then : d6793 1 a6793 1 if test "x$ac_cv_member_struct_statfs_f_iosize" = x""yes; then : d6820 1 a6820 1 if test "x$ac_cv_member_struct_dirent_d_namlen" = x""yes; then : d6846 1 a6846 1 if test "x$ac_cv_member_DIR_dd_fd" = x""yes; then : d6983 3 a6985 7 for ac_func in strtoll do : ac_fn_c_check_func "$LINENO" "strtoll" "ac_cv_func_strtoll" if test "x$ac_cv_func_strtoll" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STRTOLL 1 _ACEOF d6989 2 a6990 2 *" $ac_func.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" a6994 1 done d7120 1 a7120 1 test "x$cache_file" != "x/dev/null" && d7123 12 a7134 1 cat confcache >$cache_file d7150 1 d7167 1 a7167 1 : ${CONFIG_STATUS=./config.status} d7268 1 d7314 2 a7315 2 # as_fn_error ERROR [LINENO LOG_FD] # --------------------------------- d7318 1 a7318 1 # script with status $?, using 1 if that was 0. d7321 4 a7324 4 as_status=$?; test $as_status -eq 0 && as_status=1 if test "$3"; then as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 d7326 1 a7326 1 $as_echo "$as_me: error: $1" >&2 d7522 1 a7522 1 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" d7576 1 a7576 1 generated by GNU Autoconf 2.65. Invocation command line was d7638 1 a7638 1 configured by $0, generated by GNU Autoconf 2.65, d7641 1 a7641 1 Copyright (C) 2009 Free Software Foundation, Inc. d7658 1 a7658 1 --*=*) d7663 5 d7689 1 d7702 1 a7702 1 as_fn_error "ambiguous option: \`$1' d7711 1 a7711 1 -*) as_fn_error "unrecognized option: \`$1' d7763 1 a7763 1 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; d7785 1 a7785 1 tmp= d7787 2 a7788 1 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status d7796 1 a7796 1 test -n "$tmp" && test -d "$tmp" d7801 2 a7802 1 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 d7819 1 a7819 1 ac_cs_awk_cr='\r' d7824 1 a7824 1 echo 'BEGIN {' >"$tmp/subs1.awk" && d7833 2 a7834 2 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` d7838 1 a7838 1 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 d7844 1 a7844 1 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 d7852 1 a7852 1 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && d7900 1 a7900 1 cat >>"\$tmp/subs1.awk" <<_ACAWK && d7932 2 a7933 2 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ || as_fn_error "could not setup config files machinery" "$LINENO" 5 d7936 2 a7937 2 # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @@srcdir@@ from VPATH if srcdir is ".", strip leading and d7941 9 a7949 5 ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/ s/:*\${srcdir}:*/:/ s/:*@@srcdir@@:*/:/ s/^\([^=]*=[ ]*\):*/\1/ d7951 4 d7966 1 a7966 1 cat >"$tmp/defines.awk" <<\_ACAWK || d7978 2 a7979 2 ac_t=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_t"; then d7982 1 a7982 1 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 d8067 1 a8067 1 as_fn_error "could not setup config headers machinery" "$LINENO" 5 d8080 1 a8080 1 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; d8099 1 a8099 1 -) ac_f="$tmp/stdin";; d8108 1 a8108 1 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; d8134 2 a8135 2 *:-:* | *:-) cat >"$tmp/stdin" \ || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; d8265 2 a8266 2 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ || as_fn_error "could not create $ac_file" "$LINENO" 5 d8269 3 a8271 2 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && d8273 1 a8273 1 which seems to be undefined. Please make sure it is defined." >&5 d8275 1 a8275 1 which seems to be undefined. Please make sure it is defined." >&2;} d8277 1 a8277 1 rm -f "$tmp/stdin" d8279 2 a8280 2 -) cat "$tmp/out" && rm -f "$tmp/out";; *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; d8282 1 a8282 1 || as_fn_error "could not create $ac_file" "$LINENO" 5 d8291 4 a8294 4 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" } >"$tmp/config.h" \ || as_fn_error "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then d8299 2 a8300 2 mv "$tmp/config.h" "$ac_file" \ || as_fn_error "could not create $ac_file" "$LINENO" 5 d8304 2 a8305 2 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error "could not create -" "$LINENO" 5 d8320 1 a8320 1 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 d8341 1 a8341 1 $ac_cs_success || as_fn_exit $? @ 1.75 log @PR 38488: It looks like BSDish warn(3), it smells like BSDish warn(3), but it isn't BSDish warn(3). Do not use warn(3) family on Mac OS X, as it likes to vis(3) some arguments. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.64 for libnbcompat 20080605. d7 1 d9 3 a11 2 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software # Foundation, Inc. d532 2 a533 1 exec 7<&0 &1 d1310 1 a1310 1 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if d1381 1 a1381 1 generated by GNU Autoconf 2.64 d1428 1 a1428 1 return $ac_retval d1474 1 a1474 1 return $ac_retval d1511 1 a1511 1 return $ac_retval d1553 1 a1553 1 return $ac_retval d1854 2 d1864 2 a1865 1 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 1))]; d1879 3 a1881 2 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 1) < ($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 2))]; d1929 2 d1939 1 a1939 1 static int test_array [1 - 2 * !(($ac_type) -1 >> ($2 - 1) == 1)]; d2144 1 a2144 1 return $ac_retval d2209 1 a2209 1 generated by GNU Autoconf 2.64. Invocation command line was d2462 1 a2462 1 if test -r "$ac_site_file"; then d2471 3 a2473 3 # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then a3019 1 rm -f conftest.er1 conftest.err d3021 1 d3028 1 a3028 1 #include a3031 2 FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; d3038 1 a3038 1 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" d3042 2 a3043 2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } a3104 2 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } d3106 3 a3108 1 $as_echo "$as_me: failed program was:" >&5 d3116 3 d3120 4 d3126 1 a3126 34 # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out a3127 7 # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } d3160 1 a3160 1 rm -f conftest$ac_cv_exeext d3167 59 d4658 11 d5841 6 a5846 1 ac_cv_func_warn=no d7203 1 a7203 1 generated by GNU Autoconf 2.64. Invocation command line was d7242 1 d7262 1 d7265 2 a7266 2 configured by $0, generated by GNU Autoconf 2.64, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" d7303 2 d7485 1 a7485 1 s/\(.\{148\}\).*/\1/ d7499 1 a7499 1 s/\(.\{148\}\).*/\1/ @ 1.74 log @* check endian.h and use it if available, for Haiku. * check optarg, it is used in nbcompat/unistd.h, but not checked. * check socket() in -lnetwork in addition to -lsocket, for Haiku. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.63 for libnbcompat 20080605. d8 3 a10 1 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. d13 3 a15 3 ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## d19 1 a19 1 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then d27 5 a31 2 case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; a32 1 a35 10 # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits d43 7 a49 1 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then d60 1 a60 1 case $arg in a82 7 # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi d92 1 a92 1 case $0 in d99 2 a100 2 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done d112 1 a112 1 { (exit 1); exit 1; } d115 7 a121 3 # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var a132 35 # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` d134 1 a134 2 $as_unset CDPATH d137 7 a143 2 if (eval ":") 2>/dev/null; then as_have_required=yes d145 6 a150 1 as_have_required=no d152 6 a157 17 if test $as_have_required = yes && (eval ": (as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } d160 17 a176 2 if as_func_success; then : d178 1 a178 7 exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. d180 1 a181 2 if as_func_ret_success; then : d183 2 a184 28 exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=\$LINENO as_lineno_2=\$LINENO test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } ") 2> /dev/null; then : else as_candidate_shells= as_save_IFS=$IFS; IFS=$PATH_SEPARATOR d189 2 a190 1 case $as_dir in d193 9 a201 1 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" d204 1 d206 4 d213 10 a222 15 for as_shell in $as_candidate_shells $SHELL; do # Try only shells that exist, to save several forks. if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { ("$as_shell") 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@@"}'='"$@@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac d224 15 a239 20 : _ASEOF }; then CONFIG_SHELL=$as_shell as_have_required=yes if { "$as_shell" 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@@"}'='"$@@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac d241 5 d247 35 d283 38 a320 16 : (as_func_return () { (exit $1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } a321 7 exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi d323 12 a334 7 if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : d336 5 a340 3 exitcode=1 echo as_func_ret_success failed. fi d342 10 a351 7 if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = "$1" ); then : d353 5 a357 3 exitcode=1 echo positional parameters were not saved. fi a358 1 test $exitcode = 0) || { (exit 1); exit 1; } d360 15 a374 5 ( as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } d376 3 a378 52 _ASEOF }; then break fi fi done if test "x$CONFIG_SHELL" != x; then for as_var in BASH_ENV ENV do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done export CONFIG_SHELL exec "$CONFIG_SHELL" "$as_myself" ${1+"$@@"} fi if test $as_have_required = no; then echo This script requires a shell more modern than all the echo shells that I found on your system. Please install a echo modern shell, or manually run the script under such a echo shell if you do have one. { (exit 1); exit 1; } fi fi fi (eval "as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : d380 1 a380 2 exitcode=1 echo as_func_success failed. d383 2 a384 7 if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : d386 1 a386 2 exitcode=1 echo as_func_ret_success failed. d389 2 a390 7 if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : d392 1 a392 2 exitcode=1 echo positional parameters were not saved. d395 18 a412 7 test \$exitcode = 0") || { echo No shell found that supports shell functions. echo Please tell bug-autoconf@@gnu.org about your system, echo including any error possibly output before this message. echo This can help us improve future autoconf versions. echo Configuration will now proceed without shell functions. } d414 6 d422 5 a426 15 as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) d443 1 a443 2 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } d453 4 a456 11 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in d458 3 a460 1 *) ECHO_C='\c';; a464 6 if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi d494 1 a494 1 as_mkdir_p=: d513 1 a513 1 case $1 in d516 1 a516 1 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in a529 1 a547 1 SHELL=${CONFIG_SHELL-/bin/sh} d555 1 d656 1 d787 1 a787 2 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 { (exit 1); exit 1; }; } d813 1 a813 2 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 { (exit 1); exit 1; }; } d1017 1 a1017 2 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 { (exit 1); exit 1; }; } d1033 1 a1033 2 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 { (exit 1); exit 1; }; } d1063 2 a1064 3 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } d1070 4 a1073 3 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } d1090 1 a1090 2 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } d1096 1 a1096 2 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 { (exit 1); exit 1; }; } ;; d1119 1 a1119 2 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; } d1149 1 a1149 2 { $as_echo "$as_me: error: working directory cannot be determined" >&2 { (exit 1); exit 1; }; } d1151 1 a1151 2 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 { (exit 1); exit 1; }; } d1190 1 a1190 2 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } d1194 1 a1194 2 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 { (exit 1); exit 1; }; } d1378 1 a1378 1 generated by GNU Autoconf 2.63 d1380 1 a1380 2 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. a1385 3 cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. d1387 39 a1425 2 It was created by libnbcompat $as_me 20080605, which was generated by GNU Autoconf 2.63. Invocation command line was d1427 1 a1427 1 $ $0 $@@ d1429 4 a1432 2 _ACEOF exec 5>>config.log d1434 40 a1473 4 cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## d1475 29 a1503 5 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` d1505 4 a1508 2 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` d1510 1 a1510 7 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` d1512 33 a1544 1 _ASUNAME d1546 5 a1550 8 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS d1552 1 a1552 1 } >&5 d1554 39 a1592 1 cat >&5 <<_ACEOF d1594 11 d1606 1 a1606 3 ## ----------- ## ## Core tests. ## ## ----------- ## d1608 16 d1625 11 d1637 1 d1639 34 a1672 47 # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } d1674 15 a1688 9 # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo d1690 23 a1712 4 cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## d1714 39 a1752 5633 echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------------- ## ## File substitutions. ## ## ------------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then ac_site_file1=$CONFIG_SITE elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test -r "$ac_site_file"; then { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } 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_config_headers="$ac_config_headers nbcompat/config.h" test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} { (exit 1); exit 1; }; } fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} { (exit 1); exit 1; }; } { $as_echo "$as_me:$LINENO: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } if test "${ac_cv_build+set}" = set; then $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} { (exit 1); exit 1; }; } ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} { (exit 1); exit 1; }; } fi { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 $as_echo "$as_me: error: invalid value of canonical build" >&2;} { (exit 1); exit 1; }; };; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:$LINENO: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } if test "${ac_cv_host+set}" = set; then $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} { (exit 1); exit 1; }; } fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 $as_echo "$as_me: error: invalid value of canonical host" >&2;} { (exit 1); exit 1; }; };; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac CANONICAL_HOST=$host # Checks for programs. { $as_echo "$as_me:$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 { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; 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:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" 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 if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$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 CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no 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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:$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 CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } # Provide some information about the compiler. $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { (ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } if test -z "$ac_file"; then $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 $as_echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; }; } fi ac_exeext=$ac_cv_exeext # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } fi fi fi { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } fi rm -f conftest$ac_cv_exeext { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if test "${ac_cv_objext+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if test "${ac_cv_c_compiler_gnu+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if test "${ac_cv_prog_cc_g+set}" = set; then $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 CFLAGS="" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if test "${ac_cv_prog_cc_c89+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_c89=$ac_arg else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:$LINENO: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:$LINENO: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac 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 # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; 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 test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:$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:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 $as_echo "no, using $LN_S" >&6; } 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:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_RANLIB+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:$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:$LINENO: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else { $as_echo "$as_me:$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:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:$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:$LINENO: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else { $as_echo "$as_me:$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:$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 for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_AWK+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:$LINENO: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done # 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:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_AR+set}" = set; 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AR="ar" $as_echo "$as_me:$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:$LINENO: result: $AR" >&5 $as_echo "$AR" >&6; } else { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi AUTOCONF=${AUTOCONF-"$srcdir/missing --run autoconf"} AUTOHEADER=${AUTOHEADER-"$srcdir/missing --run autoheader"} { $as_echo "$as_me:$LINENO: checking for fparseln in -lutil" >&5 $as_echo_n "checking for fparseln in -lutil... " >&6; } if test "${ac_cv_lib_util_fparseln+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lutil $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* 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 fparseln (); int main () { return fparseln (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_lib_util_fparseln=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_util_fparseln=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_fparseln" >&5 $as_echo "$ac_cv_lib_util_fparseln" >&6; } if test "x$ac_cv_lib_util_fparseln" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBUTIL 1 _ACEOF LIBS="-lutil $LIBS" 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 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:$LINENO: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; }; } 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 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if test "${ac_cv_path_GREP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:$LINENO: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if test "${ac_cv_path_EGREP+set}" = set; then $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if test "${ac_cv_header_stdc+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_header_stdc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF fi { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } if test "${ac_cv_header_time+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include int main () { if ((struct tm *) 0) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_header_time=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_time=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 $as_echo "$ac_cv_header_time" >&6; } if test $ac_cv_header_time = yes; then cat >>confdefs.h <<\_ACEOF #define TIME_WITH_SYS_TIME 1 _ACEOF fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then eval "$as_ac_Header=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done { $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } if test "${ac_cv_header_stdbool_h+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #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]; bool e = &s; 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]; # if defined __xlc__ || defined __GNUC__ /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 reported by James Lemley on 2005-10-05; see http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html This test is not quite right, since xlc is allowed to reject this program, as the initializer for xlcbug is not one of the forms that C requires support for. However, doing the test right would require a runtime test, and that would make cross-compilation harder. Let us hope that IBM fixes the xlc bug, and also adds support for this kind of constant expression. In the meantime, this test will reject xlc, which is OK, since our stdbool.h substitute should suffice. We also test this with GCC, where it should work, to detect more quickly whether someone messes up the test in the future. */ char digs[] = "0123456789"; int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); # endif /* 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 () { *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 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_header_stdbool_h=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdbool_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 $as_echo "$ac_cv_header_stdbool_h" >&6; } { $as_echo "$as_me:$LINENO: checking for _Bool" >&5 $as_echo_n "checking for _Bool... " >&6; } if test "${ac_cv_type__Bool+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_type__Bool=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if (sizeof (_Bool)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if (sizeof ((_Bool))) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type__Bool=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5 $as_echo "$ac_cv_type__Bool" >&6; } if test "x$ac_cv_type__Bool" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE__BOOL 1 _ACEOF fi if test $ac_cv_header_stdbool_h = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_STDBOOL_H 1 _ACEOF fi for ac_header in alloca.h assert.h ctype.h dirent.h endian.h err.h errno.h \ fcntl.h fnmatch.h fts.h grp.h inttypes.h libutil.h limits.h \ machine/endian.h ndir.h netdb.h paths.h pwd.h signal.h \ stdarg.h stddef.h stdint.h stdio.h \ stdlib.h string.h sys/byteorder.h sys/cdefs.h sys/dir.h sys/endian.h \ sys/file.h sys/mkdev.h sys/ndir.h sys/param.h sys/socket.h sys/stat.h \ sys/statfs.h sys/statvfs.h sys/time.h sys/ttycom.h sys/types.h \ sys/uio.h sys/vfs.h sysexits.h termcap.h time.h tzfile.h unistd.h \ util.h utime.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 $as_echo_n "checking $ac_header usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 $as_echo_n "checking $ac_header presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------- ## ## Report this to grant@@NetBSD.org ## ## ------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in sys/mount.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #ifdef HAVE_SYS_PARAM_H #include #endif #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then eval "$as_ac_Header=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF : else : fi done for ac_header in glob.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 $as_echo_n "checking $ac_header usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 $as_echo_n "checking $ac_header presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------- ## ## Report this to grant@@NetBSD.org ## ## ------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done cat >>confdefs.h <<\_ACEOF #define HAVE_NBCOMPAT_GLOB 1 _ACEOF case " $LIBOBJS " in *" glob.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS glob.$ac_objext" ;; esac for ac_header in sys/queue.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 $as_echo_n "checking $ac_header usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 $as_echo_n "checking $ac_header presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------- ## ## Report this to grant@@NetBSD.org ## ## ------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done cat >>confdefs.h <<\_ACEOF #define HAVE_NBCOMPAT_QUEUE 1 _ACEOF for ac_header in regex.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 $as_echo_n "checking $ac_header usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 $as_echo_n "checking $ac_header presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------- ## ## Report this to grant@@NetBSD.org ## ## ------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done { $as_echo "$as_me:$LINENO: checking for regexec" >&5 $as_echo_n "checking for regexec... " >&6; } if test "${ac_cv_func_regexec+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define regexec to an innocuous variant, in case declares regexec. For example, HP-UX 11i declares gettimeofday. */ #define regexec innocuous_regexec /* System header to define __stub macros and hopefully few prototypes, which can conflict with char regexec (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef regexec /* 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 regexec (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_regexec || defined __stub___regexec choke me #endif int main () { return regexec (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_func_regexec=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_regexec=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_func_regexec" >&5 $as_echo "$ac_cv_func_regexec" >&6; } if test "x$ac_cv_func_regexec" = x""yes; then : else cat >>confdefs.h <<\_ACEOF #define HAVE_NBCOMPAT_REGEX 1 _ACEOF case " $LIBOBJS " in *" regcomp.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS regcomp.$ac_objext" ;; esac case " $LIBOBJS " in *" regerror.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS regerror.$ac_objext" ;; esac case " $LIBOBJS " in *" regexec.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS regexec.$ac_objext" ;; esac case " $LIBOBJS " in *" regfree.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS regfree.$ac_objext" ;; esac fi for ac_header in md5.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 $as_echo_n "checking $ac_header usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 $as_echo_n "checking $ac_header presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------- ## ## Report this to grant@@NetBSD.org ## ## ------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF { $as_echo "$as_me:$LINENO: checking for MD5Init in md5.h" >&5 $as_echo_n "checking for MD5Init in md5.h... " >&6; } if test "${pkg_cv_have_md5init+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { MD5_CTX *f; MD5Init(f); ; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then pkg_cv_have_md5init=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 pkg_cv_have_md5init=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $pkg_cv_have_md5init" >&5 $as_echo "$pkg_cv_have_md5init" >&6; } if test "x$pkg_cv_have_md5init" = "xyes"; then : else cat >>confdefs.h <<\_ACEOF #define HAVE_NBCOMPAT_MD5INIT 1 _ACEOF : fi fi done for ac_header in md5.h rmd160.h sha1.h sha2.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 $as_echo_n "checking $ac_header usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 $as_echo_n "checking $ac_header presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------- ## ## Report this to grant@@NetBSD.org ## ## ------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done { $as_echo "$as_me:$LINENO: checking for MD5File" >&5 $as_echo_n "checking for MD5File... " >&6; } if test "${ac_cv_func_MD5File+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define MD5File to an innocuous variant, in case declares MD5File. For example, HP-UX 11i declares gettimeofday. */ #define MD5File innocuous_MD5File /* System header to define __stub macros and hopefully few prototypes, which can conflict with char MD5File (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef MD5File /* 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 MD5File (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_MD5File || defined __stub___MD5File choke me #endif int main () { return MD5File (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_func_MD5File=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_MD5File=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_func_MD5File" >&5 $as_echo "$ac_cv_func_MD5File" >&6; } if test "x$ac_cv_func_MD5File" = x""yes; then : else cat >>confdefs.h <<\_ACEOF #define HAVE_NBCOMPAT_MD5 1 _ACEOF case " $LIBOBJS " in *" md5c.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS md5c.$ac_objext" ;; esac case " $LIBOBJS " in *" md5hl.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS md5hl.$ac_objext" ;; esac fi { $as_echo "$as_me:$LINENO: checking for RMD160File" >&5 $as_echo_n "checking for RMD160File... " >&6; } if test "${ac_cv_func_RMD160File+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define RMD160File to an innocuous variant, in case declares RMD160File. For example, HP-UX 11i declares gettimeofday. */ #define RMD160File innocuous_RMD160File /* System header to define __stub macros and hopefully few prototypes, which can conflict with char RMD160File (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef RMD160File /* 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 RMD160File (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_RMD160File || defined __stub___RMD160File choke me #endif int main () { return RMD160File (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_func_RMD160File=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_RMD160File=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_func_RMD160File" >&5 $as_echo "$ac_cv_func_RMD160File" >&6; } if test "x$ac_cv_func_RMD160File" = x""yes; then : else cat >>confdefs.h <<\_ACEOF #define HAVE_NBCOMPAT_RMD160 1 _ACEOF case " $LIBOBJS " in *" rmd160.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS rmd160.$ac_objext" ;; esac case " $LIBOBJS " in *" rmd160hl.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS rmd160hl.$ac_objext" ;; esac fi { $as_echo "$as_me:$LINENO: checking for SHA1File" >&5 $as_echo_n "checking for SHA1File... " >&6; } if test "${ac_cv_func_SHA1File+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define SHA1File to an innocuous variant, in case declares SHA1File. For example, HP-UX 11i declares gettimeofday. */ #define SHA1File innocuous_SHA1File /* System header to define __stub macros and hopefully few prototypes, which can conflict with char SHA1File (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef SHA1File /* 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 SHA1File (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_SHA1File || defined __stub___SHA1File choke me #endif int main () { return SHA1File (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_func_SHA1File=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_SHA1File=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_func_SHA1File" >&5 $as_echo "$ac_cv_func_SHA1File" >&6; } if test "x$ac_cv_func_SHA1File" = x""yes; then : else cat >>confdefs.h <<\_ACEOF #define HAVE_NBCOMPAT_SHA1 1 _ACEOF case " $LIBOBJS " in *" sha1.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS sha1.$ac_objext" ;; esac case " $LIBOBJS " in *" sha1hl.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS sha1hl.$ac_objext" ;; esac fi { $as_echo "$as_me:$LINENO: checking for SHA512_File" >&5 $as_echo_n "checking for SHA512_File... " >&6; } if test "${ac_cv_func_SHA512_File+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define SHA512_File to an innocuous variant, in case declares SHA512_File. For example, HP-UX 11i declares gettimeofday. */ #define SHA512_File innocuous_SHA512_File /* System header to define __stub macros and hopefully few prototypes, which can conflict with char SHA512_File (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef SHA512_File /* 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 SHA512_File (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_SHA512_File || defined __stub___SHA512_File choke me #endif int main () { return SHA512_File (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_func_SHA512_File=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_SHA512_File=no fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_func_SHA512_File" >&5 $as_echo "$ac_cv_func_SHA512_File" >&6; } if test "x$ac_cv_func_SHA512_File" = x""yes; then : else cat >>confdefs.h <<\_ACEOF #define HAVE_NBCOMPAT_SHA2 1 _ACEOF case " $LIBOBJS " in *" sha2.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS sha2.$ac_objext" ;; esac case " $LIBOBJS " in *" sha2hl.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS sha2hl.$ac_objext" ;; esac fi # Check whether --enable-db was given. if test "${enable_db+set}" = set; then enableval=$enable_db; fi WITH_DB=$enable_db for ac_func in issetugid do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* 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 $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then eval "$as_ac_var=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done # Check whether --enable-bsd-getopt was given. if test "${enable_bsd_getopt+set}" = set; then enableval=$enable_bsd_getopt; fi { $as_echo "$as_me:$LINENO: checking whether optarg is declared" >&5 $as_echo_n "checking whether optarg is declared... " >&6; } if test "${ac_cv_have_decl_optarg+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include int main () { #ifndef optarg (void) optarg; #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_have_decl_optarg=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_have_decl_optarg=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optarg" >&5 $as_echo "$ac_cv_have_decl_optarg" >&6; } if test "x$ac_cv_have_decl_optarg" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE_DECL_OPTARG 1 _ACEOF : else cat >>confdefs.h <<_ACEOF #define HAVE_DECL_OPTARG 0 _ACEOF : fi { $as_echo "$as_me:$LINENO: checking whether optind is declared" >&5 $as_echo_n "checking whether optind is declared... " >&6; } if test "${ac_cv_have_decl_optind+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include int main () { #ifndef optind (void) optind; #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_have_decl_optind=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_have_decl_optind=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optind" >&5 $as_echo "$ac_cv_have_decl_optind" >&6; } if test "x$ac_cv_have_decl_optind" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE_DECL_OPTIND 1 _ACEOF : else cat >>confdefs.h <<_ACEOF #define HAVE_DECL_OPTIND 0 _ACEOF : fi { $as_echo "$as_me:$LINENO: checking whether optreset is declared" >&5 $as_echo_n "checking whether optreset is declared... " >&6; } if test "${ac_cv_have_decl_optreset+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include int main () { #ifndef optreset (void) optreset; #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_have_decl_optreset=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_have_decl_optreset=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 $as_echo "$ac_cv_have_decl_optreset" >&6; } if test "x$ac_cv_have_decl_optreset" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE_DECL_OPTRESET 1 _ACEOF : else cat >>confdefs.h <<_ACEOF #define HAVE_DECL_OPTRESET 0 _ACEOF : fi for ac_header in getopt.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 $as_echo_n "checking $ac_header usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 $as_echo_n "checking $ac_header presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------- ## ## Report this to grant@@NetBSD.org ## ## ------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF { $as_echo "$as_me:$LINENO: checking for struct option" >&5 $as_echo_n "checking for struct option... " >&6; } if test "${ac_cv_type_struct_option+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_type_struct_option=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { if (sizeof (struct option)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { if (sizeof ((struct option))) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_struct_option=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_option" >&5 $as_echo "$ac_cv_type_struct_option" >&6; } if test "x$ac_cv_type_struct_option" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_OPTION 1 _ACEOF : else case " $LIBOBJS " in *" getopt_long.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS getopt_long.$ac_objext" ;; esac fi else case " $LIBOBJS " in *" getopt_long.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS getopt_long.$ac_objext" ;; esac fi done if test "$enable_bsd_getopt" = yes; then if test "$ac_cv_have_decl_optreset" = no; then case " $LIBOBJS " in *" getopt.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;; esac fi fi pkg_use_nbcompat_vis=yes for ac_header in vis.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 $as_echo_n "checking $ac_header usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 $as_echo_n "checking $ac_header presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------- ## ## Report this to grant@@NetBSD.org ## ## ------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF { $as_echo "$as_me:$LINENO: checking for VIS_WHITE in vis.h" >&5 $as_echo_n "checking for VIS_WHITE in vis.h... " >&6; } if test "${pkg_cv_have_vis_white+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { int X = VIS_WHITE; ; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then pkg_cv_have_vis_white=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 pkg_cv_have_vis_white=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $pkg_cv_have_vis_white" >&5 $as_echo "$pkg_cv_have_vis_white" >&6; } if test "x$pkg_cv_have_vis_white" = "xyes"; then for ac_func in strunvis strvis strsvis svis unvis vis do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* 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 $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then eval "$as_ac_var=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done for ac_func in strunvis strvis strsvis svis unvis vis do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* 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 $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then eval "$as_ac_var=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF pkg_use_nbcompat_vis=no else pkg_use_nbcompat_vis=yes; break fi done else : fi fi done if test $pkg_use_nbcompat_vis = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_NBCOMPAT_VIS 1 _ACEOF case " $LIBOBJS " in *" vis.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS vis.$ac_objext" ;; esac case " $LIBOBJS " in *" unvis.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS unvis.$ac_objext" ;; esac fi { $as_echo "$as_me:$LINENO: checking for __attribute__" >&5 $as_echo_n "checking for __attribute__... " >&6; } if test "${ac_cv___attribute__+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include static void foo(void) __attribute__ ((noreturn)); static void foo(void) { exit(1); } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv___attribute__=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv___attribute__=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test "$ac_cv___attribute__" = "yes"; then cat >>confdefs.h <<\_ACEOF #define HAVE___ATTRIBUTE__ 1 _ACEOF fi { $as_echo "$as_me:$LINENO: result: $ac_cv___attribute__" >&5 $as_echo "$ac_cv___attribute__" >&6; } { $as_echo "$as_me:$LINENO: checking for size_t" >&5 $as_echo_n "checking for size_t... " >&6; } if test "${ac_cv_type_size_t+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_type_size_t=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if (sizeof (size_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if (sizeof ((size_t))) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_size_t=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 $as_echo "$ac_cv_type_size_t" >&6; } if test "x$ac_cv_type_size_t" = x""yes; then : else cat >>confdefs.h <<_ACEOF #define size_t unsigned int _ACEOF fi { $as_echo "$as_me:$LINENO: checking for uintptr_t" >&5 $as_echo_n "checking for uintptr_t... " >&6; } if test "${ac_cv_type_uintptr_t+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_type_uintptr_t=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if (sizeof (uintptr_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if (sizeof ((uintptr_t))) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d1754 5 a1758 2 ac_cv_type_uintptr_t=yes fi d1760 1 a1760 4 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d1762 13 a1775 317 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5 $as_echo "$ac_cv_type_uintptr_t" >&6; } if test "x$ac_cv_type_uintptr_t" = x""yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_UINTPTR_T 1 _ACEOF else for ac_type in 'unsigned int' 'unsigned long int' \ 'unsigned long long int'; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then cat >>confdefs.h <<_ACEOF #define uintptr_t $ac_type _ACEOF ac_type= else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test -z "$ac_type" && break done fi { $as_echo "$as_me:$LINENO: checking for int8_t" >&5 $as_echo_n "checking for int8_t... " >&6; } if test "${ac_cv_c_int8_t+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_c_int8_t=no for ac_type in 'int8_t' 'int' 'long int' \ 'long long int' 'short int' 'signed char'; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1))]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 1) < ($ac_type) (((($ac_type) 1 << (8 - 2)) - 1) * 2 + 2))]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 case $ac_type in int8_t) ac_cv_c_int8_t=yes ;; *) ac_cv_c_int8_t=$ac_type ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_int8_t" != no && break done fi { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int8_t" >&5 $as_echo "$ac_cv_c_int8_t" >&6; } case $ac_cv_c_int8_t in #( no|yes) ;; #( *) cat >>confdefs.h <<_ACEOF #define int8_t $ac_cv_c_int8_t _ACEOF ;; esac { $as_echo "$as_me:$LINENO: checking for int16_t" >&5 $as_echo_n "checking for int16_t... " >&6; } if test "${ac_cv_c_int16_t+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_c_int16_t=no for ac_type in 'int16_t' 'int' 'long int' \ 'long long int' 'short int' 'signed char'; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1))]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1) < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 2))]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 case $ac_type in int16_t) ac_cv_c_int16_t=yes ;; *) ac_cv_c_int16_t=$ac_type ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_int16_t" != no && break done fi { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int16_t" >&5 $as_echo "$ac_cv_c_int16_t" >&6; } case $ac_cv_c_int16_t in #( no|yes) ;; #( *) cat >>confdefs.h <<_ACEOF #define int16_t $ac_cv_c_int16_t _ACEOF ;; esac { $as_echo "$as_me:$LINENO: checking for int32_t" >&5 $as_echo_n "checking for int32_t... " >&6; } if test "${ac_cv_c_int32_t+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_c_int32_t=no for ac_type in 'int32_t' 'int' 'long int' \ 'long long int' 'short int' 'signed char'; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default d1779 1 a1779 3 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1))]; test_array [0] = 0 d1784 27 a1810 23 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d1812 1 a1812 1 $ac_includes_default d1816 3 a1818 3 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1) < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 2))]; test_array [0] = 0 d1824 2 a1825 19 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : d1827 1 a1827 8 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 case $ac_type in int32_t) ac_cv_c_int32_t=yes ;; *) ac_cv_c_int32_t=$ac_type ;; esac a1828 1 a1829 5 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d1831 4 d1836 1 a1836 9 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_int32_t" != no && break done fi { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int32_t" >&5 $as_echo "$ac_cv_c_int32_t" >&6; } case $ac_cv_c_int32_t in #( no|yes) ;; #( *) d1838 10 a1847 10 cat >>confdefs.h <<_ACEOF #define int32_t $ac_cv_c_int32_t _ACEOF ;; esac { $as_echo "$as_me:$LINENO: checking for int64_t" >&5 $as_echo_n "checking for int64_t... " >&6; } if test "${ac_cv_c_int64_t+set}" = set; then d1850 2 a1851 2 ac_cv_c_int64_t=no for ac_type in 'int64_t' 'int' 'long int' \ d1853 1 a1853 5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d1859 1 a1859 1 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1))]; d1866 2 a1867 23 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d1873 2 a1874 2 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 1) < ($ac_type) (((($ac_type) 1 << (64 - 2)) - 1) * 2 + 2))]; d1881 2 a1882 19 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : d1884 5 a1888 6 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 case $ac_type in int64_t) ac_cv_c_int64_t=yes ;; *) ac_cv_c_int64_t=$ac_type ;; a1889 1 d1891 5 a1896 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d1898 1 a1898 4 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a1899 3 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_int64_t" != no && break d1902 4 a1905 11 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_int64_t" >&5 $as_echo "$ac_cv_c_int64_t" >&6; } case $ac_cv_c_int64_t in #( no|yes) ;; #( *) cat >>confdefs.h <<_ACEOF #define int64_t $ac_cv_c_int64_t _ACEOF ;; esac d1907 1 d1909 10 a1918 3 { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5 $as_echo_n "checking for uint8_t... " >&6; } if test "${ac_cv_c_uint8_t+set}" = set; then d1921 2 a1922 2 ac_cv_c_uint8_t=no for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \ d1924 1 a1924 5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d1930 1 a1930 1 static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)]; d1937 6 a1942 21 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then case $ac_type in uint8_t) ac_cv_c_uint8_t=yes ;; *) ac_cv_c_uint8_t=$ac_type ;; d1944 4 d1950 1 a1950 4 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a1951 3 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_uint8_t" != no && break d1954 4 a1957 5 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5 $as_echo "$ac_cv_c_uint8_t" >&6; } case $ac_cv_c_uint8_t in #( no|yes) ;; #( *) d1959 1 a1959 3 cat >>confdefs.h <<\_ACEOF #define _UINT8_T 1 _ACEOF d1961 18 d1980 3 a1982 2 cat >>confdefs.h <<_ACEOF #define uint8_t $ac_cv_c_uint8_t d1984 4 a1987 17 ;; esac { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5 $as_echo_n "checking for uint16_t... " >&6; } if test "${ac_cv_c_uint16_t+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_c_uint16_t=no for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \ 'unsigned long long int' 'unsigned short int' 'unsigned char'; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d1989 1 a1989 1 $ac_includes_default d1993 1 a1993 1 static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)]; d2000 2 a2001 23 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then case $ac_type in uint16_t) ac_cv_c_uint16_t=yes ;; *) ac_cv_c_uint16_t=$ac_type ;; esac d2003 6 a2008 4 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a2009 1 d2011 10 a2020 8 test "$ac_cv_c_uint16_t" != no && break done fi { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5 $as_echo "$ac_cv_c_uint16_t" >&6; } case $ac_cv_c_uint16_t in #( no|yes) ;; #( *) d2022 3 a2024 3 cat >>confdefs.h <<_ACEOF #define uint16_t $ac_cv_c_uint16_t d2026 4 a2029 17 ;; esac { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5 $as_echo_n "checking for uint32_t... " >&6; } if test "${ac_cv_c_uint32_t+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_c_uint32_t=no for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \ 'unsigned long long int' 'unsigned short int' 'unsigned char'; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d2031 1 a2031 1 $ac_includes_default d2035 1 a2035 1 static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)]; d2042 12 a2053 23 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then case $ac_type in uint32_t) ac_cv_c_uint32_t=yes ;; *) ac_cv_c_uint32_t=$ac_type ;; esac d2055 1 a2055 4 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a2056 1 a2057 2 test "$ac_cv_c_uint32_t" != no && break done d2059 12 a2070 5 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5 $as_echo "$ac_cv_c_uint32_t" >&6; } case $ac_cv_c_uint32_t in #( no|yes) ;; #( *) d2072 3 a2074 2 cat >>confdefs.h <<\_ACEOF #define _UINT32_T 1 d2076 2 a2077 13 cat >>confdefs.h <<_ACEOF #define uint32_t $ac_cv_c_uint32_t _ACEOF ;; esac { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5 $as_echo_n "checking for uint64_t... " >&6; } if test "${ac_cv_c_uint64_t+set}" = set; then $as_echo_n "(cached) " >&6 d2079 10 a2088 8 ac_cv_c_uint64_t=no for ac_type in 'uint64_t' 'unsigned int' 'unsigned long int' \ 'unsigned long long int' 'unsigned short int' 'unsigned char'; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d2090 5 a2094 1 $ac_includes_default d2097 22 a2118 3 { static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)]; test_array [0] = 0 d2124 2 a2125 23 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then case $ac_type in uint64_t) ac_cv_c_uint64_t=yes ;; *) ac_cv_c_uint64_t=$ac_type ;; esac d2127 1 a2127 4 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d2129 3 d2133 3 a2135 9 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_uint64_t" != no && break done fi { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5 $as_echo "$ac_cv_c_uint64_t" >&6; } case $ac_cv_c_uint64_t in #( no|yes) ;; #( *) d2137 1 a2137 3 cat >>confdefs.h <<\_ACEOF #define _UINT64_T 1 _ACEOF d2139 10 a2148 10 cat >>confdefs.h <<_ACEOF #define uint64_t $ac_cv_c_uint64_t _ACEOF ;; esac { $as_echo "$as_me:$LINENO: checking for long long" >&5 $as_echo_n "checking for long long... " >&6; } if test "${ac_cv_type_long_long+set}" = set; then d2151 1 a2151 6 ac_cv_type_long_long=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d2153 1 a2153 14 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d2157 3 a2159 2 if (sizeof (long long)) return 0; d2164 4 a2167 23 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d2169 1 a2169 14 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d2173 3 a2175 2 if (sizeof ((long long))) return 0; d2180 201 a2380 22 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d2382 22 a2403 2 ac_cv_type_long_long=yes fi d2405 2 a2406 4 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d2408 1 d2410 1 a2410 1 fi d2412 3 a2414 5 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 $as_echo "$ac_cv_type_long_long" >&6; } if test "x$ac_cv_type_long_long" = x""yes; then d2417 1 a2417 1 #define HAVE_LONG_LONG 1 d2420 3 d2424 2 a2425 9 fi { $as_echo "$as_me:$LINENO: checking for long double" >&5 $as_echo_n "checking for long double... " >&6; } if test "${ac_cv_type_long_double+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_type_long_double=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ a2426 16 cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d2428 2 a2429 29 int main () { if (sizeof (long double)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ a2430 16 cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d2432 2 a2433 8 int main () { if (sizeof ((long double))) return 0; ; return 0; } a2434 22 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a2435 2 ac_cv_type_long_double=yes fi d2437 9 a2445 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d2447 2 a2448 4 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d2450 10 d2461 15 a2475 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext a2476 8 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5 $as_echo "$ac_cv_type_long_double" >&6; } if test "x$ac_cv_type_long_double" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LONG_DOUBLE 1 _ACEOF d2478 56 d2535 3 d2539 5 a2543 102 { $as_echo "$as_me:$LINENO: checking for fsid_t" >&5 $as_echo_n "checking for fsid_t... " >&6; } if test "${ac_cv_type_fsid_t+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_type_fsid_t=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_PARAM_H #include #endif #if HAVE_SYS_MOUNT_H #include #endif #if HAVE_SYS_VFS_H #include #endif int main () { if (sizeof (fsid_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_PARAM_H #include #endif #if HAVE_SYS_MOUNT_H #include #endif #if HAVE_SYS_VFS_H #include #endif int main () { if (sizeof ((fsid_t))) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a2544 2 ac_cv_type_fsid_t=yes fi d2546 1 a2546 4 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d2548 9 a2557 1 fi d2559 12 a2570 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext a2571 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_fsid_t" >&5 $as_echo "$ac_cv_type_fsid_t" >&6; } if test "x$ac_cv_type_fsid_t" = x""yes; then d2573 7 a2579 3 cat >>confdefs.h <<_ACEOF #define HAVE_FSID_T 1 _ACEOF d2582 3 a2584 1 fi d2586 3 a2588 4 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } if test "${ac_cv_c_bigendian+set}" = set; then d2591 7 a2597 12 ac_cv_c_bigendian=unknown # See if we're dealing with a universal compiler. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifndef __APPLE_CC__ not a universal capable compiler #endif typedef int dummy; d2599 6 a2604 6 _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; d2606 13 a2618 12 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then d2620 7 a2626 6 # Check for potential -arch flags. It is not universal unless # there are some -arch flags. Note that *ppc* also matches # ppc64. This check is also rather less than ideal. case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; esac d2628 3 a2630 3 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d2633 18 a2651 11 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_c_bigendian = unknown; then # See if sys/param.h defines the BYTE_ORDER macro. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include d2653 1 a2653 8 int main () { #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ && LITTLE_ENDIAN) bogus endian macros #endif a2654 31 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then # It does; now see whether it defined to BIG_ENDIAN or not. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include a2655 6 int main () { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif d2657 12 a2668 3 ; return 0; } d2670 6 a2675 5 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; d2677 6 a2682 13 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_c_bigendian=yes d2684 3 a2686 4 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_c_bigendian=no d2689 12 a2700 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d2702 2 a2703 86 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) bogus endian macros #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then # It does; now see whether it defined to _BIG_ENDIAN or not. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { #ifndef _BIG_ENDIAN not big endian #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_c_bigendian=yes d2705 14 a2718 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a2719 1 ac_cv_c_bigendian=no d2721 5 a2725 2 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d2727 3 a2729 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d2733 26 d2760 10 a2769 27 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # Compile a test program. if test "$cross_compiling" = yes; then # Try to guess by grepping values from an object file. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; int use_ascii (int i) { return ascii_mm[i] + ascii_ii[i]; } short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; int use_ebcdic (int i) { return ebcdic_mm[i] + ebcdic_ii[i]; } extern int foo; d2771 8 a2778 13 int main () { return use_ascii (foo) == use_ebcdic (foo); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; d2780 2 a2781 23 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ac_cv_c_bigendian=yes fi if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then if test "$ac_cv_c_bigendian" = unknown; then ac_cv_c_bigendian=no else # finding both strings is unlikely to happen, but who knows? ac_cv_c_bigendian=unknown fi fi d2783 1 a2783 4 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d2786 8 a2793 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d2795 2 a2796 47 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { /* Are we little or big endian? From Harbison&Steele. */ union { long int l; char c[sizeof (long int)]; } u; u.l = 1; return u.c[sizeof (long int) - 1] == 1; ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_bigendian=no d2798 14 a2811 3 $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a2812 2 ( exit $ac_status ) ac_cv_c_bigendian=yes d2814 8 a2821 2 rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d2825 1 a2825 1 fi d2827 6 a2832 32 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 $as_echo "$ac_cv_c_bigendian" >&6; } case $ac_cv_c_bigendian in #( yes) cat >>confdefs.h <<\_ACEOF #define WORDS_BIGENDIAN 1 _ACEOF ;; #( no) ;; #( universal) cat >>confdefs.h <<\_ACEOF #define AC_APPLE_UNIVERSAL_BUILD 1 _ACEOF ;; #( *) { { $as_echo "$as_me:$LINENO: error: unknown endianness presetting ac_cv_c_bigendian=no (or yes) will help" >&5 $as_echo "$as_me: error: unknown endianness presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} { (exit 1); exit 1; }; } ;; esac # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. { $as_echo "$as_me:$LINENO: checking size of off_t" >&5 $as_echo_n "checking size of off_t... " >&6; } if test "${ac_cv_sizeof_off_t+set}" = set; then d2835 2 a2836 75 if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) >= 0)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) <= $ac_mid)]; test_array [0] = 0 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_hi=$ac_mid; break d2838 19 a2856 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d2858 13 a2870 6 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` d2872 4 a2875 3 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done d2877 3 a2879 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a2880 12 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) < 0)]; test_array [0] = 0 d2882 29 a2910 36 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) >= $ac_mid)]; test_array [0] = 0 d2912 6 a2917 23 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_lo=$ac_mid; break d2919 3 a2921 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a2922 7 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` fi d2924 1 a2924 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d2926 14 d2941 14 a2954 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d2956 9 a2964 1 ac_lo= ac_hi= a2966 2 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi d2968 2 a2969 16 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) <= $ac_mid)]; test_array [0] = 0 d2971 8 a2978 9 ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; d2980 3 a2982 16 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_hi=$ac_mid else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a2983 1 ac_lo=`expr '(' $ac_mid ')' + 1` d2986 2 a2987 6 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done case $ac_lo in ?*) ac_cv_sizeof_off_t=$ac_lo;; '') if test "$ac_cv_type_off_t" = yes; then { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 d2989 2 a2990 24 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (off_t) See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot compute sizeof (off_t) See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; }; } else ac_cv_sizeof_off_t=0 fi ;; esac else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default static long int longval () { return (long int) (sizeof (off_t)); } static unsigned long int ulongval () { return (long int) (sizeof (off_t)); } #include #include int main () { d2992 6 a2997 27 FILE *f = fopen ("conftest.val", "w"); if (! f) return 1; if (((long int) (sizeof (off_t))) < 0) { long int i = longval (); if (i != ((long int) (sizeof (off_t)))) return 1; fprintf (f, "%ld", i); } else { unsigned long int i = ulongval (); if (i != ((long int) (sizeof (off_t)))) return 1; fprintf (f, "%lu", i); } /* Do not output a trailing newline, as this causes \r\n confusion on some platforms. */ return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" d3002 3 a3004 3 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 d3006 10 a3015 38 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_sizeof_off_t=`cat conftest.val` else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) if test "$ac_cv_type_off_t" = yes; then { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (off_t) See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot compute sizeof (off_t) See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; }; } else ac_cv_sizeof_off_t=0 fi fi rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi rm -f conftest.val fi { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5 $as_echo "$ac_cv_sizeof_off_t" >&6; } d3017 8 d3026 3 a3028 3 cat >>confdefs.h <<_ACEOF #define SIZEOF_OFF_T $ac_cv_sizeof_off_t d3030 8 d3039 2 d3042 9 d3052 1 a3052 30 # Checks for library functions. for ac_header in stdlib.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 $as_echo_n "checking $ac_header usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" d3057 3 a3059 3 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 d3061 34 a3094 9 grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes d3096 5 d3104 5 a3108 1 ac_header_compiler=no d3110 1 d3112 8 a3119 17 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 $as_echo_n "checking $ac_header presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in d3123 3 a3125 3 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 d3127 14 a3140 14 grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no d3142 2 d3145 8 a3152 3 rm -f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } d3154 6 a3159 29 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------- ## ## Report this to grant@@NetBSD.org ## ## ------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; d3161 19 a3179 4 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 d3181 4 a3184 1 eval "$as_ac_Header=\$ac_header_preproc" d3186 3 a3188 4 ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } d3190 6 a3195 15 fi as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 $as_echo_n "checking for GNU libc compatible malloc... " >&6; } if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then d3198 1 a3198 8 if test "$cross_compiling" = yes; then ac_cv_func_malloc_0_nonnull=no else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF a3199 5 #if defined STDC_HEADERS || defined HAVE_STDLIB_H # include #else char *malloc (); #endif d3204 1 a3204 1 return ! malloc (0); d3209 2 a3210 2 rm -f conftest$ac_exeext if { (ac_try="$ac_link" d3215 3 a3217 3 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 d3219 10 a3228 13 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_malloc_0_nonnull=yes d3230 1 a3230 2 $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 d3233 4 a3236 2 ( exit $ac_status ) ac_cv_func_malloc_0_nonnull=no d3238 1 a3238 2 rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d3240 11 d3252 6 d3259 8 d3268 2 a3269 7 { $as_echo "$as_me:$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 cat >>confdefs.h <<\_ACEOF #define HAVE_MALLOC 1 _ACEOF d3271 14 d3286 6 a3291 3 cat >>confdefs.h <<\_ACEOF #define HAVE_MALLOC 0 _ACEOF d3293 3 a3295 5 case " $LIBOBJS " in *" malloc.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; esac d3297 3 a3299 3 cat >>confdefs.h <<\_ACEOF #define malloc rpl_malloc d3301 6 d3308 3 a3310 1 fi d3312 5 a3317 5 { $as_echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5 $as_echo_n "checking whether strerror_r is declared... " >&6; } if test "${ac_cv_have_decl_strerror_r+set}" = set; then $as_echo_n "(cached) " >&6 d3319 3 a3321 5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d3323 1 a3323 1 $ac_includes_default a3326 3 #ifndef strerror_r (void) strerror_r; #endif d3332 6 a3337 24 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_have_decl_strerror_r=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_have_decl_strerror_r=no a3338 1 d3340 1 d3342 10 a3351 9 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5 $as_echo "$ac_cv_have_decl_strerror_r" >&6; } if test "x$ac_cv_have_decl_strerror_r" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE_DECL_STRERROR_R 1 _ACEOF d3353 5 a3357 5 cat >>confdefs.h <<_ACEOF #define HAVE_DECL_STRERROR_R 0 _ACEOF d3359 3 a3361 9 for ac_func in strerror_r do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then d3364 3 a3366 5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d3368 22 a3389 3 /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func d3391 8 a3398 4 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ d3400 4 a3403 21 #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* 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 $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif d3405 6 d3414 1 a3414 1 return $ac_func (); d3419 12 a3430 25 rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then eval "$as_ac_var=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a3431 1 eval "$as_ac_var=no" d3433 14 a3447 3 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext a3448 10 ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF d3450 5 a3454 2 fi done d3456 18 a3473 3 { $as_echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5 $as_echo_n "checking whether strerror_r returns char *... " >&6; } if test "${ac_cv_func_strerror_r_char_p+set}" = set; then d3476 44 a3519 28 ac_cv_func_strerror_r_char_p=no if test $ac_cv_have_decl_strerror_r = yes; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { char buf[100]; char x = *strerror_r (0, buf, sizeof buf); char *p = strerror_r (0, buf, sizeof buf); return !p || x; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; a3520 16 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_func_strerror_r_char_p=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d3522 2 d3525 1 a3525 58 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else # strerror_r is not declared. Choose between # systems that have relatively inaccessible declarations for the # function. BeOS and DEC UNIX 4.0 fall in this category, but the # former has a strerror_r that returns char*, while the latter # has a strerror_r that returns `int'. # This test should segfault on the DEC system. if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default extern char *strerror_r (); int main () { char buf[100]; char x = *strerror_r (0, buf, sizeof buf); return ! isalpha (x); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_strerror_r_char_p=yes else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d3528 9 a3536 2 rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d3538 2 d3541 3 d3545 1 a3545 1 fi d3547 1 a3547 8 fi { $as_echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; } if test $ac_cv_func_strerror_r_char_p = yes; then cat >>confdefs.h <<\_ACEOF #define STRERROR_R_CHAR_P 1 _ACEOF d3549 9 d3560 6 a3565 3 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5 $as_echo_n "checking for pid_t... " >&6; } if test "${ac_cv_type_pid_t+set}" = set; then d3568 2 a3569 70 ac_cv_type_pid_t=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if (sizeof (pid_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if (sizeof ((pid_t))) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : d3571 14 a3584 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a3585 1 ac_cv_type_pid_t=yes d3587 5 a3591 2 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d3593 3 a3595 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d3599 26 a3625 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d3627 5 a3631 4 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 $as_echo "$ac_cv_type_pid_t" >&6; } if test "x$ac_cv_type_pid_t" = x""yes; then : d3633 3 d3637 13 a3649 4 cat >>confdefs.h <<_ACEOF #define pid_t int _ACEOF d3652 1 a3652 2 for ac_header in vfork.h d3654 5 a3658 5 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then a3659 5 fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } d3661 2 a3662 31 # Is the header compilable? { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 $as_echo_n "checking $ac_header usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes d3664 14 a3677 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a3678 1 ac_header_compiler=no d3680 5 a3684 34 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 $as_echo_n "checking $ac_header presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes d3686 3 a3688 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a3689 2 ac_header_preproc=no fi d3691 2 a3692 3 rm -f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } d3694 5 a3698 33 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------- ## ## Report this to grant@@NetBSD.org ## ## ------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then d3701 27 a3727 1 eval "$as_ac_Header=\$ac_header_preproc" a3728 4 ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } a3729 7 fi as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF a3730 1 fi d3732 3 a3734 1 done d3738 3 a3740 6 for ac_func in fork vfork do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then d3743 3 a3745 5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF a3746 16 /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func d3754 1 a3754 8 char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif d3758 1 a3758 1 return $ac_func (); d3763 2 a3764 22 rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then eval "$as_ac_var=yes" d3766 1 a3766 4 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" d3768 3 a3770 4 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext d3772 3 a3774 7 ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then d3776 1 a3776 1 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 d3779 1 a3779 57 fi done if test "x$ac_cv_func_fork" = xyes; then { $as_echo "$as_me:$LINENO: checking for working fork" >&5 $as_echo_n "checking for working fork... " >&6; } if test "${ac_cv_func_fork_works+set}" = set; then $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then ac_cv_func_fork_works=cross else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { /* By Ruediger Kuhlmann. */ return fork () < 0; ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_fork_works=yes else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a3780 5 ( exit $ac_status ) ac_cv_func_fork_works=no fi rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d3784 10 d3795 2 a3796 24 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 $as_echo "$ac_cv_func_fork_works" >&6; } else ac_cv_func_fork_works=$ac_cv_func_fork fi if test "x$ac_cv_func_fork_works" = xcross; then case $host in *-*-amigaos* | *-*-msdosdjgpp*) # Override, as these systems have only a dummy fork() stub ac_cv_func_fork_works=no ;; *) ac_cv_func_fork_works=yes ;; esac { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} fi ac_cv_func_vfork_works=$ac_cv_func_vfork if test "x$ac_cv_func_vfork" = xyes; then { $as_echo "$as_me:$LINENO: checking for working vfork" >&5 $as_echo_n "checking for working vfork... " >&6; } if test "${ac_cv_func_vfork_works+set}" = set; then d3799 13 a3811 8 if test "$cross_compiling" = yes; then ac_cv_func_vfork_works=cross else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d3813 4 a3816 5 /* Thanks to Paul Eggert for this test. */ $ac_includes_default #include #ifdef HAVE_VFORK_H # include d3818 3 a3820 65 /* On some sparc systems, changes by the child to local and incoming argument registers are propagated back to the parent. The compiler is told about this with #include , but some compilers (e.g. gcc -O) don't grok . Test for this by using a static variable whose address is put into a register that is clobbered by the vfork. */ static void #ifdef __cplusplus sparc_address_test (int arg) # else sparc_address_test (arg) int arg; #endif { static pid_t child; if (!child) { child = vfork (); if (child < 0) { perror ("vfork"); _exit(2); } if (!child) { arg = getpid(); write(-1, "", 0); _exit (arg); } } } int main () { pid_t parent = getpid (); pid_t child; sparc_address_test (0); child = vfork (); if (child == 0) { /* Here is another test for sparc vfork register problems. This test uses lots of local variables, at least as many local variables as main has allocated so far including compiler temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should reuse the register of parent for one of the local variables, since it will think that parent can't possibly be used any more in this routine. Assigning to the local variable will thus munge parent in the parent process. */ pid_t p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); /* Convince the compiler that p..p7 are live; otherwise, it might use the same hardware register for all 8 local variables. */ if (p != p1 || p != p2 || p != p3 || p != p4 || p != p5 || p != p6 || p != p7) _exit(1); /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent from child file descriptors. If the child closes a descriptor before it execs or exits, this munges the parent's descriptor as well. Test for this by closing stdout in the child. */ _exit(close(fileno(stdout)) != 0); } else { int status; struct stat st; d3822 5 a3826 5 while (wait(&status) != child) ; return ( /* Was there some problem with vforking? */ child < 0 d3828 5 a3832 11 /* Did the child fail? (This shouldn't happen.) */ || status /* Did the vfork/compiler bug occur? */ || parent != getpid() /* Did the file descriptor bug occur? */ || fstat(fileno(stdout), &st) != 0 ); } } d3834 3 a3836 23 rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_vfork_works=yes d3838 5 a3842 3 $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d3844 5 a3848 5 ( exit $ac_status ) ac_cv_func_vfork_works=no fi rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d3851 2 d3855 3 a3857 8 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 $as_echo "$ac_cv_func_vfork_works" >&6; } fi; if test "x$ac_cv_func_fork_works" = xcross; then ac_cv_func_vfork_works=$ac_cv_func_vfork { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} d3859 19 a3877 5 if test "x$ac_cv_func_vfork_works" = xyes; then cat >>confdefs.h <<\_ACEOF #define HAVE_WORKING_VFORK 1 d3879 1 d3882 4 d3887 5 a3891 2 cat >>confdefs.h <<\_ACEOF #define vfork fork d3893 7 a3899 1 d3901 1 a3901 1 if test "x$ac_cv_func_fork_works" = xyes; then d3903 4 a3906 3 cat >>confdefs.h <<\_ACEOF #define HAVE_WORKING_FORK 1 _ACEOF d3908 5 d3915 6 d3922 3 a3924 6 for ac_func in vprintf do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then d3927 39 a3965 9 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func d3967 11 a3977 4 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ d3979 4 a3982 5 #ifdef __STDC__ # include #else # include #endif a3983 1 #undef $ac_func d3985 47 a4031 13 /* 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 $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif d4033 8 a4040 30 int main () { return $ac_func (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then eval "$as_ac_var=yes" d4042 2 a4043 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d4045 1 a4045 1 eval "$as_ac_var=no" d4047 3 a4050 14 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF d4052 3 a4054 3 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5 $as_echo_n "checking for _doprnt... " >&6; } if test "${ac_cv_func__doprnt+set}" = set; then d4057 1 a4057 5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d4059 4 a4062 30 /* Define _doprnt to an innocuous variant, in case declares _doprnt. For example, HP-UX 11i declares gettimeofday. */ #define _doprnt innocuous__doprnt /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _doprnt (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef _doprnt /* 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 _doprnt (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub__doprnt || defined __stub____doprnt choke me #endif d4067 1 a4067 1 return _doprnt (); d4072 2 a4073 22 rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_func__doprnt=yes d4075 13 a4087 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d4089 2 a4090 1 ac_cv_func__doprnt=no d4092 1 a4093 3 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext a4094 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 $as_echo "$ac_cv_func__doprnt" >&6; } if test "x$ac_cv_func__doprnt" = x""yes; then d4096 6 a4101 2 cat >>confdefs.h <<\_ACEOF #define HAVE_DOPRNT 1 d4103 2 d4106 2 d4109 1 a4111 1 done d4113 4 a4116 6 { $as_echo "$as_me:$LINENO: checking whether snprintf is declared" >&5 $as_echo_n "checking whether snprintf is declared... " >&6; } if test "${ac_cv_have_decl_snprintf+set}" = set; then $as_echo_n "(cached) " >&6 d4118 1 a4118 5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d4120 12 a4131 1 #include d4133 1 d4137 5 a4141 5 #ifndef snprintf (void) snprintf; #endif ; d4145 2 a4146 19 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_have_decl_snprintf=yes d4148 5 a4152 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a4153 1 ac_cv_have_decl_snprintf=no a4154 2 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d4156 3 a4158 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5 $as_echo "$ac_cv_have_decl_snprintf" >&6; } if test "x$ac_cv_have_decl_snprintf" = x""yes; then d4160 1 a4160 3 cat >>confdefs.h <<_ACEOF #define HAVE_DECL_SNPRINTF 1 _ACEOF d4162 1 d4164 3 a4166 10 else cat >>confdefs.h <<_ACEOF #define HAVE_DECL_SNPRINTF 0 _ACEOF fi { $as_echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5 $as_echo_n "checking whether vasprintf is declared... " >&6; } if test "${ac_cv_have_decl_vasprintf+set}" = set; then d4169 1 a4169 5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d4171 3 a4173 1 #include d4178 2 a4179 4 #ifndef vasprintf (void) vasprintf; #endif d4184 2 a4185 19 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_have_decl_vasprintf=yes d4187 1 a4187 4 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_have_decl_vasprintf=no a4188 1 d4191 3 a4193 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5 $as_echo "$ac_cv_have_decl_vasprintf" >&6; } if test "x$ac_cv_have_decl_vasprintf" = x""yes; then d4195 1 a4195 3 cat >>confdefs.h <<_ACEOF #define HAVE_DECL_VASPRINTF 1 _ACEOF d4197 1 d4199 9 a4207 1 else d4209 1 a4209 1 #define HAVE_DECL_VASPRINTF 0 a4211 1 d4214 1 d4217 7 d4225 19 d4245 1 d4247 40 d4288 3 d4292 5 d4298 15 d4314 3 d4319 1 d4321 1 d4323 1 d4325 1 d4328 9 d4338 8 d4347 1 d4349 1 d4351 7 d4359 9 d4369 1 d4372 6 a4377 23 for ac_func in asprintf err fgetln fnmatch fparseln getenv isblank \ lchflags lchmod lchown lutimes mkdtemp mkstemp setenv setgroupent \ setpassent setprogname shquote snprintf statvfs strdup strerror \ strlcat strlcpy strmode strsep strtoll unsetenv usleep utimes warn do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ a4378 6 cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func d4380 1 a4380 4 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ d4382 1 a4382 5 #ifdef __STDC__ # include #else # include #endif d4384 1 a4384 1 #undef $ac_func a4385 13 /* 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 $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif d4387 4 a4390 13 int main () { return $ac_func (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; a4391 19 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then eval "$as_ac_var=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a4392 2 eval "$as_ac_var=no" fi d4394 4 a4397 11 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then d4399 1 a4399 1 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 d4402 1 a4402 6 else case " $LIBOBJS " in *" $ac_func.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; esac a4403 1 fi d4406 1 a4408 12 { $as_echo "$as_me:$LINENO: checking for library containing socket" >&5 $as_echo_n "checking for library containing socket... " >&6; } if test "${ac_cv_search_socket+set}" = set; then $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d4410 6 a4415 14 /* 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; } a4416 33 for ac_lib in '' socket network; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_search_socket=$ac_res else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a4419 6 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext if test "${ac_cv_search_socket+set}" = set; then break fi d4421 3 a4423 1 if test "${ac_cv_search_socket+set}" = set; then a4425 10 ac_cv_search_socket=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5 $as_echo "$ac_cv_search_socket" >&6; } ac_res=$ac_cv_search_socket if test "$ac_res" != no; then test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" d4427 1 a4427 1 fi d4430 5 a4434 13 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ d4436 4 a4439 20 /* 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 rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; a4440 19 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_lib_nsl_gethostbyname=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d4442 5 a4446 2 ac_cv_lib_nsl_gethostbyname=no fi d4448 5 a4452 11 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBNSL 1 _ACEOF a4453 1 LIBS="-lnsl $LIBS" d4458 6 a4463 49 need_getaddrinfo=no { $as_echo "$as_me:$LINENO: checking for socklen_t" >&5 $as_echo_n "checking for socklen_t... " >&6; } if test "${ac_cv_type_socklen_t+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_type_socklen_t=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef HAVE_SYS_TYPES_H # include #endif #include int main () { if (sizeof (socklen_t)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ d4465 9 a4473 2 cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF a4474 5 #ifdef HAVE_SYS_TYPES_H # include #endif #include d4476 2 d4482 4 a4485 2 if (sizeof ((socklen_t))) return 0; d4490 2 a4491 19 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : d4493 3 a4495 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a4496 1 ac_cv_type_socklen_t=yes d4498 9 d4508 2 a4509 4 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d4514 2 a4515 5 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 $as_echo "$ac_cv_type_socklen_t" >&6; } if test "x$ac_cv_type_socklen_t" = x""yes; then d4517 8 a4524 2 cat >>confdefs.h <<_ACEOF #define HAVE_SOCKLEN_T 1 d4527 1 d4529 1 a4529 1 fi d4531 3 a4533 4 { $as_echo "$as_me:$LINENO: checking for struct addrinfo" >&5 $as_echo_n "checking for struct addrinfo... " >&6; } if test "${ac_cv_type_struct_addrinfo+set}" = set; then $as_echo_n "(cached) " >&6 a4534 8 ac_cv_type_struct_addrinfo=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include d4536 7 a4542 14 int main () { if (sizeof (struct addrinfo)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; a4543 19 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include d4545 4 a4548 14 int main () { if (sizeof ((struct addrinfo))) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; a4549 16 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d4551 1 a4551 1 ac_cv_type_struct_addrinfo=yes d4554 3 a4556 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext a4557 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d4559 1 a4560 1 fi d4562 5 a4566 5 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_addrinfo" >&5 $as_echo "$ac_cv_type_struct_addrinfo" >&6; } if test "x$ac_cv_type_struct_addrinfo" = x""yes; then d4568 5 a4572 3 cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_ADDRINFO 1 _ACEOF d4577 3 a4579 4 { $as_echo "$as_me:$LINENO: checking for struct in6_addr" >&5 $as_echo_n "checking for struct in6_addr... " >&6; } if test "${ac_cv_type_struct_in6_addr+set}" = set; then $as_echo_n "(cached) " >&6 a4580 11 ac_cv_type_struct_in6_addr=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef HAVE_SYS_TYPES_H # include #endif #include d4582 8 d4591 4 a4594 14 int main () { if (sizeof (struct in6_addr)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; a4595 22 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef HAVE_SYS_TYPES_H # include #endif #include d4598 5 a4602 27 int main () { if (sizeof ((struct in6_addr))) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then a4604 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d4606 8 a4613 2 ac_cv_type_struct_in6_addr=yes fi d4615 5 a4619 4 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d4624 4 a4627 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext a4628 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_in6_addr" >&5 $as_echo "$ac_cv_type_struct_in6_addr" >&6; } if test "x$ac_cv_type_struct_in6_addr" = x""yes; then d4630 8 a4637 2 cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_IN6_ADDR 1 d4640 3 d4644 3 a4648 16 { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5 $as_echo_n "checking for struct sockaddr_in6... " >&6; } if test "${ac_cv_type_struct_sockaddr_in6+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_type_struct_sockaddr_in6=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef HAVE_SYS_TYPES_H # include #endif #include d4650 4 d4655 6 a4660 37 int main () { if (sizeof (struct sockaddr_in6)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef HAVE_SYS_TYPES_H # include #endif #include d4662 2 a4663 9 int main () { if (sizeof ((struct sockaddr_in6))) return 0; ; return 0; } d4665 1 a4665 18 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then d4668 6 a4673 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d4675 5 a4679 1 ac_cv_type_struct_sockaddr_in6=yes d4682 5 a4686 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d4688 1 a4688 4 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d4690 4 d4695 5 a4699 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext a4700 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_in6" >&5 $as_echo "$ac_cv_type_struct_sockaddr_in6" >&6; } if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then d4703 1 a4703 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 d4705 5 a4711 1 fi d4713 6 a4718 8 { $as_echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5 $as_echo_n "checking for struct sockaddr_storage... " >&6; } if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_type_struct_sockaddr_storage=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ d4720 3 a4722 7 cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef HAVE_SYS_TYPES_H # include #endif #include d4724 2 a4725 30 int main () { if (sizeof (struct sockaddr_storage)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ a4726 7 cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef HAVE_SYS_TYPES_H # include #endif #include d4728 6 a4733 15 int main () { if (sizeof ((struct sockaddr_storage))) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; a4734 16 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a4735 1 ac_cv_type_struct_sockaddr_storage=yes a4737 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d4739 5 a4743 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d4748 1 a4748 5 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5 $as_echo "$ac_cv_type_struct_sockaddr_storage" >&6; } if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then a4749 3 cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_SOCKADDR_STORAGE 1 _ACEOF d4751 7 d4759 1 d4762 8 d4772 3 a4774 7 for ac_func in getnameinfo gai_strerror getaddrinfo do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then d4777 2 a4778 5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF a4779 3 /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func d4781 2 a4782 26 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* 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 $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif d4787 1 a4787 1 return $ac_func (); d4792 2 a4793 22 rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then eval "$as_ac_var=yes" d4795 3 a4797 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a4798 1 eval "$as_ac_var=no" d4800 13 a4813 3 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext d4815 8 a4822 7 ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then d4826 1 a4826 1 : d4828 1 a4828 1 need_getaddrinfo=yes d4832 6 a4837 6 if test $need_getaddrinfo = yes; then case " $LIBOBJS " in *" getaddrinfo.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS getaddrinfo.$ac_objext" ;; esac d4841 1 a4841 1 need_findenv=no d4844 2 a4846 17 for ac_func in getenv setenv unsetenv do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func d4848 5 a4852 4 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ d4854 5 a4858 5 #ifdef __STDC__ # include #else # include #endif d4860 1 a4860 1 #undef $ac_func a4861 13 /* 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 $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif d4863 4 a4866 30 int main () { return $ac_func (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then eval "$as_ac_var=yes" a4867 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d4869 10 a4878 2 eval "$as_ac_var=no" fi a4879 13 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 d4881 2 a4882 1 : d4884 3 a4886 1 need_findenv=yes a4887 1 done d4889 3 a4891 6 if test $need_findenv = yes; then case " $LIBOBJS " in *" findenv.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS findenv.$ac_objext" ;; esac d4894 2 d4897 2 a4898 1 need_gettemp=no d4900 1 d4902 2 a4903 10 for ac_func in mkdtemp mkstemp do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ a4904 6 cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func d4906 1 a4906 4 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ a4907 5 #ifdef __STDC__ # include #else # include #endif d4909 2 a4910 1 #undef $ac_func d4912 1 a4912 13 /* 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 $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif d4914 6 d4923 3 a4925 1 return $ac_func (); d4930 34 a4963 5 rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; a4964 19 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then eval "$as_ac_var=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d4966 4 a4969 2 eval "$as_ac_var=no" fi d4971 2 a4972 13 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 d4974 7 a4980 5 : else need_gettemp=yes fi done d4982 4 a4985 5 if test $need_gettemp = yes; then case " $LIBOBJS " in *" gettemp.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS gettemp.$ac_objext" ;; d4988 18 a5005 1 fi d5008 5 d5014 4 d5019 1 d5022 2 a5023 10 for ac_func in bcopy bzero memset memcpy setlocale do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ d5025 10 a5034 6 cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func d5036 5 a5040 4 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ d5042 12 a5053 4 #ifdef __STDC__ # include #else # include d5055 6 a5061 1 #undef $ac_func d5063 10 a5072 5 /* 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" d5074 2 a5075 6 char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me d5077 2 d5080 2 a5081 7 int main () { return $ac_func (); ; return 0; } a5082 25 rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then eval "$as_ac_var=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d5084 1 a5084 1 eval "$as_ac_var=no" d5087 17 a5103 13 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 d5106 1 a5107 1 done d5109 3 a5111 10 need_setmode=no for ac_func in getmode setmode do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then d5114 3 a5116 5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d5118 4 a5121 3 /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func d5123 2 a5124 4 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ d5126 29 a5154 5 #ifdef __STDC__ # include #else # include #endif d5156 8 a5163 1 #undef $ac_func d5165 10 a5174 13 /* 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 $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif d5179 4 a5182 1 return $ac_func (); d5187 2 a5188 22 rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then eval "$as_ac_var=yes" d5190 1 a5190 4 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" d5192 1 a5192 4 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext d5194 7 a5200 15 ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF : else need_setmode=yes fi done d5202 6 d5209 3 a5211 16 if test $need_setmode = yes; then case " $LIBOBJS " in *" setmode.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS setmode.$ac_objext" ;; esac fi { $as_echo "$as_me:$LINENO: checking whether endgrent is declared" >&5 $as_echo_n "checking whether endgrent is declared... " >&6; } if test "${ac_cv_have_decl_endgrent+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ d5213 3 a5215 2 cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d5217 2 a5218 1 $ac_includes_default d5222 3 a5224 3 #ifndef endgrent (void) endgrent; #endif d5230 2 a5231 19 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_have_decl_endgrent=yes d5233 1 a5233 4 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_have_decl_endgrent=no a5234 1 d5237 23 a5259 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_endgrent" >&5 $as_echo "$ac_cv_have_decl_endgrent" >&6; } if test "x$ac_cv_have_decl_endgrent" = x""yes; then d5261 7 a5267 2 cat >>confdefs.h <<_ACEOF #define HAVE_DECL_ENDGRENT 1 d5269 12 a5280 8 else cat >>confdefs.h <<_ACEOF #define HAVE_DECL_ENDGRENT 0 _ACEOF d5282 1 a5282 4 { $as_echo "$as_me:$LINENO: checking whether endpwent is declared" >&5 $as_echo_n "checking whether endpwent is declared... " >&6; } if test "${ac_cv_have_decl_endpwent+set}" = set; then $as_echo_n "(cached) " >&6 d5284 1 a5284 5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d5290 9 a5298 3 #ifndef endpwent (void) endpwent; #endif d5304 2 a5305 19 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_have_decl_endpwent=yes d5307 4 a5310 4 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_have_decl_endpwent=no d5313 1 a5313 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d5315 9 a5323 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_endpwent" >&5 $as_echo "$ac_cv_have_decl_endpwent" >&6; } if test "x$ac_cv_have_decl_endpwent" = x""yes; then d5325 1 a5325 3 cat >>confdefs.h <<_ACEOF #define HAVE_DECL_ENDPWENT 1 _ACEOF d5327 5 d5333 8 d5342 1 a5342 3 cat >>confdefs.h <<_ACEOF #define HAVE_DECL_ENDPWENT 0 _ACEOF d5344 11 d5357 2 d5362 3 a5364 1 need_pwcache=no d5368 8 d5377 1 d5379 1 d5381 3 a5383 8 for ac_func in gid_from_group group_from_gid pwcache_groupdb \ pwcache_userdb uid_from_user user_from_uid \ do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then d5386 4 a5389 5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d5391 2 a5392 11 /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include d5394 1 a5394 17 # include #endif #undef $ac_func /* 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 $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me d5400 1 a5400 1 return $ac_func (); d5405 2 a5406 22 rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then eval "$as_ac_var=yes" d5408 5 a5412 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a5413 1 eval "$as_ac_var=no" d5415 5 a5420 15 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF : d5422 1 a5422 3 need_pwcache=yes fi done d5424 3 a5426 5 if test $need_pwcache = yes; then case " $LIBOBJS " in *" pwcache.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS pwcache.$ac_objext" d5430 3 d5435 4 a5438 4 { $as_echo "$as_me:$LINENO: checking for fts_open" >&5 $as_echo_n "checking for fts_open... " >&6; } if test "${ac_cv_func_fts_open+set}" = set; then $as_echo_n "(cached) " >&6 d5440 13 a5452 2 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ a5453 6 cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define fts_open to an innocuous variant, in case declares fts_open. For example, HP-UX 11i declares gettimeofday. */ #define fts_open innocuous_fts_open d5455 2 a5456 4 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char fts_open (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ d5458 5 a5462 5 #ifdef __STDC__ # include #else # include #endif d5464 8 a5471 1 #undef fts_open d5473 4 a5476 13 /* 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 fts_open (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_fts_open || defined __stub___fts_open choke me #endif d5478 22 d5503 3 a5505 1 return fts_open (); d5510 8 a5517 25 rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_func_fts_open=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a5518 1 ac_cv_func_fts_open=no d5520 5 a5525 3 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext d5527 4 a5530 4 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fts_open" >&5 $as_echo "$ac_cv_func_fts_open" >&6; } if test "x$ac_cv_func_fts_open" = x""yes; then : d5533 2 a5534 2 cat >>confdefs.h <<\_ACEOF #define HAVE_NBCOMPAT_FTS 1 d5537 9 d5547 1 d5549 1 a5549 5 case " $LIBOBJS " in *" fts.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS fts.$ac_objext" ;; esac d5551 9 d5562 1 d5564 4 a5567 4 { $as_echo "$as_me:$LINENO: checking for timegm" >&5 $as_echo_n "checking for timegm... " >&6; } if test "${ac_cv_func_timegm+set}" = set; then d5570 4 a5573 5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d5575 4 a5578 3 /* Define timegm to an innocuous variant, in case declares timegm. For example, HP-UX 11i declares gettimeofday. */ #define timegm innocuous_timegm d5580 2 a5581 4 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char timegm (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ d5583 12 a5594 5 #ifdef __STDC__ # include #else # include #endif d5596 3 a5598 1 #undef timegm d5600 41 a5640 3 /* 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. */ d5642 3 a5644 8 extern "C" #endif char timegm (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_timegm || defined __stub___timegm choke me d5646 15 d5665 4 a5668 30 return timegm (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_func_timegm=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d5670 1 a5670 2 ac_cv_func_timegm=no fi d5672 18 a5689 14 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_func_timegm" >&5 $as_echo "$ac_cv_func_timegm" >&6; } if test "x$ac_cv_func_timegm" = x""yes; then : else case " $LIBOBJS " in *" timegm.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS timegm.$ac_objext" ;; esac d5691 8 a5698 1 fi d5700 5 d5706 2 a5707 5 # Handle Darwin 7 having a poll() compatibility function. Be # conservative -- if we don't find one of or , then # use our own poll() implementation. # pkg_cv_have_poll_h=no d5709 2 d5712 5 a5716 19 for ac_header in poll.h sys/poll.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 $as_echo_n "checking $ac_header usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ d5718 2 a5719 25 cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes d5721 9 a5729 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d5731 5 a5735 1 ac_header_compiler=no d5738 3 a5740 3 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } a5741 29 # Is the header present? { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 $as_echo_n "checking $ac_header presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes a5742 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d5744 2 a5745 1 ac_header_preproc=no d5747 1 d5749 1 a5749 3 rm -f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } a5750 36 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------- ## ## Report this to grant@@NetBSD.org ## ## ------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else eval "$as_ac_Header=\$ac_header_preproc" a5751 4 ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } d5753 4 a5756 4 fi as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then d5758 1 a5758 1 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 d5761 5 d5768 1 d5773 6 a5778 8 for ac_header in poll.h sys/poll.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 d5780 3 a5782 10 ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 $as_echo_n "checking $ac_header usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ d5784 4 a5787 25 cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes d5789 1 a5789 4 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no d5792 2 a5793 9 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 $as_echo_n "checking $ac_header presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ a5794 26 cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a5795 2 ac_header_preproc=no fi d5797 1 a5797 3 rm -f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } d5799 4 a5802 41 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------- ## ## Report this to grant@@NetBSD.org ## ## ------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } d5804 5 a5808 4 fi as_val=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then d5810 1 a5810 1 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 a5811 2 pkg_cv_have_poll_h=yes fi d5813 6 a5818 1 done a5819 4 pkg_use_nbcompat_poll=yes if test $pkg_cv_have_poll_h = yes; then pkg_use_nbcompat_poll=no d5821 1 a5822 20 if test $pkg_cv_have_poll_h = yes -o test $pkg_cv_have_sys_poll_h = yes; then { $as_echo "$as_me:$LINENO: checking for poll" >&5 $as_echo_n "checking for poll... " >&6; } if test "${ac_cv_func_poll+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define poll to an innocuous variant, in case declares poll. For example, HP-UX 11i declares gettimeofday. */ #define poll innocuous_poll /* System header to define __stub macros and hopefully few prototypes, which can conflict with char poll (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ a5823 5 #ifdef __STDC__ # include #else # include #endif d5825 8 a5832 1 #undef poll d5840 1 a5840 8 char poll (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_poll || defined __stub___poll choke me #endif d5844 1 a5844 1 return poll (); d5849 18 a5866 22 rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_func_poll=yes d5868 4 a5871 4 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_poll=no d5873 5 a5878 3 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext a5879 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_poll" >&5 $as_echo "$ac_cv_func_poll" >&6; } if test "x$ac_cv_func_poll" = x""yes; then d5881 3 a5883 4 { $as_echo "$as_me:$LINENO: checking if poll() is implemented natively" >&5 $as_echo_n "checking if poll() is implemented natively... " >&6; } if test "${pkg_cv_native_poll+set}" = set; then d5886 3 a5888 6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF a5889 6 #if HAVE_POLL_H #include #endif #if HAVE_SYS_POLL_H #include #endif d5891 7 d5901 1 a5901 4 #ifdef _POLL_EMUL_H_ #error "poll() is emulated" #endif ; d5906 2 a5907 19 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then pkg_cv_native_poll=yes d5909 5 a5913 4 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 pkg_cv_native_poll=no d5915 6 d5922 1 a5922 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext a5924 8 { $as_echo "$as_me:$LINENO: result: $pkg_cv_native_poll" >&5 $as_echo "$pkg_cv_native_poll" >&6; } if test "x$pkg_cv_native_poll" = "xyes"; then pkg_use_nbcompat_poll=no else pkg_use_nbcompat_poll=yes : fi d5927 6 a5932 1 fi d5934 2 a5935 1 fi d5937 2 a5938 3 if test $pkg_use_nbcompat_poll = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_NBCOMPAT_POLL 1 d5942 1 d5944 3 a5946 5 case " $LIBOBJS " in *" poll.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS poll.$ac_objext" ;; esac d5948 3 a5950 1 fi d5953 1 d5955 4 d5960 2 d5963 2 a5964 10 for ac_func in getpassphrase getpgrp memmove select do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ a5965 6 cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func a5966 4 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ d5968 4 a5971 4 #ifdef __STDC__ # include #else # include d5973 1 d5975 9 a5983 1 #undef $ac_func d5985 2 a5986 12 /* 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 $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me d5988 4 d5993 2 a5994 7 int main () { return $ac_func (); ; return 0; } a5995 25 rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then eval "$as_ac_var=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d5997 1 a5997 1 eval "$as_ac_var=no" d6000 6 a6005 11 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then d6009 3 a6011 1 d6015 8 d6024 11 a6034 4 { $as_echo "$as_me:$LINENO: checking for getpgrp" >&5 $as_echo_n "checking for getpgrp... " >&6; } if test "${ac_cv_func_getpgrp+set}" = set; then $as_echo_n "(cached) " >&6 d6036 3 a6038 9 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define getpgrp to an innocuous variant, in case declares getpgrp. For example, HP-UX 11i declares gettimeofday. */ #define getpgrp innocuous_getpgrp d6040 5 a6044 40 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char getpgrp (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef getpgrp /* 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 getpgrp (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_getpgrp || defined __stub___getpgrp choke me #endif int main () { return getpgrp (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; a6045 19 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_func_getpgrp=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a6046 1 ac_cv_func_getpgrp=no d6049 9 a6057 15 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp" >&5 $as_echo "$ac_cv_func_getpgrp" >&6; } if test "x$ac_cv_func_getpgrp" = x""yes; then { $as_echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } if test "${ac_cv_func_getpgrp_void+set}" = set; then $as_echo_n "(cached) " >&6 else # Use it with a single arg. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ d6059 1 a6059 31 cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { getpgrp (0); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_func_getpgrp_void=no d6061 1 a6061 4 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_getpgrp_void=yes d6063 1 d6065 6 a6070 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext a6072 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 $as_echo "$ac_cv_func_getpgrp_void" >&6; } if test $ac_cv_func_getpgrp_void = yes; then d6074 8 a6081 2 cat >>confdefs.h <<\_ACEOF #define GETPGRP_VOID 1 d6085 1 a6086 1 fi d6088 9 a6096 8 { $as_echo "$as_me:$LINENO: checking for struct statfs.f_flags" >&5 $as_echo_n "checking for struct statfs.f_flags... " >&6; } if test "${ac_cv_member_struct_statfs_f_flags+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ d6098 1 a6098 34 cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { static struct statfs ac_aggr; if (ac_aggr.f_flags) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_member_struct_statfs_f_flags=yes d6100 3 a6102 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a6103 7 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include d6105 5 a6109 15 int main () { static struct statfs ac_aggr; if (sizeof ac_aggr.f_flags) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; a6110 16 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_member_struct_statfs_f_flags=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a6111 1 ac_cv_member_struct_statfs_f_flags=no d6114 5 a6118 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d6121 8 a6128 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext a6129 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_flags" >&5 $as_echo "$ac_cv_member_struct_statfs_f_flags" >&6; } if test "x$ac_cv_member_struct_statfs_f_flags" = x""yes; then d6132 1 a6132 1 #define HAVE_STRUCT_STATFS_F_FLAGS 1 d6135 14 a6148 1 : d6150 1 a6150 1 : d6152 1 a6153 12 { $as_echo "$as_me:$LINENO: checking for struct statfs.f_fsize" >&5 $as_echo_n "checking for struct statfs.f_fsize... " >&6; } if test "${ac_cv_member_struct_statfs_f_fsize+set}" = set; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include d6155 5 a6159 15 int main () { static struct statfs ac_aggr; if (ac_aggr.f_fsize) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; d6161 6 a6166 13 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_member_struct_statfs_f_fsize=yes a6167 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d6169 2 a6170 7 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include d6172 4 a6175 15 int main () { static struct statfs ac_aggr; if (sizeof ac_aggr.f_fsize) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; d6177 8 a6184 13 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_member_struct_statfs_f_fsize=yes d6186 5 a6190 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a6191 1 ac_cv_member_struct_statfs_f_fsize=no d6194 16 a6209 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d6212 12 a6223 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext a6224 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_fsize" >&5 $as_echo "$ac_cv_member_struct_statfs_f_fsize" >&6; } if test "x$ac_cv_member_struct_statfs_f_fsize" = x""yes; then d6226 2 a6227 3 cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STATFS_F_FSIZE 1 _ACEOF d6229 3 a6231 3 : else : d6234 8 a6241 3 { $as_echo "$as_me:$LINENO: checking for struct statfs.f_iosize" >&5 $as_echo_n "checking for struct statfs.f_iosize... " >&6; } if test "${ac_cv_member_struct_statfs_f_iosize+set}" = set; then a6243 40 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { static struct statfs ac_aggr; if (ac_aggr.f_iosize) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_member_struct_statfs_f_iosize=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d6245 1 a6245 5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d6247 6 a6252 1 #include d6257 4 a6260 3 static struct statfs ac_aggr; if (sizeof ac_aggr.f_iosize) return 0; d6265 2 a6266 19 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_member_struct_statfs_f_iosize=yes d6268 14 a6281 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a6282 1 ac_cv_member_struct_statfs_f_iosize=no a6284 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d6287 10 a6296 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext a6297 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_iosize" >&5 $as_echo "$ac_cv_member_struct_statfs_f_iosize" >&6; } if test "x$ac_cv_member_struct_statfs_f_iosize" = x""yes; then d6299 8 a6306 2 cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_STATFS_F_IOSIZE 1 a6308 3 : else : d6310 2 d6313 5 a6317 3 { $as_echo "$as_me:$LINENO: checking for struct dirent.d_namlen" >&5 $as_echo_n "checking for struct dirent.d_namlen... " >&6; } if test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then d6320 2 a6321 5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d6323 1 a6323 16 #include #if HAVE_DIRENT_H # include #else # define dirent direct # if HAVE_SYS_NDIR_H # include # endif # if HAVE_SYS_DIR_H # include # endif # if HAVE_NDIR_H # include # endif #endif d6327 1 a6327 3 static struct dirent ac_aggr; if (ac_aggr.d_namlen) return 0; d6332 2 a6333 19 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_member_struct_dirent_d_namlen=yes d6335 3 a6337 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d6339 4 a6342 21 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #if HAVE_DIRENT_H # include #else # define dirent direct # if HAVE_SYS_NDIR_H # include # endif # if HAVE_SYS_DIR_H # include # endif # if HAVE_NDIR_H # include # endif #endif d6344 1 a6344 32 int main () { static struct dirent ac_aggr; if (sizeof ac_aggr.d_namlen) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_member_struct_dirent_d_namlen=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a6345 1 ac_cv_member_struct_dirent_d_namlen=no a6347 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d6350 12 a6361 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d6363 4 a6366 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_dirent_d_namlen" >&5 $as_echo "$ac_cv_member_struct_dirent_d_namlen" >&6; } if test "x$ac_cv_member_struct_dirent_d_namlen" = x""yes; then d6369 1 a6369 1 #define HAVE_STRUCT_DIRENT_D_NAMLEN 1 d6376 10 a6385 4 { $as_echo "$as_me:$LINENO: checking for DIR.dd_fd" >&5 $as_echo_n "checking for DIR.dd_fd... " >&6; } if test "${ac_cv_member_DIR_dd_fd+set}" = set; then $as_echo_n "(cached) " >&6 d6387 4 a6390 7 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include d6405 2 d6408 2 a6409 9 int main () { static DIR ac_aggr; if (ac_aggr.dd_fd) return 0; ; return 0; } d6411 2 a6412 19 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_member_DIR_dd_fd=yes d6414 3 a6416 10 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include d6431 2 a6432 45 int main () { static DIR ac_aggr; if (sizeof ac_aggr.dd_fd) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_member_DIR_dd_fd=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_member_DIR_dd_fd=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_member_DIR_dd_fd" >&5 $as_echo "$ac_cv_member_DIR_dd_fd" >&6; } if test "x$ac_cv_member_DIR_dd_fd" = x""yes; then d6444 1 a6444 1 { $as_echo "$as_me:$LINENO: checking for dirfd" >&5 d6446 1 a6446 5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d6473 1 a6473 21 rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then d6475 1 a6475 1 { $as_echo "$as_me:$LINENO: result: yes" >&5 d6478 1 a6478 3 cat >>confdefs.h <<\_ACEOF #define HAVE_DIRFD 1 _ACEOF d6482 1 a6482 4 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { $as_echo "$as_me:$LINENO: result: no" >&5 d6487 2 a6488 4 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext d6493 1 a6493 1 { $as_echo "$as_me:$LINENO: checking *printf() support for %lld" >&5 d6496 1 a6496 1 if test "$cross_compiling" = yes; then d6499 1 a6499 5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d6510 1 a6510 22 rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d6512 1 a6512 1 { $as_echo "$as_me:$LINENO: result: yes" >&5 a6516 3 $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d6518 1 a6518 3 ( exit $ac_status ) { $as_echo "$as_me:$LINENO: result: no" >&5 d6522 2 a6523 2 rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext a6526 1 d6528 1 a6528 1 { $as_echo "$as_me:$LINENO: checking *printf() support for %qd" >&5 d6530 1 a6530 1 if test "$cross_compiling" = yes; then d6533 1 a6533 5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d6544 1 a6544 22 rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d6546 1 a6546 1 { $as_echo "$as_me:$LINENO: result: yes" >&5 d6549 1 a6549 4 cat >>confdefs.h <<\_ACEOF #define HAVE_PRINTF_QD 1 _ACEOF a6553 3 $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d6555 1 a6555 3 ( exit $ac_status ) { $as_echo "$as_me:$LINENO: result: no" >&5 d6559 2 a6560 2 rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext a6562 1 d6566 1 a6566 85 cat >>confdefs.h <<\_ACEOF #define HAVE_WORKING_LONG_LONG 1 _ACEOF for ac_func in strtoll do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* 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 $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then eval "$as_ac_var=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a6567 2 eval "$as_ac_var=no" fi d6569 4 a6572 11 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } as_val=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` if test "x$as_val" = x""yes; then d6574 1 a6574 1 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 d6594 1 a6594 1 { $as_echo "$as_me:$LINENO: checking if vsnprintf is standards compliant" >&5 d6597 1 a6597 1 if test "$cross_compiling" = yes; then d6600 1 a6600 5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d6617 1 a6617 22 rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d6619 1 a6619 1 { $as_echo "$as_me:$LINENO: result: yes" >&5 a6623 5 $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) d6625 1 a6625 1 { $as_echo "$as_me:$LINENO: result: no" >&5 d6629 2 a6630 2 rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext a6633 1 a6644 1 d6674 1 a6674 1 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 d6680 1 a6680 1 *) $as_unset $ac_var ;; d6688 2 a6689 2 # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). d6712 1 a6712 1 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 d6716 1 a6716 1 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 d6736 2 a6737 2 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' d6750 1 a6750 1 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 d6752 2 a6753 1 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 d6763 1 d6765 6 a6770 6 _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## d6774 1 a6774 1 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then d6782 5 a6786 2 case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; a6787 1 a6790 10 # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits d6798 7 a6804 1 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then d6815 1 a6815 1 case $arg in a6837 7 # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi d6847 1 a6847 1 case $0 in d6854 2 a6855 2 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done d6867 1 a6867 1 { (exit 1); exit 1; } d6870 7 a6876 3 # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var d6888 83 a6970 1 # Required to use basename. d6984 5 a6989 1 # Name of the executable. d7009 6 a7014 53 # CDPATH. $as_unset CDPATH as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # 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 # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi d7017 1 a7017 1 case `echo -n x` in d7019 1 a7019 1 case `echo 'x\c'` in d7021 3 a7023 1 *) ECHO_C='\c';; a7027 6 if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi d7056 48 d7105 1 a7105 1 as_mkdir_p=: d7124 1 a7124 1 case $1 in d7127 1 a7127 1 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in d7142 5 d7148 2 a7149 1 # Save the log message, to keep $[0] and so on meaningful, and to d7154 1 a7154 1 generated by GNU Autoconf 2.63. Invocation command line was d7185 3 a7187 2 \`$as_me' instantiates files from templates according to the current configuration. d7189 1 a7189 1 Usage: $0 [OPTION]... [FILE]... d7208 1 a7208 1 Report bugs to ." d7214 1 a7214 1 configured by $0, generated by GNU Autoconf 2.63, d7217 1 a7217 1 Copyright (C) 2008 Free Software Foundation, Inc. d7259 1 a7259 1 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" d7266 1 a7266 1 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" d7270 2 a7271 3 { $as_echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; };; d7279 2 a7280 3 -*) { $as_echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; d7282 1 a7282 1 *) ac_config_targets="$ac_config_targets $1" d7331 1 a7331 3 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; d7357 1 a7357 1 trap '{ (exit 1); exit 1; }' 1 2 13 15 d7368 1 a7368 5 } || { $as_echo "$as_me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } d7376 7 a7382 1 ac_cr=' ' d7385 1 a7385 1 ac_cs_awk_cr='\\r' d7399 1 a7399 3 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } d7404 1 a7404 3 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } d7410 1 a7410 3 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } d7499 1 a7499 3 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 $as_echo "$as_me: error: could not setup config files machinery" >&2;} { (exit 1); exit 1; }; } d7540 1 a7540 3 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} { (exit 1); exit 1; }; } d7625 1 a7625 3 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} { (exit 1); exit 1; }; } d7638 1 a7638 3 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} { (exit 1); exit 1; }; };; d7666 1 a7666 3 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} { (exit 1); exit 1; }; };; d7669 1 a7669 1 ac_file_inputs="$ac_file_inputs '$ac_f'" d7680 1 a7680 1 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 d7693 1 a7693 3 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } ;; d7721 1 a7721 41 { as_dir="$ac_dir" case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } a7772 1 d7782 1 a7782 2 /@@mandir@@/p ' d7786 1 a7786 1 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 d7796 1 a7796 1 s&\\\${datarootdir}&$datarootdir&g' ;; d7824 1 a7824 3 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } d7829 1 a7829 1 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' d7839 1 a7839 3 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } d7850 1 a7850 3 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } d7852 1 a7852 1 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 d7857 1 a7857 3 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } d7862 1 a7862 3 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 $as_echo "$as_me: error: could not create -" >&2;} { (exit 1); exit 1; }; } d7872 1 a7872 1 { (exit 0); exit 0; } a7873 1 chmod +x $CONFIG_STATUS d7877 1 a7877 3 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } d7898 1 a7898 1 $ac_cs_success || { (exit 1); exit 1; } d7901 1 a7901 1 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 @ 1.73 log @libnbcompat-20090605: Add support for stdbool.h. Tested by sketch on Solaris (where stdbool.h only works in C99 mode). @ text @d4233 3 a4235 2 for ac_header in alloca.h assert.h ctype.h dirent.h err.h errno.h fcntl.h \ fnmatch.h fts.h grp.h inttypes.h libutil.h limits.h \ d5996 72 d10831 3 a10833 4 { $as_echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 $as_echo_n "checking for socket in -lsocket... " >&6; } if test "${ac_cv_lib_socket_socket+set}" = set; then d10836 1 a10836 2 ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $LIBS" d10859 8 a10866 1 rm -f conftest.$ac_objext conftest$ac_exeext d10887 1 a10887 1 ac_cv_lib_socket_socket=yes d10892 1 a10892 1 ac_cv_lib_socket_socket=no d10897 12 a10908 2 conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS d10910 5 a10914 8 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 $as_echo "$ac_cv_lib_socket_socket" >&6; } if test "x$ac_cv_lib_socket_socket" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBSOCKET 1 _ACEOF LIBS="-lsocket $LIBS" @ 1.72 log @libnbcompat-20090409: Resort and improve getopt_long detection. Should fix issues on Interix reported by mishka@@ and QNX problems reported by Sean Boudreau. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.63 for libnbcompat 20080519. d599 2 a600 2 PACKAGE_VERSION='20080519' PACKAGE_STRING='libnbcompat 20080519' d1276 1 a1276 1 \`configure' configures libnbcompat 20080519 to adapt to many kinds of systems. d1346 1 a1346 1 short | recursive ) echo "Configuration of libnbcompat 20080519:";; d1433 1 a1433 1 libnbcompat configure 20080519 d1447 1 a1447 1 It was created by libnbcompat $as_me 20080519, which was a3879 1 d3953 231 d14679 1 a14679 1 This file was extended by libnbcompat $as_me 20080519, which was d14738 1 a14738 1 libnbcompat config.status 20080519 @ 1.71 log @libnbcompat-20090322: Don't use getopt_long as replacement for getopt. It behaves different and doesn't work well in combination with optreset. Instead use getopt(3) from NetBSD if requested. Sync getopt_long.c with NetBSD while here. Addresses issues with pkg_admin on Solaris reported by Tim Zingelman. @ text @d6059 1 a6059 3 { $as_echo "$as_me:$LINENO: checking for struct option" >&5 d6061 1 a6061 1 if test "${pkg_cv_have_struct_option+set}" = set; then d6064 8 d6073 28 a6100 1 cat >conftest.$ac_ext <<_ACEOF d6106 2 a6107 1 #include d6111 2 a6112 1 struct option X; ; d6135 1 a6135 1 pkg_cv_have_struct_option=yes d6140 1 a6140 1 pkg_cv_have_struct_option=no d6144 3 d6148 4 d6153 11 a6163 6 { $as_echo "$as_me:$LINENO: result: $pkg_cv_have_struct_option" >&5 $as_echo "$pkg_cv_have_struct_option" >&6; } if test "x$pkg_cv_have_struct_option" = "xyes"; then : else case " $LIBOBJS " in d6169 8 a6176 2 : fi @ 1.71.2.1 log @Pullup ticket #2736 - requested by joerg libnbcompat: portability fix Revisions pulled up: - pkgtools/libnbcompat/Makefile 1.71 - pkgtools/libnbcompat/files/configure 1.72 - pkgtools/libnbcompat/files/configure.ac 1.73 - pkgtools/libnbcompat/files/getopt_long.c 1.11 - pkgtools/libnbcompat/files/nbcompat.h 1.43 - pkgtools/libnbcompat/files/nbcompat/config.h.in 1.26 --- Module Name: pkgsrc Committed By: joerg Date: Mon Apr 13 11:30:46 UTC 2009 Modified Files: pkgsrc/pkgtools/libnbcompat: Makefile pkgsrc/pkgtools/libnbcompat/files: configure configure.ac nbcompat.h pkgsrc/pkgtools/libnbcompat/files/nbcompat: config.h.in Log Message: libnbcompat-20090409: Resort and improve getopt_long detection. Should fix issues on Interix reported by mishka@@ and QNX problems reported by Sean Boudreau. --- Module Name: pkgsrc Committed By: joerg Date: Tue Apr 14 17:34:42 UTC 2009 Modified Files: pkgsrc/pkgtools/libnbcompat/files: getopt_long.c Log Message: Always declare optreset. XXX optreset should be removed here, it can't be used correctly with a GNU getopt_long implementation without touching the environment. @ text @d6059 3 a6061 1 { $as_echo "$as_me:$LINENO: checking for struct option" >&5 d6063 1 a6063 1 if test "${ac_cv_type_struct_option+set}" = set; then a6065 8 ac_cv_type_struct_option=no cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include d6067 1 a6067 28 int main () { if (sizeof (struct option)) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then cat >conftest.$ac_ext <<_ACEOF d6073 1 a6073 2 #include d6077 1 a6077 2 if (sizeof ((struct option))) return 0; d6100 1 a6100 1 : d6105 1 a6105 1 ac_cv_type_struct_option=yes a6108 4 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d6111 6 a6116 14 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_option" >&5 $as_echo "$ac_cv_type_struct_option" >&6; } if test "x$ac_cv_type_struct_option" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_OPTION 1 _ACEOF : else case " $LIBOBJS " in d6122 2 a6123 8 fi else case " $LIBOBJS " in *" getopt_long.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS getopt_long.$ac_objext" ;; esac @ 1.70 log @Only use issetugid if it exists. Fixes reported build issues on QNX and AIX. @ text @a5912 1 pkg_use_nbcompat_getopt_long=yes d6114 1 a6114 1 pkg_use_nbcompat_getopt_long=no d6116 6 a6121 1 pkg_use_nbcompat_getopt_long=yes d6133 3 a6135 14 pkg_use_nbcompat_getopt_long=yes fi fi if test $pkg_use_nbcompat_getopt_long = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_NBCOMPAT_GETOPT_LONG 1 _ACEOF case " $LIBOBJS " in *" getopt_long.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS getopt_long.$ac_objext" d6139 1 @ 1.69 log @OpenBSD headers are still not standalone, even though SUS is pretty explicit about it at least for netinet/in.h. Include sys/types.h before checking for content of sys/socket.h and netinet/in.h to fix this. Reported and tested by Georg Schwarz. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.62 for libnbcompat 20080519. d639 68 a706 1 ac_subst_vars='SHELL d708 1 a708 68 PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datarootdir datadir sysconfdir sharedstatedir localstatedir includedir oldincludedir docdir infodir htmldir dvidir pdfdir psdir libdir localedir mandir DEFS ECHO_C ECHO_N ECHO_T LIBS build_alias host_alias target_alias build build_cpu build_vendor build_os host host_cpu host_vendor host_os CANONICAL_HOST INCLUDES SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S RANLIB AWK AR AUTOCONF AUTOHEADER CPP GREP EGREP LIBOBJS WITH_DB LTLIBOBJS' d1146 1 a1146 1 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 d1148 1 a1148 1 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; d1201 1 a1201 1 { $as_echo "$as_me: error: Working directory cannot be determined" >&2 d1434 1 a1434 1 generated by GNU Autoconf 2.62 d1448 1 a1448 1 generated by GNU Autoconf 2.62. Invocation command line was d1571 2 a1572 2 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; d1775 2 d2065 2 a2066 6 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@@gnu.org." >&5 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@@gnu.org." >&2;} d2265 2 a2266 6 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@@gnu.org." >&5 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@@gnu.org." >&2;} d2276 3 a2278 1 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH d2282 1 a2282 1 { (exit 1); exit 1; }; } d2412 2 d2418 1 a2418 1 { (exit 77); exit 77; }; } d2446 3 a2448 1 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. d2454 1 a2454 1 { (exit 1); exit 1; }; } d2497 3 a2499 1 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link d2503 1 a2503 1 { (exit 1); exit 1; }; } d2557 2 d2563 1 a2563 1 { (exit 1); exit 1; }; } d3097 2 a3098 6 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@@gnu.org." >&5 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@@gnu.org." >&2;} d3259 1 a3259 1 if test $ac_cv_lib_util_fparseln = yes; then d3490 3 a3492 1 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check d3496 1 a3496 1 { (exit 1); exit 1; }; } d3942 3 a3944 2 if test `eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` = yes; then d4151 3 a4153 2 if test `eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` = yes; then d4218 3 a4220 2 if test `eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` = yes; then d4372 3 a4374 2 if test `eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` = yes; then d4536 3 a4538 2 if test `eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` = yes; then d4694 3 a4696 2 if test `eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` = yes; then d4790 1 a4790 1 if test $ac_cv_func_regexec = yes; then d4968 3 a4970 2 if test `eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` = yes; then d5197 3 a5199 2 if test `eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` = yes; then d5293 1 a5293 1 if test $ac_cv_func_MD5File = yes; then d5403 1 a5403 1 if test $ac_cv_func_RMD160File = yes; then d5513 1 a5513 1 if test $ac_cv_func_SHA1File = yes; then d5624 1 a5624 1 if test $ac_cv_func_SHA512_File = yes; then d5658 101 d5823 1 a5823 1 if test $ac_cv_have_decl_optind = yes; then d5895 1 a5895 1 if test $ac_cv_have_decl_optreset = yes; then d6054 3 a6056 2 if test `eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` = yes; then d6289 3 a6291 2 if test `eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` = yes; then d6450 3 a6452 2 if test `eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` = yes; then d6556 3 a6558 2 if test `eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` = yes; then d6757 1 a6757 1 if test $ac_cv_type_size_t = yes; then d6862 1 a6862 1 if test $ac_cv_type_uintptr_t = yes; then d7813 1 a7813 1 if test $ac_cv_type_long_long = yes; then d7941 1 a7941 1 if test $ac_cv_type_long_double = yes; then d8068 1 a8068 1 if test $ac_cv_type_fsid_t = yes; then d8084 2 a8085 2 # See if __BIG_ENDIAN__ or __LITTLE_ENDIAN__ is defined. cat >conftest.$ac_ext <<_ACEOF d8091 2 a8092 2 #if ! (defined __BIG_ENDIAN__ || defined __LITTLE_ENDIAN__) neither is defined; d8115 7 a8121 1 ac_cv_c_bigendian=universal d8469 6 a8474 1 ;; #( d8734 3 a8736 1 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (off_t) d8740 1 a8740 1 { (exit 77); exit 77; }; } d8816 3 a8818 1 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (off_t) d8822 1 a8822 1 { (exit 77); exit 77; }; } d8984 3 a8986 2 if test `eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` = yes; then d9141 1 a9141 1 if test $ac_cv_have_decl_strerror_r = yes; then d9248 3 a9250 2 if test `eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` = yes; then d9482 1 a9482 1 if test $ac_cv_type_pid_t = yes; then d9632 3 a9634 2 if test `eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` = yes; then d9735 3 a9737 2 if test `eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` = yes; then d10093 3 a10095 2 if test `eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` = yes; then d10185 1 a10185 1 if test $ac_cv_func__doprnt = yes; then d10252 1 a10252 1 if test $ac_cv_have_decl_snprintf = yes; then d10320 1 a10320 1 if test $ac_cv_have_decl_vasprintf = yes; then d10462 3 a10464 2 if test `eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` = yes; then d10547 1 a10547 1 if test $ac_cv_lib_socket_socket = yes; then d10622 1 a10622 1 if test $ac_cv_lib_nsl_gethostbyname = yes; then d10739 1 a10739 1 if test $ac_cv_type_socklen_t = yes; then d10844 1 a10844 1 if test $ac_cv_type_struct_addrinfo = yes; then d10957 1 a10957 1 if test $ac_cv_type_struct_in6_addr = yes; then d11070 1 a11070 1 if test $ac_cv_type_struct_sockaddr_in6 = yes; then d11183 1 a11183 1 if test $ac_cv_type_struct_sockaddr_storage = yes; then d11285 3 a11287 2 if test `eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` = yes; then d11400 3 a11402 2 if test `eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` = yes; then d11514 3 a11516 2 if test `eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` = yes; then d11630 3 a11632 2 if test `eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` = yes; then d11734 3 a11736 2 if test `eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` = yes; then d11809 1 a11809 1 if test $ac_cv_have_decl_endgrent = yes; then d11876 1 a11876 1 if test $ac_cv_have_decl_endpwent = yes; then d11992 3 a11994 2 if test `eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` = yes; then d12099 1 a12099 1 if test $ac_cv_func_fts_open = yes; then d12204 1 a12204 1 if test $ac_cv_func_timegm = yes; then d12362 3 a12364 2 if test `eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` = yes; then d12514 3 a12516 2 if test `eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` = yes; then d12617 1 a12617 1 if test $ac_cv_func_poll = yes; then d12802 3 a12804 2 if test `eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` = yes; then d12898 1 a12898 1 if test $ac_cv_func_getpgrp = yes; then d13059 1 a13059 1 if test $ac_cv_member_struct_statfs_f_flags = yes; then d13167 1 a13167 1 if test $ac_cv_member_struct_statfs_f_fsize = yes; then d13275 1 a13275 1 if test $ac_cv_member_struct_statfs_f_iosize = yes; then d13411 1 a13411 1 if test $ac_cv_member_struct_dirent_d_namlen = yes; then d13546 1 a13546 1 if test $ac_cv_member_DIR_dd_fd = yes; then d13873 3 a13875 2 if test `eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` = yes; then d14009 2 a14010 2 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; d14080 1 d14403 1 a14403 1 generated by GNU Autoconf 2.62. Invocation command line was d14416 9 d14437 1 a14437 1 Usage: $0 [OPTIONS] [FILE]... d14441 2 a14442 1 -q, --quiet do not print progress messages d14445 1 a14445 1 --file=FILE[:TEMPLATE] d14447 1 a14447 1 --header=FILE[:TEMPLATE] d14462 1 a14462 1 configured by $0, generated by GNU Autoconf 2.62, d14660 2 a14661 1 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then d14866 1 a14868 1 prefix = substr(line, 1, index(line, defundef) - 1) d14876 1 a14876 1 print "/*", line, "*/" d14900 2 a14901 2 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} d15224 2 a15225 2 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;} @ 1.68 log @Explicitly check for libnsl and libsocket as required by Solaris. Based on patches from Aleksey Cheusov. @ text @d10509 4 d10515 1 d10549 4 d10555 1 d10729 3 d10734 1 d10768 3 d10773 1 d10842 3 d10847 1 d10881 3 d10886 1 d10955 3 d10960 1 d10994 3 d10999 1 @ 1.67 log @pkg_install-20081010: Add optional bdb. Make it included by default for standalone builds. @ text @d10345 151 @ 1.66 log @Check for existance of sysexits.h and regen config.h.in. @ text @d707 1 d712 1 d1354 1 d5640 8 @ 1.65 log @libnbcompat-20080922: - DESTDIR support - Add check for inttypes.h and sys/socket.h - Provide compatibility fallback for netdb.h and the RFC2553 API (getaddrinfo), supoprting IPv4 only. Code from OpenSSH. - Use normal autoconf checks for fixed size bit types. Stop using the older BSD types (u_intXX_t) in libnbcompat. - Add implementation of shquote (from NetBSD). - Fix a buglet in the getenv/setenv/unsetenv detection. - Fix a buglet in the mkdtemp/mkstemp detection. @ text @d3996 1 d4004 1 a4004 1 sys/uio.h sys/vfs.h termcap.h time.h tzfile.h unistd.h \ @ 1.64 log @Determine both for setmode.c and pwcache.c if any of the functions is provided by the system and if one is lacking use the file. Don't short cut the list as before and do a second iteration, it is just confusing. This breaks the regression introduced by the last commit on OS X. @ text @a3952 153 for ac_header in inttypes.h sys/types.h sys/bitypes.h bind/bitypes.h \ netinet/in6_machtypes.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 $as_echo_n "checking $ac_header usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 $as_echo_n "checking $ac_header presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------- ## ## Report this to grant@@NetBSD.org ## ## ------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi if test `eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` = yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done d3997 5 a4001 4 fnmatch.h fts.h grp.h libutil.h limits.h machine/endian.h ndir.h \ paths.h pwd.h signal.h stdarg.h stddef.h stdint.h stdio.h stdlib.h \ string.h sys/byteorder.h sys/cdefs.h sys/dir.h sys/endian.h \ sys/file.h sys/mkdev.h sys/ndir.h sys/param.h sys/stat.h \ d6798 4 a6801 3 { $as_echo "$as_me:$LINENO: checking for long long" >&5 $as_echo_n "checking for long long... " >&6; } if test "${ac_cv_type_long_long+set}" = set; then d6804 4 a6807 2 ac_cv_type_long_long=no cat >conftest.$ac_ext <<_ACEOF d6813 1 a6813 14 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d6817 3 a6819 2 if (sizeof (long long)) return 0; d6848 1 a6848 14 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d6852 4 a6855 2 if (sizeof ((long long))) return 0; d6883 5 a6887 1 ac_cv_type_long_long=yes d6899 2 d6902 5 a6906 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 $as_echo "$ac_cv_type_long_long" >&6; } if test $ac_cv_type_long_long = yes; then d6909 1 a6909 1 #define HAVE_LONG_LONG 1 d6911 2 d6915 3 a6917 4 fi { $as_echo "$as_me:$LINENO: checking for long double" >&5 $as_echo_n "checking for long double... " >&6; } if test "${ac_cv_type_long_double+set}" = set; then d6920 4 a6923 2 ac_cv_type_long_double=no cat >conftest.$ac_ext <<_ACEOF d6929 1 a6929 14 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d6933 3 a6935 2 if (sizeof (long double)) return 0; d6964 1 a6964 14 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d6968 4 a6971 2 if (sizeof ((long double))) return 0; d6999 5 a7003 1 ac_cv_type_long_double=yes d7015 2 d7018 5 a7022 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5 $as_echo "$ac_cv_type_long_double" >&6; } if test $ac_cv_type_long_double = yes; then d7025 1 a7025 1 #define HAVE_LONG_DOUBLE 1 d7027 2 d7031 3 a7033 4 fi { $as_echo "$as_me:$LINENO: checking for int8_t" >&5 $as_echo_n "checking for int8_t... " >&6; } if test "${ac_cv_type_int8_t+set}" = set; then d7036 4 a7039 2 ac_cv_type_int8_t=no cat >conftest.$ac_ext <<_ACEOF d7045 1 a7045 14 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d7049 3 a7051 2 if (sizeof (int8_t)) return 0; d7080 1 a7080 14 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d7084 4 a7087 2 if (sizeof ((int8_t))) return 0; d7115 5 a7119 1 ac_cv_type_int8_t=yes d7131 2 d7134 5 a7138 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5 $as_echo "$ac_cv_type_int8_t" >&6; } if test $ac_cv_type_int8_t = yes; then d7141 1 a7141 1 #define HAVE_INT8_T 1 d7143 2 d7147 3 a7149 4 fi { $as_echo "$as_me:$LINENO: checking for int16_t" >&5 $as_echo_n "checking for int16_t... " >&6; } if test "${ac_cv_type_int16_t+set}" = set; then d7152 4 a7155 2 ac_cv_type_int16_t=no cat >conftest.$ac_ext <<_ACEOF d7161 1 a7161 14 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d7165 3 a7167 2 if (sizeof (int16_t)) return 0; d7196 1 a7196 14 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d7200 4 a7203 2 if (sizeof ((int16_t))) return 0; d7231 5 a7235 1 ac_cv_type_int16_t=yes d7247 2 d7250 5 a7254 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5 $as_echo "$ac_cv_type_int16_t" >&6; } if test $ac_cv_type_int16_t = yes; then d7257 1 a7257 1 #define HAVE_INT16_T 1 d7259 2 d7263 3 a7265 4 fi { $as_echo "$as_me:$LINENO: checking for int32_t" >&5 $as_echo_n "checking for int32_t... " >&6; } if test "${ac_cv_type_int32_t+set}" = set; then d7268 4 a7271 2 ac_cv_type_int32_t=no cat >conftest.$ac_ext <<_ACEOF d7277 1 a7277 14 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d7281 3 a7283 2 if (sizeof (int32_t)) return 0; d7306 43 a7348 1 cat >conftest.$ac_ext <<_ACEOF d7354 1 a7354 14 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d7358 3 a7360 2 if (sizeof ((int32_t))) return 0; d7383 4 a7386 7 : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_int32_t=yes fi a7387 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d7396 2 d7399 6 a7404 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5 $as_echo "$ac_cv_type_int32_t" >&6; } if test $ac_cv_type_int32_t = yes; then d7407 1 a7407 1 #define HAVE_INT32_T 1 d7409 2 d7413 3 a7415 4 fi { $as_echo "$as_me:$LINENO: checking for int64_t" >&5 $as_echo_n "checking for int64_t... " >&6; } if test "${ac_cv_type_int64_t+set}" = set; then d7418 4 a7421 2 ac_cv_type_int64_t=no cat >conftest.$ac_ext <<_ACEOF d7427 1 a7427 14 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d7431 3 a7433 2 if (sizeof (int64_t)) return 0; d7456 43 a7498 1 cat >conftest.$ac_ext <<_ACEOF d7504 1 a7504 14 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d7508 3 a7510 2 if (sizeof ((int64_t))) return 0; d7533 5 a7537 1 : d7542 1 a7542 1 ac_cv_type_int64_t=yes d7546 8 a7553 3 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d7555 3 a7558 7 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 $as_echo "$ac_cv_type_int64_t" >&6; } if test $ac_cv_type_int64_t = yes; then d7561 1 a7561 1 #define HAVE_INT64_T 1 d7563 2 d7566 3 a7568 5 fi { $as_echo "$as_me:$LINENO: checking for u_int8_t" >&5 $as_echo_n "checking for u_int8_t... " >&6; } if test "${ac_cv_type_u_int8_t+set}" = set; then d7571 1 a7571 1 ac_cv_type_u_int8_t=no d7595 1 a7595 1 if (sizeof (u_int8_t)) d7642 1 a7642 1 if (sizeof ((u_int8_t))) d7671 1 a7671 1 ac_cv_type_u_int8_t=yes d7684 3 a7686 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5 $as_echo "$ac_cv_type_u_int8_t" >&6; } if test $ac_cv_type_u_int8_t = yes; then d7689 1 a7689 1 #define HAVE_U_INT8_T 1 d7694 3 a7696 3 { $as_echo "$as_me:$LINENO: checking for u_int16_t" >&5 $as_echo_n "checking for u_int16_t... " >&6; } if test "${ac_cv_type_u_int16_t+set}" = set; then d7699 1 a7699 1 ac_cv_type_u_int16_t=no d7723 1 a7723 1 if (sizeof (u_int16_t)) d7770 1 a7770 1 if (sizeof ((u_int16_t))) d7799 1 a7799 1 ac_cv_type_u_int16_t=yes d7812 3 a7814 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5 $as_echo "$ac_cv_type_u_int16_t" >&6; } if test $ac_cv_type_u_int16_t = yes; then d7817 1 a7817 1 #define HAVE_U_INT16_T 1 d7822 4 a7825 3 { $as_echo "$as_me:$LINENO: checking for u_int32_t" >&5 $as_echo_n "checking for u_int32_t... " >&6; } if test "${ac_cv_type_u_int32_t+set}" = set; then d7828 1 a7828 1 ac_cv_type_u_int32_t=no d7835 2 a7836 3 #if STDC_HEADERS #include #include d7838 2 a7839 2 #if HAVE_INTTYPES_H #include d7841 2 a7842 2 #if HAVE_SYS_TYPES_H #include d7844 2 a7845 2 #if HAVE_SYS_BITYPES_H #include d7851 1 a7851 1 if (sizeof (u_int32_t)) d7881 2 a7882 3 #if STDC_HEADERS #include #include d7884 2 a7885 2 #if HAVE_INTTYPES_H #include d7887 2 a7888 2 #if HAVE_SYS_TYPES_H #include d7890 2 a7891 2 #if HAVE_SYS_BITYPES_H #include d7897 1 a7897 1 if (sizeof ((u_int32_t))) d7926 1 a7926 1 ac_cv_type_u_int32_t=yes d7939 3 a7941 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5 $as_echo "$ac_cv_type_u_int32_t" >&6; } if test $ac_cv_type_u_int32_t = yes; then d7944 1 a7944 1 #define HAVE_U_INT32_T 1 d7949 5 a7953 3 { $as_echo "$as_me:$LINENO: checking for u_int64_t" >&5 $as_echo_n "checking for u_int64_t... " >&6; } if test "${ac_cv_type_u_int64_t+set}" = set; then d7956 44 a7999 2 ac_cv_type_u_int64_t=no cat >conftest.$ac_ext <<_ACEOF a8004 8 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H d8006 1 a8006 4 #endif #if HAVE_SYS_BITYPES_H #include #endif d8011 6 a8016 2 if (sizeof (u_int64_t)) return 0; d8039 2 a8040 1 cat >conftest.$ac_ext <<_ACEOF a8045 8 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H d8047 1 a8047 4 #endif #if HAVE_SYS_BITYPES_H #include #endif d8052 4 a8055 2 if (sizeof ((u_int64_t))) return 0; d8078 1 a8078 1 : d8083 1 a8083 1 ac_cv_type_u_int64_t=yes d8095 4 a8098 18 fi { $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5 $as_echo "$ac_cv_type_u_int64_t" >&6; } if test $ac_cv_type_u_int64_t = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_U_INT64_T 1 _ACEOF fi { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5 $as_echo_n "checking for uint8_t... " >&6; } if test "${ac_cv_type_uint8_t+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_type_uint8_t=no cat >conftest.$ac_ext <<_ACEOF d8104 1 a8104 13 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d8109 4 a8112 2 if (sizeof (uint8_t)) return 0; d8135 2 a8136 1 cat >conftest.$ac_ext <<_ACEOF d8142 1 a8142 13 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d8147 4 a8150 2 if (sizeof ((uint8_t))) return 0; d8173 1 a8173 1 : d8178 1 a8178 1 ac_cv_type_uint8_t=yes d8190 6 a8195 18 fi { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5 $as_echo "$ac_cv_type_uint8_t" >&6; } if test $ac_cv_type_uint8_t = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_UINT8_T 1 _ACEOF fi { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5 $as_echo_n "checking for uint16_t... " >&6; } if test "${ac_cv_type_uint16_t+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_type_uint16_t=no cat >conftest.$ac_ext <<_ACEOF d8201 15 a8215 13 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d8220 1 a8220 2 if (sizeof (uint16_t)) return 0; d8243 20 d8269 1 a8269 14 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d8273 10 a8282 2 if (sizeof ((uint16_t))) return 0; d8287 2 a8288 2 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" d8295 11 a8305 1 (eval "$ac_compile") 2>conftest.er1 a8306 3 grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 d8308 2 a8309 5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : d8311 2 a8312 1 $as_echo "$as_me: failed program was:" >&5 d8315 5 a8319 1 ac_cv_type_uint16_t=yes a8321 5 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d8323 1 d8325 6 a8330 9 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5 $as_echo "$ac_cv_type_uint16_t" >&6; } if test $ac_cv_type_uint16_t = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_UINT16_T 1 d8332 12 d8345 7 a8351 5 fi { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5 $as_echo_n "checking for uint32_t... " >&6; } if test "${ac_cv_type_uint32_t+set}" = set; then d8354 2 a8355 1 ac_cv_type_uint32_t=no d8362 1 a8362 14 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d8366 3 a8368 2 if (sizeof (uint32_t)) return 0; d8391 3 a8393 1 cat >conftest.$ac_ext <<_ACEOF d8399 1 a8399 14 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d8403 3 a8405 2 if (sizeof ((uint32_t))) return 0; d8428 1 a8428 1 : d8433 6 a8438 1 ac_cv_type_uint32_t=yes d8442 1 d8447 1 a8447 22 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5 $as_echo "$ac_cv_type_uint32_t" >&6; } if test $ac_cv_type_uint32_t = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_UINT32_T 1 _ACEOF fi { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5 $as_echo_n "checking for uint64_t... " >&6; } if test "${ac_cv_type_uint64_t+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_type_uint64_t=no cat >conftest.$ac_ext <<_ACEOF d8453 1 a8453 14 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d8457 3 a8459 2 if (sizeof (uint64_t)) return 0; d8482 3 a8484 1 cat >conftest.$ac_ext <<_ACEOF d8490 1 a8490 14 #if STDC_HEADERS #include #include #endif #if HAVE_INTTYPES_H #include #endif #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_BITYPES_H #include #endif d8494 3 a8496 2 if (sizeof ((uint64_t))) return 0; d8519 1 a8519 1 : d8524 6 a8529 1 ac_cv_type_uint64_t=yes d8533 1 d8538 1 a8538 1 a8542 3 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 $as_echo "$ac_cv_type_uint64_t" >&6; } if test $ac_cv_type_uint64_t = yes; then d8544 5 a8548 14 cat >>confdefs.h <<_ACEOF #define HAVE_UINT64_T 1 _ACEOF fi { $as_echo "$as_me:$LINENO: checking for fsid_t" >&5 $as_echo_n "checking for fsid_t... " >&6; } if test "${ac_cv_type_fsid_t+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_type_fsid_t=no cat >conftest.$ac_ext <<_ACEOF d8554 1 a8554 13 #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_PARAM_H #include #endif #if HAVE_SYS_MOUNT_H #include #endif #if HAVE_SYS_VFS_H #include #endif d8558 3 a8560 2 if (sizeof (fsid_t)) return 0; d8583 23 d8612 5 a8616 13 #if HAVE_SYS_TYPES_H #include #endif #if HAVE_SYS_PARAM_H #include #endif #if HAVE_SYS_MOUNT_H #include #endif #if HAVE_SYS_VFS_H #include #endif d8620 22 a8641 2 if (sizeof ((fsid_t))) return 0; d8646 2 a8647 2 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" d8654 11 a8664 1 (eval "$ac_compile") 2>conftest.er1 a8665 3 grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 d8667 2 a8668 5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : d8670 2 a8671 1 $as_echo "$as_me: failed program was:" >&5 d8674 15 a8688 1 ac_cv_type_fsid_t=yes d8690 2 a8692 7 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi a8693 5 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_type_fsid_t" >&5 $as_echo "$ac_cv_type_fsid_t" >&6; } if test $ac_cv_type_fsid_t = yes; then d8696 1 a8696 1 #define HAVE_FSID_T 1 a8699 1 fi d8701 1 d8703 7 a8709 3 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } if test "${ac_cv_c_bigendian+set}" = set; then d8711 5 d8717 4 a8720 3 ac_cv_c_bigendian=unknown # See if __BIG_ENDIAN__ or __LITTLE_ENDIAN__ is defined. cat >conftest.$ac_ext <<_ACEOF d8726 2 a8727 5 #if ! (defined __BIG_ENDIAN__ || defined __LITTLE_ENDIAN__) neither is defined; #endif typedef int dummy; d8747 1 a8747 1 ac_cv_c_bigendian=universal d8752 1 a8752 1 d8756 7 a8762 3 if test $ac_cv_c_bigendian = unknown; then # See if sys/param.h defines the BYTE_ORDER macro. cat >conftest.$ac_ext <<_ACEOF d8768 1 a8768 15 #include #include int main () { #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ && LITTLE_ENDIAN) bogus endian macros #endif ; return 0; } d8770 1 a8770 2 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" d8777 1 a8777 1 (eval "$ac_compile") 2>conftest.er1 d8783 2 a8784 2 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || d8786 75 a8860 3 } && test -s conftest.$ac_objext; then # It does; now see whether it defined to BIG_ENDIAN or not. cat >conftest.$ac_ext <<_ACEOF d8866 5 a8870 2 #include #include d8875 1 a8875 4 #if BYTE_ORDER != BIG_ENDIAN not big endian #endif d8880 2 a8881 2 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" d8888 11 a8898 1 (eval "$ac_compile") 2>conftest.er1 a8899 3 grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 d8901 2 a8902 5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_c_bigendian=yes d8904 2 a8905 1 $as_echo "$as_me: failed program was:" >&5 d8908 8 a8915 1 ac_cv_c_bigendian=no d8917 7 a8924 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d8926 10 a8935 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d8937 3 d8943 8 a8950 5 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). cat >conftest.$ac_ext <<_ACEOF d8956 1 a8956 2 #include d8960 3 a8962 3 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) bogus endian macros #endif d8986 38 a9023 2 # It does; now see whether it defined to _BIG_ENDIAN or not. cat >conftest.$ac_ext <<_ACEOF d9029 30 a9058 1 #include d9063 1 a9063 4 #ifndef _BIG_ENDIAN not big endian #endif d9068 2 a9069 2 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" d9076 1 a9076 1 (eval "$ac_compile") 2>conftest.er1 d9085 5 a9089 2 } && test -s conftest.$ac_objext; then ac_cv_c_bigendian=yes d9094 1 a9094 1 ac_cv_c_bigendian=no d9097 13 a9109 4 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d9111 2 d9114 5 a9118 1 fi d9120 3 a9122 7 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # Compile a test program. if test "$cross_compiling" = yes; then # Try to guess by grepping values from an object file. cat >conftest.$ac_ext <<_ACEOF d9128 1 a9128 16 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; int use_ascii (int i) { return ascii_mm[i] + ascii_ii[i]; } short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; int use_ebcdic (int i) { return ebcdic_mm[i] + ebcdic_ii[i]; } extern int foo; d9132 6 a9137 1 return use_ascii (foo) == use_ebcdic (foo); d9160 1 a9160 11 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ac_cv_c_bigendian=yes fi if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then if test "$ac_cv_c_bigendian" = unknown; then ac_cv_c_bigendian=no else # finding both strings is unlikely to happen, but who knows? ac_cv_c_bigendian=unknown fi fi d9169 9 d9186 1 d9190 3 a9192 10 /* Are we little or big endian? From Harbison&Steele. */ union { long int l; char c[sizeof (long int)]; } u; u.l = 1; return u.c[sizeof (long int) - 1] == 1; d9219 1 a9219 1 ac_cv_c_bigendian=no a9224 2 ( exit $ac_status ) ac_cv_c_bigendian=yes d9232 1 d9234 6 a9239 6 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 $as_echo "$ac_cv_c_bigendian" >&6; } case $ac_cv_c_bigendian in #( yes) cat >>confdefs.h <<\_ACEOF #define WORDS_BIGENDIAN 1 a9240 12 ;; #( no) ;; #( universal) ;; #( *) { { $as_echo "$as_me:$LINENO: error: unknown endianness presetting ac_cv_c_bigendian=no (or yes) will help" >&5 $as_echo "$as_me: error: unknown endianness presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} { (exit 1); exit 1; }; } ;; esac d9242 5 a9246 7 # The cast to long int works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. { $as_echo "$as_me:$LINENO: checking size of off_t" >&5 $as_echo_n "checking size of off_t... " >&6; } if test "${ac_cv_sizeof_off_t+set}" = set; then d9249 1 a9249 2 if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. d9260 2 a9261 3 static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) >= 0)]; test_array [0] = 0 d9284 1 a9284 3 ac_lo=0 ac_mid=0 while :; do cat >conftest.$ac_ext <<_ACEOF d9294 2 a9295 3 static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) <= $ac_mid)]; test_array [0] = 0 d9318 1 a9318 1 ac_hi=$ac_mid; break d9323 1 a9323 6 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` a9326 1 done d9331 36 a9366 1 cat >conftest.$ac_ext <<_ACEOF d9373 1 a9373 9 int main () { static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) < 0)]; test_array [0] = 0 ; return 0; } d9393 16 a9408 3 ac_hi=-1 ac_mid=-1 while :; do cat >conftest.$ac_ext <<_ACEOF d9414 1 a9414 10 $ac_includes_default int main () { static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) >= $ac_mid)]; test_array [0] = 0 ; return 0; } d9416 1 a9416 2 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" d9423 1 a9423 1 (eval "$ac_compile") 2>conftest.er1 d9429 2 a9430 2 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || d9432 2 a9433 2 } && test -s conftest.$ac_objext; then ac_lo=$ac_mid; break d9438 1 a9438 6 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` d9441 38 a9478 2 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done d9480 6 a9485 2 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a9486 1 ac_lo= ac_hi= d9488 5 a9493 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d9496 12 a9507 4 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext # Binary search between lo and hi bounds. while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` d9514 31 a9544 1 $ac_includes_default d9548 1 a9548 3 static int test_array [1 - 2 * !(((long int) (sizeof (off_t))) <= $ac_mid)]; test_array [0] = 0 d9553 2 a9554 2 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" d9561 1 a9561 1 (eval "$ac_compile") 2>conftest.er1 d9570 5 a9574 2 } && test -s conftest.$ac_objext; then ac_hi=$ac_mid d9579 6 a9584 1 ac_lo=`expr '(' $ac_mid ')' + 1` d9586 9 d9596 1 a9596 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d9598 9 a9606 12 case $ac_lo in ?*) ac_cv_sizeof_off_t=$ac_lo;; '') if test "$ac_cv_type_off_t" = yes; then { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (off_t) See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot compute sizeof (off_t) See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; } else ac_cv_sizeof_off_t=0 fi ;; esac a9614 4 static long int longval () { return (long int) (sizeof (off_t)); } static unsigned long int ulongval () { return (long int) (sizeof (off_t)); } #include #include d9619 2 a9620 20 FILE *f = fopen ("conftest.val", "w"); if (! f) return 1; if (((long int) (sizeof (off_t))) < 0) { long int i = longval (); if (i != ((long int) (sizeof (off_t)))) return 1; fprintf (f, "%ld", i); } else { unsigned long int i = ulongval (); if (i != ((long int) (sizeof (off_t)))) return 1; fprintf (f, "%lu", i); } /* Do not output a trailing newline, as this causes \r\n confusion on some platforms. */ return ferror (f) || fclose (f) != 0; d9648 1 a9648 1 ac_cv_sizeof_off_t=`cat conftest.val` d9655 1 a9655 9 if test "$ac_cv_type_off_t" = yes; then { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (off_t) See \`config.log' for more details." >&5 $as_echo "$as_me: error: cannot compute sizeof (off_t) See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; } else ac_cv_sizeof_off_t=0 fi a9659 4 rm -f conftest.val fi { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5 $as_echo "$ac_cv_sizeof_off_t" >&6; } d9662 3 d9666 21 a9686 15 cat >>confdefs.h <<_ACEOF #define SIZEOF_OFF_T $ac_cv_sizeof_off_t _ACEOF # Checks for library functions. for ac_header in stdlib.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then a9687 5 fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } d9689 4 a9692 4 # Is the header compilable? { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 $as_echo_n "checking $ac_header usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF d9698 1 d9700 31 a9730 24 #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d9732 5 a9736 2 ac_header_compiler=no fi d9738 1 a9738 3 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } d9740 1 a9740 32 # Is the header present? { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 $as_echo_n "checking $ac_header presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d9742 18 a9759 2 ac_header_preproc=no fi d9761 8 a9768 3 rm -f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } d9770 5 a9774 41 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------- ## ## Report this to grant@@NetBSD.org ## ## ------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } d9776 2 a9777 6 fi if test `eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` = yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF d9779 2 a9780 1 fi d9782 4 a9785 28 done { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 $as_echo_n "checking for GNU libc compatible malloc... " >&6; } if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then ac_cv_func_malloc_0_nonnull=no else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #if defined STDC_HEADERS || defined HAVE_STDLIB_H # include #else char *malloc (); #endif int main () { return ! malloc (0); ; return 0; d9810 1 a9810 1 ac_cv_func_malloc_0_nonnull=yes d9817 1 a9817 1 ac_cv_func_malloc_0_nonnull=no d9825 11 a9835 3 { $as_echo "$as_me:$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 d9838 1 a9838 1 #define HAVE_MALLOC 1 d9842 3 a9844 2 cat >>confdefs.h <<\_ACEOF #define HAVE_MALLOC 0 d9847 2 a9848 6 case " $LIBOBJS " in *" malloc.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; esac d9851 1 a9851 1 #define malloc rpl_malloc d9857 7 a9863 5 { $as_echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5 $as_echo_n "checking whether strerror_r is declared... " >&6; } if test "${ac_cv_have_decl_strerror_r+set}" = set; then $as_echo_n "(cached) " >&6 d9871 31 a9901 1 $ac_includes_default d9905 1 a9905 4 #ifndef strerror_r (void) strerror_r; #endif d9910 2 a9911 2 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" d9918 1 a9918 1 (eval "$ac_compile") 2>conftest.er1 d9927 5 a9931 2 } && test -s conftest.$ac_objext; then ac_cv_have_decl_strerror_r=yes d9936 1 a9936 1 ac_cv_have_decl_strerror_r=no d9939 3 a9941 1 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d9943 6 a9948 10 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5 $as_echo "$ac_cv_have_decl_strerror_r" >&6; } if test $ac_cv_have_decl_strerror_r = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_DECL_STRERROR_R 1 _ACEOF else d9950 1 a9950 1 #define HAVE_DECL_STRERROR_R 0 d9953 3 a9955 11 fi for ac_func in strerror_r do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then d9964 1 a9964 1 /* Define $ac_func to an innocuous variant, in case declares $ac_func. d9966 1 a9966 1 #define $ac_func innocuous_$ac_func d9969 1 a9969 1 which can conflict with char $ac_func (); below. d9979 1 a9979 1 #undef $ac_func d9987 1 a9987 1 char $ac_func (); d9991 1 a9991 1 #if defined __stub_$ac_func || defined __stub___$ac_func d9998 1 a9998 1 return $ac_func (); d10024 1 a10024 1 eval "$as_ac_var=yes" d10029 1 a10029 1 eval "$as_ac_var=no" d10036 6 a10041 8 ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if test `eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` = yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 d10045 2 d10049 5 a10053 3 { $as_echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5 $as_echo_n "checking whether strerror_r returns char *... " >&6; } if test "${ac_cv_func_strerror_r_char_p+set}" = set; then d10056 1 a10056 4 ac_cv_func_strerror_r_char_p=no if test $ac_cv_have_decl_strerror_r = yes; then cat >conftest.$ac_ext <<_ACEOF d10062 2 a10063 1 $ac_includes_default d10067 3 a10069 5 char buf[100]; char x = *strerror_r (0, buf, sizeof buf); char *p = strerror_r (0, buf, sizeof buf); return !p || x; d10093 1 a10093 1 ac_cv_func_strerror_r_char_p=yes d10098 1 a10098 1 a10101 59 else # strerror_r is not declared. Choose between # systems that have relatively inaccessible declarations for the # function. BeOS and DEC UNIX 4.0 fall in this category, but the # former has a strerror_r that returns char*, while the latter # has a strerror_r that returns `int'. # This test should segfault on the DEC system. if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default extern char *strerror_r (); int main () { char buf[100]; char x = *strerror_r (0, buf, sizeof buf); return ! isalpha (x); ; return 0; } _ACEOF rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_strerror_r_char_p=yes else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d10103 3 d10107 3 a10110 1 fi d10112 4 a10115 4 fi { $as_echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; } if test $ac_cv_func_strerror_r_char_p = yes; then a10116 3 cat >>confdefs.h <<\_ACEOF #define STRERROR_R_CHAR_P 1 _ACEOF d10119 3 a10121 4 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5 $as_echo_n "checking for pid_t... " >&6; } if test "${ac_cv_type_pid_t+set}" = set; then d10124 1 a10124 2 ac_cv_type_pid_t=no cat >conftest.$ac_ext <<_ACEOF d10130 2 a10131 1 $ac_includes_default d10135 4 a10138 2 if (sizeof (pid_t)) return 0; d10161 16 a10176 2 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ d10178 5 a10182 12 cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if (sizeof ((pid_t))) return 0; ; return 0; } a10183 22 rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 d10185 1 a10185 1 ac_cv_type_pid_t=yes a10187 4 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a10189 1 fi a10190 7 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 $as_echo "$ac_cv_type_pid_t" >&6; } if test $ac_cv_type_pid_t = yes; then : else a10191 3 cat >>confdefs.h <<_ACEOF #define pid_t int _ACEOF a10192 1 fi a10194 48 for ac_header in vfork.h do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 $as_echo_n "checking $ac_header usability... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a10195 2 ac_header_compiler=no fi a10196 3 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } a10197 32 # Is the header present? { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 $as_echo_n "checking $ac_header presence... " >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a10198 2 ac_header_preproc=no fi a10199 3 rm -f conftest.err conftest.$ac_ext { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } a10200 41 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------- ## ## Report this to grant@@NetBSD.org ## ## ------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 $as_echo_n "checking for $ac_header... " >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } a10201 6 fi if test `eval 'as_val=${'$as_ac_Header'} $as_echo "$as_val"'` = yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF a10202 1 fi a10203 1 done d10207 19 a10225 1 for ac_func in fork vfork d10321 7 d10331 6 a10336 4 if test "x$ac_cv_func_fork" = xyes; then { $as_echo "$as_me:$LINENO: checking for working fork" >&5 $as_echo_n "checking for working fork... " >&6; } if test "${ac_cv_func_fork_works+set}" = set; then d10339 2 a10340 4 if test "$cross_compiling" = yes; then ac_cv_func_fork_works=cross else cat >conftest.$ac_ext <<_ACEOF d10346 2 a10347 1 $ac_includes_default d10351 2 a10352 4 /* By Ruediger Kuhlmann. */ return fork () < 0; d10357 2 a10358 2 rm -f conftest$ac_exeext if { (ac_try="$ac_link" d10365 1 a10365 1 (eval "$ac_link") 2>&5 d10367 3 d10371 24 a10394 2 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in d10400 1 a10400 1 (eval "$ac_try") 2>&5 d10402 3 d10406 5 a10410 2 (exit $ac_status); }; }; then ac_cv_func_fork_works=yes d10412 1 a10412 2 $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 d10415 1 a10415 5 ( exit $ac_status ) ac_cv_func_fork_works=no fi rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d10417 5 a10424 2 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 $as_echo "$ac_cv_func_fork_works" >&6; } d10426 1 a10426 2 else ac_cv_func_fork_works=$ac_cv_func_fork d10428 9 a10436 12 if test "x$ac_cv_func_fork_works" = xcross; then case $host in *-*-amigaos* | *-*-msdosdjgpp*) # Override, as these systems have only a dummy fork() stub ac_cv_func_fork_works=no ;; *) ac_cv_func_fork_works=yes ;; esac { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} d10438 4 a10441 5 ac_cv_func_vfork_works=$ac_cv_func_vfork if test "x$ac_cv_func_vfork" = xyes; then { $as_echo "$as_me:$LINENO: checking for working vfork" >&5 $as_echo_n "checking for working vfork... " >&6; } if test "${ac_cv_func_vfork_works+set}" = set; then d10444 2 a10445 4 if test "$cross_compiling" = yes; then ac_cv_func_vfork_works=cross else cat >conftest.$ac_ext <<_ACEOF d10451 1 a10451 33 /* Thanks to Paul Eggert for this test. */ $ac_includes_default #include #ifdef HAVE_VFORK_H # include #endif /* On some sparc systems, changes by the child to local and incoming argument registers are propagated back to the parent. The compiler is told about this with #include , but some compilers (e.g. gcc -O) don't grok . Test for this by using a static variable whose address is put into a register that is clobbered by the vfork. */ static void #ifdef __cplusplus sparc_address_test (int arg) # else sparc_address_test (arg) int arg; #endif { static pid_t child; if (!child) { child = vfork (); if (child < 0) { perror ("vfork"); _exit(2); } if (!child) { arg = getpid(); write(-1, "", 0); _exit (arg); } } } d10456 4 a10459 51 pid_t parent = getpid (); pid_t child; sparc_address_test (0); child = vfork (); if (child == 0) { /* Here is another test for sparc vfork register problems. This test uses lots of local variables, at least as many local variables as main has allocated so far including compiler temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should reuse the register of parent for one of the local variables, since it will think that parent can't possibly be used any more in this routine. Assigning to the local variable will thus munge parent in the parent process. */ pid_t p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); /* Convince the compiler that p..p7 are live; otherwise, it might use the same hardware register for all 8 local variables. */ if (p != p1 || p != p2 || p != p3 || p != p4 || p != p5 || p != p6 || p != p7) _exit(1); /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent from child file descriptors. If the child closes a descriptor before it execs or exits, this munges the parent's descriptor as well. Test for this by closing stdout in the child. */ _exit(close(fileno(stdout)) != 0); } else { int status; struct stat st; while (wait(&status) != child) ; return ( /* Was there some problem with vforking? */ child < 0 /* Did the child fail? (This shouldn't happen.) */ || status /* Did the vfork/compiler bug occur? */ || parent != getpid() /* Did the file descriptor bug occur? */ || fstat(fileno(stdout), &st) != 0 ); } d10462 2 a10463 2 rm -f conftest$ac_exeext if { (ac_try="$ac_link" d10470 1 a10470 1 (eval "$ac_link") 2>&5 d10472 3 d10476 24 a10499 2 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in d10505 1 a10505 1 (eval "$ac_try") 2>&5 d10507 3 d10511 5 a10515 2 (exit $ac_status); }; }; then ac_cv_func_vfork_works=yes d10517 1 a10517 2 $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 d10520 1 a10520 5 ( exit $ac_status ) ac_cv_func_vfork_works=no fi rm -rf conftest.dSYM rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d10522 5 a10529 2 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 $as_echo "$ac_cv_func_vfork_works" >&6; } d10531 1 a10531 5 fi; if test "x$ac_cv_func_fork_works" = xcross; then ac_cv_func_vfork_works=$ac_cv_func_vfork { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} d10533 3 d10537 2 a10538 4 if test "x$ac_cv_func_vfork_works" = xyes; then cat >>confdefs.h <<\_ACEOF #define HAVE_WORKING_VFORK 1 a10540 5 else cat >>confdefs.h <<\_ACEOF #define vfork fork _ACEOF a10542 1 if test "x$ac_cv_func_fork_works" = xyes; then d10544 8 a10551 2 cat >>confdefs.h <<\_ACEOF #define HAVE_WORKING_FORK 1 d10553 4 d10558 27 a10584 11 fi for ac_func in vprintf do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else d10591 50 a10640 3 /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func d10642 3 a10644 4 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ a10645 5 #ifdef __STDC__ # include #else # include #endif d10647 1 a10647 1 #undef $ac_func d10649 13 a10661 13 /* 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 $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif d10666 2 a10667 1 return $ac_func (); d10672 2 a10673 2 rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" d10680 1 a10680 1 (eval "$ac_link") 2>conftest.er1 d10689 1 a10689 31 } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then eval "$as_ac_var=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if test `eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` = yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5 $as_echo_n "checking for _doprnt... " >&6; } if test "${ac_cv_func__doprnt+set}" = set; then $as_echo_n "(cached) " >&6 else d10696 1 a10696 30 /* Define _doprnt to an innocuous variant, in case declares _doprnt. For example, HP-UX 11i declares gettimeofday. */ #define _doprnt innocuous__doprnt /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _doprnt (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef _doprnt /* 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 _doprnt (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub__doprnt || defined __stub____doprnt choke me #endif d10701 2 a10702 1 return _doprnt (); d10707 2 a10708 2 rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" d10715 1 a10715 1 (eval "$ac_link") 2>conftest.er1 d10724 2 a10725 5 } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then ac_cv_func__doprnt=yes d10730 1 a10730 1 ac_cv_func__doprnt=no d10733 4 a10736 7 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 $as_echo "$ac_cv_func__doprnt" >&6; } if test $ac_cv_func__doprnt = yes; then a10737 3 cat >>confdefs.h <<\_ACEOF #define HAVE_DOPRNT 1 _ACEOF d10741 1 d10743 7 a10749 1 done d10752 1 d10754 3 a10756 3 { $as_echo "$as_me:$LINENO: checking whether snprintf is declared" >&5 $as_echo_n "checking whether snprintf is declared... " >&6; } if test "${ac_cv_have_decl_snprintf+set}" = set; then d10759 2 a10760 1 cat >conftest.$ac_ext <<_ACEOF d10766 1 a10766 1 #include d10771 2 a10772 4 #ifndef snprintf (void) snprintf; #endif a10794 31 ac_cv_have_decl_snprintf=yes else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_have_decl_snprintf=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5 $as_echo "$ac_cv_have_decl_snprintf" >&6; } if test $ac_cv_have_decl_snprintf = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_DECL_SNPRINTF 1 _ACEOF else cat >>confdefs.h <<_ACEOF #define HAVE_DECL_SNPRINTF 0 _ACEOF fi { $as_echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5 $as_echo_n "checking whether vasprintf is declared... " >&6; } if test "${ac_cv_have_decl_vasprintf+set}" = set; then $as_echo_n "(cached) " >&6 else d10801 1 a10801 1 #include d10806 2 a10807 4 #ifndef vasprintf (void) vasprintf; #endif d10830 1 a10830 1 ac_cv_have_decl_vasprintf=yes d10835 1 a10835 1 ac_cv_have_decl_vasprintf=no a10838 10 fi { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5 $as_echo "$ac_cv_have_decl_vasprintf" >&6; } if test $ac_cv_have_decl_vasprintf = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_DECL_VASPRINTF 1 _ACEOF d10840 2 a10841 3 cat >>confdefs.h <<_ACEOF #define HAVE_DECL_VASPRINTF 0 _ACEOF d10846 5 d10852 3 d10857 1 d10862 1 a10862 30 for ac_func in asprintf err fgetln fnmatch fparseln getenv isblank \ lchflags lchmod lchown lutimes mkdtemp mkstemp setenv setgroupent \ setpassent setprogname snprintf statvfs strdup strerror strlcat \ strlcpy strmode strsep strtoll unsetenv usleep utimes warn d10957 5 d10963 4 a10966 4 else case " $LIBOBJS " in *" $ac_func.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" a10970 3 done d10972 1 d11073 3 d11077 1 a11083 2 break a11084 2 done d11086 1 d11186 3 d11190 1 a11196 2 break a11197 2 done d11304 2 @ 1.63 log @libnbcompat-20080908: - declare endpwent and endgrent if system headers are missing them - check for existance of statfs.f_flags before using it - drop a bunch of redundant function checks Based on the work of Timothy Larson. @ text @d11678 3 a11680 1 d11685 1 a11685 99 for ac_func in getmode setmode do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* 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 $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" $as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then eval "$as_ac_var=yes" else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if test `eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` = yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF : else a11691 2 break a11692 2 done d11831 1 d11937 4 d11942 1 a11948 2 break a11949 2 done @ 1.62 log @libnbcompat-20080519: Many of the hash function headers are incompatible with the OpenSSL headers, so don't include them by default and require the caller to include them on demand. @ text @d11794 18 d11813 26 d11840 2 d11843 5 d11849 3 d11854 5 a11858 2 for ac_func in gid_from_group group_from_gid pwcache_groupdb \ pwcache_userdb uid_from_user user_from_uid \ d11860 4 a11863 5 do as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 $as_echo_n "checking for $ac_func... " >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then d11872 1 a11872 31 /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* 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 $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif d11876 4 a11879 1 return $ac_func (); d11884 2 a11885 2 rm -f conftest.$ac_objext conftest$ac_exeext if { (ac_try="$ac_link" d11892 1 a11892 1 (eval "$ac_link") 2>conftest.er1 d11901 2 a11902 5 } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then eval "$as_ac_var=yes" d11907 1 a11907 1 eval "$as_ac_var=no" d11910 1 a11910 3 rm -rf conftest.dSYM rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext d11912 10 a11921 6 ac_res=`eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if test `eval 'as_val=${'$as_ac_var'} $as_echo "$as_val"'` = yes; then d11923 1 a11923 1 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 d11926 1 d11928 2 a11929 1 done d12994 108 @ 1.61 log @libnbcompat-20080422: Check if stdio.h declares vasprintf and snprintf and provide a prototype otherwise. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.62 for libnbcompat 20070622. d599 2 a600 2 PACKAGE_VERSION='20070622' PACKAGE_STRING='libnbcompat 20070622' d1274 1 a1274 1 \`configure' configures libnbcompat 20070622 to adapt to many kinds of systems. d1344 1 a1344 1 short | recursive ) echo "Configuration of libnbcompat 20070622:";; d1430 1 a1430 1 libnbcompat configure 20070622 d1444 1 a1444 1 It was created by libnbcompat $as_me 20070622, which was d14294 1 a14294 1 This file was extended by libnbcompat $as_me 20070622, which was d14343 1 a14343 1 libnbcompat config.status 20070622 @ 1.60 log @Add an implement of timegm(3) from nsd (based on Python code). @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.61 for libnbcompat 20070622. d8 1 a8 1 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. d20 1 a20 1 # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which d42 32 d76 5 a80 9 echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh a95 2 as_nl=' ' d118 1 a118 1 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 d131 4 a134 11 for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var fi done d156 1 a156 1 echo X/"$0" | d182 1 a182 1 if test $as_have_required = yes && (eval ": d264 1 a264 1 # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which d285 1 a285 1 # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which d365 4 a368 4 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done export CONFIG_SHELL exec "$CONFIG_SHELL" "$as_myself" ${1+"$@@"} d437 4 a440 3 echo Please tell autoconf@@gnu.org about your system, echo including any error possibly output before this echo message d476 1 a476 1 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 a503 1 d516 1 a516 1 mkdir conf$$.dir d518 12 a529 8 echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 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. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || d531 1 a531 2 elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln d556 1 a556 1 test -d "$1/."; d559 1 a559 1 -*)set "./$1";; d709 4 d727 2 d827 1 a827 1 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` d829 2 a830 2 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 d832 10 a841 2 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` eval enable_$ac_feature=no ;; d854 1 a854 1 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` d856 2 a857 2 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 d859 10 a868 2 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` eval enable_$ac_feature=\$ac_optarg ;; d1059 1 a1059 1 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` d1061 2 a1062 2 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 d1064 10 a1073 2 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` eval with_$ac_package=\$ac_optarg ;; d1076 1 a1076 1 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` d1078 2 a1079 2 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 d1081 10 a1090 2 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` eval with_$ac_package=no ;; d1110 1 a1110 1 -*) { echo "$as_me: error: unrecognized option: $ac_option d1119 1 a1119 1 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 d1126 1 a1126 1 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 d1128 1 a1128 1 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 d1137 1 a1137 1 { echo "$as_me: error: missing argument to $ac_option" >&2 d1141 10 a1150 1 # Be sure to have absolute directory names. d1157 7 d1168 1 a1168 1 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 d1183 1 a1183 1 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. d1199 1 a1199 1 { echo "$as_me: error: Working directory cannot be determined" >&2 d1202 1 a1202 1 { echo "$as_me: error: pwd does not report name of working directory" >&2 d1210 6 a1215 6 ac_confdir=`$as_dirname -- "$0" || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X"$0" | d1242 1 a1242 1 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 d1247 1 a1247 1 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 d1296 1 a1296 1 [$ac_default_prefix] d1298 1 a1298 1 [PREFIX] d1308 19 a1326 19 --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/libnbcompat] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] d1349 1 d1375 3 a1377 1 test -d "$ac_dir" || continue d1383 1 a1383 1 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` d1385 1 a1385 1 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` d1421 1 a1421 1 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 d1431 1 a1431 1 generated by GNU Autoconf 2.61 d1434 1 a1434 1 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. d1445 1 a1445 1 generated by GNU Autoconf 2.61. Invocation command line was d1481 1 a1481 1 echo "PATH: $as_dir" d1516 1 a1516 1 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; d1568 2 a1569 2 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; d1573 1 d1603 1 a1603 1 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; d1605 1 a1605 1 echo "$ac_var='\''$ac_val'\''" d1620 1 a1620 1 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; d1622 1 a1622 1 echo "$ac_var='\''$ac_val'\''" d1638 2 a1639 2 echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" d1681 3 a1683 1 # Prefer explicitly selected file to automatically selected ones. d1685 1 a1685 1 set x "$CONFIG_SITE" d1687 2 a1688 1 set x "$prefix/share/config.site" "$prefix/etc/config.site" d1690 2 a1691 2 set x "$ac_default_prefix/share/config.site" \ "$ac_default_prefix/etc/config.site" d1693 1 a1693 2 shift for ac_site_file d1695 1 d1697 2 a1698 2 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} d1708 2 a1709 2 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} d1716 2 a1717 2 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 echo "$as_me: creating cache $cache_file" >&6;} d1731 2 a1732 2 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} d1735 2 a1736 2 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} d1741 16 a1756 7 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: d1762 1 a1762 1 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; d1772 4 a1775 4 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} d1817 1 a1817 1 # Double any \ or $. echo might interpret backslashes. d1819 2 a1820 5 cat <<\_ACEOF >conftest.sed s/[\\$]/&&/g;s/;s,x,x,$// _ACEOF program_transform_name=`echo $program_transform_name | sed -f conftest.sed` rm -f conftest.sed d1840 2 a1841 2 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} d1856 2 a1857 2 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} d1860 2 a1861 2 { echo "$as_me:$LINENO: checking build system type" >&5 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } d1863 1 a1863 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d1869 2 a1870 2 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} d1873 2 a1874 2 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} d1878 2 a1879 2 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 echo "${ECHO_T}$ac_cv_build" >&6; } d1882 2 a1883 2 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 echo "$as_me: error: invalid value of canonical build" >&2;} d1900 2 a1901 2 { echo "$as_me:$LINENO: checking host system type" >&5 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } d1903 1 a1903 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d1909 2 a1910 2 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} d1915 2 a1916 2 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 echo "${ECHO_T}$ac_cv_host" >&6; } d1919 2 a1920 2 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 echo "$as_me: error: invalid value of canonical host" >&2;} d1942 4 a1945 3 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` d1947 1 a1947 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d1964 2 a1965 2 { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } d1968 2 a1969 2 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } d1981 2 a1982 2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } d1984 1 a1984 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d1997 1 a1997 1 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 d2008 2 a2009 2 { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } d2011 2 a2012 2 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } d2021 2 a2022 2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } d2024 1 a2024 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d2037 1 a2037 1 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 d2048 2 a2049 2 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6; } d2051 2 a2052 2 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } d2060 1 a2060 1 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools d2063 1 a2063 1 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools d2078 2 a2079 2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } d2081 1 a2081 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d2094 1 a2094 1 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 d2105 2 a2106 2 { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } d2108 2 a2109 2 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } d2118 2 a2119 2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } d2121 1 a2121 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d2139 1 a2139 1 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 d2162 2 a2163 2 { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } d2165 2 a2166 2 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } d2177 2 a2178 2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } d2180 1 a2180 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d2193 1 a2193 1 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 d2204 2 a2205 2 { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } d2207 2 a2208 2 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } d2221 2 a2222 2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } d2224 1 a2224 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d2237 1 a2237 1 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 d2248 2 a2249 2 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6; } d2251 2 a2252 2 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } d2264 1 a2264 1 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools d2267 1 a2267 1 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools d2279 1 a2279 1 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH d2281 1 a2281 1 echo "$as_me: error: no acceptable C compiler found in \$PATH d2286 3 a2288 2 echo "$as_me:$LINENO: checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` d2294 2 a2295 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d2298 1 a2298 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d2305 2 a2306 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d2309 1 a2309 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d2316 2 a2317 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d2320 1 a2320 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d2339 1 a2339 1 ac_clean_files="$ac_clean_files a.out a.exe b.out" d2343 7 a2349 12 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # # List of possible output files, starting from the most likely. # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) # only as a last resort. b.out is created by i960 compilers. ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' # # The IRIX 6 linker writes into existing files which may not be # executable, retaining their permissions. Remove them first so a # subsequent execution test works. d2354 1 a2354 1 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; d2365 2 a2366 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d2369 1 a2369 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d2380 1 a2380 1 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) d2407 2 a2408 2 { echo "$as_me:$LINENO: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6; } d2410 1 a2410 1 echo "$as_me: failed program was:" >&5 d2413 1 a2413 1 { { echo "$as_me:$LINENO: error: C compiler cannot create executables d2415 1 a2415 1 echo "$as_me: error: C compiler cannot create executables d2424 2 a2425 2 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } d2434 2 a2435 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d2438 1 a2438 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d2445 1 a2445 1 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. d2448 1 a2448 1 echo "$as_me: error: cannot run C compiled programs. d2455 2 a2456 2 { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } d2458 1 a2458 1 rm -f a.out a.exe conftest$ac_cv_exeext b.out d2462 4 a2465 4 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } { echo "$as_me:$LINENO: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6; } d2467 2 a2468 2 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } d2474 2 a2475 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d2478 1 a2478 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d2487 1 a2487 1 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; d2494 1 a2494 1 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link d2496 1 a2496 1 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link d2502 2 a2503 2 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6; } d2508 2 a2509 2 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } d2511 1 a2511 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d2534 2 a2535 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d2538 1 a2538 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d2543 1 a2543 1 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; d2549 1 a2549 1 echo "$as_me: failed program was:" >&5 d2552 1 a2552 1 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile d2554 1 a2554 1 echo "$as_me: error: cannot compute suffix of object files: cannot compile d2561 2 a2562 2 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6; } d2565 2 a2566 2 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } d2568 1 a2568 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d2594 2 a2595 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d2601 1 a2601 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d2608 1 a2608 1 echo "$as_me: failed program was:" >&5 d2618 7 a2624 3 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } GCC=`test $ac_compiler_gnu = yes && echo yes` d2627 2 a2628 2 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } d2630 1 a2630 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d2657 2 a2658 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d2664 1 a2664 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d2671 1 a2671 1 echo "$as_me: failed program was:" >&5 d2696 2 a2697 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d2703 1 a2703 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d2710 1 a2710 1 echo "$as_me: failed program was:" >&5 d2736 2 a2737 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d2743 1 a2743 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d2750 1 a2750 1 echo "$as_me: failed program was:" >&5 d2765 2 a2766 2 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } d2782 2 a2783 2 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } d2785 1 a2785 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d2856 2 a2857 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d2863 1 a2863 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d2870 1 a2870 1 echo "$as_me: failed program was:" >&5 d2886 2 a2887 2 { echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6; } ;; d2889 2 a2890 2 { echo "$as_me:$LINENO: result: unsupported" >&5 echo "${ECHO_T}unsupported" >&6; } ;; d2893 2 a2894 2 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; d2917 3 a2919 2 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } d2922 1 a2922 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d2951 12 a2962 2 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 d2969 1 d2973 1 d2986 2 a2987 2 { echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6; } d2997 2 a2998 2 { echo "$as_me:$LINENO: checking whether ln -s works" >&5 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } d3001 2 a3002 2 { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } d3004 2 a3005 2 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 echo "${ECHO_T}no, using $LN_S" >&6; } d3011 2 a3012 2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } d3014 1 a3014 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d3027 1 a3027 1 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 d3038 2 a3039 2 { echo "$as_me:$LINENO: result: $RANLIB" >&5 echo "${ECHO_T}$RANLIB" >&6; } d3041 2 a3042 2 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } d3051 2 a3052 2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } d3054 1 a3054 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d3067 1 a3067 1 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 d3078 2 a3079 2 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } d3081 2 a3082 2 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } d3090 1 a3090 1 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools d3093 1 a3093 1 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools d3108 2 a3109 2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } d3111 1 a3111 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d3124 1 a3124 1 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 d3135 2 a3136 2 { echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6; } d3138 2 a3139 2 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } d3148 2 a3149 2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } d3151 1 a3151 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d3164 1 a3164 1 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 d3175 2 a3176 2 { echo "$as_me:$LINENO: result: $AR" >&5 echo "${ECHO_T}$AR" >&6; } d3178 2 a3179 2 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } d3191 2 a3192 2 { echo "$as_me:$LINENO: checking for fparseln in -lutil" >&5 echo $ECHO_N "checking for fparseln in -lutil... $ECHO_C" >&6; } d3194 1 a3194 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d3226 2 a3227 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d3233 1 a3233 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d3237 4 a3240 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d3243 1 a3243 1 echo "$as_me: failed program was:" >&5 d3249 1 d3254 2 a3255 2 { echo "$as_me:$LINENO: result: $ac_cv_lib_util_fparseln" >&5 echo "${ECHO_T}$ac_cv_lib_util_fparseln" >&6; } d3271 2 a3272 2 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } d3279 1 a3279 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d3311 2 a3312 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d3318 1 a3318 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d3325 1 a3325 1 echo "$as_me: failed program was:" >&5 d3349 2 a3350 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d3356 1 a3356 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d3364 1 a3364 1 echo "$as_me: failed program was:" >&5 d3389 2 a3390 2 { echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6; } d3418 2 a3419 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d3425 1 a3425 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d3432 1 a3432 1 echo "$as_me: failed program was:" >&5 d3456 2 a3457 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d3463 1 a3463 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d3471 1 a3471 1 echo "$as_me: failed program was:" >&5 d3487 1 a3487 1 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check d3489 1 a3489 1 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check d3501 2 a3502 8 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } if test "${ac_cv_path_GREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Extract the first word of "grep ggrep" to use in msg output if test -z "$GREP"; then set dummy grep ggrep; ac_prog_name=$2 d3504 1 a3504 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d3506 1 d3508 2 a3509 2 # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR d3515 4 a3518 4 for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue # Check for GNU ac_path_GREP and select it if it is found. d3525 1 a3525 1 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" d3531 1 a3531 1 echo 'GREP' >> "conftest.nl" d3546 2 a3547 2 $ac_path_GREP_found && break 3 a3549 2 done d3551 3 a3553 8 fi GREP="$ac_cv_path_GREP" if test -z "$GREP"; then { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} d3555 1 a3555 2 fi a3559 1 d3561 2 a3562 2 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } d3566 2 a3567 2 { echo "$as_me:$LINENO: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } d3569 1 a3569 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d3574 1 a3574 6 # Extract the first word of "egrep" to use in msg output if test -z "$EGREP"; then set dummy egrep; ac_prog_name=$2 if test "${ac_cv_path_EGREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else d3576 2 a3577 2 # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR d3583 4 a3586 4 for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue # Check for GNU ac_path_EGREP and select it if it is found. d3593 1 a3593 1 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" d3599 1 a3599 1 echo 'EGREP' >> "conftest.nl" d3614 2 a3615 2 $ac_path_EGREP_found && break 3 a3617 2 done d3619 3 a3621 8 fi EGREP="$ac_cv_path_EGREP" if test -z "$EGREP"; then { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} d3623 1 a3623 2 fi a3627 1 d3630 2 a3631 2 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } d3635 2 a3636 2 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } d3638 1 a3638 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d3665 2 a3666 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d3672 1 a3672 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d3679 1 a3679 1 echo "$as_me: failed program was:" >&5 d3771 2 a3772 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d3775 1 a3775 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d3781 2 a3782 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d3785 1 a3785 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d3789 2 a3790 2 echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 d3796 1 d3803 2 a3804 2 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } d3813 2 a3814 2 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } d3816 1 a3816 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d3843 2 a3844 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d3850 1 a3850 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d3857 1 a3857 1 echo "$as_me: failed program was:" >&5 d3865 2 a3866 2 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 echo "${ECHO_T}$ac_cv_header_time" >&6; } d3889 3 a3891 3 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d3893 1 a3893 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d3911 2 a3912 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d3918 1 a3918 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d3925 1 a3925 1 echo "$as_me: failed program was:" >&5 d3933 6 a3938 4 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_Header'}'` = yes; then d3940 1 a3940 1 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 d3956 1 a3956 1 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` d3958 2 a3959 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d3961 1 a3961 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d3963 4 a3966 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d3969 2 a3970 2 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } d3986 2 a3987 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d3993 1 a3993 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d4000 1 a4000 1 echo "$as_me: failed program was:" >&5 d4007 2 a4008 2 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } d4011 2 a4012 2 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } d4026 2 a4027 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d4033 1 a4033 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d4040 1 a4040 1 echo "$as_me: failed program was:" >&5 d4047 2 a4048 2 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } d4053 4 a4056 4 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} d4060 12 a4071 12 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} d4080 2 a4081 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d4083 1 a4083 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d4087 4 a4090 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d4093 2 a4094 1 if test `eval echo '${'$as_ac_Header'}'` = yes; then d4096 1 a4096 1 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 d4159 1 a4159 1 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` d4161 2 a4162 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d4164 1 a4164 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d4166 4 a4169 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d4172 2 a4173 2 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } d4189 2 a4190 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d4196 1 a4196 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d4203 1 a4203 1 echo "$as_me: failed program was:" >&5 d4210 2 a4211 2 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } d4214 2 a4215 2 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } d4229 2 a4230 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d4236 1 a4236 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d4243 1 a4243 1 echo "$as_me: failed program was:" >&5 d4250 2 a4251 2 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } d4256 4 a4259 4 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} d4263 12 a4274 12 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} d4283 2 a4284 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d4286 1 a4286 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d4290 4 a4293 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d4296 2 a4297 1 if test `eval echo '${'$as_ac_Header'}'` = yes; then d4299 1 a4299 1 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 d4309 3 a4311 3 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d4313 1 a4313 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d4336 2 a4337 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d4343 1 a4343 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d4350 1 a4350 1 echo "$as_me: failed program was:" >&5 d4358 6 a4363 4 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_Header'}'` = yes; then d4365 1 a4365 1 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 d4378 1 a4378 1 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` d4380 2 a4381 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d4383 1 a4383 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d4385 4 a4388 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d4391 2 a4392 2 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } d4408 2 a4409 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d4415 1 a4415 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d4422 1 a4422 1 echo "$as_me: failed program was:" >&5 d4429 2 a4430 2 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } d4433 2 a4434 2 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } d4448 2 a4449 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d4455 1 a4455 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d4462 1 a4462 1 echo "$as_me: failed program was:" >&5 d4469 2 a4470 2 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } d4475 4 a4478 4 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} d4482 12 a4493 12 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} d4502 2 a4503 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d4505 1 a4505 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d4509 4 a4512 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d4515 2 a4516 1 if test `eval echo '${'$as_ac_Header'}'` = yes; then d4518 1 a4518 1 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 d4541 1 a4541 1 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` d4543 2 a4544 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d4546 1 a4546 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d4548 4 a4551 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d4554 2 a4555 2 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } d4571 2 a4572 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d4578 1 a4578 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d4585 1 a4585 1 echo "$as_me: failed program was:" >&5 d4592 2 a4593 2 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } d4596 2 a4597 2 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } d4611 2 a4612 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d4618 1 a4618 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d4625 1 a4625 1 echo "$as_me: failed program was:" >&5 d4632 2 a4633 2 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } d4638 4 a4641 4 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} d4645 12 a4656 12 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} d4665 2 a4666 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d4668 1 a4668 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d4672 4 a4675 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d4678 2 a4679 1 if test `eval echo '${'$as_ac_Header'}'` = yes; then d4681 1 a4681 1 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 d4698 1 a4698 1 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` d4700 2 a4701 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d4703 1 a4703 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d4705 4 a4708 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d4711 2 a4712 2 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } d4728 2 a4729 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d4735 1 a4735 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d4742 1 a4742 1 echo "$as_me: failed program was:" >&5 d4749 2 a4750 2 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } d4753 2 a4754 2 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } d4768 2 a4769 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d4775 1 a4775 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d4782 1 a4782 1 echo "$as_me: failed program was:" >&5 d4789 2 a4790 2 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } d4795 4 a4798 4 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} d4802 12 a4813 12 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} d4822 2 a4823 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d4825 1 a4825 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d4829 4 a4832 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d4835 2 a4836 1 if test `eval echo '${'$as_ac_Header'}'` = yes; then d4838 1 a4838 1 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 d4845 2 a4846 2 { echo "$as_me:$LINENO: checking for regexec" >&5 echo $ECHO_N "checking for regexec... $ECHO_C" >&6; } d4848 1 a4848 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d4901 2 a4902 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d4908 1 a4908 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d4912 4 a4915 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d4918 1 a4918 1 echo "$as_me: failed program was:" >&5 d4924 1 d4928 2 a4929 2 { echo "$as_me:$LINENO: result: $ac_cv_func_regexec" >&5 echo "${ECHO_T}$ac_cv_func_regexec" >&6; } d4971 1 a4971 1 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` d4973 2 a4974 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d4976 1 a4976 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d4978 4 a4981 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d4984 2 a4985 2 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } d5001 2 a5002 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d5008 1 a5008 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d5015 1 a5015 1 echo "$as_me: failed program was:" >&5 d5022 2 a5023 2 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } d5026 2 a5027 2 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } d5041 2 a5042 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d5048 1 a5048 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d5055 1 a5055 1 echo "$as_me: failed program was:" >&5 d5062 2 a5063 2 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } d5068 4 a5071 4 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} d5075 12 a5086 12 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} d5095 2 a5096 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d5098 1 a5098 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d5102 4 a5105 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d5108 2 a5109 1 if test `eval echo '${'$as_ac_Header'}'` = yes; then d5111 1 a5111 1 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 d5115 2 a5116 2 { echo "$as_me:$LINENO: checking for MD5Init in md5.h" >&5 echo $ECHO_N "checking for MD5Init in md5.h... $ECHO_C" >&6; } d5118 1 a5118 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d5148 2 a5149 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d5155 1 a5155 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d5162 1 a5162 1 echo "$as_me: failed program was:" >&5 d5171 2 a5172 2 { echo "$as_me:$LINENO: result: $pkg_cv_have_md5init" >&5 echo "${ECHO_T}$pkg_cv_have_md5init" >&6; } d5199 1 a5199 1 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` d5201 2 a5202 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d5204 1 a5204 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d5206 4 a5209 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d5212 2 a5213 2 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } d5229 2 a5230 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d5236 1 a5236 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d5243 1 a5243 1 echo "$as_me: failed program was:" >&5 d5250 2 a5251 2 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } d5254 2 a5255 2 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } d5269 2 a5270 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d5276 1 a5276 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d5283 1 a5283 1 echo "$as_me: failed program was:" >&5 d5290 2 a5291 2 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } d5296 4 a5299 4 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} d5303 12 a5314 12 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} d5323 2 a5324 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d5326 1 a5326 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d5330 4 a5333 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d5336 2 a5337 1 if test `eval echo '${'$as_ac_Header'}'` = yes; then d5339 1 a5339 1 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 d5346 2 a5347 2 { echo "$as_me:$LINENO: checking for MD5File" >&5 echo $ECHO_N "checking for MD5File... $ECHO_C" >&6; } d5349 1 a5349 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d5402 2 a5403 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d5409 1 a5409 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d5413 4 a5416 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d5419 1 a5419 1 echo "$as_me: failed program was:" >&5 d5425 1 d5429 2 a5430 2 { echo "$as_me:$LINENO: result: $ac_cv_func_MD5File" >&5 echo "${ECHO_T}$ac_cv_func_MD5File" >&6; } d5456 2 a5457 2 { echo "$as_me:$LINENO: checking for RMD160File" >&5 echo $ECHO_N "checking for RMD160File... $ECHO_C" >&6; } d5459 1 a5459 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d5512 2 a5513 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d5519 1 a5519 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d5523 4 a5526 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d5529 1 a5529 1 echo "$as_me: failed program was:" >&5 d5535 1 d5539 2 a5540 2 { echo "$as_me:$LINENO: result: $ac_cv_func_RMD160File" >&5 echo "${ECHO_T}$ac_cv_func_RMD160File" >&6; } d5566 2 a5567 2 { echo "$as_me:$LINENO: checking for SHA1File" >&5 echo $ECHO_N "checking for SHA1File... $ECHO_C" >&6; } d5569 1 a5569 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d5622 2 a5623 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d5629 1 a5629 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d5633 4 a5636 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d5639 1 a5639 1 echo "$as_me: failed program was:" >&5 d5645 1 d5649 2 a5650 2 { echo "$as_me:$LINENO: result: $ac_cv_func_SHA1File" >&5 echo "${ECHO_T}$ac_cv_func_SHA1File" >&6; } d5677 2 a5678 2 { echo "$as_me:$LINENO: checking for SHA512_File" >&5 echo $ECHO_N "checking for SHA512_File... $ECHO_C" >&6; } d5680 1 a5680 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d5733 2 a5734 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d5740 1 a5740 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d5744 4 a5747 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d5750 1 a5750 1 echo "$as_me: failed program was:" >&5 d5756 1 d5760 2 a5761 2 { echo "$as_me:$LINENO: result: $ac_cv_func_SHA512_File" >&5 echo "${ECHO_T}$ac_cv_func_SHA512_File" >&6; } d5794 2 a5795 2 { echo "$as_me:$LINENO: checking whether optind is declared" >&5 echo $ECHO_N "checking whether optind is declared... $ECHO_C" >&6; } d5797 1 a5797 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d5828 2 a5829 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d5835 1 a5835 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d5842 1 a5842 1 echo "$as_me: failed program was:" >&5 d5850 2 a5851 2 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_optind" >&5 echo "${ECHO_T}$ac_cv_have_decl_optind" >&6; } d5866 2 a5867 2 { echo "$as_me:$LINENO: checking whether optreset is declared" >&5 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6; } d5869 1 a5869 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d5900 2 a5901 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d5907 1 a5907 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d5914 1 a5914 1 echo "$as_me: failed program was:" >&5 d5922 2 a5923 2 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6; } d5946 1 a5946 1 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` d5948 2 a5949 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d5951 1 a5951 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d5953 4 a5956 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d5959 2 a5960 2 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } d5976 2 a5977 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d5983 1 a5983 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d5990 1 a5990 1 echo "$as_me: failed program was:" >&5 d5997 2 a5998 2 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } d6001 2 a6002 2 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } d6016 2 a6017 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d6023 1 a6023 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d6030 1 a6030 1 echo "$as_me: failed program was:" >&5 d6037 2 a6038 2 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } d6043 4 a6046 4 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} d6050 12 a6061 12 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} d6070 2 a6071 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d6073 1 a6073 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d6077 4 a6080 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d6083 2 a6084 1 if test `eval echo '${'$as_ac_Header'}'` = yes; then d6086 1 a6086 1 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 d6090 2 a6091 2 { echo "$as_me:$LINENO: checking for struct option" >&5 echo $ECHO_N "checking for struct option... $ECHO_C" >&6; } d6093 1 a6093 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d6117 2 a6118 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d6124 1 a6124 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d6131 1 a6131 1 echo "$as_me: failed program was:" >&5 d6140 2 a6141 2 { echo "$as_me:$LINENO: result: $pkg_cv_have_struct_option" >&5 echo "${ECHO_T}$pkg_cv_have_struct_option" >&6; } d6180 1 a6180 1 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` d6182 2 a6183 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d6185 1 a6185 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d6187 4 a6190 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d6193 2 a6194 2 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } d6210 2 a6211 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d6217 1 a6217 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d6224 1 a6224 1 echo "$as_me: failed program was:" >&5 d6231 2 a6232 2 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } d6235 2 a6236 2 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } d6250 2 a6251 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d6257 1 a6257 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d6264 1 a6264 1 echo "$as_me: failed program was:" >&5 d6271 2 a6272 2 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } d6277 4 a6280 4 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} d6284 12 a6295 12 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} d6304 2 a6305 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d6307 1 a6307 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d6311 4 a6314 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d6317 2 a6318 1 if test `eval echo '${'$as_ac_Header'}'` = yes; then d6320 1 a6320 1 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 d6324 2 a6325 2 { echo "$as_me:$LINENO: checking for VIS_WHITE in vis.h" >&5 echo $ECHO_N "checking for VIS_WHITE in vis.h... $ECHO_C" >&6; } d6327 1 a6327 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d6354 2 a6355 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d6361 1 a6361 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d6368 1 a6368 1 echo "$as_me: failed program was:" >&5 d6377 2 a6378 2 { echo "$as_me:$LINENO: result: $pkg_cv_have_vis_white" >&5 echo "${ECHO_T}$pkg_cv_have_vis_white" >&6; } d6389 3 a6391 3 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } d6393 1 a6393 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d6446 2 a6447 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d6453 1 a6453 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d6457 4 a6460 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d6463 1 a6463 1 echo "$as_me: failed program was:" >&5 d6469 1 d6473 6 a6478 4 ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then d6480 1 a6480 1 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 d6494 3 a6496 3 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } d6498 1 a6498 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d6551 2 a6552 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d6558 1 a6558 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d6562 4 a6565 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d6568 1 a6568 1 echo "$as_me: failed program was:" >&5 d6574 1 d6578 6 a6583 4 ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then d6585 1 a6585 1 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 d6627 2 a6628 2 { echo "$as_me:$LINENO: checking for __attribute__" >&5 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6; } d6630 1 a6630 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d6655 2 a6656 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d6662 1 a6662 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d6669 1 a6669 1 echo "$as_me: failed program was:" >&5 d6685 2 a6686 2 { echo "$as_me:$LINENO: result: $ac_cv___attribute__" >&5 echo "${ECHO_T}$ac_cv___attribute__" >&6; } d6688 2 a6689 2 { echo "$as_me:$LINENO: checking for size_t" >&5 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } d6691 1 a6691 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d6693 35 a6734 1 typedef size_t ac__type_new_; d6738 2 a6739 4 if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; d6750 2 a6751 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d6757 1 a6757 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d6762 9 a6770 1 ac_cv_type_size_t=yes d6772 1 a6772 1 echo "$as_me: failed program was:" >&5 d6775 1 a6775 1 ac_cv_type_size_t=no d6780 2 a6781 2 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 echo "${ECHO_T}$ac_cv_type_size_t" >&6; } d6793 2 a6794 2 { echo "$as_me:$LINENO: checking for uintptr_t" >&5 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; } d6796 1 a6796 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d6798 35 a6839 1 typedef uintptr_t ac__type_new_; d6843 2 a6844 4 if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; d6855 2 a6856 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d6862 1 a6862 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d6867 9 a6875 1 ac_cv_type_uintptr_t=yes d6877 1 a6877 1 echo "$as_me: failed program was:" >&5 d6880 1 a6880 1 ac_cv_type_uintptr_t=no d6885 2 a6886 2 { echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; } d6919 2 a6920 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d6926 1 a6926 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d6938 1 a6938 1 echo "$as_me: failed program was:" >&5 d6950 2 a6951 2 { echo "$as_me:$LINENO: checking for long long" >&5 echo $ECHO_N "checking for long long... $ECHO_C" >&6; } d6953 1 a6953 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d6955 2 a6956 1 cat >conftest.$ac_ext <<_ACEOF a6975 1 typedef long long ac__type_new_; d6979 2 a6980 4 if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; d6991 2 a6992 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d6998 1 a6998 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 a7002 25 ac_cv_type_long_long=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_long_long=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 echo "${ECHO_T}$ac_cv_type_long_long" >&6; } if test $ac_cv_type_long_long = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LONG_LONG 1 _ACEOF fi { echo "$as_me:$LINENO: checking for long double" >&5 echo $ECHO_N "checking for long double... $ECHO_C" >&6; } if test "${ac_cv_type_long_double+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else a7022 1 typedef long double ac__type_new_; d7026 2 a7027 4 if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; d7038 2 a7039 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d7045 1 a7045 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d7050 9 a7058 1 ac_cv_type_long_double=yes d7060 1 a7060 1 echo "$as_me: failed program was:" >&5 d7063 1 a7063 1 ac_cv_type_long_double=no d7068 3 a7070 3 { echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5 echo "${ECHO_T}$ac_cv_type_long_double" >&6; } if test $ac_cv_type_long_double = yes; then d7073 1 a7073 1 #define HAVE_LONG_DOUBLE 1 d7078 4 a7081 4 { echo "$as_me:$LINENO: checking for int8_t" >&5 echo $ECHO_N "checking for int8_t... $ECHO_C" >&6; } if test "${ac_cv_type_int8_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d7083 2 a7084 1 cat >conftest.$ac_ext <<_ACEOF a7103 1 typedef int8_t ac__type_new_; d7107 2 a7108 4 if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; d7119 2 a7120 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d7126 1 a7126 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 a7130 25 ac_cv_type_int8_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_int8_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5 echo "${ECHO_T}$ac_cv_type_int8_t" >&6; } if test $ac_cv_type_int8_t = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_INT8_T 1 _ACEOF fi { echo "$as_me:$LINENO: checking for int16_t" >&5 echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; } if test "${ac_cv_type_int16_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else a7150 1 typedef int16_t ac__type_new_; d7154 2 a7155 4 if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; d7166 2 a7167 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d7173 1 a7173 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d7178 9 a7186 1 ac_cv_type_int16_t=yes d7188 1 a7188 1 echo "$as_me: failed program was:" >&5 d7191 1 a7191 1 ac_cv_type_int16_t=no d7196 3 a7198 3 { echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5 echo "${ECHO_T}$ac_cv_type_int16_t" >&6; } if test $ac_cv_type_int16_t = yes; then d7201 1 a7201 1 #define HAVE_INT16_T 1 d7206 4 a7209 4 { echo "$as_me:$LINENO: checking for int32_t" >&5 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; } if test "${ac_cv_type_int32_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d7211 2 a7212 1 cat >conftest.$ac_ext <<_ACEOF a7231 1 typedef int32_t ac__type_new_; d7235 2 a7236 4 if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; d7247 2 a7248 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d7254 1 a7254 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d7259 2 a7260 16 ac_cv_type_int32_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_int32_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5 echo "${ECHO_T}$ac_cv_type_int32_t" >&6; } if test $ac_cv_type_int32_t = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_INT32_T 1 d7262 3 a7264 14 fi { echo "$as_me:$LINENO: checking for int64_t" >&5 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; } if test "${ac_cv_type_int64_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ a7278 1 typedef int64_t ac__type_new_; d7282 2 a7283 4 if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; d7294 2 a7295 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d7301 1 a7301 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d7306 9 a7314 1 ac_cv_type_int64_t=yes d7316 1 a7316 1 echo "$as_me: failed program was:" >&5 d7319 1 a7319 1 ac_cv_type_int64_t=no d7324 3 a7326 3 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; } if test $ac_cv_type_int64_t = yes; then d7329 1 a7329 1 #define HAVE_INT64_T 1 d7334 4 a7337 4 { echo "$as_me:$LINENO: checking for u_int8_t" >&5 echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6; } if test "${ac_cv_type_u_int8_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d7339 2 a7340 1 cat >conftest.$ac_ext <<_ACEOF a7359 1 typedef u_int8_t ac__type_new_; d7363 2 a7364 4 if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; d7375 2 a7376 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d7382 1 a7382 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 a7386 25 ac_cv_type_u_int8_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_u_int8_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5 echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6; } if test $ac_cv_type_u_int8_t = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_U_INT8_T 1 _ACEOF fi { echo "$as_me:$LINENO: checking for u_int16_t" >&5 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6; } if test "${ac_cv_type_u_int16_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else a7406 1 typedef u_int16_t ac__type_new_; d7410 2 a7411 4 if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; d7422 2 a7423 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d7429 1 a7429 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d7434 9 a7442 1 ac_cv_type_u_int16_t=yes d7444 1 a7444 1 echo "$as_me: failed program was:" >&5 d7447 1 a7447 1 ac_cv_type_u_int16_t=no d7452 3 a7454 3 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6; } if test $ac_cv_type_u_int16_t = yes; then d7457 1 a7457 1 #define HAVE_U_INT16_T 1 d7462 4 a7465 4 { echo "$as_me:$LINENO: checking for u_int32_t" >&5 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6; } if test "${ac_cv_type_u_int32_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d7467 2 a7468 1 cat >conftest.$ac_ext <<_ACEOF a7487 1 typedef u_int32_t ac__type_new_; d7491 2 a7492 4 if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; d7503 2 a7504 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d7510 1 a7510 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 a7514 25 ac_cv_type_u_int32_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_u_int32_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6; } if test $ac_cv_type_u_int32_t = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_U_INT32_T 1 _ACEOF fi { echo "$as_me:$LINENO: checking for u_int64_t" >&5 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; } if test "${ac_cv_type_u_int64_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else a7534 1 typedef u_int64_t ac__type_new_; d7538 2 a7539 4 if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; d7550 2 a7551 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d7557 1 a7557 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d7562 1 a7562 1 ac_cv_type_u_int64_t=yes d7564 1 a7564 1 echo "$as_me: failed program was:" >&5 d7567 1 a7567 1 ac_cv_type_u_int64_t=no d7571 5 d7577 6 a7582 3 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; } if test $ac_cv_type_u_int64_t = yes; then d7585 1 a7585 1 #define HAVE_U_INT64_T 1 d7590 4 a7593 4 { echo "$as_me:$LINENO: checking for uint8_t" >&5 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6; } if test "${ac_cv_type_uint8_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d7595 2 a7596 1 cat >conftest.$ac_ext <<_ACEOF a7615 1 typedef uint8_t ac__type_new_; d7619 2 a7620 4 if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; d7631 2 a7632 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d7638 1 a7638 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 a7642 25 ac_cv_type_uint8_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_uint8_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5 echo "${ECHO_T}$ac_cv_type_uint8_t" >&6; } if test $ac_cv_type_uint8_t = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_UINT8_T 1 _ACEOF fi { echo "$as_me:$LINENO: checking for uint16_t" >&5 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; } if test "${ac_cv_type_uint16_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else a7662 1 typedef uint16_t ac__type_new_; d7666 2 a7667 4 if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; d7678 2 a7679 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d7685 1 a7685 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d7690 9 a7698 1 ac_cv_type_uint16_t=yes d7700 1 a7700 1 echo "$as_me: failed program was:" >&5 d7703 1 a7703 1 ac_cv_type_uint16_t=no d7708 3 a7710 3 { echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6; } if test $ac_cv_type_uint16_t = yes; then d7713 1 a7713 1 #define HAVE_UINT16_T 1 d7718 4 a7721 4 { echo "$as_me:$LINENO: checking for uint32_t" >&5 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; } if test "${ac_cv_type_uint32_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d7723 2 a7724 1 cat >conftest.$ac_ext <<_ACEOF a7743 1 typedef uint32_t ac__type_new_; d7747 2 a7748 4 if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; d7759 2 a7760 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d7766 1 a7766 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 a7770 25 ac_cv_type_uint32_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_uint32_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6; } if test $ac_cv_type_uint32_t = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_UINT32_T 1 _ACEOF fi { echo "$as_me:$LINENO: checking for uint64_t" >&5 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; } if test "${ac_cv_type_uint64_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else a7790 1 typedef uint64_t ac__type_new_; d7794 2 a7795 4 if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; d7806 2 a7807 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d7813 1 a7813 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d7818 9 a7826 1 ac_cv_type_uint64_t=yes d7828 1 a7828 1 echo "$as_me: failed program was:" >&5 d7831 1 a7831 1 ac_cv_type_uint64_t=no d7836 3 a7838 3 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; } if test $ac_cv_type_uint64_t = yes; then d7841 1 a7841 1 #define HAVE_UINT64_T 1 d7846 4 a7849 5 { echo "$as_me:$LINENO: checking for fsid_t" >&5 echo $ECHO_N "checking for fsid_t... $ECHO_C" >&6; } if test "${ac_cv_type_fsid_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d7851 2 a7852 1 cat >conftest.$ac_ext <<_ACEOF d7858 7 d7868 2 a7869 8 #if HAVE_SYS_PARAM_H #include #endif #if HAVE_SYS_MOUNT_H #include #endif #if HAVE_SYS_VFS_H #include a7871 1 typedef fsid_t ac__type_new_; d7875 2 a7876 4 if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; d7887 2 a7888 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d7894 1 a7894 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d7899 1 a7899 28 ac_cv_type_fsid_t=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_type_fsid_t=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_type_fsid_t" >&5 echo "${ECHO_T}$ac_cv_type_fsid_t" >&6; } if test $ac_cv_type_fsid_t = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_FSID_T 1 _ACEOF fi { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } if test "${ac_cv_c_bigendian+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # See if sys/param.h defines the BYTE_ORDER macro. cat >conftest.$ac_ext <<_ACEOF d7905 8 d7914 4 a7917 1 #include d7922 2 a7923 5 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) bogus endian macros #endif d7934 2 a7935 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d7941 1 a7941 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d7946 12 a7957 9 # It does; now see whether it defined to BIG_ENDIAN or not. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include a7958 6 int main () { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif d7960 859 d8829 2 a8830 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d8836 1 a8836 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d8841 1 a8841 1 ac_cv_c_bigendian=yes d8843 1 a8843 1 echo "$as_me: failed program was:" >&5 d8846 1 a8846 1 ac_cv_c_bigendian=no d8851 1 a8851 1 echo "$as_me: failed program was:" >&5 d8854 22 a8875 3 # It does not; compile a test program. if test "$cross_compiling" = yes; then # try to guess the endianness by grepping values into an object file d8877 84 a8960 1 cat >conftest.$ac_ext <<_ACEOF d8966 3 a8968 6 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } d8972 4 a8975 1 _ascii (); _ebcdic (); d8986 2 a8987 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d8993 1 a8993 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 a8997 1 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then d8999 5 d9005 2 a9006 8 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then if test "$ac_cv_c_bigendian" = unknown; then ac_cv_c_bigendian=no else # finding both strings is unlikely to happen, but who knows? ac_cv_c_bigendian=unknown fi fi d9008 1 a9008 1 echo "$as_me: failed program was:" >&5 d9015 4 a9018 2 else cat >conftest.$ac_ext <<_ACEOF d9024 2 a9025 1 $ac_includes_default d9029 3 a9031 9 /* Are we little or big endian? From Harbison&Steele. */ union { long int l; char c[sizeof (long int)]; } u; u.l = 1; return u.c[sizeof (long int) - 1] == 1; d9037 2 a9038 2 rm -f conftest$ac_exeext if { (ac_try="$ac_link" d9043 3 a9045 2 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 d9047 31 a9077 3 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in d9081 3 a9083 2 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 d9085 9 a9093 3 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_c_bigendian=no d9095 1 a9095 2 echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 d9098 1 a9098 4 ( exit $ac_status ) ac_cv_c_bigendian=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d9100 5 d9110 6 a9115 26 fi { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } case $ac_cv_c_bigendian in yes) cat >>confdefs.h <<\_ACEOF #define WORDS_BIGENDIAN 1 _ACEOF ;; no) ;; *) { { echo "$as_me:$LINENO: error: unknown endianness presetting ac_cv_c_bigendian=no (or yes) will help" >&5 echo "$as_me: error: unknown endianness presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} { (exit 1); exit 1; }; } ;; esac { echo "$as_me:$LINENO: checking for off_t" >&5 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; } if test "${ac_cv_type_off_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF d9121 16 a9136 2 $ac_includes_default typedef off_t ac__type_new_; d9140 1 a9140 4 if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; d9151 2 a9152 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d9158 1 a9158 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d9163 11 a9173 1 ac_cv_type_off_t=yes d9175 1 a9175 1 echo "$as_me: failed program was:" >&5 d9178 1 a9178 1 ac_cv_type_off_t=no d9182 62 d9245 19 a9263 2 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 echo "${ECHO_T}$ac_cv_type_off_t" >&6; } d9269 2 a9270 2 { echo "$as_me:$LINENO: checking size of off_t" >&5 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6; } d9272 1 a9272 1 echo $ECHO_N "(cached) $ECHO_C" >&6 a9282 1 typedef off_t ac__type_sizeof_; d9286 1 a9286 1 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; d9299 2 a9300 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d9306 1 a9306 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 a9319 1 typedef off_t ac__type_sizeof_; d9323 1 a9323 1 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; d9336 2 a9337 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d9343 1 a9343 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d9350 1 a9350 1 echo "$as_me: failed program was:" >&5 d9364 1 a9364 1 echo "$as_me: failed program was:" >&5 a9373 1 typedef off_t ac__type_sizeof_; d9377 1 a9377 1 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; d9390 2 a9391 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d9397 1 a9397 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 a9410 1 typedef off_t ac__type_sizeof_; d9414 1 a9414 1 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; d9427 2 a9428 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d9434 1 a9434 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d9441 1 a9441 1 echo "$as_me: failed program was:" >&5 d9455 1 a9455 1 echo "$as_me: failed program was:" >&5 a9474 1 typedef off_t ac__type_sizeof_; d9478 1 a9478 1 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; d9491 2 a9492 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d9498 1 a9498 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d9505 1 a9505 1 echo "$as_me: failed program was:" >&5 d9516 1 a9516 1 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t) d9518 1 a9518 1 echo "$as_me: error: cannot compute sizeof (off_t) d9533 2 a9534 3 typedef off_t ac__type_sizeof_; static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } d9544 1 a9544 1 if (((long int) (sizeof (ac__type_sizeof_))) < 0) d9547 1 a9547 1 if (i != ((long int) (sizeof (ac__type_sizeof_)))) d9549 1 a9549 1 fprintf (f, "%ld\n", i); d9554 1 a9554 1 if (i != ((long int) (sizeof (ac__type_sizeof_)))) d9556 1 a9556 1 fprintf (f, "%lu\n", i); d9558 2 d9572 2 a9573 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d9576 1 a9576 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d9582 2 a9583 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d9586 1 a9586 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d9590 2 a9591 2 echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 d9596 1 a9596 1 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t) d9598 1 a9598 1 echo "$as_me: error: cannot compute sizeof (off_t) d9605 1 d9610 2 a9611 2 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6; } d9625 1 a9625 1 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` d9627 2 a9628 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d9630 1 a9630 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d9632 4 a9635 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d9638 2 a9639 2 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } d9655 2 a9656 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d9662 1 a9662 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d9669 1 a9669 1 echo "$as_me: failed program was:" >&5 d9676 2 a9677 2 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } d9680 2 a9681 2 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } d9695 2 a9696 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d9702 1 a9702 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d9709 1 a9709 1 echo "$as_me: failed program was:" >&5 d9716 2 a9717 2 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } d9722 4 a9725 4 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} d9729 12 a9740 12 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} d9749 2 a9750 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d9752 1 a9752 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d9756 4 a9759 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d9762 2 a9763 1 if test `eval echo '${'$as_ac_Header'}'` = yes; then d9765 1 a9765 1 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 d9772 2 a9773 2 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; } d9775 1 a9775 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d9806 2 a9807 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d9810 1 a9810 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d9816 2 a9817 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d9820 1 a9820 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d9824 2 a9825 2 echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 d9831 1 d9837 2 a9838 2 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; } d9865 2 a9866 2 { echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6; } d9868 1 a9868 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d9894 2 a9895 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d9901 1 a9901 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d9908 1 a9908 1 echo "$as_me: failed program was:" >&5 d9916 2 a9917 2 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6; } d9937 3 a9939 3 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } d9941 1 a9941 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d9994 2 a9995 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d10001 1 a10001 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d10005 4 a10008 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d10011 1 a10011 1 echo "$as_me: failed program was:" >&5 d10017 1 d10021 6 a10026 4 ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then d10028 1 a10028 1 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 d10034 2 a10035 2 { echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5 echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6; } d10037 1 a10037 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d10068 2 a10069 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d10075 1 a10075 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d10082 1 a10082 1 echo "$as_me: failed program was:" >&5 d10123 2 a10124 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d10127 1 a10127 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d10133 2 a10134 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d10137 1 a10137 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d10141 2 a10142 2 echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 d10146 1 d10154 2 a10155 2 { echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5 echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6; } d10164 2 a10165 2 { echo "$as_me:$LINENO: checking for pid_t" >&5 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; } d10167 1 a10167 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d10169 35 a10210 1 typedef pid_t ac__type_new_; d10214 2 a10215 4 if ((ac__type_new_ *) 0) return 0; if (sizeof (ac__type_new_)) return 0; d10226 2 a10227 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d10233 1 a10233 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d10238 9 a10246 1 ac_cv_type_pid_t=yes d10248 1 a10248 1 echo "$as_me: failed program was:" >&5 d10251 1 a10251 1 ac_cv_type_pid_t=no d10256 2 a10257 2 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; } d10271 1 a10271 1 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` d10273 2 a10274 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d10276 1 a10276 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d10278 4 a10281 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d10284 2 a10285 2 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } d10301 2 a10302 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d10308 1 a10308 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d10315 1 a10315 1 echo "$as_me: failed program was:" >&5 d10322 2 a10323 2 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } d10326 2 a10327 2 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } d10341 2 a10342 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d10348 1 a10348 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d10355 1 a10355 1 echo "$as_me: failed program was:" >&5 d10362 2 a10363 2 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } d10368 4 a10371 4 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} d10375 12 a10386 12 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} d10395 2 a10396 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d10398 1 a10398 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d10402 4 a10405 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d10408 2 a10409 1 if test `eval echo '${'$as_ac_Header'}'` = yes; then d10411 1 a10411 1 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 d10422 3 a10424 3 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } d10426 1 a10426 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d10479 2 a10480 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d10486 1 a10486 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d10490 4 a10493 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d10496 1 a10496 1 echo "$as_me: failed program was:" >&5 d10502 1 d10506 6 a10511 4 ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then d10513 1 a10513 1 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 d10520 2 a10521 2 { echo "$as_me:$LINENO: checking for working fork" >&5 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; } d10523 1 a10523 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d10552 2 a10553 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d10556 1 a10556 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d10562 2 a10563 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d10566 1 a10566 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d10570 2 a10571 2 echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 d10577 1 d10583 2 a10584 2 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; } d10599 2 a10600 2 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} d10604 2 a10605 2 { echo "$as_me:$LINENO: checking for working vfork" >&5 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; } d10607 1 a10607 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d10714 2 a10715 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d10718 1 a10718 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d10724 2 a10725 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d10728 1 a10728 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d10732 2 a10733 2 echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 d10739 1 d10745 2 a10746 2 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; } d10751 2 a10752 2 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} d10779 3 a10781 3 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } d10783 1 a10783 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d10836 2 a10837 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d10843 1 a10843 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d10847 4 a10850 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d10853 1 a10853 1 echo "$as_me: failed program was:" >&5 d10859 1 d10863 6 a10868 4 ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then d10870 1 a10870 1 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 d10873 2 a10874 2 { echo "$as_me:$LINENO: checking for _doprnt" >&5 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; } d10876 1 a10876 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d10929 2 a10930 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d10936 1 a10936 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d10940 4 a10943 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d10946 1 a10946 1 echo "$as_me: failed program was:" >&5 d10952 1 d10956 2 a10957 2 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; } d10971 139 d11146 3 a11148 3 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } d11150 1 a11150 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d11203 2 a11204 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d11210 1 a11210 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d11214 4 a11217 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d11220 1 a11220 1 echo "$as_me: failed program was:" >&5 d11226 1 d11230 6 a11235 4 ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then d11237 1 a11237 1 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 d11257 3 a11259 3 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } d11261 1 a11261 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d11314 2 a11315 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d11321 1 a11321 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d11325 4 a11328 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d11331 1 a11331 1 echo "$as_me: failed program was:" >&5 d11337 1 d11341 6 a11346 4 ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then d11348 1 a11348 1 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 d11369 3 a11371 3 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } d11373 1 a11373 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d11426 2 a11427 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d11433 1 a11433 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d11437 4 a11440 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d11443 1 a11443 1 echo "$as_me: failed program was:" >&5 d11449 1 d11453 6 a11458 4 ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then d11460 1 a11460 1 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 d11484 3 a11486 3 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } d11488 1 a11488 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d11541 2 a11542 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d11548 1 a11548 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d11552 4 a11555 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d11558 1 a11558 1 echo "$as_me: failed program was:" >&5 d11564 1 d11568 6 a11573 4 ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then d11575 1 a11575 1 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 d11585 3 a11587 3 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } d11589 1 a11589 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d11642 2 a11643 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d11649 1 a11649 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d11653 4 a11656 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d11659 1 a11659 1 echo "$as_me: failed program was:" >&5 d11665 1 d11669 6 a11674 4 ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then d11676 1 a11676 1 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 d11686 3 a11688 3 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } d11690 1 a11690 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d11743 2 a11744 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d11750 1 a11750 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d11754 4 a11757 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d11760 1 a11760 1 echo "$as_me: failed program was:" >&5 d11766 1 d11770 6 a11775 4 ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then d11777 1 a11777 1 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 d11804 3 a11806 3 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } d11808 1 a11808 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d11861 2 a11862 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d11868 1 a11868 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d11872 4 a11875 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d11878 1 a11878 1 echo "$as_me: failed program was:" >&5 d11884 1 d11888 6 a11893 4 ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then d11895 1 a11895 1 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 d11911 3 a11913 3 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } d11915 1 a11915 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d11968 2 a11969 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d11975 1 a11975 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d11979 4 a11982 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d11985 1 a11985 1 echo "$as_me: failed program was:" >&5 d11991 1 d11995 6 a12000 4 ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then d12002 1 a12002 1 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 d12019 2 a12020 2 { echo "$as_me:$LINENO: checking for fts_open" >&5 echo $ECHO_N "checking for fts_open... $ECHO_C" >&6; } d12022 1 a12022 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d12075 2 a12076 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d12082 1 a12082 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d12086 4 a12089 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d12092 1 a12092 1 echo "$as_me: failed program was:" >&5 d12098 1 d12102 2 a12103 2 { echo "$as_me:$LINENO: result: $ac_cv_func_fts_open" >&5 echo "${ECHO_T}$ac_cv_func_fts_open" >&6; } d12124 2 a12125 2 { echo "$as_me:$LINENO: checking for timegm" >&5 echo $ECHO_N "checking for timegm... $ECHO_C" >&6; } d12127 1 a12127 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d12180 2 a12181 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d12187 1 a12187 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d12191 4 a12194 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d12197 1 a12197 1 echo "$as_me: failed program was:" >&5 d12203 1 d12207 2 a12208 2 { echo "$as_me:$LINENO: result: $ac_cv_func_timegm" >&5 echo "${ECHO_T}$ac_cv_func_timegm" >&6; } d12230 1 a12230 1 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` d12232 2 a12233 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d12235 1 a12235 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d12237 4 a12240 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d12243 2 a12244 2 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } d12260 2 a12261 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d12267 1 a12267 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d12274 1 a12274 1 echo "$as_me: failed program was:" >&5 d12281 2 a12282 2 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } d12285 2 a12286 2 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } d12300 2 a12301 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d12307 1 a12307 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d12314 1 a12314 1 echo "$as_me: failed program was:" >&5 d12321 2 a12322 2 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } d12327 4 a12330 4 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} d12334 12 a12345 12 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} d12354 2 a12355 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d12357 1 a12357 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d12361 4 a12364 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d12367 2 a12368 1 if test `eval echo '${'$as_ac_Header'}'` = yes; then d12370 1 a12370 1 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 d12381 1 a12381 1 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` d12383 2 a12384 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d12386 1 a12386 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d12388 4 a12391 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d12394 2 a12395 2 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } d12411 2 a12412 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d12418 1 a12418 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d12425 1 a12425 1 echo "$as_me: failed program was:" >&5 d12432 2 a12433 2 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } d12436 2 a12437 2 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } d12451 2 a12452 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d12458 1 a12458 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d12465 1 a12465 1 echo "$as_me: failed program was:" >&5 d12472 2 a12473 2 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } d12478 4 a12481 4 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} d12485 12 a12496 12 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} d12505 2 a12506 2 { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } d12508 1 a12508 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d12512 4 a12515 3 ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } d12518 2 a12519 1 if test `eval echo '${'$as_ac_Header'}'` = yes; then d12521 1 a12521 1 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 d12535 2 a12536 2 { echo "$as_me:$LINENO: checking for poll" >&5 echo $ECHO_N "checking for poll... $ECHO_C" >&6; } d12538 1 a12538 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d12591 2 a12592 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d12598 1 a12598 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d12602 4 a12605 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d12608 1 a12608 1 echo "$as_me: failed program was:" >&5 d12614 1 d12618 2 a12619 2 { echo "$as_me:$LINENO: result: $ac_cv_func_poll" >&5 echo "${ECHO_T}$ac_cv_func_poll" >&6; } d12623 2 a12624 2 { echo "$as_me:$LINENO: checking if poll() is implemented natively" >&5 echo $ECHO_N "checking if poll() is implemented natively... $ECHO_C" >&6; } d12626 1 a12626 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d12659 2 a12660 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d12666 1 a12666 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d12673 1 a12673 1 echo "$as_me: failed program was:" >&5 d12682 2 a12683 2 { echo "$as_me:$LINENO: result: $pkg_cv_native_poll" >&5 echo "${ECHO_T}$pkg_cv_native_poll" >&6; } d12717 3 a12719 3 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } d12721 1 a12721 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d12774 2 a12775 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d12781 1 a12781 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d12785 4 a12788 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d12791 1 a12791 1 echo "$as_me: failed program was:" >&5 d12797 1 d12801 6 a12806 4 ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then d12808 1 a12808 1 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 d12815 2 a12816 2 { echo "$as_me:$LINENO: checking for getpgrp" >&5 echo $ECHO_N "checking for getpgrp... $ECHO_C" >&6; } d12818 1 a12818 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d12871 2 a12872 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d12878 1 a12878 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d12882 4 a12885 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d12888 1 a12888 1 echo "$as_me: failed program was:" >&5 d12894 1 d12898 2 a12899 2 { echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp" >&5 echo "${ECHO_T}$ac_cv_func_getpgrp" >&6; } d12901 2 a12902 2 { echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6; } d12904 1 a12904 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d12928 2 a12929 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d12935 1 a12935 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d12942 1 a12942 1 echo "$as_me: failed program was:" >&5 d12951 2 a12952 2 { echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6; } d12964 2 a12965 2 { echo "$as_me:$LINENO: checking for struct statfs.f_fsize" >&5 echo $ECHO_N "checking for struct statfs.f_fsize... $ECHO_C" >&6; } d12967 1 a12967 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d12993 2 a12994 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d13000 1 a13000 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d13007 1 a13007 1 echo "$as_me: failed program was:" >&5 d13034 2 a13035 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d13041 1 a13041 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d13048 1 a13048 1 echo "$as_me: failed program was:" >&5 d13059 2 a13060 2 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_fsize" >&5 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_fsize" >&6; } d13072 2 a13073 2 { echo "$as_me:$LINENO: checking for struct statfs.f_iosize" >&5 echo $ECHO_N "checking for struct statfs.f_iosize... $ECHO_C" >&6; } d13075 1 a13075 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d13101 2 a13102 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d13108 1 a13108 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d13115 1 a13115 1 echo "$as_me: failed program was:" >&5 d13142 2 a13143 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d13149 1 a13149 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d13156 1 a13156 1 echo "$as_me: failed program was:" >&5 d13167 2 a13168 2 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_iosize" >&5 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_iosize" >&6; } d13180 2 a13181 2 { echo "$as_me:$LINENO: checking for struct dirent.d_namlen" >&5 echo $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6; } d13183 1 a13183 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d13223 2 a13224 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d13230 1 a13230 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d13237 1 a13237 1 echo "$as_me: failed program was:" >&5 d13278 2 a13279 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d13285 1 a13285 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d13292 1 a13292 1 echo "$as_me: failed program was:" >&5 d13303 2 a13304 2 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_dirent_d_namlen" >&5 echo "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6; } d13315 2 a13316 2 { echo "$as_me:$LINENO: checking for DIR.dd_fd" >&5 echo $ECHO_N "checking for DIR.dd_fd... $ECHO_C" >&6; } d13318 1 a13318 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d13358 2 a13359 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d13365 1 a13365 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d13372 1 a13372 1 echo "$as_me: failed program was:" >&5 d13413 2 a13414 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d13420 1 a13420 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d13427 1 a13427 1 echo "$as_me: failed program was:" >&5 d13438 2 a13439 2 { echo "$as_me:$LINENO: result: $ac_cv_member_DIR_dd_fd" >&5 echo "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6; } d13452 2 a13453 2 { echo "$as_me:$LINENO: checking for dirfd" >&5 echo $ECHO_N "checking for dirfd... $ECHO_C" >&6; } d13491 2 a13492 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d13498 1 a13498 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d13502 4 a13505 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d13507 2 a13508 2 { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } d13516 1 a13516 1 echo "$as_me: failed program was:" >&5 d13519 2 a13520 2 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } d13525 1 d13532 2 a13533 2 { echo "$as_me:$LINENO: checking *printf() support for %lld" >&5 echo $ECHO_N "checking *printf() support for %lld... $ECHO_C" >&6; } d13559 2 a13560 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d13563 1 a13563 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d13569 2 a13570 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d13573 1 a13573 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d13576 2 a13577 2 { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } d13581 2 a13582 2 echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 d13587 2 a13588 2 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } d13591 1 d13598 2 a13599 2 { echo "$as_me:$LINENO: checking *printf() support for %qd" >&5 echo $ECHO_N "checking *printf() support for %qd... $ECHO_C" >&6; } d13624 2 a13625 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d13628 1 a13628 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d13634 2 a13635 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d13638 1 a13638 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d13641 2 a13642 2 { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } d13652 2 a13653 2 echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 d13658 2 a13659 2 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } d13662 1 d13679 3 a13681 3 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } d13683 1 a13683 1 echo $ECHO_N "(cached) $ECHO_C" >&6 d13736 2 a13737 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d13743 1 a13743 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d13747 4 a13750 2 } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then d13753 1 a13753 1 echo "$as_me: failed program was:" >&5 d13759 1 d13763 6 a13768 4 ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then d13770 1 a13770 1 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 d13790 2 a13791 2 { echo "$as_me:$LINENO: checking if vsnprintf is standards compliant" >&5 echo $ECHO_N "checking if vsnprintf is standards compliant... $ECHO_C" >&6; } d13823 2 a13824 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d13827 1 a13827 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d13833 2 a13834 1 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 d13837 1 a13837 1 echo "$as_me:$LINENO: \$? = $ac_status" >&5 d13840 2 a13841 2 { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } d13845 2 a13846 2 echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 d13851 2 a13852 2 { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } d13855 1 d13902 2 a13903 2 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; d13907 1 d13940 2 a13941 2 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 echo "$as_me: updating cache $cache_file" >&6;} d13944 2 a13945 2 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 echo "$as_me: not updating unwritable cache $cache_file" >&6;} d13961 1 a13961 1 ac_i=`echo "$ac_i" | sed "$ac_script"` d13974 1 d13977 3 a13979 3 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF d13992 1 a13992 1 cat >>$CONFIG_STATUS <<\_ACEOF d14002 1 a14002 1 # Zsh 3.x and 4.x performs word splitting on ${1+"$@@"}, which d14024 32 d14058 5 a14062 9 echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh a14077 2 as_nl=' ' d14100 1 a14100 1 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 d14113 4 a14116 11 for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var fi done d14138 1 a14138 1 echo X/"$0" | d14189 1 a14189 1 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 a14216 1 d14229 1 a14229 1 mkdir conf$$.dir d14231 12 a14242 8 echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 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. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || d14244 1 a14244 2 elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln d14269 1 a14269 1 test -d "$1/."; d14272 1 a14272 1 -*)set "./$1";; d14295 1 a14295 1 generated by GNU Autoconf 2.61. Invocation command line was d14308 1 a14308 1 cat >>$CONFIG_STATUS <<_ACEOF d14315 1 a14315 1 cat >>$CONFIG_STATUS <<\_ACEOF d14328 1 a14328 1 instantiate the configuration file FILE d14330 1 a14330 1 instantiate the configuration header FILE d14341 1 a14341 1 cat >>$CONFIG_STATUS <<_ACEOF d14344 2 a14345 2 configured by $0, generated by GNU Autoconf 2.61, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" d14347 1 a14347 1 Copyright (C) 2006 Free Software Foundation, Inc. d14354 2 d14358 2 a14359 3 cat >>$CONFIG_STATUS <<\_ACEOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. d14381 1 a14381 1 echo "$ac_cs_version"; exit ;; d14386 4 a14389 1 CONFIG_FILES="$CONFIG_FILES $ac_optarg" d14393 4 a14396 1 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" d14400 1 a14400 1 { echo "$as_me: error: ambiguous option: $1 d14404 1 a14404 1 echo "$ac_cs_usage"; exit ;; d14410 1 a14410 1 -*) { echo "$as_me: error: unrecognized option: $1 d14429 1 a14429 1 cat >>$CONFIG_STATUS <<_ACEOF d14431 4 a14434 2 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 CONFIG_SHELL=$SHELL d14436 1 a14436 1 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion d14440 1 a14440 1 cat >>$CONFIG_STATUS <<\_ACEOF d14447 1 a14447 1 echo "$ac_log" d14451 1 a14451 1 cat >>$CONFIG_STATUS <<_ACEOF d14454 1 a14454 1 cat >>$CONFIG_STATUS <<\_ACEOF d14463 2 a14464 2 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} d14504 1 a14504 1 echo "$me: cannot create a temporary directory in ." >&2 d14508 5 a14512 3 # # Set up the sed scripts for CONFIG_FILES section. # d14514 7 a14520 3 # No need to generate the scripts if there are no CONFIG_FILES. # This happens for instance when ./config.status config.h if test -n "$CONFIG_FILES"; then d14522 1 d14526 9 a14534 1 d14537 4 a14540 71 cat >conf$$subs.sed <<_ACEOF SHELL!$SHELL$ac_delim PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim PACKAGE_NAME!$PACKAGE_NAME$ac_delim PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim PACKAGE_STRING!$PACKAGE_STRING$ac_delim PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim exec_prefix!$exec_prefix$ac_delim prefix!$prefix$ac_delim program_transform_name!$program_transform_name$ac_delim bindir!$bindir$ac_delim sbindir!$sbindir$ac_delim libexecdir!$libexecdir$ac_delim datarootdir!$datarootdir$ac_delim datadir!$datadir$ac_delim sysconfdir!$sysconfdir$ac_delim sharedstatedir!$sharedstatedir$ac_delim localstatedir!$localstatedir$ac_delim includedir!$includedir$ac_delim oldincludedir!$oldincludedir$ac_delim docdir!$docdir$ac_delim infodir!$infodir$ac_delim htmldir!$htmldir$ac_delim dvidir!$dvidir$ac_delim pdfdir!$pdfdir$ac_delim psdir!$psdir$ac_delim libdir!$libdir$ac_delim localedir!$localedir$ac_delim mandir!$mandir$ac_delim DEFS!$DEFS$ac_delim ECHO_C!$ECHO_C$ac_delim ECHO_N!$ECHO_N$ac_delim ECHO_T!$ECHO_T$ac_delim LIBS!$LIBS$ac_delim build_alias!$build_alias$ac_delim host_alias!$host_alias$ac_delim target_alias!$target_alias$ac_delim build!$build$ac_delim build_cpu!$build_cpu$ac_delim build_vendor!$build_vendor$ac_delim build_os!$build_os$ac_delim host!$host$ac_delim host_cpu!$host_cpu$ac_delim host_vendor!$host_vendor$ac_delim host_os!$host_os$ac_delim CANONICAL_HOST!$CANONICAL_HOST$ac_delim INCLUDES!$INCLUDES$ac_delim SET_MAKE!$SET_MAKE$ac_delim CC!$CC$ac_delim CFLAGS!$CFLAGS$ac_delim LDFLAGS!$LDFLAGS$ac_delim CPPFLAGS!$CPPFLAGS$ac_delim ac_ct_CC!$ac_ct_CC$ac_delim EXEEXT!$EXEEXT$ac_delim OBJEXT!$OBJEXT$ac_delim INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim INSTALL_DATA!$INSTALL_DATA$ac_delim LN_S!$LN_S$ac_delim RANLIB!$RANLIB$ac_delim AWK!$AWK$ac_delim AR!$AR$ac_delim AUTOCONF!$AUTOCONF$ac_delim AUTOHEADER!$AUTOHEADER$ac_delim CPP!$CPP$ac_delim GREP!$GREP$ac_delim EGREP!$EGREP$ac_delim LIBOBJS!$LIBOBJS$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF d14542 1 a14542 1 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 69; then d14545 2 a14546 2 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} d14552 1 d14554 2 a14555 24 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` if test -n "$ac_eof"; then ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` ac_eof=`expr $ac_eof + 1` fi cat >>$CONFIG_STATUS <<_ACEOF cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof /@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b end _ACEOF sed ' s/[,\\&]/\\&/g; s/@@/@@|#_!!_#|/g s/^/s,@@/; s/!/@@,|#_!!_#|/ :n t n s/'"$ac_delim"'$/,g/; t s/$/\\/; p N; s/^.*\n//; s/[,\\&]/\\&/g; s/@@/@@|#_!!_#|/g; b n ' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF :end s/|#_!!_#|//g CEOF$ac_eof d14557 70 d14628 12 d14656 1 a14656 1 cat >>$CONFIG_STATUS <<\_ACEOF d14659 112 d14772 3 a14774 1 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS d14781 2 a14782 2 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 echo "$as_me: error: Invalid tag $ac_tag." >&2;} d14811 2 a14812 2 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 echo "$as_me: error: cannot find input file: $ac_f" >&2;} d14815 2 a14816 1 ac_file_inputs="$ac_file_inputs $ac_f" d14822 3 a14824 2 configure_input="Generated from "`IFS=: echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." d14827 2 a14828 2 { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} d14830 7 d14839 4 a14842 1 *:-:* | *:-) cat >"$tmp/stdin";; d14852 1 a14852 1 echo X"$ac_file" | d14878 1 a14878 1 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( d14887 1 a14887 1 echo X"$as_dir" | d14908 2 a14909 2 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 echo "$as_me: error: cannot create directory $as_dir" >&2;} d14916 1 a14916 1 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` d14918 1 a14918 1 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` d14958 1 a14958 1 cat >>$CONFIG_STATUS <<\_ACEOF d14963 2 a14964 1 case `sed -n '/datarootdir/ { d14973 2 a14974 1 ' $ac_file_inputs` in d14977 2 a14978 2 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} d14980 1 a14980 1 cat >>$CONFIG_STATUS <<_ACEOF d14994 2 a14995 2 cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub d14998 1 a14998 1 cat >>$CONFIG_STATUS <<\_ACEOF d15001 1 a15001 1 s&@@configure_input@@&$configure_input&;t t d15003 1 d15013 5 a15017 1 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out d15022 1 a15022 1 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' d15024 1 a15024 1 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' d15029 6 a15034 3 -) cat "$tmp/out"; rm -f "$tmp/out";; *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; esac a15039 78 _ACEOF # Transform confdefs.h into a sed script `conftest.defines', that # substitutes the proper values into config.h.in to produce config.h. rm -f conftest.defines conftest.tail # First, append a space to every undef/define line, to ease matching. echo 's/$/ /' >conftest.defines # Then, protect against being on the right side of a sed subst, or in # an unquoted here document, in config.status. If some macros were # called several times there might be several #defines for the same # symbol, which is useless. But do not sort them, since the last # AC_DEFINE must be honored. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where # NAME is the cpp macro being defined, VALUE is the value it is being given. # PARAMS is the parameter list in the macro definition--in most cases, it's # just an empty string. ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' ac_dB='\\)[ (].*,\\1define\\2' ac_dC=' ' ac_dD=' ,' uniq confdefs.h | sed -n ' t rset :rset s/^[ ]*#[ ]*define[ ][ ]*// t ok d :ok s/[\\&,]/\\&/g s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p ' >>conftest.defines # Remove the space that was appended to ease matching. # Then replace #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. # (The regexp can be short, since the line contains either #define or #undef.) echo 's/ $// s,^[ #]*u.*,/* & */,' >>conftest.defines # Break up conftest.defines: ac_max_sed_lines=50 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" # et cetera. ac_in='$ac_file_inputs' ac_out='"$tmp/out1"' ac_nxt='"$tmp/out2"' while : do # Write a here document: cat >>$CONFIG_STATUS <<_ACEOF # First, check the format of the line: cat >"\$tmp/defines.sed" <<\\CEOF /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def b :def _ACEOF sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS echo 'CEOF sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail grep . conftest.tail >/dev/null || break rm -f conftest.defines mv conftest.tail conftest.defines done rm -f conftest.defines conftest.tail echo "ac_result=$ac_in" >>$CONFIG_STATUS cat >>$CONFIG_STATUS <<\_ACEOF d15041 10 a15050 5 echo "/* $configure_input */" >"$tmp/config.h" cat "$ac_result" >>"$tmp/config.h" if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} d15052 5 a15056 2 rm -f $ac_file mv "$tmp/config.h" $ac_file d15059 5 a15063 2 echo "/* $configure_input */" cat "$ac_result" a15064 1 rm -f "$tmp/out12" d15078 5 d15104 4 @ 1.59 log @libnbcompat-20080322: Add an option to force a BSDish getopt (e.g. one with optreset). Use the correct macros to decide when to define optind and friends. @ text @d10656 93 @ 1.58 log @libnbcompat-20080221: - Use AC_FUNC_VFORK, needed on IRIX to get missing vfork() defined to fork(). Ok by joerg. @ text @d1272 5 d5626 152 d5985 6 a12251 145 { echo "$as_me:$LINENO: checking whether optind is declared" >&5 echo $ECHO_N "checking whether optind is declared... $ECHO_C" >&6; } if test "${ac_cv_have_decl_optind+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include int main () { #ifndef optind (void) optind; #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_have_decl_optind=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_have_decl_optind=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_have_decl_optind" >&5 echo "${ECHO_T}$ac_cv_have_decl_optind" >&6; } if test $ac_cv_have_decl_optind = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_DECL_OPTIND 1 _ACEOF : else cat >>confdefs.h <<_ACEOF #define HAVE_DECL_OPTIND 0 _ACEOF : fi { echo "$as_me:$LINENO: checking whether optreset is declared" >&5 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6; } if test "${ac_cv_have_decl_optreset+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include int main () { #ifndef optreset (void) optreset; #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_have_decl_optreset=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_have_decl_optreset=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6; } if test $ac_cv_have_decl_optreset = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_DECL_OPTRESET 1 _ACEOF : else cat >>confdefs.h <<_ACEOF #define HAVE_DECL_OPTRESET 0 _ACEOF : fi @ 1.57 log @If dirfd is either a function or a macro, use it. If it doesn't exist, but DIR contains dd_fd, define it as macro. Otherwise use -1 when calling fts_safe_changedir in fts(3). Based on patch from Sean Boudreau. @ text @d8792 554 @ 1.56 log @* configure.ac: Add AC_TYPE_UINTPTR_T, needed by sha2.c. Fixes build on Interix. Suggested by joerg@@ * configure, config.h.in: regen @ text @d11001 26 d11028 180 @ 1.55 log @* configure.ac: Test for a standards-conformant vsnprintf. If it is found to be broken, fall back to the one provided by libnbcompat. * configure: regen * config.h.in: regen @ text @d6399 116 @ 1.54 log @Add asprintf implementation based on snprintf. Add vsnprintf prototype as the function is implemented and used. Add all the macros from NetBSD's sys/queue.h defined for the types implemented. Bump version to libnbcompat-20070622. Tested by dmcmahill@@NetBSD.org on Solaris. OK jlam@@, agc@@ @ text @d11134 79 @ 1.53 log @Fix bug in configure script, noticed by Thorsten Glaser. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.61 for libnbcompat 20040911. d577 2 a578 2 PACKAGE_VERSION='20040911' PACKAGE_STRING='libnbcompat 20040911' d1198 1 a1198 1 \`configure' configures libnbcompat 20040911 to adapt to many kinds of systems. d1268 1 a1268 1 short | recursive ) echo "Configuration of libnbcompat 20040911:";; d1346 1 a1346 1 libnbcompat configure 20040911 d1360 1 a1360 1 It was created by libnbcompat $as_me 20040911, which was d8890 2 a8891 1 for ac_func in err fgetln fnmatch fparseln getenv isblank \ d11680 1 a11680 1 This file was extended by libnbcompat $as_me 20040911, which was d11729 1 a11729 1 libnbcompat config.status 20040911 @ 1.52 log @Add SHA256/SHA384/SHA512 to libnbcompat. Update version to 20070507. @ text @d5514 3 a5516 3 { echo "$as_me:$LINENO: checking for SHA2File" >&5 echo $ECHO_N "checking for SHA2File... $ECHO_C" >&6; } if test "${ac_cv_func_SHA2File+set}" = set; then d5525 1 a5525 1 /* Define SHA2File to an innocuous variant, in case declares SHA2File. d5527 1 a5527 1 #define SHA2File innocuous_SHA2File d5530 1 a5530 1 which can conflict with char SHA2File (); below. d5540 1 a5540 1 #undef SHA2File d5548 1 a5548 1 char SHA2File (); d5552 1 a5552 1 #if defined __stub_SHA2File || defined __stub___SHA2File d5559 1 a5559 1 return SHA2File (); d5582 1 a5582 1 ac_cv_func_SHA2File=yes d5587 1 a5587 1 ac_cv_func_SHA2File=no d5593 3 a5595 3 { echo "$as_me:$LINENO: result: $ac_cv_func_SHA2File" >&5 echo "${ECHO_T}$ac_cv_func_SHA2File" >&6; } if test $ac_cv_func_SHA2File = yes; then @ 1.51 log @For the benefit of Mr. Kite^W^Wsnprint.c add long double type detection. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.59 for libnbcompat 20040911. d7 2 a8 1 # Copyright (C) 2003 Free Software Foundation, Inc. d15 2 a16 1 # Be Bourne compatible d23 30 a52 2 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix a53 1 DUALCASE=1; export DUALCASE # for MKS sh d63 33 d97 3 a99 1 $as_unset ENV MAIL MAILPATH d113 1 a113 1 $as_unset $as_var d118 2 a119 1 if expr a : '\(a\)' >/dev/null 2>&1; then d125 1 a125 1 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then d133 1 a133 1 as_me=`$as_basename "$0" || d136 1 a136 2 X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || d138 17 a154 4 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` d156 23 d180 19 a198 7 # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits d200 3 a202 11 # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh d205 6 d212 1 a212 16 as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done d214 9 a222 13 ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') d228 1 a228 2 for as_base in sh bash ksh sh5; do case $as_dir in d230 195 a424 1 if ("$as_dir/$as_base" -c ' a426 1 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` d428 1 a428 12 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@@"} fi;; esac done done ;; esac d432 5 a436 4 # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. d438 6 a443 2 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | d445 4 d450 2 a451 3 s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, d453 1 a453 2 s,-$,, s,^['$as_cr_digits']*\n,, d455 1 a455 1 chmod +x $as_me.lineno || d461 2 a462 2 # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno d468 15 a482 5 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; d485 2 a486 1 if expr a : '\(a\)' >/dev/null 2>&1; then d493 6 d501 6 a506 4 # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links a507 3 else as_ln_s='ln -s' fi d513 2 a514 1 rm -f conf$$ conf$$.exe conf$$.file d523 22 a544 1 as_executable_p="test -f" a552 8 # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH d554 1 a560 2 exec 6>&1 d565 1 d567 1 a573 5 # Maximum number of lines to put in a shell here document. # This variable seems obsolete. It should probably be removed, and # only ac_max_sed_lines should be used. : ${ac_max_here_lines=38} d584 1 a584 1 #if HAVE_SYS_TYPES_H d587 1 a587 1 #if HAVE_SYS_STAT_H d590 1 a590 1 #if STDC_HEADERS d594 1 a594 1 # if HAVE_STDLIB_H d598 2 a599 2 #if HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H d604 1 a604 1 #if HAVE_STRINGS_H d607 1 a607 1 #if HAVE_INTTYPES_H a608 4 #else # if HAVE_STDINT_H # include # endif d610 4 a613 1 #if HAVE_UNISTD_H d617 69 a685 1 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os CANONICAL_HOST INCLUDES SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S RANLIB ac_ct_RANLIB AWK AR AUTOCONF AUTOHEADER CPP EGREP LIBOBJS LTLIBOBJS' d687 10 d723 1 d727 2 a728 1 datadir='${prefix}/share' a731 1 libdir='${exec_prefix}/lib' d734 9 a742 2 infodir='${prefix}/info' mandir='${prefix}/man' d745 1 d750 1 a750 1 eval "$ac_prev=\$ac_option" d755 4 a758 1 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` d762 3 a764 1 case $ac_option in d786 1 a786 1 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) d788 1 a788 2 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) d791 7 d801 1 a801 1 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && d804 12 a815 2 ac_feature=`echo $ac_feature | sed 's/-/_/g'` eval "enable_$ac_feature=no" ;; d820 1 a820 1 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && d823 2 a824 6 ac_feature=`echo $ac_feature | sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "enable_$ac_feature='$ac_optarg'" ;; d851 6 d881 5 d887 1 a887 2 | --localstate | --localstat | --localsta | --localst \ | --locals | --local | --loca | --loc | --lo) d890 1 a890 2 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) d955 10 d1017 1 a1017 1 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && d1020 2 a1021 6 ac_package=`echo $ac_package| sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "with_$ac_package='$ac_optarg'" ;; d1026 1 a1026 1 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && d1029 2 a1030 2 ac_package=`echo $ac_package | sed 's/-/_/g'` eval "with_$ac_package=no" ;; d1061 1 a1061 2 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` eval "$ac_envvar='$ac_optarg'" d1081 5 a1085 2 # Be sure to have absolute paths. for ac_var in exec_prefix prefix d1087 1 a1087 1 eval ac_val=$`echo $ac_var` d1089 2 a1090 15 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # Be sure to have absolute paths. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ localstatedir libdir includedir oldincludedir infodir mandir do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; d1092 2 d1120 10 d1133 2 a1134 2 # Try the directory containing this script, then its parent. ac_confdir=`(dirname "$0") 2>/dev/null || d1138 1 a1138 2 X"$0" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || d1140 17 a1156 5 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` d1158 1 a1158 1 if test ! -r $srcdir/$ac_unique_file; then d1164 3 a1166 6 if test ! -r $srcdir/$ac_unique_file; then if test "$ac_srcdir_defaulted" = yes; then { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 { (exit 1); exit 1; }; } else { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 a1167 1 fi d1169 3 a1171 2 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 d1173 17 a1189 33 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` ac_env_build_alias_set=${build_alias+set} ac_env_build_alias_value=$build_alias ac_cv_env_build_alias_set=${build_alias+set} ac_cv_env_build_alias_value=$build_alias ac_env_host_alias_set=${host_alias+set} ac_env_host_alias_value=$host_alias ac_cv_env_host_alias_set=${host_alias+set} ac_cv_env_host_alias_value=$host_alias ac_env_target_alias_set=${target_alias+set} ac_env_target_alias_value=$target_alias ac_cv_env_target_alias_set=${target_alias+set} ac_cv_env_target_alias_value=$target_alias ac_env_CC_set=${CC+set} ac_env_CC_value=$CC ac_cv_env_CC_set=${CC+set} ac_cv_env_CC_value=$CC ac_env_CFLAGS_set=${CFLAGS+set} ac_env_CFLAGS_value=$CFLAGS ac_cv_env_CFLAGS_set=${CFLAGS+set} ac_cv_env_CFLAGS_value=$CFLAGS ac_env_LDFLAGS_set=${LDFLAGS+set} ac_env_LDFLAGS_value=$LDFLAGS ac_cv_env_LDFLAGS_set=${LDFLAGS+set} ac_cv_env_LDFLAGS_value=$LDFLAGS ac_env_CPPFLAGS_set=${CPPFLAGS+set} ac_env_CPPFLAGS_value=$CPPFLAGS ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} ac_cv_env_CPPFLAGS_value=$CPPFLAGS ac_env_CPP_set=${CPP+set} ac_env_CPP_value=$CPP ac_cv_env_CPP_set=${CPP+set} ac_cv_env_CPP_value=$CPP a1217 3 _ACEOF cat <<_ACEOF a1234 1 --datadir=DIR read-only architecture-independent data [PREFIX/share] d1241 10 a1250 2 --infodir=DIR info documentation [PREFIX/info] --mandir=DIR man documentation [PREFIX/man] d1277 3 a1279 2 CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory d1287 1 a1291 1 ac_popdir=`pwd` d1293 1 a1293 1 test -d $ac_dir || continue d1296 3 a1298 1 if test "$ac_dir" != .; then d1300 11 a1310 5 # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi d1313 1 a1313 1 .) # No --srcdir option. We are building in place. d1315 3 a1317 6 if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. d1319 17 a1335 57 ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac cd $ac_dir # Check for guested configure; otherwise get Cygnus style configure. if test -f $ac_srcdir/configure.gnu; then echo $SHELL $ac_srcdir/configure.gnu --help=recursive elif test -f $ac_srcdir/configure; then echo $SHELL $ac_srcdir/configure --help=recursive elif test -f $ac_srcdir/configure.ac || test -f $ac_srcdir/configure.in; then echo $ac_configure --help d1338 2 a1339 2 fi cd $ac_popdir d1343 1 a1343 1 test -n "$ac_init_help" && exit 0 d1347 1 a1347 1 generated by GNU Autoconf 2.59 d1349 2 a1350 1 Copyright (C) 2003 Free Software Foundation, Inc. d1354 1 a1354 1 exit 0 d1356 1 a1356 2 exec 5>config.log cat >&5 <<_ACEOF d1361 1 a1361 1 generated by GNU Autoconf 2.59. Invocation command line was d1366 1 d1385 1 a1385 1 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` d1399 1 a1420 1 ac_sep= d1431 1 a1431 1 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) d1453 1 a1453 3 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" # Get rid of the leading space. ac_sep=" " d1464 2 a1465 2 # WARNING: Be sure not to use single quotes in there, as some shells, # such as our DU 5.0 friend, will then `close' the trap. d1478 15 a1492 1 { d1494 2 a1495 2 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in *ac_space=\ *) d1497 3 a1499 3 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" ;; d1501 1 a1501 2 sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" d1503 3 a1505 2 esac; } d1516 5 a1520 2 eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" d1526 3 a1528 3 ## ------------- ## ## Output files. ## ## ------------- ## d1533 5 a1537 2 eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" d1549 1 a1549 1 sed "/^$/d" confdefs.h | sort d1556 2 a1557 2 rm -f core *.core && rm -rf conftest* confdefs* conf$$* $ac_clean_files && d1559 1 a1559 1 ' 0 d1566 1 a1566 3 rm -rf conftest* confdefs.h # AIX cpp loses on an empty file, so make sure it contains at least a newline. echo >confdefs.h d1597 7 a1603 6 if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" else CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi d1605 3 a1607 1 for ac_site_file in $CONFIG_SITE; do d1623 2 a1624 2 [\\/]* | ?:[\\/]* ) . $cache_file;; *) . ./$cache_file;; d1636 1 a1636 2 for ac_var in `(set) 2>&1 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do d1639 2 a1640 2 eval ac_old_val="\$ac_cv_env_${ac_var}_value" eval ac_new_val="\$ac_env_${ac_var}_value" d1665 1 a1665 2 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; a1681 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 d1706 5 d1713 1 a1713 1 ac_config_headers="$ac_config_headers nbcompat/config.h" d1716 1 a1716 1 program_transform_name="s,^,$program_prefix,;$program_transform_name" d1719 1 a1719 1 program_transform_name="s,\$,$program_suffix,;$program_transform_name" d1726 1 a1726 1 rm conftest.sed d1730 2 a1731 2 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do if test -f $ac_dir/install-sh; then d1735 1 a1735 1 elif test -f $ac_dir/install.sh; then d1739 1 a1739 1 elif test -f $ac_dir/shtool; then d1746 2 a1747 2 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} d1750 9 a1758 3 ac_config_guess="$SHELL $ac_aux_dir/config.guess" ac_config_sub="$SHELL $ac_aux_dir/config.sub" ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. d1761 3 a1763 3 $ac_config_sub sun4 >/dev/null 2>&1 || { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 echo "$as_me: error: cannot run $ac_config_sub" >&2;} d1766 2 a1767 2 echo "$as_me:$LINENO: checking build system type" >&5 echo $ECHO_N "checking build system type... $ECHO_C" >&6 d1771 4 a1774 4 ac_cv_build_alias=$build_alias test -z "$ac_cv_build_alias" && ac_cv_build_alias=`$ac_config_guess` test -z "$ac_cv_build_alias" && d1778 3 a1780 3 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} d1784 8 a1791 2 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 echo "${ECHO_T}$ac_cv_build" >&6 d1793 11 a1803 3 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` d1806 2 a1807 2 echo "$as_me:$LINENO: checking host system type" >&5 echo $ECHO_N "checking host system type... $ECHO_C" >&6 d1811 6 a1816 6 ac_cv_host_alias=$host_alias test -z "$ac_cv_host_alias" && ac_cv_host_alias=$ac_cv_build_alias ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} d1818 1 d1821 8 a1828 2 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 echo "${ECHO_T}$ac_cv_host" >&6 d1830 11 a1840 3 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` d1848 4 a1851 4 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then d1855 1 d1857 1 a1857 1 @@echo 'ac_maketemp="$(MAKE)"' d1860 6 a1865 6 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi d1868 3 a1870 3 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 d1873 2 a1874 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d1886 2 a1887 2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 d1900 1 a1900 1 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then d1907 1 d1913 2 a1914 2 echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 d1916 2 a1917 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d1920 1 d1926 2 a1927 2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 d1940 1 a1940 1 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then d1947 1 d1953 2 a1954 2 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 d1956 2 a1957 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d1960 15 a1974 1 CC=$ac_ct_CC d1980 2 a1981 2 if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. d1983 2 a1984 2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 d1997 1 a1997 1 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then d2004 1 d2010 2 a2011 2 echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 d2013 2 a2014 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d2017 1 a2017 23 fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 a2018 19 done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" fi d2023 2 a2024 2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 d2038 1 a2038 1 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then d2049 1 d2067 2 a2068 2 echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 d2070 2 a2071 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d2074 1 d2078 1 a2078 1 for ac_prog in cl d2082 2 a2083 2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 d2096 1 a2096 1 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then d2103 1 d2109 2 a2110 2 echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 d2112 2 a2113 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d2116 1 d2122 1 a2122 1 for ac_prog in cl d2126 2 a2127 2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 d2140 1 a2140 1 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then d2147 1 d2153 2 a2154 2 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 d2156 2 a2157 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d2160 1 d2164 15 a2178 1 CC=$ac_ct_CC d2191 1 a2191 2 echo "$as_me:$LINENO:" \ "checking for C compiler version" >&5 d2193 7 a2199 2 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 d2203 7 a2209 2 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 d2213 7 a2219 2 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 d2244 2 a2245 2 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 d2247 26 a2272 2 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 d2276 6 a2281 9 # Find the output, starting from the most likely. This scheme is # not robust to junk in `.', hence go to wildcards (a.*) only as a last # resort. # Be careful to initialize this variable, since it used to be cached. # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. ac_cv_exeext= # b.out is created by i960 compilers. for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out d2285 1 a2285 4 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; conftest.$ac_ext ) # This is the source file. d2292 9 a2300 5 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` # FIXME: I believe we export ac_cv_exeext for Libtool, # but it would be cool to find out if it's true. Does anybody # maintain Libtool? --akim. export ac_cv_exeext d2306 2 d2309 6 a2325 2 echo "$as_me:$LINENO: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6 d2327 1 a2327 1 # Check the compiler produces executables we can run. If not, either d2329 2 a2330 2 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 d2335 6 a2340 2 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 d2359 2 a2360 2 echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 d2364 1 a2364 1 # Check the compiler produces executables we can run. If not, either d2366 14 a2379 9 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6 echo "$as_me:$LINENO: checking for suffix of executables" >&5 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 d2390 1 a2390 1 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; a2391 1 export ac_cv_exeext d2405 2 a2406 2 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6 d2411 2 a2412 2 echo "$as_me:$LINENO: checking for suffix of object files" >&5 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 d2432 7 a2438 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 d2442 2 a2443 1 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do d2445 1 a2445 1 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; d2463 2 a2464 2 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6 d2467 2 a2468 2 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 d2491 7 a2497 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d2503 4 a2506 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d2512 1 a2512 1 ac_compiler_gnu=no d2514 2 a2515 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d2519 2 a2520 2 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 d2524 2 a2525 3 CFLAGS="-g" echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 d2529 5 a2533 1 cat >conftest.$ac_ext <<_ACEOF d2549 7 a2555 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d2561 33 a2593 5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 d2595 3 d2599 34 a2632 4 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 d2634 3 d2638 4 a2641 1 (exit $ac_status); }; }; then d2647 7 a2653 1 ac_cv_prog_cc_g=no d2655 3 a2657 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d2659 2 a2660 2 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 d2676 3 a2678 3 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then d2681 1 a2681 1 ac_cv_prog_cc_stdc=no d2715 1 a2715 1 as 'x'. The following induces an error, until -std1 is added to get d2718 1 a2718 1 that's true only with -std1. */ d2721 5 d2740 2 a2741 8 # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" d2745 7 a2751 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d2757 5 a2761 16 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break d2766 1 d2768 3 a2770 1 rm -f conftest.err conftest.$ac_objext d2772 1 a2772 1 rm -f conftest.$ac_ext conftest.$ac_objext d2776 8 a2783 5 case "x$ac_cv_prog_cc_stdc" in x|xno) echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; d2785 3 a2787 3 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; d2790 28 a2817 38 # Some people use a C++ compiler to compile C. Since we use `exit', # in C++ we need to declare it. In case someone uses the same compiler # for both compiling C and C++ we need to have the C++ compiler decide # the declaration of exit, since it's the most demanding environment. cat >conftest.$ac_ext <<_ACEOF #ifndef __cplusplus choke me #endif _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ '' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' d2819 3 a2821 135 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration #include int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f 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 # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. d2833 1 a2833 1 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then d2852 1 d2859 2 a2860 2 # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will d2862 1 a2862 1 # removed, or if the path is relative. d2866 2 a2867 2 echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6 d2877 2 a2878 2 echo "$as_me:$LINENO: checking whether ln -s works" >&5 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 d2881 2 a2882 2 echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 d2884 2 a2885 2 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 echo "${ECHO_T}no, using $LN_S" >&6 d2891 2 a2892 2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 d2905 1 a2905 1 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then d2912 1 d2918 2 a2919 2 echo "$as_me:$LINENO: result: $RANLIB" >&5 echo "${ECHO_T}$RANLIB" >&6 d2921 2 a2922 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d2925 1 d2931 2 a2932 2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 d2945 1 a2945 1 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then d2952 1 a2953 1 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" d2958 2 a2959 2 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 echo "${ECHO_T}$ac_ct_RANLIB" >&6 d2961 2 a2962 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d2965 15 a2979 1 RANLIB=$ac_ct_RANLIB d2988 2 a2989 2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 d3002 1 a3002 1 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then d3009 1 d3015 2 a3016 2 echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6 d3018 2 a3019 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d3022 1 d3028 2 a3029 2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 d3042 1 a3042 1 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then d3049 1 d3055 2 a3056 2 echo "$as_me:$LINENO: result: $AR" >&5 echo "${ECHO_T}$AR" >&6 d3058 2 a3059 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d3063 1 d3071 2 a3072 2 echo "$as_me:$LINENO: checking for fparseln in -lutil" >&5 echo $ECHO_N "checking for fparseln in -lutil... $ECHO_C" >&6 d3085 3 a3087 1 /* Override any gcc2 internal prototype to avoid an error. */ a3090 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d3095 1 a3095 1 fparseln (); d3101 7 a3107 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d3113 5 a3117 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d3123 1 a3123 1 ac_cv_lib_util_fparseln=no d3125 2 a3126 1 rm -f conftest.err conftest.$ac_objext \ d3130 2 a3131 2 echo "$as_me:$LINENO: result: $ac_cv_lib_util_fparseln" >&5 echo "${ECHO_T}$ac_cv_lib_util_fparseln" >&6 d3147 2 a3148 2 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 d3182 7 a3188 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 d3194 4 a3197 11 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then d3206 1 d3209 1 a3209 1 # OK, works on sane cases. Now check whether non-existent headers d3219 7 a3225 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 d3231 4 a3234 11 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then d3245 1 d3263 2 a3264 2 echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6 d3287 7 a3293 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 d3299 4 a3302 11 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then d3311 1 d3314 1 a3314 1 # OK, works on sane cases. Now check whether non-existent headers d3324 7 a3330 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 d3336 4 a3339 11 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then d3350 1 d3373 91 a3463 3 echo "$as_me:$LINENO: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 if test "${ac_cv_prog_egrep+set}" = set; then d3466 32 a3497 3 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' d3499 15 a3514 3 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 EGREP=$ac_cv_prog_egrep d3516 17 d3534 3 a3536 2 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 d3560 7 a3566 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d3572 4 a3575 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d3581 1 a3581 1 ac_cv_header_stdc=no d3583 2 a3584 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d3640 1 d3660 2 a3661 2 exit(2); exit (0); d3665 7 a3671 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 d3675 6 a3680 2 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 d3693 1 a3693 1 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d3695 2 d3699 2 a3700 2 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6 d3709 2 a3710 2 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 d3734 7 a3740 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d3746 4 a3749 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d3755 1 a3755 1 ac_cv_header_time=no d3757 2 a3758 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d3760 2 a3761 2 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 echo "${ECHO_T}$ac_cv_header_time" >&6 d3785 3 a3787 3 echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d3801 7 a3807 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d3813 4 a3816 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d3822 1 a3822 1 eval "$as_ac_Header=no" d3824 2 a3825 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d3827 3 a3829 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d3849 4 a3852 4 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d3855 3 a3857 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d3860 2 a3861 2 echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 d3872 7 a3878 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d3884 4 a3887 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d3893 1 a3893 1 ac_header_compiler=no d3895 4 a3898 3 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 d3901 2 a3902 2 echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 d3911 7 a3917 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 d3923 4 a3926 11 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then d3934 1 d3936 2 a3937 2 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 d3961 1 a3961 2 ( cat <<\_ASBOX d3966 1 a3966 2 ) | sed "s/^/$as_me: WARNING: /" >&2 d3969 3 a3971 3 echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d3976 3 a3978 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d4047 4 a4050 4 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d4053 3 a4055 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d4058 2 a4059 2 echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 d4070 7 a4076 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d4082 4 a4085 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d4091 1 a4091 1 ac_header_compiler=no d4093 4 a4096 3 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 d4099 2 a4100 2 echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 d4109 7 a4115 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 d4121 4 a4124 11 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then d4132 1 d4134 2 a4135 2 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 d4159 1 a4159 2 ( cat <<\_ASBOX d4164 1 a4164 2 ) | sed "s/^/$as_me: WARNING: /" >&2 d4167 3 a4169 3 echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d4174 3 a4176 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d4192 3 a4194 3 echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d4213 7 a4219 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d4225 4 a4228 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d4234 1 a4234 1 eval "$as_ac_Header=no" d4236 2 a4237 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d4239 3 a4241 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d4258 4 a4261 4 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d4264 3 a4266 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d4269 2 a4270 2 echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 d4281 7 a4287 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d4293 4 a4296 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d4302 1 a4302 1 ac_header_compiler=no d4304 4 a4307 3 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 d4310 2 a4311 2 echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 d4320 7 a4326 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 d4332 4 a4335 11 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then d4343 1 d4345 2 a4346 2 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 d4370 1 a4370 2 ( cat <<\_ASBOX d4375 1 a4375 2 ) | sed "s/^/$as_me: WARNING: /" >&2 d4378 3 a4380 3 echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d4385 3 a4387 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d4405 1 a4405 4 case $LIBOBJS in "glob.$ac_objext" | \ *" glob.$ac_objext" | \ "glob.$ac_objext "* | \ d4407 2 a4408 1 *) LIBOBJS="$LIBOBJS glob.$ac_objext" ;; d4416 4 a4419 4 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d4422 3 a4424 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d4427 2 a4428 2 echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 d4439 7 a4445 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d4451 4 a4454 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d4460 1 a4460 1 ac_header_compiler=no d4462 4 a4465 3 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 d4468 2 a4469 2 echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 d4478 7 a4484 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 d4490 4 a4493 11 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then d4501 1 d4503 2 a4504 2 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 d4528 1 a4528 2 ( cat <<\_ASBOX d4533 1 a4533 2 ) | sed "s/^/$as_me: WARNING: /" >&2 d4536 3 a4538 3 echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d4543 3 a4545 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d4568 4 a4571 4 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d4574 3 a4576 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d4579 2 a4580 2 echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 d4591 7 a4597 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d4603 4 a4606 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d4612 1 a4612 1 ac_header_compiler=no d4614 4 a4617 3 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 d4620 2 a4621 2 echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 d4630 7 a4636 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 d4642 4 a4645 11 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then d4653 1 d4655 2 a4656 2 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 d4680 1 a4680 2 ( cat <<\_ASBOX d4685 1 a4685 2 ) | sed "s/^/$as_me: WARNING: /" >&2 d4688 3 a4690 3 echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d4695 3 a4697 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d4709 2 a4710 2 echo "$as_me:$LINENO: checking for regexec" >&5 echo $ECHO_N "checking for regexec... $ECHO_C" >&6 d4737 3 a4739 1 /* Override any gcc2 internal prototype to avoid an error. */ a4741 1 { a4742 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d4747 1 a4747 1 #if defined (__stub_regexec) || defined (__stub___regexec) a4748 5 #else char (*f) () = regexec; #endif #ifdef __cplusplus } d4754 1 a4754 1 return f != regexec; d4760 7 a4766 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d4772 5 a4776 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d4782 1 a4782 1 ac_cv_func_regexec=no d4784 2 a4785 1 rm -f conftest.err conftest.$ac_objext \ d4788 2 a4789 2 echo "$as_me:$LINENO: result: $ac_cv_func_regexec" >&5 echo "${ECHO_T}$ac_cv_func_regexec" >&6 d4800 1 a4800 4 case $LIBOBJS in "regcomp.$ac_objext" | \ *" regcomp.$ac_objext" | \ "regcomp.$ac_objext "* | \ d4802 2 a4803 1 *) LIBOBJS="$LIBOBJS regcomp.$ac_objext" ;; d4806 1 a4806 4 case $LIBOBJS in "regerror.$ac_objext" | \ *" regerror.$ac_objext" | \ "regerror.$ac_objext "* | \ d4808 2 a4809 1 *) LIBOBJS="$LIBOBJS regerror.$ac_objext" ;; d4812 1 a4812 4 case $LIBOBJS in "regexec.$ac_objext" | \ *" regexec.$ac_objext" | \ "regexec.$ac_objext "* | \ d4814 2 a4815 1 *) LIBOBJS="$LIBOBJS regexec.$ac_objext" ;; d4818 1 a4818 4 case $LIBOBJS in "regfree.$ac_objext" | \ *" regfree.$ac_objext" | \ "regfree.$ac_objext "* | \ d4820 2 a4821 1 *) LIBOBJS="$LIBOBJS regfree.$ac_objext" ;; d4832 4 a4835 4 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d4838 3 a4840 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d4843 2 a4844 2 echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 d4855 7 a4861 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d4867 4 a4870 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d4876 1 a4876 1 ac_header_compiler=no d4878 4 a4881 3 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 d4884 2 a4885 2 echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 d4894 7 a4900 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 d4906 4 a4909 11 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then d4917 1 d4919 2 a4920 2 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 d4944 1 a4944 2 ( cat <<\_ASBOX d4949 1 a4949 2 ) | sed "s/^/$as_me: WARNING: /" >&2 d4952 3 a4954 3 echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d4959 3 a4961 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d4970 2 a4971 2 echo "$as_me:$LINENO: checking for MD5Init in md5.h" >&5 echo $ECHO_N "checking for MD5Init in md5.h... $ECHO_C" >&6 d4998 7 a5004 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d5010 4 a5013 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d5019 1 a5019 1 pkg_cv_have_md5init=no d5021 2 a5022 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d5025 2 a5026 2 echo "$as_me:$LINENO: result: $pkg_cv_have_md5init" >&5 echo "${ECHO_T}$pkg_cv_have_md5init" >&6 d5050 2 a5051 1 for ac_header in md5.h rmd160.h sha1.h d5054 4 a5057 4 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d5060 3 a5062 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d5065 2 a5066 2 echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 d5077 7 a5083 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d5089 4 a5092 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d5098 1 a5098 1 ac_header_compiler=no d5100 4 a5103 3 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 d5106 2 a5107 2 echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 d5116 7 a5122 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 d5128 4 a5131 11 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then d5139 1 d5141 2 a5142 2 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 d5166 1 a5166 2 ( cat <<\_ASBOX d5171 1 a5171 2 ) | sed "s/^/$as_me: WARNING: /" >&2 d5174 3 a5176 3 echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d5181 3 a5183 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d5195 2 a5196 2 echo "$as_me:$LINENO: checking for MD5File" >&5 echo $ECHO_N "checking for MD5File... $ECHO_C" >&6 d5223 3 a5225 1 /* Override any gcc2 internal prototype to avoid an error. */ a5227 1 { a5228 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d5233 1 a5233 1 #if defined (__stub_MD5File) || defined (__stub___MD5File) a5234 5 #else char (*f) () = MD5File; #endif #ifdef __cplusplus } d5240 1 a5240 1 return f != MD5File; d5246 7 a5252 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d5258 5 a5262 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d5268 1 a5268 1 ac_cv_func_MD5File=no d5270 2 a5271 1 rm -f conftest.err conftest.$ac_objext \ d5274 2 a5275 2 echo "$as_me:$LINENO: result: $ac_cv_func_MD5File" >&5 echo "${ECHO_T}$ac_cv_func_MD5File" >&6 d5286 1 a5286 4 case $LIBOBJS in "md5c.$ac_objext" | \ *" md5c.$ac_objext" | \ "md5c.$ac_objext "* | \ d5288 2 a5289 1 *) LIBOBJS="$LIBOBJS md5c.$ac_objext" ;; d5292 1 a5292 4 case $LIBOBJS in "md5hl.$ac_objext" | \ *" md5hl.$ac_objext" | \ "md5hl.$ac_objext "* | \ d5294 2 a5295 1 *) LIBOBJS="$LIBOBJS md5hl.$ac_objext" ;; d5301 2 a5302 2 echo "$as_me:$LINENO: checking for RMD160File" >&5 echo $ECHO_N "checking for RMD160File... $ECHO_C" >&6 d5329 3 a5331 1 /* Override any gcc2 internal prototype to avoid an error. */ a5333 1 { a5334 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d5339 1 a5339 1 #if defined (__stub_RMD160File) || defined (__stub___RMD160File) a5340 5 #else char (*f) () = RMD160File; #endif #ifdef __cplusplus } d5346 1 a5346 1 return f != RMD160File; d5352 7 a5358 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d5364 5 a5368 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d5374 1 a5374 1 ac_cv_func_RMD160File=no d5376 2 a5377 1 rm -f conftest.err conftest.$ac_objext \ d5380 2 a5381 2 echo "$as_me:$LINENO: result: $ac_cv_func_RMD160File" >&5 echo "${ECHO_T}$ac_cv_func_RMD160File" >&6 d5392 1 a5392 4 case $LIBOBJS in "rmd160.$ac_objext" | \ *" rmd160.$ac_objext" | \ "rmd160.$ac_objext "* | \ d5394 2 a5395 1 *) LIBOBJS="$LIBOBJS rmd160.$ac_objext" ;; d5398 1 a5398 4 case $LIBOBJS in "rmd160hl.$ac_objext" | \ *" rmd160hl.$ac_objext" | \ "rmd160hl.$ac_objext "* | \ d5400 2 a5401 1 *) LIBOBJS="$LIBOBJS rmd160hl.$ac_objext" ;; d5407 2 a5408 2 echo "$as_me:$LINENO: checking for SHA1File" >&5 echo $ECHO_N "checking for SHA1File... $ECHO_C" >&6 d5435 3 a5437 1 /* Override any gcc2 internal prototype to avoid an error. */ a5439 1 { a5440 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d5445 1 a5445 1 #if defined (__stub_SHA1File) || defined (__stub___SHA1File) a5446 5 #else char (*f) () = SHA1File; #endif #ifdef __cplusplus } d5452 1 a5452 1 return f != SHA1File; d5458 7 a5464 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d5470 5 a5474 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d5480 1 a5480 1 ac_cv_func_SHA1File=no d5482 2 a5483 1 rm -f conftest.err conftest.$ac_objext \ d5486 2 a5487 2 echo "$as_me:$LINENO: result: $ac_cv_func_SHA1File" >&5 echo "${ECHO_T}$ac_cv_func_SHA1File" >&6 d5498 1 a5498 4 case $LIBOBJS in "sha1.$ac_objext" | \ *" sha1.$ac_objext" | \ "sha1.$ac_objext "* | \ d5500 2 a5501 1 *) LIBOBJS="$LIBOBJS sha1.$ac_objext" ;; d5504 1 a5504 4 case $LIBOBJS in "sha1hl.$ac_objext" | \ *" sha1hl.$ac_objext" | \ "sha1hl.$ac_objext "* | \ d5506 109 a5614 1 *) LIBOBJS="$LIBOBJS sha1hl.$ac_objext" ;; d5626 4 a5629 4 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d5632 3 a5634 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d5637 2 a5638 2 echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 d5649 7 a5655 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d5661 4 a5664 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d5670 1 a5670 1 ac_header_compiler=no d5672 4 a5675 3 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 d5678 2 a5679 2 echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 d5688 7 a5694 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 d5700 4 a5703 11 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then d5711 1 d5713 2 a5714 2 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 d5738 1 a5738 2 ( cat <<\_ASBOX d5743 1 a5743 2 ) | sed "s/^/$as_me: WARNING: /" >&2 d5746 3 a5748 3 echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d5753 3 a5755 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d5764 2 a5765 2 echo "$as_me:$LINENO: checking for struct option" >&5 echo $ECHO_N "checking for struct option... $ECHO_C" >&6 d5786 7 a5792 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d5798 4 a5801 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d5807 1 a5807 1 pkg_cv_have_struct_option=no d5809 2 a5810 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d5813 2 a5814 2 echo "$as_me:$LINENO: result: $pkg_cv_have_struct_option" >&5 echo "${ECHO_T}$pkg_cv_have_struct_option" >&6 d5835 1 a5835 4 case $LIBOBJS in "getopt_long.$ac_objext" | \ *" getopt_long.$ac_objext" | \ "getopt_long.$ac_objext "* | \ d5837 2 a5838 1 *) LIBOBJS="$LIBOBJS getopt_long.$ac_objext" ;; d5848 4 a5851 4 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d5854 3 a5856 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d5859 2 a5860 2 echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 d5871 7 a5877 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d5883 4 a5886 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d5892 1 a5892 1 ac_header_compiler=no d5894 4 a5897 3 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 d5900 2 a5901 2 echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 d5910 7 a5916 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 d5922 6 a5927 13 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else d5933 1 d5935 2 a5936 2 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 d5960 1 a5960 2 ( cat <<\_ASBOX d5965 1 a5965 2 ) | sed "s/^/$as_me: WARNING: /" >&2 d5968 3 a5970 3 echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d5975 3 a5977 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d5986 2 a5987 2 echo "$as_me:$LINENO: checking for VIS_WHITE in vis.h" >&5 echo $ECHO_N "checking for VIS_WHITE in vis.h... $ECHO_C" >&6 d6011 7 a6017 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d6023 4 a6026 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d6032 1 a6032 1 pkg_cv_have_vis_white=no d6034 2 a6035 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d6038 2 a6039 2 echo "$as_me:$LINENO: result: $pkg_cv_have_vis_white" >&5 echo "${ECHO_T}$pkg_cv_have_vis_white" >&6 d6051 3 a6053 3 echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then d6079 3 a6081 1 /* Override any gcc2 internal prototype to avoid an error. */ a6083 1 { a6084 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d6089 1 a6089 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) a6090 5 #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } d6096 1 a6096 1 return f != $ac_func; d6102 7 a6108 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d6114 5 a6118 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d6124 1 a6124 1 eval "$as_ac_var=no" d6126 2 a6127 1 rm -f conftest.err conftest.$ac_objext \ d6130 3 a6132 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 d6150 3 a6152 3 echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then d6178 3 a6180 1 /* Override any gcc2 internal prototype to avoid an error. */ a6182 1 { a6183 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d6188 1 a6188 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) a6189 5 #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } d6195 1 a6195 1 return f != $ac_func; d6201 7 a6207 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d6213 5 a6217 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d6223 1 a6223 1 eval "$as_ac_var=no" d6225 2 a6226 1 rm -f conftest.err conftest.$ac_objext \ d6229 3 a6231 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 d6261 1 a6261 4 case $LIBOBJS in "vis.$ac_objext" | \ *" vis.$ac_objext" | \ "vis.$ac_objext "* | \ d6263 2 a6264 1 *) LIBOBJS="$LIBOBJS vis.$ac_objext" ;; d6267 1 a6267 4 case $LIBOBJS in "unvis.$ac_objext" | \ *" unvis.$ac_objext" | \ "unvis.$ac_objext "* | \ d6269 2 a6270 1 *) LIBOBJS="$LIBOBJS unvis.$ac_objext" ;; d6276 2 a6277 2 echo "$as_me:$LINENO: checking for __attribute__" >&5 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6 d6299 7 a6305 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d6311 4 a6314 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d6320 1 a6320 1 ac_cv___attribute__=no d6322 2 a6323 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d6333 2 a6334 2 echo "$as_me:$LINENO: result: $ac_cv___attribute__" >&5 echo "${ECHO_T}$ac_cv___attribute__" >&6 d6336 2 a6337 2 echo "$as_me:$LINENO: checking for size_t" >&5 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 d6348 1 d6352 1 a6352 1 if ((size_t *) 0) d6354 1 a6354 1 if (sizeof (size_t)) d6361 7 a6367 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d6373 4 a6376 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d6382 1 a6382 1 ac_cv_type_size_t=no d6384 2 a6385 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d6387 2 a6388 2 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 echo "${ECHO_T}$ac_cv_type_size_t" >&6 d6394 1 a6394 1 #define size_t unsigned d6399 2 a6400 2 echo "$as_me:$LINENO: checking for long long" >&5 echo $ECHO_N "checking for long long... $ECHO_C" >&6 d6424 1 d6428 1 a6428 1 if ((long long *) 0) d6430 1 a6430 1 if (sizeof (long long)) d6437 7 a6443 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d6449 4 a6452 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d6458 1 a6458 1 ac_cv_type_long_long=no d6460 2 a6461 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d6463 2 a6464 2 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 echo "${ECHO_T}$ac_cv_type_long_long" >&6 d6473 2 a6474 2 echo "$as_me:$LINENO: checking for long double" >&5 echo $ECHO_N "checking for long double... $ECHO_C" >&6 d6498 1 d6502 1 a6502 1 if ((long double *) 0) d6504 1 a6504 1 if (sizeof (long double)) d6511 7 a6517 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d6523 4 a6526 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d6532 1 a6532 1 ac_cv_type_long_double=no d6534 2 a6535 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d6537 2 a6538 2 echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5 echo "${ECHO_T}$ac_cv_type_long_double" >&6 d6547 2 a6548 2 echo "$as_me:$LINENO: checking for int8_t" >&5 echo $ECHO_N "checking for int8_t... $ECHO_C" >&6 d6572 1 d6576 1 a6576 1 if ((int8_t *) 0) d6578 1 a6578 1 if (sizeof (int8_t)) d6585 7 a6591 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d6597 4 a6600 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d6606 1 a6606 1 ac_cv_type_int8_t=no d6608 2 a6609 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d6611 2 a6612 2 echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5 echo "${ECHO_T}$ac_cv_type_int8_t" >&6 d6621 2 a6622 2 echo "$as_me:$LINENO: checking for int16_t" >&5 echo $ECHO_N "checking for int16_t... $ECHO_C" >&6 d6646 1 d6650 1 a6650 1 if ((int16_t *) 0) d6652 1 a6652 1 if (sizeof (int16_t)) d6659 7 a6665 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d6671 4 a6674 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d6680 1 a6680 1 ac_cv_type_int16_t=no d6682 2 a6683 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d6685 2 a6686 2 echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5 echo "${ECHO_T}$ac_cv_type_int16_t" >&6 d6695 2 a6696 2 echo "$as_me:$LINENO: checking for int32_t" >&5 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6 d6720 1 d6724 1 a6724 1 if ((int32_t *) 0) d6726 1 a6726 1 if (sizeof (int32_t)) d6733 7 a6739 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d6745 4 a6748 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d6754 1 a6754 1 ac_cv_type_int32_t=no d6756 2 a6757 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d6759 2 a6760 2 echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5 echo "${ECHO_T}$ac_cv_type_int32_t" >&6 d6769 2 a6770 2 echo "$as_me:$LINENO: checking for int64_t" >&5 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6 d6794 1 d6798 1 a6798 1 if ((int64_t *) 0) d6800 1 a6800 1 if (sizeof (int64_t)) d6807 7 a6813 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d6819 4 a6822 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d6828 1 a6828 1 ac_cv_type_int64_t=no d6830 2 a6831 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d6833 2 a6834 2 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 echo "${ECHO_T}$ac_cv_type_int64_t" >&6 d6843 2 a6844 2 echo "$as_me:$LINENO: checking for u_int8_t" >&5 echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6 d6868 1 d6872 1 a6872 1 if ((u_int8_t *) 0) d6874 1 a6874 1 if (sizeof (u_int8_t)) d6881 7 a6887 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d6893 4 a6896 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d6902 1 a6902 1 ac_cv_type_u_int8_t=no d6904 2 a6905 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d6907 2 a6908 2 echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5 echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6 d6917 2 a6918 2 echo "$as_me:$LINENO: checking for u_int16_t" >&5 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6 d6942 1 d6946 1 a6946 1 if ((u_int16_t *) 0) d6948 1 a6948 1 if (sizeof (u_int16_t)) d6955 7 a6961 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d6967 4 a6970 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d6976 1 a6976 1 ac_cv_type_u_int16_t=no d6978 2 a6979 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d6981 2 a6982 2 echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6 d6991 2 a6992 2 echo "$as_me:$LINENO: checking for u_int32_t" >&5 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6 d7016 1 d7020 1 a7020 1 if ((u_int32_t *) 0) d7022 1 a7022 1 if (sizeof (u_int32_t)) d7029 7 a7035 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d7041 4 a7044 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d7050 1 a7050 1 ac_cv_type_u_int32_t=no d7052 2 a7053 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d7055 2 a7056 2 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6 d7065 2 a7066 2 echo "$as_me:$LINENO: checking for u_int64_t" >&5 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6 d7090 1 d7094 1 a7094 1 if ((u_int64_t *) 0) d7096 1 a7096 1 if (sizeof (u_int64_t)) d7103 7 a7109 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d7115 4 a7118 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d7124 1 a7124 1 ac_cv_type_u_int64_t=no d7126 2 a7127 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d7129 2 a7130 2 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6 d7139 2 a7140 2 echo "$as_me:$LINENO: checking for uint8_t" >&5 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6 d7164 1 d7168 1 a7168 1 if ((uint8_t *) 0) d7170 1 a7170 1 if (sizeof (uint8_t)) d7177 7 a7183 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d7189 4 a7192 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d7198 1 a7198 1 ac_cv_type_uint8_t=no d7200 2 a7201 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d7203 2 a7204 2 echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5 echo "${ECHO_T}$ac_cv_type_uint8_t" >&6 d7213 2 a7214 2 echo "$as_me:$LINENO: checking for uint16_t" >&5 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6 d7238 1 d7242 1 a7242 1 if ((uint16_t *) 0) d7244 1 a7244 1 if (sizeof (uint16_t)) d7251 7 a7257 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d7263 4 a7266 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d7272 1 a7272 1 ac_cv_type_uint16_t=no d7274 2 a7275 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d7277 2 a7278 2 echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6 d7287 2 a7288 2 echo "$as_me:$LINENO: checking for uint32_t" >&5 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6 d7312 1 d7316 1 a7316 1 if ((uint32_t *) 0) d7318 1 a7318 1 if (sizeof (uint32_t)) d7325 7 a7331 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d7337 4 a7340 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d7346 1 a7346 1 ac_cv_type_uint32_t=no d7348 2 a7349 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d7351 2 a7352 2 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6 d7361 2 a7362 2 echo "$as_me:$LINENO: checking for uint64_t" >&5 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6 d7386 1 d7390 1 a7390 1 if ((uint64_t *) 0) d7392 1 a7392 1 if (sizeof (uint64_t)) d7399 7 a7405 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d7411 4 a7414 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d7420 1 a7420 1 ac_cv_type_uint64_t=no d7422 2 a7423 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d7425 2 a7426 2 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6 d7436 2 a7437 2 echo "$as_me:$LINENO: checking for fsid_t" >&5 echo $ECHO_N "checking for fsid_t... $ECHO_C" >&6 d7460 1 d7464 1 a7464 1 if ((fsid_t *) 0) d7466 1 a7466 1 if (sizeof (fsid_t)) d7473 7 a7479 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d7485 4 a7488 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d7494 1 a7494 1 ac_cv_type_fsid_t=no d7496 2 a7497 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d7499 2 a7500 2 echo "$as_me:$LINENO: result: $ac_cv_type_fsid_t" >&5 echo "${ECHO_T}$ac_cv_type_fsid_t" >&6 d7510 2 a7511 2 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 d7528 2 a7529 1 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN d7538 7 a7544 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d7550 4 a7553 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d7576 7 a7582 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d7588 4 a7591 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d7597 1 a7597 1 ac_cv_c_bigendian=no d7599 2 a7600 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d7605 1 a7605 1 # It does not; compile a test program. d7615 2 a7616 2 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; d7618 2 a7619 2 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; d7630 7 a7636 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d7642 4 a7645 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d7661 1 d7663 2 a7664 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d7672 1 d7676 1 d7680 2 a7681 2 long l; char c[sizeof (long)]; d7684 4 a7687 1 exit (u.c[sizeof (long) - 1] == 1); d7691 7 a7697 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 d7701 6 a7706 2 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 d7719 1 a7719 1 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d7721 2 d7724 2 a7725 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d7727 2 a7728 2 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 d7746 2 a7747 2 echo "$as_me:$LINENO: checking for off_t" >&5 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 d7758 1 d7762 1 a7762 1 if ((off_t *) 0) d7764 1 a7764 1 if (sizeof (off_t)) d7771 7 a7777 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d7783 4 a7786 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d7792 1 a7792 1 ac_cv_type_off_t=no d7794 2 a7795 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d7797 2 a7798 2 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 echo "${ECHO_T}$ac_cv_type_off_t" >&6 d7800 6 a7805 2 echo "$as_me:$LINENO: checking size of off_t" >&5 echo $ECHO_N "checking size of off_t... $ECHO_C" >&6 a7808 5 if test "$ac_cv_type_off_t" = yes; then # The cast to unsigned long works around a bug in the HP C Compiler # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. # This bug is HP SR number 8606223364. d7818 1 d7822 1 a7822 1 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)]; d7830 7 a7836 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d7842 4 a7845 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d7855 1 d7859 1 a7859 1 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)]; d7867 7 a7873 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d7879 4 a7882 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d7888 6 a7893 6 ac_lo=`expr $ac_mid + 1` if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` d7895 2 a7896 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d7902 1 a7902 1 cat >conftest.$ac_ext <<_ACEOF d7909 1 d7913 1 a7913 1 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)]; d7921 7 a7927 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d7933 4 a7936 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d7946 1 d7950 1 a7950 1 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)]; d7958 7 a7964 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d7970 4 a7973 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d7979 6 a7984 6 ac_hi=`expr '(' $ac_mid ')' - 1` if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` d7986 2 a7987 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d7993 1 a7993 1 ac_lo= ac_hi= d7995 2 a7996 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d7998 2 a7999 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d8010 1 d8014 1 a8014 1 static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)]; d8022 7 a8028 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d8034 4 a8037 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d8043 1 a8043 1 ac_lo=`expr '(' $ac_mid ')' + 1` d8045 2 a8046 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d8050 2 a8051 1 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77 d8053 1 a8053 1 echo "$as_me: error: cannot compute sizeof (off_t), 77 d8055 4 a8058 1 { (exit 1); exit 1; }; } ;; a8060 7 if test "$cross_compiling" = yes; then { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling See \`config.log' for more details." >&5 echo "$as_me: error: cannot run test program while cross compiling See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } else d8068 3 a8070 2 long longval () { return (long) (sizeof (off_t)); } unsigned long ulongval () { return (long) (sizeof (off_t)); } d8079 2 a8080 2 exit (1); if (((long) (sizeof (off_t))) < 0) d8082 3 a8084 3 long i = longval (); if (i != ((long) (sizeof (off_t)))) exit (1); d8089 3 a8091 3 unsigned long i = ulongval (); if (i != ((long) (sizeof (off_t)))) exit (1); d8094 1 a8094 1 exit (ferror (f) || fclose (f) != 0); d8101 7 a8107 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 d8111 6 a8116 2 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 d8127 2 a8128 1 { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77 d8130 1 a8130 1 echo "$as_me: error: cannot compute sizeof (off_t), 77 d8132 4 a8135 3 { (exit 1); exit 1; }; } fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d8137 1 a8139 2 else ac_cv_sizeof_off_t=0 d8141 5 a8145 3 fi echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5 echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6 d8157 4 a8160 4 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d8163 3 a8165 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d8168 2 a8169 2 echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 d8180 7 a8186 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d8192 4 a8195 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d8201 1 a8201 1 ac_header_compiler=no d8203 4 a8206 3 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 d8209 2 a8210 2 echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 d8219 7 a8225 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 d8231 4 a8234 11 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then d8242 1 d8244 2 a8245 2 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 d8269 1 a8269 2 ( cat <<\_ASBOX d8274 1 a8274 2 ) | sed "s/^/$as_me: WARNING: /" >&2 d8277 3 a8279 3 echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d8284 3 a8286 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d8298 2 a8299 2 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 d8312 1 a8312 1 #if STDC_HEADERS || HAVE_STDLIB_H d8321 1 a8321 1 exit (malloc (0) ? 0 : 1); d8327 7 a8333 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 d8337 6 a8342 2 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 d8355 1 a8355 1 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d8357 2 d8360 2 a8361 2 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6 d8373 1 a8373 4 case $LIBOBJS in "malloc.$ac_objext" | \ *" malloc.$ac_objext" | \ "malloc.$ac_objext "* | \ d8375 2 a8376 1 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; d8388 2 a8389 2 echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6 d8404 1 a8404 1 char *p = (char *) strerror_r; d8412 7 a8418 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d8424 4 a8427 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d8433 1 a8433 1 ac_cv_have_decl_strerror_r=no d8435 2 a8436 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d8438 2 a8439 2 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6 d8460 3 a8462 3 echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then d8488 3 a8490 1 /* Override any gcc2 internal prototype to avoid an error. */ a8492 1 { a8493 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d8498 1 a8498 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) a8499 5 #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } d8505 1 a8505 1 return f != $ac_func; d8511 7 a8517 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d8523 5 a8527 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d8533 1 a8533 1 eval "$as_ac_var=no" d8535 2 a8536 1 rm -f conftest.err conftest.$ac_objext \ d8539 3 a8541 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 d8550 2 a8551 2 echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5 echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6 d8572 1 d8579 7 a8585 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d8591 4 a8594 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d8600 1 d8602 2 a8603 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d8627 1 a8627 1 exit (!isalpha (x)); d8633 7 a8639 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 d8643 6 a8648 2 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 d8659 1 a8659 1 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d8661 2 d8666 2 a8667 2 echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5 echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6 d8680 3 a8682 3 echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then d8708 3 a8710 1 /* Override any gcc2 internal prototype to avoid an error. */ a8712 1 { a8713 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d8718 1 a8718 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) a8719 5 #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } d8725 1 a8725 1 return f != $ac_func; d8731 7 a8737 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d8743 5 a8747 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d8753 1 a8753 1 eval "$as_ac_var=no" d8755 2 a8756 1 rm -f conftest.err conftest.$ac_objext \ d8759 3 a8761 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 d8767 2 a8768 2 echo "$as_me:$LINENO: checking for _doprnt" >&5 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 d8795 3 a8797 1 /* Override any gcc2 internal prototype to avoid an error. */ a8799 1 { a8800 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d8805 1 a8805 1 #if defined (__stub__doprnt) || defined (__stub____doprnt) a8806 5 #else char (*f) () = _doprnt; #endif #ifdef __cplusplus } d8812 1 a8812 1 return f != _doprnt; d8818 7 a8824 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d8830 5 a8834 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d8840 1 a8840 1 ac_cv_func__doprnt=no d8842 2 a8843 1 rm -f conftest.err conftest.$ac_objext \ d8846 2 a8847 2 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 d8897 3 a8899 3 echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then d8925 3 a8927 1 /* Override any gcc2 internal prototype to avoid an error. */ a8929 1 { a8930 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d8935 1 a8935 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) a8936 5 #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } d8942 1 a8942 1 return f != $ac_func; d8948 7 a8954 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d8960 5 a8964 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d8970 1 a8970 1 eval "$as_ac_var=no" d8972 2 a8973 1 rm -f conftest.err conftest.$ac_objext \ d8976 3 a8978 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 d8985 1 a8985 4 case $LIBOBJS in "$ac_func.$ac_objext" | \ *" $ac_func.$ac_objext" | \ "$ac_func.$ac_objext "* | \ d8987 2 a8988 1 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; d9002 3 a9004 3 echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then d9030 3 a9032 1 /* Override any gcc2 internal prototype to avoid an error. */ a9034 1 { a9035 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d9040 1 a9040 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) a9041 5 #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } d9047 1 a9047 1 return f != $ac_func; d9053 7 a9059 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d9065 5 a9069 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d9075 1 a9075 1 eval "$as_ac_var=no" d9077 2 a9078 1 rm -f conftest.err conftest.$ac_objext \ d9081 3 a9083 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 d9091 1 a9091 4 case $LIBOBJS in "findenv.$ac_objext" | \ *" findenv.$ac_objext" | \ "findenv.$ac_objext "* | \ d9093 2 a9094 1 *) LIBOBJS="$LIBOBJS findenv.$ac_objext" ;; d9108 3 a9110 3 echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then d9136 3 a9138 1 /* Override any gcc2 internal prototype to avoid an error. */ a9140 1 { a9141 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d9146 1 a9146 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) a9147 5 #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } d9153 1 a9153 1 return f != $ac_func; d9159 7 a9165 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d9171 5 a9175 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d9181 1 a9181 1 eval "$as_ac_var=no" d9183 2 a9184 1 rm -f conftest.err conftest.$ac_objext \ d9187 3 a9189 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 d9197 1 a9197 4 case $LIBOBJS in "gettemp.$ac_objext" | \ *" gettemp.$ac_objext" | \ "gettemp.$ac_objext "* | \ d9199 2 a9200 1 *) LIBOBJS="$LIBOBJS gettemp.$ac_objext" ;; d9217 3 a9219 3 echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then d9245 3 a9247 1 /* Override any gcc2 internal prototype to avoid an error. */ a9249 1 { a9250 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d9255 1 a9255 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) a9256 5 #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } d9262 1 a9262 1 return f != $ac_func; d9268 7 a9274 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d9280 5 a9284 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d9290 1 a9290 1 eval "$as_ac_var=no" d9292 2 a9293 1 rm -f conftest.err conftest.$ac_objext \ d9296 3 a9298 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 d9312 3 a9314 3 echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then d9340 3 a9342 1 /* Override any gcc2 internal prototype to avoid an error. */ a9344 1 { a9345 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d9350 1 a9350 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) a9351 5 #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } d9357 1 a9357 1 return f != $ac_func; d9363 7 a9369 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d9375 5 a9379 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d9385 1 a9385 1 eval "$as_ac_var=no" d9387 2 a9388 1 rm -f conftest.err conftest.$ac_objext \ d9391 3 a9393 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 d9407 3 a9409 3 echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then d9435 3 a9437 1 /* Override any gcc2 internal prototype to avoid an error. */ a9439 1 { a9440 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d9445 1 a9445 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) a9446 5 #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } d9452 1 a9452 1 return f != $ac_func; d9458 7 a9464 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d9470 5 a9474 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d9480 1 a9480 1 eval "$as_ac_var=no" d9482 2 a9483 1 rm -f conftest.err conftest.$ac_objext \ d9486 3 a9488 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 d9496 1 a9496 4 case $LIBOBJS in "setmode.$ac_objext" | \ *" setmode.$ac_objext" | \ "setmode.$ac_objext "* | \ d9498 2 a9499 1 *) LIBOBJS="$LIBOBJS setmode.$ac_objext" ;; d9519 3 a9521 3 echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then d9547 3 a9549 1 /* Override any gcc2 internal prototype to avoid an error. */ a9551 1 { a9552 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d9557 1 a9557 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) a9558 5 #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } d9564 1 a9564 1 return f != $ac_func; d9570 7 a9576 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d9582 5 a9586 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d9592 1 a9592 1 eval "$as_ac_var=no" d9594 2 a9595 1 rm -f conftest.err conftest.$ac_objext \ d9598 3 a9600 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 d9620 3 a9622 3 echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then d9648 3 a9650 1 /* Override any gcc2 internal prototype to avoid an error. */ a9652 1 { a9653 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d9658 1 a9658 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) a9659 5 #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } d9665 1 a9665 1 return f != $ac_func; d9671 7 a9677 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d9683 5 a9687 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d9693 1 a9693 1 eval "$as_ac_var=no" d9695 2 a9696 1 rm -f conftest.err conftest.$ac_objext \ d9699 3 a9701 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 d9709 1 a9709 4 case $LIBOBJS in "pwcache.$ac_objext" | \ *" pwcache.$ac_objext" | \ "pwcache.$ac_objext "* | \ d9711 2 a9712 1 *) LIBOBJS="$LIBOBJS pwcache.$ac_objext" ;; d9721 2 a9722 2 echo "$as_me:$LINENO: checking for fts_open" >&5 echo $ECHO_N "checking for fts_open... $ECHO_C" >&6 d9749 3 a9751 1 /* Override any gcc2 internal prototype to avoid an error. */ a9753 1 { a9754 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d9759 1 a9759 1 #if defined (__stub_fts_open) || defined (__stub___fts_open) a9760 5 #else char (*f) () = fts_open; #endif #ifdef __cplusplus } d9766 1 a9766 1 return f != fts_open; d9772 7 a9778 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d9784 5 a9788 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d9794 1 a9794 1 ac_cv_func_fts_open=no d9796 2 a9797 1 rm -f conftest.err conftest.$ac_objext \ d9800 2 a9801 2 echo "$as_me:$LINENO: result: $ac_cv_func_fts_open" >&5 echo "${ECHO_T}$ac_cv_func_fts_open" >&6 d9812 1 a9812 4 case $LIBOBJS in "fts.$ac_objext" | \ *" fts.$ac_objext" | \ "fts.$ac_objext "* | \ d9814 2 a9815 1 *) LIBOBJS="$LIBOBJS fts.$ac_objext" ;; d9832 4 a9835 4 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d9838 3 a9840 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d9843 2 a9844 2 echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 d9855 7 a9861 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d9867 4 a9870 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d9876 1 a9876 1 ac_header_compiler=no d9878 4 a9881 3 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 d9884 2 a9885 2 echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 d9894 7 a9900 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 d9906 4 a9909 11 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then d9917 1 d9919 2 a9920 2 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 d9944 1 a9944 2 ( cat <<\_ASBOX d9949 1 a9949 2 ) | sed "s/^/$as_me: WARNING: /" >&2 d9952 3 a9954 3 echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d9959 3 a9961 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d9978 4 a9981 4 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d9984 3 a9986 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d9989 2 a9990 2 echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 d10001 7 a10007 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d10013 4 a10016 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d10022 1 a10022 1 ac_header_compiler=no d10024 4 a10027 3 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 d10030 2 a10031 2 echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 d10040 7 a10046 2 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 d10052 4 a10055 11 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then d10063 1 d10065 2 a10066 2 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 d10090 1 a10090 2 ( cat <<\_ASBOX d10095 1 a10095 2 ) | sed "s/^/$as_me: WARNING: /" >&2 d10098 3 a10100 3 echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then d10105 3 a10107 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d10126 2 a10127 2 echo "$as_me:$LINENO: checking for poll" >&5 echo $ECHO_N "checking for poll... $ECHO_C" >&6 d10154 3 a10156 1 /* Override any gcc2 internal prototype to avoid an error. */ a10158 1 { a10159 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d10164 1 a10164 1 #if defined (__stub_poll) || defined (__stub___poll) a10165 5 #else char (*f) () = poll; #endif #ifdef __cplusplus } d10171 1 a10171 1 return f != poll; d10177 7 a10183 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d10189 5 a10193 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d10199 1 a10199 1 ac_cv_func_poll=no d10201 2 a10202 1 rm -f conftest.err conftest.$ac_objext \ d10205 2 a10206 2 echo "$as_me:$LINENO: result: $ac_cv_func_poll" >&5 echo "${ECHO_T}$ac_cv_func_poll" >&6 d10210 2 a10211 2 echo "$as_me:$LINENO: checking if poll() is implemented natively" >&5 echo $ECHO_N "checking if poll() is implemented natively... $ECHO_C" >&6 d10241 7 a10247 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d10253 6 a10258 16 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then pkg_cv_native_poll=yes else d10262 1 a10262 1 pkg_cv_native_poll=no d10264 2 a10265 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d10268 2 a10269 2 echo "$as_me:$LINENO: result: $pkg_cv_native_poll" >&5 echo "${ECHO_T}$pkg_cv_native_poll" >&6 d10289 1 a10289 4 case $LIBOBJS in "poll.$ac_objext" | \ *" poll.$ac_objext" | \ "poll.$ac_objext "* | \ d10291 2 a10292 1 *) LIBOBJS="$LIBOBJS poll.$ac_objext" ;; d10304 3 a10306 3 echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then d10332 3 a10334 1 /* Override any gcc2 internal prototype to avoid an error. */ a10336 1 { a10337 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d10342 1 a10342 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) a10343 5 #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } d10349 1 a10349 1 return f != $ac_func; d10355 7 a10361 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d10367 5 a10371 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d10377 1 a10377 1 eval "$as_ac_var=no" d10379 2 a10380 1 rm -f conftest.err conftest.$ac_objext \ d10383 3 a10385 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 d10395 2 a10396 2 echo "$as_me:$LINENO: checking for getpgrp" >&5 echo $ECHO_N "checking for getpgrp... $ECHO_C" >&6 d10423 3 a10425 1 /* Override any gcc2 internal prototype to avoid an error. */ a10427 1 { a10428 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d10433 1 a10433 1 #if defined (__stub_getpgrp) || defined (__stub___getpgrp) a10434 5 #else char (*f) () = getpgrp; #endif #ifdef __cplusplus } d10440 1 a10440 1 return f != getpgrp; d10446 7 a10452 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d10458 5 a10462 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d10468 1 a10468 1 ac_cv_func_getpgrp=no d10470 2 a10471 1 rm -f conftest.err conftest.$ac_objext \ d10474 2 a10475 2 echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp" >&5 echo "${ECHO_T}$ac_cv_func_getpgrp" >&6 d10477 2 a10478 2 echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6 d10499 7 a10505 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d10511 4 a10514 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d10520 1 a10520 1 ac_cv_func_getpgrp_void=yes d10522 2 a10523 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d10526 2 a10527 2 echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6 d10539 2 a10540 2 echo "$as_me:$LINENO: checking for struct statfs.f_fsize" >&5 echo $ECHO_N "checking for struct statfs.f_fsize... $ECHO_C" >&6 d10563 7 a10569 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d10575 4 a10578 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d10584 1 a10584 1 cat >conftest.$ac_ext <<_ACEOF d10603 7 a10609 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d10615 4 a10618 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d10624 1 a10624 1 ac_cv_member_struct_statfs_f_fsize=no d10626 2 a10627 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d10629 2 a10630 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d10632 2 a10633 2 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_fsize" >&5 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_fsize" >&6 d10645 2 a10646 2 echo "$as_me:$LINENO: checking for struct statfs.f_iosize" >&5 echo $ECHO_N "checking for struct statfs.f_iosize... $ECHO_C" >&6 d10669 7 a10675 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d10681 4 a10684 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d10690 1 a10690 1 cat >conftest.$ac_ext <<_ACEOF d10709 7 a10715 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d10721 4 a10724 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d10730 1 a10730 1 ac_cv_member_struct_statfs_f_iosize=no d10732 2 a10733 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d10735 2 a10736 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d10738 2 a10739 2 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_iosize" >&5 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_iosize" >&6 d10751 2 a10752 2 echo "$as_me:$LINENO: checking for struct dirent.d_namlen" >&5 echo $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6 d10789 7 a10795 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d10801 4 a10804 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d10810 1 a10810 1 cat >conftest.$ac_ext <<_ACEOF d10843 7 a10849 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d10855 4 a10858 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d10864 1 a10864 1 ac_cv_member_struct_dirent_d_namlen=no d10866 2 a10867 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d10869 2 a10870 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d10872 2 a10873 2 echo "$as_me:$LINENO: result: $ac_cv_member_struct_dirent_d_namlen" >&5 echo "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6 d10889 2 a10890 2 echo "$as_me:$LINENO: checking *printf() support for %lld" >&5 echo $ECHO_N "checking *printf() support for %lld... $ECHO_C" >&6 d10911 7 a10917 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 d10921 6 a10926 2 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 d10931 2 a10932 2 echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 d10942 2 a10943 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d10946 1 a10946 1 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d10949 2 d10952 2 a10953 2 echo "$as_me:$LINENO: checking *printf() support for %qd" >&5 echo $ECHO_N "checking *printf() support for %qd... $ECHO_C" >&6 d10973 7 a10979 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 d10983 6 a10988 2 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 d10993 2 a10994 2 echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 d11010 2 a11011 2 echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 d11014 1 a11014 1 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d11016 2 d11031 3 a11033 3 echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then d11059 3 a11061 1 /* Override any gcc2 internal prototype to avoid an error. */ a11063 1 { a11064 2 /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ d11069 1 a11069 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) a11070 5 #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } d11076 1 a11076 1 return f != $ac_func; d11082 7 a11088 2 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d11094 5 a11098 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d11104 1 a11104 1 eval "$as_ac_var=no" d11106 2 a11107 1 rm -f conftest.err conftest.$ac_objext \ d11110 3 a11112 2 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 d11119 1 a11119 4 case $LIBOBJS in "$ac_func.$ac_objext" | \ *" $ac_func.$ac_objext" | \ "$ac_func.$ac_objext "* | \ d11121 2 a11122 1 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; d11133 2 a11134 2 echo "$as_me:$LINENO: checking whether optind is declared" >&5 echo $ECHO_N "checking whether optind is declared... $ECHO_C" >&6 d11154 1 a11154 1 char *p = (char *) optind; d11162 7 a11168 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d11174 4 a11177 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d11183 1 a11183 1 ac_cv_have_decl_optind=no d11185 2 a11186 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d11188 2 a11189 2 echo "$as_me:$LINENO: result: $ac_cv_have_decl_optind" >&5 echo "${ECHO_T}$ac_cv_have_decl_optind" >&6 d11204 2 a11205 2 echo "$as_me:$LINENO: checking whether optreset is declared" >&5 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6 d11225 1 a11225 1 char *p = (char *) optreset; d11233 7 a11239 2 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d11245 4 a11248 14 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then d11254 1 a11254 1 ac_cv_have_decl_optreset=no d11256 2 a11257 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d11259 2 a11260 2 echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6 d11281 1 a11281 1 ac_config_files="$ac_config_files Makefile" d11301 1 a11301 1 # So, don't put newlines in cache variables' values. d11304 16 a11319 1 { d11321 2 a11322 2 case `(ac_space=' '; set | grep ac_space) 2>&1` in *ac_space=\ *) d11328 1 a11328 1 ;; d11331 1 a11331 2 sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" d11333 3 a11335 2 esac; } | d11337 1 d11339 1 a11339 1 : clear d11342 7 a11348 5 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ : end' >>confcache if diff $cache_file confcache >/dev/null 2>&1; then :; else if test -w $cache_file; then test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" d11351 2 a11352 1 echo "not updating unwritable cache $cache_file" a11360 15 # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @@srcdir@@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/; s/:*\${srcdir}:*/:/; s/:*@@srcdir@@:*/:/; s/^\([^=]*=[ ]*\):*/\1/; s/:*$//; s/^[^=]*=[ ]*$//; }' fi d11367 6 a11372 5 ac_i=`echo "$ac_i" | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` # 2. Add them. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' d11403 2 a11404 1 # Be Bourne compatible d11411 30 a11440 2 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix a11441 1 DUALCASE=1; export DUALCASE # for MKS sh d11451 33 d11485 3 a11487 1 $as_unset ENV MAIL MAILPATH d11501 1 a11501 1 $as_unset $as_var d11506 2 a11507 1 if expr a : '\(a\)' >/dev/null 2>&1; then d11513 1 a11513 1 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then d11521 1 a11521 1 as_me=`$as_basename "$0" || d11524 1 a11524 2 X"$0" : 'X\(/\)$' \| \ . : '\(.\)' 2>/dev/null || d11526 13 a11538 4 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` d11540 2 a11541 21 # PATH needs CR, and LINENO needs CR and PATH. # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi a11543 16 as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done a11544 23 ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' a11546 1 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` d11548 1 a11548 12 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@@"} fi;; esac done done ;; esac d11552 5 a11556 4 # line-number line before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, and appends trailing '-' during # substitution so that $LINENO is not a special case at line end. d11558 6 a11563 2 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | d11565 4 d11570 2 a11571 3 s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, d11573 1 a11573 2 s,-$,, s,^['$as_cr_digits']*\n,, d11575 2 a11576 3 chmod +x $as_me.lineno || { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} d11581 2 a11582 2 # original and so on. Autoconf is especially sensible to this). . ./$as_me.lineno d11588 15 a11602 5 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; d11605 2 a11606 1 if expr a : '\(a\)' >/dev/null 2>&1; then d11613 6 d11621 6 a11626 4 # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links a11627 3 else as_ln_s='ln -s' fi d11633 2 a11634 1 rm -f conf$$ conf$$.exe conf$$.file d11643 22 a11664 1 as_executable_p="test -f" a11672 9 # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH d11675 1 a11675 1 # Open the log real soon, to keep \$[0] and so on meaningful, and to d11677 2 a11678 10 # values after options handling. Logging --version etc. is OK. exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX } >&5 cat >&5 <<_CSEOF d11680 1 a11680 1 generated by GNU Autoconf 2.59. Invocation command line was d11688 3 a11690 3 _CSEOF echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 echo >&5 d11693 1 d11695 2 a11696 3 if test -n "$ac_config_files"; then echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS fi d11698 1 a11698 11 if test -n "$ac_config_headers"; then echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS fi if test -n "$ac_config_links"; then echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS fi if test -n "$ac_config_commands"; then echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS fi a11700 1 d11708 1 a11708 1 -V, --version print version number, then exit d11724 1 a11725 1 d11729 2 a11730 2 configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" d11732 1 a11732 1 Copyright (C) 2003 Free Software Foundation, Inc. d11735 4 a11738 2 srcdir=$srcdir INSTALL="$INSTALL" d11749 2 a11750 2 ac_option=`expr "x$1" : 'x\([^=]*\)='` ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` d11753 1 a11753 1 -*) a11757 4 *) # This is not an option, so the user has probably given explicit # arguments. ac_option=$1 ac_need_defaults=false;; a11761 2 _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF d11764 3 a11766 12 --version | --vers* | -V ) echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header { { echo "$as_me:$LINENO: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; };; --help | --hel | -h ) echo "$ac_cs_usage"; exit 0 ;; --debug | --d* | -d ) d11776 7 d11788 2 a11789 4 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} d11792 2 a11793 1 *) ac_config_targets="$ac_config_targets $1" ;; d11809 4 a11812 2 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion d11816 9 d11826 3 d11830 1 d11832 1 a11832 3 cat >>$CONFIG_STATUS <<\_ACEOF d11835 4 a11838 4 case "$ac_config_target" in # Handling of arguments. "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; "nbcompat/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbcompat/config.h" ;; d11845 1 d11856 1 a11856 1 # simply because there is no reason to put it here, and in addition, d11858 3 a11860 1 # Create a temporary directory, and hook for its removal unless debugging. d11863 4 a11866 1 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 a11868 1 d11872 1 a11872 1 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && d11876 2 a11877 2 tmp=./confstat$$-$RANDOM (umask 077 && mkdir $tmp) a11883 4 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF d11885 1 a11885 1 # CONFIG_FILES section. d11890 88 a11977 106 if test -n "\$CONFIG_FILES"; then # Protect against being on the right side of a sed subst in config.status. sed 's/,@@/@@@@/; s/@@,/@@@@/; s/,;t t\$/@@;t t/; /@@;t t\$/s/[\\\\&,]/\\\\&/g; s/@@@@/,@@/; s/@@@@/@@,/; s/@@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF s,@@SHELL@@,$SHELL,;t t s,@@PATH_SEPARATOR@@,$PATH_SEPARATOR,;t t s,@@PACKAGE_NAME@@,$PACKAGE_NAME,;t t s,@@PACKAGE_TARNAME@@,$PACKAGE_TARNAME,;t t s,@@PACKAGE_VERSION@@,$PACKAGE_VERSION,;t t s,@@PACKAGE_STRING@@,$PACKAGE_STRING,;t t s,@@PACKAGE_BUGREPORT@@,$PACKAGE_BUGREPORT,;t t s,@@exec_prefix@@,$exec_prefix,;t t s,@@prefix@@,$prefix,;t t s,@@program_transform_name@@,$program_transform_name,;t t s,@@bindir@@,$bindir,;t t s,@@sbindir@@,$sbindir,;t t s,@@libexecdir@@,$libexecdir,;t t s,@@datadir@@,$datadir,;t t s,@@sysconfdir@@,$sysconfdir,;t t s,@@sharedstatedir@@,$sharedstatedir,;t t s,@@localstatedir@@,$localstatedir,;t t s,@@libdir@@,$libdir,;t t s,@@includedir@@,$includedir,;t t s,@@oldincludedir@@,$oldincludedir,;t t s,@@infodir@@,$infodir,;t t s,@@mandir@@,$mandir,;t t s,@@build_alias@@,$build_alias,;t t s,@@host_alias@@,$host_alias,;t t s,@@target_alias@@,$target_alias,;t t s,@@DEFS@@,$DEFS,;t t s,@@ECHO_C@@,$ECHO_C,;t t s,@@ECHO_N@@,$ECHO_N,;t t s,@@ECHO_T@@,$ECHO_T,;t t s,@@LIBS@@,$LIBS,;t t s,@@build@@,$build,;t t s,@@build_cpu@@,$build_cpu,;t t s,@@build_vendor@@,$build_vendor,;t t s,@@build_os@@,$build_os,;t t s,@@host@@,$host,;t t s,@@host_cpu@@,$host_cpu,;t t s,@@host_vendor@@,$host_vendor,;t t s,@@host_os@@,$host_os,;t t s,@@CANONICAL_HOST@@,$CANONICAL_HOST,;t t s,@@INCLUDES@@,$INCLUDES,;t t s,@@SET_MAKE@@,$SET_MAKE,;t t s,@@CC@@,$CC,;t t s,@@CFLAGS@@,$CFLAGS,;t t s,@@LDFLAGS@@,$LDFLAGS,;t t s,@@CPPFLAGS@@,$CPPFLAGS,;t t s,@@ac_ct_CC@@,$ac_ct_CC,;t t s,@@EXEEXT@@,$EXEEXT,;t t s,@@OBJEXT@@,$OBJEXT,;t t s,@@INSTALL_PROGRAM@@,$INSTALL_PROGRAM,;t t s,@@INSTALL_SCRIPT@@,$INSTALL_SCRIPT,;t t s,@@INSTALL_DATA@@,$INSTALL_DATA,;t t s,@@LN_S@@,$LN_S,;t t s,@@RANLIB@@,$RANLIB,;t t s,@@ac_ct_RANLIB@@,$ac_ct_RANLIB,;t t s,@@AWK@@,$AWK,;t t s,@@AR@@,$AR,;t t s,@@AUTOCONF@@,$AUTOCONF,;t t s,@@AUTOHEADER@@,$AUTOHEADER,;t t s,@@CPP@@,$CPP,;t t s,@@EGREP@@,$EGREP,;t t s,@@LIBOBJS@@,$LIBOBJS,;t t s,@@LTLIBOBJS@@,$LTLIBOBJS,;t t CEOF _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_lines=48 ac_sed_frag=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_lines # Line after last line for current file. ac_more_lines=: ac_sed_cmds= while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag else sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag fi if test ! -s $tmp/subs.frag; then ac_more_lines=false else # The purpose of the label and of the branching condition is to # speed up the sed processing (if there are no `@@' at all, there # is no need to browse any of the substitutions). # These are the two extra sed commands mentioned above. (echo ':t /@@[a-zA-Z_][a-zA-Z_0-9]*@@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" else ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" fi ac_sed_frag=`expr $ac_sed_frag + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_lines` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat d11979 7 a11985 1 fi # test -n "$CONFIG_FILES" d11987 18 d12006 17 d12024 62 a12085 10 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; d12088 1 a12088 2 # Compute @@srcdir@@, @@top_srcdir@@, and @@INSTALL@@ for subdirectories. ac_dir=`(dirname "$ac_file") 2>/dev/null || d12092 1 a12092 2 X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || d12094 22 a12115 9 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" d12117 7 a12123 3 while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || d12127 1 a12127 2 X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || d12129 18 a12146 5 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` d12148 3 a12150 3 test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} a12151 1 d12154 3 a12156 1 if test "$ac_dir" != .; then d12158 11 a12168 5 # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi d12171 1 a12171 1 .) # No --srcdir option. We are building in place. d12173 3 a12175 6 if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. d12177 8 a12184 5 ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac a12185 38 # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac d12187 5 d12195 1 a12195 1 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; d12197 1 d12199 30 a12228 15 if test x"$ac_file" != x-; then { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ if test x"$ac_file" = x-; then configure_input= else configure_input="$ac_file. " fi configure_input=$configure_input"Generated from `echo $ac_file_in | sed 's,.*/,,'` by configure." d12230 3 a12232 28 # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } _ACEOF d12240 20 a12259 26 s,@@configure_input@@,$configure_input,;t t s,@@srcdir@@,$ac_srcdir,;t t s,@@abs_srcdir@@,$ac_abs_srcdir,;t t s,@@top_srcdir@@,$ac_top_srcdir,;t t s,@@abs_top_srcdir@@,$ac_abs_top_srcdir,;t t s,@@builddir@@,$ac_builddir,;t t s,@@abs_builddir@@,$ac_abs_builddir,;t t s,@@top_builddir@@,$ac_top_builddir,;t t s,@@abs_top_builddir@@,$ac_abs_top_builddir,;t t s,@@INSTALL@@,$ac_INSTALL,;t t " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out rm -f $tmp/stdin if test x"$ac_file" != x-; then mv $tmp/out $ac_file else cat $tmp/out rm -f $tmp/out fi done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # # CONFIG_HEADER section. # d12261 1 a12261 16 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='[ ].*$,\1#\2' ac_dC=' ' ac_dD=',;t' # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='$,\1#\2define\3' ac_uC=' ' ac_uD=',;t' for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". d12263 2 a12264 7 - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; d12266 26 d12293 12 a12304 66 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } # Do quote $f, to prevent DOS paths from being IFS'd. echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } # Remove the trailing spaces. sed 's/[ ]*$//' $ac_file_inputs >$tmp/in _ACEOF # Transform confdefs.h into two sed scripts, `conftest.defines' and # `conftest.undefs', that substitutes the proper values into # config.h.in to produce config.h. The first handles `#define' # templates, and the second `#undef' templates. # And first: Protect against being on the right side of a sed subst in # config.status. Protect against being in an unquoted here document # in config.status. rm -f conftest.defines conftest.undefs # Using a here document instead of a string reduces the quoting nightmare. # Putting comments in sed scripts is not portable. # # `end' is used to avoid that the second main sed command (meant for # 0-ary CPP macros) applies to n-ary macro definitions. # See the Autoconf documentation for `clear'. cat >confdef2sed.sed <<\_ACEOF s/[\\&,]/\\&/g s,[\\$`],\\&,g t clear : clear s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp t end s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp : end _ACEOF # If some macros were called several times there might be several times # the same #defines, which is useless. Nevertheless, we may not want to # sort them, since we want the *last* AC-DEFINE to be honored. uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs rm -f confdef2sed.sed d12306 2 a12307 1 # This sed command replaces #undef with comments. This is necessary, for d12310 25 a12334 2 cat >>conftest.undefs <<\_ACEOF s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, d12336 1 a12336 18 # Break up conftest.defines because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS echo ' :' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.defines >/dev/null do # Write a limited-size here document to $tmp/defines.sed. echo ' cat >$tmp/defines.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#define' lines. echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS d12338 4 a12341 5 sed -f $tmp/defines.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail d12345 1 a12345 28 rm -f conftest.defines echo ' fi # grep' >>$CONFIG_STATUS echo >>$CONFIG_STATUS # Break up conftest.undefs because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #undef templates' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.undefs >/dev/null do # Write a limited-size here document to $tmp/undefs.sed. echo ' cat >$tmp/undefs.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#undef' echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/undefs.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail rm -f conftest.undefs mv conftest.tail conftest.undefs done rm -f conftest.undefs d12347 1 a12348 10 # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ if test x"$ac_file" = x-; then echo "/* Generated by configure. */" >$tmp/config.h else echo "/* $ac_file. Generated by configure. */" >$tmp/config.h fi cat $tmp/in >>$tmp/config.h rm -f $tmp/in d12350 3 a12352 1 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then a12355 37 ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } d12357 1 a12357 1 mv $tmp/config.h $ac_file d12360 2 a12361 2 cat $tmp/config.h rm -f $tmp/config.h d12363 7 a12369 2 done _ACEOF a12370 1 cat >>$CONFIG_STATUS <<\_ACEOF @ 1.50 log @Update AC_C___ATTRIBUTE__ macro from heimdal, fixes detection with GCC 4. @ text @d5925 77 @ 1.49 log @fix detection of poll() for Darwin 7.x which has a poll() compatibility function, but none of the required headers. fixes bootstrap on Darwin 7.5.0 with gcc and xlc. @ text @a5729 1 a5730 5 int main () { a5738 3 ; return 0; } @ 1.48 log @Update pkgtools/libnbcompat to 20040911. Changes from version 20040822 include fixing fgetln() to account for \0 characters due to implementing it using fgets() (analysis provided by Urban Boquist). Also add a definition for __restrict if not present since it is used in the regex implementation code from src HEAD. This has been tested to work correctly on: FreeBSD-4.8/i386 NetBSD-1.6.2/i386 Solaris 9 @ text @d9663 3 a9665 1 else @ 1.47 log @Update pkgtools/libnbcompat to 20040822. Changes from version 20040814 include: * Rework the way that poll() is detected so that it more closely follows how the rest of the replacement functions are detected. * Split err*() and warn*() functions into separate err.c and warn.c files so that we can more finely isolate the objects files pulled in by the linker. This should fix building textproc/nbsed on Solaris. * Move more definitions from nbcompat.h into nbcompat/*.h. This makes it more clear which NetBSD headers are expected to provide which function declarations and macro definitions. * Clean out nbconfig.h by moving all of the relevant definitions into the correct nbcompat/*.h files. * Update all of the library functions to the latest from src HEAD. Also change the way that sources are modified when imported -- we now include before the first system header, include versions of headers instead of system ones where available, and "#if 0" the sections that make no sense when being built outside of the NetBSD source tree. This should make future updates from src HEAD, e.g. for security updates or bug fixes, easier. * Move all private headers into a subdirectory and include the headers from the private directory. This avoids any nameclashes with system headers with the same name. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.59 for libnbcompat 20040822. d272 2 a273 2 PACKAGE_VERSION='20040822' PACKAGE_STRING='libnbcompat 20040822' d782 1 a782 1 \`configure' configures libnbcompat 20040822 to adapt to many kinds of systems. d848 1 a848 1 short | recursive ) echo "Configuration of libnbcompat 20040822:";; d960 1 a960 1 libnbcompat configure 20040822 d974 1 a974 1 It was created by libnbcompat $as_me 20040822, which was d11239 1 a11239 1 This file was extended by libnbcompat $as_me 20040822, which was d11299 1 a11299 1 libnbcompat config.status 20040822 @ 1.46 log @Fix the version number of the package in the configure script, and modify the Makefiles so that they can be built by really basic make programs. Move the awk script in the Makefile into a separate file for clarity, and so that really basick make programs won't choke on the continuation lines. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.59 for libnbcompat 20040814. d272 2 a273 2 PACKAGE_VERSION='20040814' PACKAGE_STRING='libnbcompat 20040814' d782 1 a782 1 \`configure' configures libnbcompat 20040814 to adapt to many kinds of systems. d848 1 a848 1 short | recursive ) echo "Configuration of libnbcompat 20040814:";; d960 1 a960 1 libnbcompat configure 20040814 d974 1 a974 1 It was created by libnbcompat $as_me 20040814, which was d3449 10 a3458 7 for ac_header in assert.h dirent.h err.h errno.h fcntl.h fnmatch.h fts.h \ grp.h libutil.h limits.h machine/endian.h memory.h ndir.h paths.h \ pwd.h stdint.h stdio.h stdlib.h stringlist.h strings.h string.h \ sys/byteorder.h sys/cdefs.h sys/dir.h sys/endian.h sys/file.h \ sys/mkdev.h sys/ndir.h sys/param.h sys/time.h sys/ttycom.h \ sys/stat.h sys/statfs.h sys/statvfs.h sys/types.h sys/vfs.h \ termcap.h termios.h time.h tzfile.h unistd.h util.h utmp.h d3833 8 d5467 4 a5470 1 for ac_func in strunvis strvis strsvis d5574 4 a5577 1 for ac_func in strunvis strvis strsvis d8332 7 a8338 4 for ac_func in err fgetln fnmatch fparseln getenv isblank lchflags \ lchmod lchown lutimes mkstemp mkdtemp setgroupent setpassent \ setprogname snprintf statvfs strdup strerror strlcat strlcpy \ strmode strsep strtoll usleep utimes d8454 1 a8454 3 for ac_func in bcopy bzero memset memcpy setlocale d8551 12 d8569 2 a8570 1 for ac_func in getmode setmode d8667 12 d8685 5 a8689 1 for ac_func in getmode setmode a8785 12 : else case $LIBOBJS in "setmode.$ac_objext" | \ *" setmode.$ac_objext" | \ "setmode.$ac_objext "* | \ *" setmode.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS setmode.$ac_objext" ;; esac break d8792 1 a8792 1 for ac_func in setenv unsetenv d8895 1 a8895 1 for ac_func in setenv unsetenv d8996 5 a9000 5 "setenv.$ac_objext" | \ *" setenv.$ac_objext" | \ "setenv.$ac_objext "* | \ *" setenv.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS setenv.$ac_objext" ;; d9341 5 a9345 5 "__fts13.$ac_objext" | \ *" __fts13.$ac_objext" | \ "__fts13.$ac_objext "* | \ *" __fts13.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS __fts13.$ac_objext" ;; d9352 5 a9356 4 # handle Darwin 7 having a poll() compatibility function. be # conservative, if we don't find one of poll.h or sys/poll.h, use our # local poll() implementation. pkg_use_nbcompat_poll=no d9509 85 a9593 2 if test $ac_cv_header_poll_h = no && test $ac_cv_header_sys_poll_h = no; then pkg_use_nbcompat_poll=yes d9595 5 d9601 62 a9662 2 if test $pkg_use_nbcompat_poll = yes; then pkg_cv_POLL_NATIVE=no d9759 1 a9759 1 if test "${pkg_cv_POLL_NATIVE+set}" = set; then d9809 1 a9809 1 pkg_cv_POLL_NATIVE=yes d9814 1 a9814 1 pkg_cv_POLL_NATIVE=no d9819 4 a9822 4 echo "$as_me:$LINENO: result: $pkg_cv_POLL_NATIVE" >&5 echo "${ECHO_T}$pkg_cv_POLL_NATIVE" >&6 if test "x$pkg_cv_POLL_NATIVE" = "xyes"; then : d9824 1 a9824 1 : d9833 1 a9833 1 if test $pkg_cv_POLL_NATIVE = yes; then d9835 1 a9835 1 #define HAVE_POLL 1 a9839 1 else a9847 6 cat >>confdefs.h <<\_ACEOF #define HAVE_NBCOMPAT_POLL 1 _ACEOF d10341 142 d10719 3 a10721 4 echo "$as_me:$LINENO: checking for optarg declaration" >&5 echo $ECHO_N "checking for optarg declaration... $ECHO_C" >&6 if test "${ftp_cv_HAVE_OPTARG_D+set}" = set; then d10724 1 a10724 2 cat >conftest.$ac_ext <<_ACEOF d10731 1 d10735 1 d10739 4 a10742 1 char *X = optarg ; d10769 1 a10769 1 ftp_cv_HAVE_OPTARG_D=yes d10774 1 a10774 1 ftp_cv_HAVE_OPTARG_D=no a10776 1 d10778 3 a10780 5 echo "$as_me:$LINENO: result: $ftp_cv_HAVE_OPTARG_D" >&5 echo "${ECHO_T}$ftp_cv_HAVE_OPTARG_D" >&6 if test "x$ftp_cv_HAVE_OPTARG_D" = "xyes"; then : else d10782 2 a10783 2 cat >>confdefs.h <<\_ACEOF #define HAVE_OPTARG_D 1 d10786 5 d10792 5 a10796 10 : fi echo "$as_me:$LINENO: checking for optind declaration" >&5 echo $ECHO_N "checking for optind declaration... $ECHO_C" >&6 if test "${ftp_cv_HAVE_OPTIND_D+set}" = set; then d10799 1 a10799 2 cat >conftest.$ac_ext <<_ACEOF d10806 1 d10810 1 d10814 4 a10817 1 int X = optind ; d10844 1 a10844 1 ftp_cv_HAVE_OPTIND_D=yes d10849 1 a10849 1 ftp_cv_HAVE_OPTIND_D=no d10852 4 d10857 2 a10858 7 fi echo "$as_me:$LINENO: result: $ftp_cv_HAVE_OPTIND_D" >&5 echo "${ECHO_T}$ftp_cv_HAVE_OPTIND_D" >&6 if test "x$ftp_cv_HAVE_OPTIND_D" = "xyes"; then : cat >>confdefs.h <<\_ACEOF #define HAVE_OPTIND_D 1 d10861 5 d10867 2 a10870 5 else : fi d11239 1 a11239 1 This file was extended by libnbcompat $as_me 20040814, which was d11299 1 a11299 1 libnbcompat config.status 20040814 @ 1.45 log @Update pkgtools/libnbcompat to 20040814. Changes from version 20040813 include: * Adding a regex(3) implementation for those platforms that don't have one, e.g. IRIX 5.3. * Allow nbcompat.h to be included multiple times in case it's needed to override values of set by config.h in bootstrap packages. This should fix problems with building pkg_install and pax on platforms that have /usr/include/glob.h. * Remove namespace.h, which should be a no-op since we're building a userland library separate from the NetBSD sources. * Remove HAVE_CONFIG_H checks from sources since we're always going to have and and we're always going to be including it. * Rename all inclusion guards in nbcompat/*.h to be _NBCOMPAT_*_H_ so that it won't get triggered by any settings in system headers. This has been tested on: FreeBSD-4.8/i386 Debian Linux 3.0 (woody) IRIX 6.5 MacOS X 10.2.8 MacOS X 10.3.5 NetBSD-1.6.2/i386 NetBSD-2.0_BETA/i386 Red Hat Linux 7.3 Solaris 7/sparc Solaris 8/sparc Solaris 9/sparc @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.59 for libnbcompat 20030916. d272 2 a273 2 PACKAGE_VERSION='20030916' PACKAGE_STRING='libnbcompat 20030916' d782 1 a782 1 \`configure' configures libnbcompat 20030916 to adapt to many kinds of systems. d848 1 a848 1 short | recursive ) echo "Configuration of libnbcompat 20030916:";; d960 1 a960 1 libnbcompat configure 20030916 d974 1 a974 1 It was created by libnbcompat $as_me 20030916, which was d10915 1 a10915 1 This file was extended by libnbcompat $as_me 20030916, which was d10975 1 a10975 1 libnbcompat config.status 20030916 @ 1.44 log @Update pkgtools/libnbcompat to 20040813. Changes from version 20040809 include working around an apparent bug in an autoconf macro defined in aclocal.m4. This should now cause getopt_long() to be built on systems that are missing getopt.h. This version of libnbcompat has been tested on the following platforms: FreeBSD-4.8/i386 MacOS X 10.2.8 NetBSD-1.6.2/i386 @ text @d3989 286 @ 1.43 log @Update pkgtools/libnbcompat to 20040809. Changes from version 20040805 include: * Re-adding a default value for pkg_use_nbcompat_vis; this was causing the configure script to fail on platforms that had funky versions of vis(). This should fix reported problems on Solaris 8 and on IRIX 5.3. * Added setgroupent() and setpassent() compatibility functions so that pwcache.c will build without complaining about an incompatible pointer type assignment. * Remove unused tests for , , h_errno and hstrerror(). These were originally used to bootstrap lukemftp, but tnftp doesn't need libnbcompat to build nowadays, so we don't need these anymore. * Cleanup: in cases where we test for a function using AC_REPLACE_FUNCS, move the function prototype into a nbcompat header that is the same name as the NetBSD header that contains that declaration, and include that file in place of the original one within nbcompat.h. This version has been tested to build on the following systems: FreeBSD-4.8/i386 NetBSD-1.6.2/i386 FreeBSD-5.2.1/i386 NetBSD-2.0_BETA/i386 IRIX 6.5 Red Hat Linux 8.0 MacOS X 10.3.4 Solaris 8 MacOS X 10.3.5 Solaris 9 @ text @d4726 1 d4930 3 d4934 7 a4940 1 else d4942 2 a4943 1 cat >>confdefs.h <<\_ACEOF d4949 1 a4949 1 case $LIBOBJS in a4956 5 : fi a4958 3 done @ 1.42 log @Update pkgtools/libnbcompat to 20040805. Changes from version 20040512 include: (1) Add a statvfs() implementation based on statfs(), and remove the statfs() NetBSD-compatibility implementation. statvfs() is used in src/usr.sbin/pkg_install on the HEAD branch. (2) Add a fnmatch() implementation, needed by IRIX. fnmatch() is used in src/usr.sbin/pkg_install on the HEAD branch. (3) Remove fseeko(), inet_ntop(), inet_pton(), sl_*() strptime(), and timegm() as they're not used by any of the bootstrap packages that require libnbcompat (pax, mtree, pkg_install). All that's left is what's necessary to bootstrap those three packages. @ text @d3255 149 d3447 9 a3455 10 for ac_header in arpa/nameser.h assert.h bind/bitypes.h dirent.h err.h \ errno.h fcntl.h fnmatch.h fts.h inttypes.h libutil.h limits.h \ machine/endian.h memory.h ndir.h netdb.h netinet/in6_machtypes.h \ paths.h pwd.h stdint.h stdlib.h stringlist.h strings.h \ string.h sys/bitypes.h sys/byteorder.h sys/cdefs.h sys/dir.h \ sys/endian.h sys/file.h sys/mkdev.h sys/ndir.h \ sys/param.h sys/time.h sys/ttycom.h \ sys/stat.h sys/statfs.h sys/statvfs.h sys/vfs.h sys/types.h \ sys/vfs.h termcap.h termios.h time.h tzfile.h unistd.h util.h \ utmp.h d4956 1 d5376 1 a5376 1 pkg_use_nbcompat_vis=yes d8023 6 a8028 3 for ac_func in err fgetln fnmatch fparseln getenv \ isblank lchflags lchmod lchown lutimes mkstemp mkdtemp \ setprogname snprintf strdup strerror strlcat strlcpy \ a8145 105 for ac_func in setgroupent setgrent setpassent setpwent do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done d9647 1 a9647 109 echo "$as_me:$LINENO: checking for statvfs" >&5 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6 if test "${ac_cv_func_statvfs+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define statvfs to an innocuous variant, in case declares statvfs. For example, HP-UX 11i declares gettimeofday. */ #define statvfs innocuous_statvfs /* System header to define __stub macros and hopefully few prototypes, which can conflict with char statvfs (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef statvfs /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char statvfs (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_statvfs) || defined (__stub___statvfs) choke me #else char (*f) () = statvfs; #endif #ifdef __cplusplus } #endif int main () { return f != statvfs; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_statvfs=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_statvfs=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_statvfs" >&5 echo "${ECHO_T}$ac_cv_func_statvfs" >&6 if test $ac_cv_func_statvfs = yes; then : else cat >>confdefs.h <<\_ACEOF #define HAVE_NBCOMPAT_STATVFS 1 _ACEOF case $LIBOBJS in "statvfs.$ac_objext" | \ *" statvfs.$ac_objext" | \ "statvfs.$ac_objext "* | \ *" statvfs.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS statvfs.$ac_objext" ;; esac echo "$as_me:$LINENO: checking for struct statfs.f_fsize" >&5 d9761 1 a9761 1 echo "$as_me:$LINENO: checking for struct statfs.f_iosize" >&5 a9875 3 fi @ 1.41 log @make sure we define HAVE_POLL if a usable poll() implementation is found, and re-arrange the test a little for clarity. fixes build on (at least) FreeBSD 5.x. @ text @d3299 1 a3299 1 errno.h fcntl.h fts.h inttypes.h libutil.h limits.h \ d3304 1 a3304 1 sys/param.h sys/queue.h sys/time.h sys/ttycom.h \ d3308 1 d3472 5 a3476 4 $ac_includes_default #ifdef HAVE_SYS_PARAM_H #include #endif d3518 3 a3520 1 d3527 1 a3527 3 for ac_header in md5.h rmd160.h sha1.h d3676 6 a3682 1 pkg_use_nbcompat_md5=yes d3684 1 a3684 1 for ac_header in md5.h a3828 65 echo "$as_me:$LINENO: checking for MD5Init in md5.h" >&5 echo $ECHO_N "checking for MD5Init in md5.h... $ECHO_C" >&6 if test "${pkg_cv_have_md5init+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { MD5_CTX *f; MD5Init(f); ; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then pkg_cv_have_md5init=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 pkg_cv_have_md5init=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $pkg_cv_have_md5init" >&5 echo "${ECHO_T}$pkg_cv_have_md5init" >&6 if test "x$pkg_cv_have_md5init" = "xyes"; then pkg_use_nbcompat_md5=no else pkg_use_nbcompat_md5=yes : fi d3833 2 a3834 4 if test $pkg_use_nbcompat_md5 = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_NBCOMPAT_MD5INIT 1 a3838 1 fi a3839 1 pkg_use_nbcompat_getopt_long=yes d3841 1 a3841 1 for ac_header in getopt.h d3987 3 a3989 3 echo "$as_me:$LINENO: checking for struct option" >&5 echo $ECHO_N "checking for struct option... $ECHO_C" >&6 if test "${pkg_cv_have_struct_option+set}" = set; then d3999 4 a4002 1 #include d4006 4 a4009 1 struct option X ; d4036 1 a4036 1 pkg_cv_have_struct_option=yes d4041 1 a4041 1 pkg_cv_have_struct_option=no d4046 4 a4049 4 echo "$as_me:$LINENO: result: $pkg_cv_have_struct_option" >&5 echo "${ECHO_T}$pkg_cv_have_struct_option" >&6 if test "x$pkg_cv_have_struct_option" = "xyes"; then pkg_use_nbcompat_getopt_long=no d4051 8 a4058 1 pkg_use_nbcompat_getopt_long=yes a4066 6 if test $pkg_use_nbcompat_getopt_long = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_NBCOMPAT_GETOPT_LONG 1 _ACEOF a4067 7 case $LIBOBJS in "getopt_long.$ac_objext" | \ *" getopt_long.$ac_objext" | \ "getopt_long.$ac_objext "* | \ *" getopt_long.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS getopt_long.$ac_objext" ;; esac a4068 1 fi a4069 1 pkg_use_nbcompat_vis=yes d4071 1 a4071 1 for ac_header in vis.h d4216 3 d4220 3 a4222 3 echo "$as_me:$LINENO: checking for VIS_WHITE in vis.h" >&5 echo $ECHO_N "checking for VIS_WHITE in vis.h... $ECHO_C" >&6 if test "${pkg_cv_have_vis_white+set}" = set; then d4225 1 a4225 2 cat >conftest.$ac_ext <<_ACEOF d4231 37 a4267 2 #include #include d4271 1 a4271 1 int X = VIS_WHITE ; d4276 3 a4278 3 rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 d4292 1 a4292 1 { ac_try='test -s conftest.$ac_objext' d4298 1 a4298 1 pkg_cv_have_vis_white=yes d4303 4 a4306 1 pkg_cv_have_vis_white=no d4308 9 a4316 1 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext a4317 9 fi echo "$as_me:$LINENO: result: $pkg_cv_have_vis_white" >&5 echo "${ECHO_T}$pkg_cv_have_vis_white" >&6 if test "x$pkg_cv_have_vis_white" = "xyes"; then pkg_use_nbcompat_vis=no else pkg_use_nbcompat_vis=yes : fi d4320 7 a4326 1 fi d4328 7 a4334 1 done d4337 1 d4339 3 a4341 3 echo "$as_me:$LINENO: checking for __attribute__" >&5 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6 if test "${ac_cv___attribute__+set}" = set; then d4344 1 a4344 2 cat >conftest.$ac_ext <<_ACEOF d4350 3 d4354 4 a4357 1 #include d4359 5 a4363 3 int main () { d4365 1 a4365 1 static void foo(void) __attribute__ ((noreturn)); d4367 919 a5285 2 static void foo(void) d7874 4 a7878 7 for ac_func in err fgetln fparseln fseeko getenv inet_ntop \ inet_pton isblank lchflags lchmod lchown lutimes mkstemp mkdtemp \ setprogname snprintf strdup strerror strlcat strlcpy \ strmode strptime strsep strtoll timegm usleep utimes d8294 6 a8299 240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done for ac_func in getmode setmode do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF pkg_use_nbcompat_setmode=no else pkg_use_nbcompat_setmode=yes; break fi done pkg_use_nbcompat_setenv=no for ac_func in setenv unsetenv do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF else pkg_use_nbcompat_setenv=yes fi done if test $pkg_use_nbcompat_setmode = yes; then case $LIBOBJS in "setmode.$ac_objext" | \ *" setmode.$ac_objext" | \ "setmode.$ac_objext "* | \ *" setmode.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS setmode.$ac_objext" ;; esac fi if test $pkg_use_nbcompat_setenv = yes; then case $LIBOBJS in "setenv.$ac_objext" | \ *" setenv.$ac_objext" | \ "setenv.$ac_objext "* | \ *" setenv.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS setenv.$ac_objext" ;; esac d8302 1 d8306 1 a8306 6 for ac_func in gid_from_group group_from_gid pwcache_groupdb pwcache_userdb \ uid_from_user user_from_uid d8403 12 d8421 1 a8421 6 for ac_func in gid_from_group group_from_gid pwcache_groupdb pwcache_userdb \ uid_from_user user_from_uid d8518 1 a8518 3 pkg_use_nbcompat_pwcache=no else pkg_use_nbcompat_pwcache=yes; break a8522 8 if test $pkg_use_nbcompat_pwcache = yes; then case $LIBOBJS in "pwcache.$ac_objext" | \ *" pwcache.$ac_objext" | \ "pwcache.$ac_objext "* | \ *" pwcache.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS pwcache.$ac_objext" ;; esac d8524 6 a8529 5 fi echo "$as_me:$LINENO: checking for fts_open" >&5 echo $ECHO_N "checking for fts_open... $ECHO_C" >&6 if test "${ac_cv_func_fts_open+set}" = set; then d8538 1 a8538 1 /* Define fts_open to an innocuous variant, in case declares fts_open. d8540 1 a8540 1 #define fts_open innocuous_fts_open d8543 1 a8543 1 which can conflict with char fts_open (); below. d8553 1 a8553 1 #undef fts_open d8562 1 a8562 1 char fts_open (); d8566 1 a8566 1 #if defined (__stub_fts_open) || defined (__stub___fts_open) d8569 1 a8569 1 char (*f) () = fts_open; d8578 1 a8578 1 return f != fts_open; d8605 1 a8605 1 ac_cv_func_fts_open=yes d8610 1 a8610 1 ac_cv_func_fts_open=no d8615 7 a8621 4 echo "$as_me:$LINENO: result: $ac_cv_func_fts_open" >&5 echo "${ECHO_T}$ac_cv_func_fts_open" >&6 if test $ac_cv_func_fts_open = yes; then : d8623 7 a8629 6 case $LIBOBJS in "__fts13.$ac_objext" | \ *" __fts13.$ac_objext" | \ "__fts13.$ac_objext "* | \ *" __fts13.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS __fts13.$ac_objext" ;; d8632 2 d8635 6 d8643 9 a8651 3 echo "$as_me:$LINENO: checking for MD5File" >&5 echo $ECHO_N "checking for MD5File... $ECHO_C" >&6 if test "${ac_cv_func_MD5File+set}" = set; then d8660 1 a8660 1 /* Define MD5File to an innocuous variant, in case declares MD5File. d8662 1 a8662 1 #define MD5File innocuous_MD5File d8665 1 a8665 1 which can conflict with char MD5File (); below. d8675 1 a8675 1 #undef MD5File d8684 1 a8684 1 char MD5File (); d8688 1 a8688 1 #if defined (__stub_MD5File) || defined (__stub___MD5File) d8691 1 a8691 1 char (*f) () = MD5File; d8700 1 a8700 1 return f != MD5File; d8727 1 a8727 1 ac_cv_func_MD5File=yes d8732 1 a8732 1 ac_cv_func_MD5File=no d8737 12 a8748 5 echo "$as_me:$LINENO: result: $ac_cv_func_MD5File" >&5 echo "${ECHO_T}$ac_cv_func_MD5File" >&6 if test $ac_cv_func_MD5File = yes; then : else a8749 7 case $LIBOBJS in "md5c.$ac_objext" | \ *" md5c.$ac_objext" | \ "md5c.$ac_objext "* | \ *" md5c.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS md5c.$ac_objext" ;; esac a8750 7 case $LIBOBJS in "md5hl.$ac_objext" | \ *" md5hl.$ac_objext" | \ "md5hl.$ac_objext "* | \ *" md5hl.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS md5hl.$ac_objext" ;; esac d8753 2 a8754 1 fi d8756 5 a8760 3 echo "$as_me:$LINENO: checking for RMD160File" >&5 echo $ECHO_N "checking for RMD160File... $ECHO_C" >&6 if test "${ac_cv_func_RMD160File+set}" = set; then d8769 1 a8769 1 /* Define RMD160File to an innocuous variant, in case declares RMD160File. d8771 1 a8771 1 #define RMD160File innocuous_RMD160File d8774 1 a8774 1 which can conflict with char RMD160File (); below. d8784 1 a8784 1 #undef RMD160File d8793 1 a8793 1 char RMD160File (); d8797 1 a8797 1 #if defined (__stub_RMD160File) || defined (__stub___RMD160File) d8800 1 a8800 1 char (*f) () = RMD160File; d8809 1 a8809 1 return f != RMD160File; d8836 1 a8836 1 ac_cv_func_RMD160File=yes d8841 1 a8841 1 ac_cv_func_RMD160File=no d8846 7 a8852 4 echo "$as_me:$LINENO: result: $ac_cv_func_RMD160File" >&5 echo "${ECHO_T}$ac_cv_func_RMD160File" >&6 if test $ac_cv_func_RMD160File = yes; then : d8856 5 a8860 13 "rmd160.$ac_objext" | \ *" rmd160.$ac_objext" | \ "rmd160.$ac_objext "* | \ *" rmd160.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS rmd160.$ac_objext" ;; esac case $LIBOBJS in "rmd160hl.$ac_objext" | \ *" rmd160hl.$ac_objext" | \ "rmd160hl.$ac_objext "* | \ *" rmd160hl.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS rmd160hl.$ac_objext" ;; d8863 1 d8866 2 d8869 3 a8871 3 echo "$as_me:$LINENO: checking for SHA1File" >&5 echo $ECHO_N "checking for SHA1File... $ECHO_C" >&6 if test "${ac_cv_func_SHA1File+set}" = set; then d8880 1 a8880 1 /* Define SHA1File to an innocuous variant, in case declares SHA1File. d8882 1 a8882 1 #define SHA1File innocuous_SHA1File d8885 1 a8885 1 which can conflict with char SHA1File (); below. d8895 1 a8895 1 #undef SHA1File d8904 1 a8904 1 char SHA1File (); d8908 1 a8908 1 #if defined (__stub_SHA1File) || defined (__stub___SHA1File) d8911 1 a8911 1 char (*f) () = SHA1File; d8920 1 a8920 1 return f != SHA1File; d8947 1 a8947 1 ac_cv_func_SHA1File=yes d8952 1 a8952 1 ac_cv_func_SHA1File=no d8957 3 a8959 3 echo "$as_me:$LINENO: result: $ac_cv_func_SHA1File" >&5 echo "${ECHO_T}$ac_cv_func_SHA1File" >&6 if test $ac_cv_func_SHA1File = yes; then d8963 5 a8967 7 case $LIBOBJS in "sha1.$ac_objext" | \ *" sha1.$ac_objext" | \ "sha1.$ac_objext "* | \ *" sha1.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS sha1.$ac_objext" ;; esac d8970 5 a8974 5 "sha1hl.$ac_objext" | \ *" sha1hl.$ac_objext" | \ "sha1hl.$ac_objext "* | \ *" sha1hl.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS sha1hl.$ac_objext" ;; d9289 1 a9289 237 pkg_cv_POLL_NATIVE=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 pkg_cv_POLL_NATIVE=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $pkg_cv_POLL_NATIVE" >&5 echo "${ECHO_T}$pkg_cv_POLL_NATIVE" >&6 if test "x$pkg_cv_POLL_NATIVE" = "xyes"; then : else : : fi fi fi if test $pkg_cv_POLL_NATIVE = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_POLL 1 _ACEOF else case $LIBOBJS in "poll.$ac_objext" | \ *" poll.$ac_objext" | \ "poll.$ac_objext "* | \ *" poll.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS poll.$ac_objext" ;; esac cat >>confdefs.h <<\_ACEOF #define HAVE_NBCOMPAT_POLL 1 _ACEOF fi for ac_func in strunvis strvis strsvis do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done for ac_func in strunvis strvis strsvis do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" d9294 1 a9294 1 eval "$as_ac_var=no" d9296 2 a9297 2 rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext d9299 10 a9308 9 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF pkg_use_nbcompat_vis=no else pkg_use_nbcompat_vis=yes; break a9309 1 done d9311 1 d9313 1 a9313 1 if test $pkg_use_nbcompat_vis = yes; then d9315 1 a9315 1 #define HAVE_NBCOMPAT_VIS 1 d9320 1 d9322 5 a9326 5 "vis.$ac_objext" | \ *" vis.$ac_objext" | \ "vis.$ac_objext "* | \ *" vis.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS vis.$ac_objext" ;; d9329 5 a9333 7 case $LIBOBJS in "unvis.$ac_objext" | \ *" unvis.$ac_objext" | \ "unvis.$ac_objext "* | \ *" unvis.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS unvis.$ac_objext" ;; esac d9600 3 a9602 3 echo "$as_me:$LINENO: checking for sl_init" >&5 echo $ECHO_N "checking for sl_init... $ECHO_C" >&6 if test "${ac_cv_func_sl_init+set}" = set; then d9611 1 a9611 1 /* Define sl_init to an innocuous variant, in case declares sl_init. d9613 1 a9613 1 #define sl_init innocuous_sl_init d9616 1 a9616 1 which can conflict with char sl_init (); below. d9626 1 a9626 1 #undef sl_init d9635 1 a9635 1 char sl_init (); d9639 1 a9639 1 #if defined (__stub_sl_init) || defined (__stub___sl_init) d9642 1 a9642 1 char (*f) () = sl_init; d9651 1 a9651 1 return f != sl_init; d9678 1 a9678 1 ac_cv_func_sl_init=yes d9683 1 a9683 1 ac_cv_func_sl_init=no d9688 4 a9691 9 echo "$as_me:$LINENO: result: $ac_cv_func_sl_init" >&5 echo "${ECHO_T}$ac_cv_func_sl_init" >&6 if test $ac_cv_func_sl_init = yes; then echo "$as_me:$LINENO: checking if sl_add() returns int" >&5 echo $ECHO_N "checking if sl_add() returns int... $ECHO_C" >&6 if test "${pkg_cv_INT_SL_ADD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 d9694 2 a9695 2 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ a9696 38 cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { int f = sl_add((StringList *)0, "foo") ; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then pkg_cv_INT_SL_ADD=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a9697 3 pkg_cv_INT_SL_ADD=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext d9699 7 a9705 12 fi echo "$as_me:$LINENO: result: $pkg_cv_INT_SL_ADD" >&5 echo "${ECHO_T}$pkg_cv_INT_SL_ADD" >&6 if test "x$pkg_cv_INT_SL_ADD" = "xyes"; then : else case $LIBOBJS in "sl_init.$ac_objext" | \ *" sl_init.$ac_objext" | \ "sl_init.$ac_objext "* | \ *" sl_init.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS sl_init.$ac_objext" ;; d9708 3 a9710 11 : fi fi pkg_use_nbcompat_statfs=yes echo "$as_me:$LINENO: checking for statfs" >&5 echo $ECHO_N "checking for statfs... $ECHO_C" >&6 if test "${ac_cv_func_statfs+set}" = set; then d9719 1 a9719 36 /* Define statfs to an innocuous variant, in case declares statfs. For example, HP-UX 11i declares gettimeofday. */ #define statfs innocuous_statfs /* System header to define __stub macros and hopefully few prototypes, which can conflict with char statfs (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef statfs /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char statfs (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_statfs) || defined (__stub___statfs) choke me #else char (*f) () = statfs; #endif #ifdef __cplusplus } #endif d9724 3 a9726 1 return f != statfs; d9731 3 a9733 3 rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d9747 1 a9747 1 { ac_try='test -s conftest$ac_exeext' d9753 1 a9753 1 ac_cv_func_statfs=yes d9758 1 a9758 17 ac_cv_func_statfs=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_statfs" >&5 echo "${ECHO_T}$ac_cv_func_statfs" >&6 if test $ac_cv_func_statfs = yes; then case $host_os in irix*|sunos*|solaris*|*UnixWare*) echo "$as_me:$LINENO: checking for statvfs" >&5 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6 if test "${ac_cv_func_statvfs+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF d9764 1 a9764 36 /* Define statvfs to an innocuous variant, in case declares statvfs. For example, HP-UX 11i declares gettimeofday. */ #define statvfs innocuous_statvfs /* System header to define __stub macros and hopefully few prototypes, which can conflict with char statvfs (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef statvfs /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char statvfs (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_statvfs) || defined (__stub___statvfs) choke me #else char (*f) () = statvfs; #endif #ifdef __cplusplus } #endif d9769 3 a9771 1 return f != statvfs; d9776 3 a9778 3 rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 d9792 1 a9792 1 { ac_try='test -s conftest$ac_exeext' d9798 1 a9798 1 ac_cv_func_statvfs=yes d9803 1 a9803 1 ac_cv_func_statvfs=no d9805 1 a9805 2 rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext d9807 1 a9807 10 echo "$as_me:$LINENO: result: $ac_cv_func_statvfs" >&5 echo "${ECHO_T}$ac_cv_func_statvfs" >&6 if test $ac_cv_func_statvfs = yes; then : else { { echo "$as_me:$LINENO: error: statfs can't be implemented correctly" >&5 echo "$as_me: error: statfs can't be implemented correctly" >&2;} { (exit 1); exit 1; }; } d9809 3 d9813 3 a9815 5 ;; *) pkg_use_nbcompat_statfs=no ;; esac d9817 3 d9822 3 a9824 19 if test $pkg_use_nbcompat_statfs = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_NBCOMPAT_STATFS 1 _ACEOF case $LIBOBJS in "statfs.$ac_objext" | \ *" statfs.$ac_objext" | \ "statfs.$ac_objext "* | \ *" statfs.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS statfs.$ac_objext" ;; esac echo "$as_me:$LINENO: checking for struct statvfs.f_basetype" >&5 echo $ECHO_N "checking for struct statvfs.f_basetype... $ECHO_C" >&6 if test "${ac_cv_member_struct_statvfs_f_basetype+set}" = set; then d9833 1 a9833 1 #include d9838 2 a9839 2 static struct statvfs ac_aggr; if (ac_aggr.f_basetype) d9867 1 a9867 1 ac_cv_member_struct_statvfs_f_basetype=yes d9878 1 a9878 1 #include d9883 2 a9884 2 static struct statvfs ac_aggr; if (sizeof ac_aggr.f_basetype) d9912 1 a9912 1 ac_cv_member_struct_statvfs_f_basetype=yes d9917 1 a9917 1 ac_cv_member_struct_statvfs_f_basetype=no d9923 3 a9925 3 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_basetype" >&5 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_basetype" >&6 if test $ac_cv_member_struct_statvfs_f_basetype = yes; then d9928 1 a9928 1 #define HAVE_STRUCT_STATVFS_F_BASETYPE 1 d9931 5 a9938 1 fi d9947 1 a9947 1 : d9998 1 a9998 1 : @ 1.40 log @workaround poll() being a compatibility function on Darwin 7 (MacOSX 10.3) by adding a custom test for _POLL_EMUL_H_ which is defined in poll.h on some MacOSX 10.3 systems. not all 10.3 systems have poll.h, so only do the poll() test if at least one of the header files is found. @ text @d8463 1 a8463 14 cat >>confdefs.h <<\_ACEOF #define HAVE_NBCOMPAT_POLL 1 _ACEOF case $LIBOBJS in "poll.$ac_objext" | \ *" poll.$ac_objext" | \ "poll.$ac_objext "* | \ *" poll.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS poll.$ac_objext" ;; esac d8560 1 a8560 1 if test "${pkg_cv_POLL_COMPAT+set}" = set; then d8610 1 a8610 1 pkg_cv_POLL_COMPAT=yes d8615 1 a8615 1 pkg_cv_POLL_COMPAT=no d8620 3 a8622 3 echo "$as_me:$LINENO: result: $pkg_cv_POLL_COMPAT" >&5 echo "${ECHO_T}$pkg_cv_POLL_COMPAT" >&6 if test "x$pkg_cv_POLL_COMPAT" = "xyes"; then d8625 18 a8642 1 case $LIBOBJS in d8650 3 a8652 2 : fi a8654 1 fi @ 1.39 log @no need to test for poll() twice. @ text @a3297 2 d3301 1 a3301 1 paths.h poll.h pwd.h stdint.h stdlib.h stringlist.h strings.h \ d3304 1 a3304 1 sys/param.h sys/poll.h sys/queue.h sys/time.h sys/ttycom.h \ a6965 1 d6968 1 a6968 1 poll setprogname snprintf strdup strerror strlcat strlcpy \ d8302 352 @ 1.38 log @Use statvfs on UnixWare, similar to Solaris and IRIX. @ text @d8545 1 a8545 2 for ac_func in getpassphrase getpgrp memmove poll select @ 1.37 log @Solaris has fsid_t in sys/vfs.h, so include appropriately. This gets the new pkgsrc bootstrap working on Solaris. @ text @d9065 1 a9065 1 irix*|sunos*|solaris*) @ 1.36 log @catch up with bootstrap-pkgsrc changes. - check for existence of fsid_t type, and typedef it if missing - check for existence of struct statvfs.f_basetype field - if is included and makedev() is missing, try to use mkdev() - add replacement library file for utimes() by wrappering utime() @ text @d5514 3 @ 1.35 log @When checking for the header, include if it exists to stop a warning that comes from including by itself. Fix from Love Hornquist Astrand in PR pkg/24419. @ text @d5494 74 d6965 1 d6969 1 a6969 1 strmode strptime strsep strtoll timegm usleep d9187 112 @ 1.34 log @relax the requirement for a >= 64bit off_t to enable long long support, as some systems with a < 64bit off_t have long long support. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.57 for libnbcompat 20030916. d7 1 a7 2 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. d24 1 d27 1 a27 1 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then d46 1 a46 1 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then d223 1 d230 1 a230 1 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" d233 1 a233 1 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" d672 1 a672 1 localstatedir libdir includedir oldincludedir infodir mandir d712 4 a715 4 X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || d807 1 a807 1 [$ac_default_prefix] d809 1 a809 1 [PREFIX] d898 39 a936 6 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be # absolute. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` d947 1 a947 1 test -f $ac_srcdir/configure.in; then d961 1 a961 1 generated by GNU Autoconf 2.57 d963 1 a963 2 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. d975 1 a975 1 generated by GNU Autoconf 2.57. Invocation command line was d1052 1 a1052 1 ac_must_keep_next=false # Got value, back to normal. d1054 11 a1064 11 case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac d1098 2 a1099 2 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" d1103 1 a1103 1 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" d1132 1 a1132 1 echo "$ac_var='"'"'$ac_val'"'"'" d1151 1 a1151 1 rm -f core core.* *.core && d1231 1 a1231 1 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do d1248 1 a1248 1 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 d1250 1 a1250 1 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 d1252 1 a1252 1 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 d1254 1 a1254 1 ac_cache_corrupted=: d1412 1 a1412 1 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` a1774 1 #line $LINENO "configure" d1794 2 a1795 2 echo "$as_me:$LINENO: checking for C compiler default output" >&5 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 d1815 1 a1815 1 ;; d1817 2 a1818 2 # This is the source file. ;; d1820 3 a1822 3 # We found the default executable, but exeext='' is most # certainly right. break;; d1824 6 a1829 6 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` # FIXME: I believe we export ac_cv_exeext for Libtool, # but it would be cool to find out if it's true. Does anybody # maintain Libtool? --akim. export ac_cv_exeext break;; d1831 1 a1831 1 break;; d1905 2 a1906 2 export ac_cv_exeext break;; a1930 1 #line $LINENO "configure" a1980 1 #line $LINENO "configure" d2000 1 a2000 1 (eval $ac_compile) 2>&5 d2002 3 d2007 8 a2014 1 { ac_try='test -s conftest.$ac_objext' d2027 1 a2027 1 rm -f conftest.$ac_objext conftest.$ac_ext a2042 1 #line $LINENO "configure" d2059 1 a2059 1 (eval $ac_compile) 2>&5 d2061 3 d2066 8 a2073 1 { ac_try='test -s conftest.$ac_objext' d2086 1 a2086 1 rm -f conftest.$ac_objext conftest.$ac_ext a2112 1 #line $LINENO "configure" d2140 10 d2176 1 a2176 1 (eval $ac_compile) 2>&5 d2178 3 d2183 8 a2190 1 { ac_try='test -s conftest.$ac_objext' d2203 1 a2203 1 rm -f conftest.$ac_objext d2231 1 a2231 1 (eval $ac_compile) 2>&5 d2233 3 d2238 8 a2245 1 { ac_try='test -s conftest.$ac_objext' d2252 1 a2252 2 ''\ '#include ' \ a2259 1 #line $LINENO "configure" d2265 1 a2266 1 $ac_declaration d2277 1 a2277 1 (eval $ac_compile) 2>&5 d2279 3 d2284 8 a2291 1 { ac_try='test -s conftest.$ac_objext' d2304 1 a2304 1 rm -f conftest.$ac_objext conftest.$ac_ext a2305 1 #line $LINENO "configure" d2322 1 a2322 1 (eval $ac_compile) 2>&5 d2324 3 d2329 8 a2336 1 { ac_try='test -s conftest.$ac_objext' d2348 1 a2348 1 rm -f conftest.$ac_objext conftest.$ac_ext d2362 1 a2362 1 rm -f conftest.$ac_objext conftest.$ac_ext d2380 1 d2397 1 d2405 14 a2418 14 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi a2629 1 #line $LINENO "configure" d2653 1 a2653 1 (eval $ac_link) 2>&5 d2655 3 d2660 8 a2667 1 { ac_try='test -s conftest$ac_exeext' d2680 2 a2681 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext a2723 1 #line $LINENO "configure" d2734 1 a2734 1 Syntax error d2746 1 a2766 1 #line $LINENO "configure" d2784 1 a2830 1 #line $LINENO "configure" d2841 1 a2841 1 Syntax error d2853 1 a2873 1 #line $LINENO "configure" d2891 1 a2951 1 #line $LINENO "configure" d2972 1 a2972 1 (eval $ac_compile) 2>&5 d2974 3 d2979 8 a2986 1 { ac_try='test -s conftest.$ac_objext' d2999 1 a2999 1 rm -f conftest.$ac_objext conftest.$ac_ext a3003 1 #line $LINENO "configure" a3024 1 #line $LINENO "configure" a3048 1 #line $LINENO "configure" d3060 3 a3062 3 (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) d3073 1 a3073 1 || toupper (i) != TOUPPER (i)) d3098 1 a3098 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext a3117 1 #line $LINENO "configure" d3138 1 a3138 1 (eval $ac_compile) 2>&5 d3140 3 d3145 8 a3152 1 { ac_try='test -s conftest.$ac_objext' d3165 1 a3165 1 rm -f conftest.$ac_objext conftest.$ac_ext d3189 1 a3189 1 inttypes.h stdint.h unistd.h a3197 1 #line $LINENO "configure" d3209 1 a3209 1 (eval $ac_compile) 2>&5 d3211 3 d3216 8 a3223 1 { ac_try='test -s conftest.$ac_objext' d3236 1 a3236 1 rm -f conftest.$ac_objext conftest.$ac_ext a3299 1 d3305 1 a3305 1 sys/endian.h sys/file.h sys/mkdev.h sys/mount.h sys/ndir.h \ a3324 1 #line $LINENO "configure" d3335 1 a3335 1 (eval $ac_compile) 2>&5 d3337 3 d3342 8 a3349 1 { ac_try='test -s conftest.$ac_objext' d3362 1 a3362 1 rm -f conftest.$ac_objext conftest.$ac_ext a3369 1 #line $LINENO "configure" d3387 1 d3407 2 a3408 2 case $ac_header_compiler:$ac_header_preproc in yes:no ) d3411 3 a3413 10 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 d3415 1 a3415 1 no:yes ) d3418 6 a3423 2 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} d3426 2 d3430 3 a3432 3 ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## d3443 1 a3443 1 eval "$as_ac_Header=$ac_header_preproc" d3459 65 a3542 1 #line $LINENO "configure" d3553 1 a3553 1 (eval $ac_compile) 2>&5 d3555 3 d3560 8 a3567 1 { ac_try='test -s conftest.$ac_objext' d3580 1 a3580 1 rm -f conftest.$ac_objext conftest.$ac_ext a3587 1 #line $LINENO "configure" d3605 1 d3625 2 a3626 2 case $ac_header_compiler:$ac_header_preproc in yes:no ) d3629 3 a3631 10 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 d3633 1 a3633 1 no:yes ) d3636 6 a3641 2 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} d3644 2 d3648 3 a3650 3 ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## d3661 1 a3661 1 eval "$as_ac_Header=$ac_header_preproc" a3694 1 #line $LINENO "configure" d3705 1 a3705 1 (eval $ac_compile) 2>&5 d3707 3 d3712 8 a3719 1 { ac_try='test -s conftest.$ac_objext' d3732 1 a3732 1 rm -f conftest.$ac_objext conftest.$ac_ext a3739 1 #line $LINENO "configure" d3757 1 d3777 2 a3778 2 case $ac_header_compiler:$ac_header_preproc in yes:no ) d3781 3 a3783 10 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 d3785 1 a3785 1 no:yes ) d3788 6 a3793 2 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} d3796 2 d3800 3 a3802 3 ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## d3813 1 a3813 1 eval "$as_ac_Header=$ac_header_preproc" a3831 1 #line $LINENO "configure" d3849 1 a3849 1 (eval $ac_compile) 2>&5 d3851 3 d3856 8 a3863 1 { ac_try='test -s conftest.$ac_objext' d3876 1 a3876 1 rm -f conftest.$ac_objext conftest.$ac_ext a3920 1 #line $LINENO "configure" d3931 1 a3931 1 (eval $ac_compile) 2>&5 d3933 3 d3938 8 a3945 1 { ac_try='test -s conftest.$ac_objext' d3958 1 a3958 1 rm -f conftest.$ac_objext conftest.$ac_ext a3965 1 #line $LINENO "configure" d3983 1 d4003 2 a4004 2 case $ac_header_compiler:$ac_header_preproc in yes:no ) d4007 3 a4009 10 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 d4011 1 a4011 1 no:yes ) d4014 6 a4019 2 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} d4022 2 d4026 3 a4028 3 ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## d4039 1 a4039 1 eval "$as_ac_Header=$ac_header_preproc" a4057 1 #line $LINENO "configure" d4074 1 a4074 1 (eval $ac_compile) 2>&5 d4076 3 d4081 8 a4088 1 { ac_try='test -s conftest.$ac_objext' d4101 1 a4101 1 rm -f conftest.$ac_objext conftest.$ac_ext d4125 8 a4132 1 LIBOBJS="$LIBOBJS getopt_long.$ac_objext" a4152 1 #line $LINENO "configure" d4163 1 a4163 1 (eval $ac_compile) 2>&5 d4165 3 d4170 8 a4177 1 { ac_try='test -s conftest.$ac_objext' d4190 1 a4190 1 rm -f conftest.$ac_objext conftest.$ac_ext a4197 1 #line $LINENO "configure" d4215 1 d4235 2 a4236 2 case $ac_header_compiler:$ac_header_preproc in yes:no ) d4239 3 a4241 10 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 d4243 1 a4243 1 no:yes ) d4246 6 a4251 2 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} d4254 2 d4258 3 a4260 3 ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## d4271 1 a4271 1 eval "$as_ac_Header=$ac_header_preproc" a4289 1 #line $LINENO "configure" d4307 1 a4307 1 (eval $ac_compile) 2>&5 d4309 3 d4314 8 a4321 1 { ac_try='test -s conftest.$ac_objext' d4334 1 a4334 1 rm -f conftest.$ac_objext conftest.$ac_ext a4359 1 #line $LINENO "configure" d4386 1 a4386 1 (eval $ac_compile) 2>&5 d4388 3 d4393 8 a4400 1 { ac_try='test -s conftest.$ac_objext' d4413 1 a4413 1 rm -f conftest.$ac_objext conftest.$ac_ext a4431 1 #line $LINENO "configure" d4451 1 a4451 1 (eval $ac_compile) 2>&5 d4453 3 d4458 8 a4465 1 { ac_try='test -s conftest.$ac_objext' d4478 1 a4478 1 rm -f conftest.$ac_objext conftest.$ac_ext a4497 1 #line $LINENO "configure" d4530 1 a4530 1 (eval $ac_compile) 2>&5 d4532 3 d4537 8 a4544 1 { ac_try='test -s conftest.$ac_objext' d4557 1 a4557 1 rm -f conftest.$ac_objext conftest.$ac_ext a4574 1 #line $LINENO "configure" d4607 1 a4607 1 (eval $ac_compile) 2>&5 d4609 3 d4614 8 a4621 1 { ac_try='test -s conftest.$ac_objext' d4634 1 a4634 1 rm -f conftest.$ac_objext conftest.$ac_ext a4651 1 #line $LINENO "configure" d4684 1 a4684 1 (eval $ac_compile) 2>&5 d4686 3 d4691 8 a4698 1 { ac_try='test -s conftest.$ac_objext' d4711 1 a4711 1 rm -f conftest.$ac_objext conftest.$ac_ext a4728 1 #line $LINENO "configure" d4761 1 a4761 1 (eval $ac_compile) 2>&5 d4763 3 d4768 8 a4775 1 { ac_try='test -s conftest.$ac_objext' d4788 1 a4788 1 rm -f conftest.$ac_objext conftest.$ac_ext a4805 1 #line $LINENO "configure" d4838 1 a4838 1 (eval $ac_compile) 2>&5 d4840 3 d4845 8 a4852 1 { ac_try='test -s conftest.$ac_objext' d4865 1 a4865 1 rm -f conftest.$ac_objext conftest.$ac_ext a4882 1 #line $LINENO "configure" d4915 1 a4915 1 (eval $ac_compile) 2>&5 d4917 3 d4922 8 a4929 1 { ac_try='test -s conftest.$ac_objext' d4942 1 a4942 1 rm -f conftest.$ac_objext conftest.$ac_ext a4959 1 #line $LINENO "configure" d4992 1 a4992 1 (eval $ac_compile) 2>&5 d4994 3 d4999 8 a5006 1 { ac_try='test -s conftest.$ac_objext' d5019 1 a5019 1 rm -f conftest.$ac_objext conftest.$ac_ext a5036 1 #line $LINENO "configure" d5069 1 a5069 1 (eval $ac_compile) 2>&5 d5071 3 d5076 8 a5083 1 { ac_try='test -s conftest.$ac_objext' d5096 1 a5096 1 rm -f conftest.$ac_objext conftest.$ac_ext a5113 1 #line $LINENO "configure" d5146 1 a5146 1 (eval $ac_compile) 2>&5 d5148 3 d5153 8 a5160 1 { ac_try='test -s conftest.$ac_objext' d5173 1 a5173 1 rm -f conftest.$ac_objext conftest.$ac_ext a5190 1 #line $LINENO "configure" d5223 1 a5223 1 (eval $ac_compile) 2>&5 d5225 3 d5230 8 a5237 1 { ac_try='test -s conftest.$ac_objext' d5250 1 a5250 1 rm -f conftest.$ac_objext conftest.$ac_ext a5267 1 #line $LINENO "configure" d5300 1 a5300 1 (eval $ac_compile) 2>&5 d5302 3 d5307 8 a5314 1 { ac_try='test -s conftest.$ac_objext' d5327 1 a5327 1 rm -f conftest.$ac_objext conftest.$ac_ext a5344 1 #line $LINENO "configure" d5377 1 a5377 1 (eval $ac_compile) 2>&5 d5379 3 d5384 8 a5391 1 { ac_try='test -s conftest.$ac_objext' d5404 1 a5404 1 rm -f conftest.$ac_objext conftest.$ac_ext a5421 1 #line $LINENO "configure" d5454 1 a5454 1 (eval $ac_compile) 2>&5 d5456 3 d5461 8 a5468 1 { ac_try='test -s conftest.$ac_objext' d5481 1 a5481 1 rm -f conftest.$ac_objext conftest.$ac_ext a5500 1 #line $LINENO "configure" d5522 1 a5522 1 (eval $ac_compile) 2>&5 d5524 3 d5529 8 a5536 1 { ac_try='test -s conftest.$ac_objext' a5543 1 #line $LINENO "configure" d5565 1 a5565 1 (eval $ac_compile) 2>&5 d5567 3 d5572 8 a5579 1 { ac_try='test -s conftest.$ac_objext' d5592 1 a5592 1 rm -f conftest.$ac_objext conftest.$ac_ext a5601 1 #line $LINENO "configure" d5623 1 a5623 1 (eval $ac_compile) 2>&5 d5625 3 d5630 8 a5637 1 { ac_try='test -s conftest.$ac_objext' d5659 1 a5659 1 rm -f conftest.$ac_objext conftest.$ac_ext a5661 1 #line $LINENO "configure" d5700 1 a5700 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d5703 1 a5703 1 rm -f conftest.$ac_objext conftest.$ac_ext a5729 1 #line $LINENO "configure" d5749 1 a5749 1 (eval $ac_compile) 2>&5 d5751 3 d5756 8 a5763 1 { ac_try='test -s conftest.$ac_objext' d5776 1 a5776 1 rm -f conftest.$ac_objext conftest.$ac_ext a5793 1 #line $LINENO "configure" d5812 1 a5812 1 (eval $ac_compile) 2>&5 d5814 3 d5819 8 a5826 1 { ac_try='test -s conftest.$ac_objext' a5834 1 #line $LINENO "configure" d5853 1 a5853 1 (eval $ac_compile) 2>&5 d5855 3 d5860 8 a5867 1 { ac_try='test -s conftest.$ac_objext' d5879 5 a5883 5 if test $ac_lo -le $ac_mid; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid + 1` d5885 1 a5885 1 rm -f conftest.$ac_objext conftest.$ac_ext a5891 1 #line $LINENO "configure" d5910 1 a5910 1 (eval $ac_compile) 2>&5 d5912 3 d5917 8 a5924 1 { ac_try='test -s conftest.$ac_objext' a5932 1 #line $LINENO "configure" d5951 1 a5951 1 (eval $ac_compile) 2>&5 d5953 3 d5958 8 a5965 1 { ac_try='test -s conftest.$ac_objext' d5977 5 a5981 5 if test $ac_mid -le $ac_hi; then ac_lo= ac_hi= break fi ac_mid=`expr 2 '*' $ac_mid` d5983 1 a5983 1 rm -f conftest.$ac_objext conftest.$ac_ext d5991 1 a5991 1 rm -f conftest.$ac_objext conftest.$ac_ext d5993 1 a5993 1 rm -f conftest.$ac_objext conftest.$ac_ext a5997 1 #line $LINENO "configure" d6016 1 a6016 1 (eval $ac_compile) 2>&5 d6018 3 d6023 8 a6030 1 { ac_try='test -s conftest.$ac_objext' d6043 1 a6043 1 rm -f conftest.$ac_objext conftest.$ac_ext a6061 1 #line $LINENO "configure" d6123 1 a6123 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext a6156 1 #line $LINENO "configure" d6167 1 a6167 1 (eval $ac_compile) 2>&5 d6169 3 d6174 8 a6181 1 { ac_try='test -s conftest.$ac_objext' d6194 1 a6194 1 rm -f conftest.$ac_objext conftest.$ac_ext a6201 1 #line $LINENO "configure" d6219 1 d6239 2 a6240 2 case $ac_header_compiler:$ac_header_preproc in yes:no ) d6243 3 a6245 10 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 d6247 1 a6247 1 no:yes ) d6250 6 a6255 2 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} d6258 2 d6262 3 a6264 3 ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## d6275 1 a6275 1 eval "$as_ac_Header=$ac_header_preproc" a6298 1 #line $LINENO "configure" d6338 1 a6338 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext d6354 8 a6361 1 LIBOBJS="$LIBOBJS malloc.$ac_objext" a6376 1 #line $LINENO "configure" d6396 1 a6396 1 (eval $ac_compile) 2>&5 d6398 3 d6403 8 a6410 1 { ac_try='test -s conftest.$ac_objext' d6423 1 a6423 1 rm -f conftest.$ac_objext conftest.$ac_ext a6452 1 #line $LINENO "configure" d6458 4 d6466 1 d6472 3 d6505 1 a6505 1 (eval $ac_link) 2>&5 d6507 3 d6512 8 a6519 1 { ac_try='test -s conftest$ac_exeext' d6532 2 a6533 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext a6553 1 #line $LINENO "configure" d6574 1 a6574 1 (eval $ac_compile) 2>&5 d6576 3 d6581 8 a6588 1 { ac_try='test -s conftest.$ac_objext' d6600 1 a6600 1 rm -f conftest.$ac_objext conftest.$ac_ext a6611 1 #line $LINENO "configure" d6647 1 a6647 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext a6671 1 #line $LINENO "configure" d6677 4 d6685 1 d6691 3 d6724 1 a6724 1 (eval $ac_link) 2>&5 d6726 3 d6731 8 a6738 1 { ac_try='test -s conftest$ac_exeext' d6751 2 a6752 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext a6766 1 #line $LINENO "configure" d6772 4 d6780 1 d6786 3 d6819 1 a6819 1 (eval $ac_link) 2>&5 d6821 3 d6826 8 a6833 1 { ac_try='test -s conftest$ac_exeext' d6846 2 a6847 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext a6902 1 #line $LINENO "configure" d6908 4 d6916 1 d6922 3 d6955 1 a6955 1 (eval $ac_link) 2>&5 d6957 3 d6962 8 a6969 1 { ac_try='test -s conftest$ac_exeext' d6982 2 a6983 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext d6993 8 a7000 1 LIBOBJS="$LIBOBJS $ac_func.$ac_objext" a7018 1 #line $LINENO "configure" d7024 4 d7032 1 d7038 3 d7071 1 a7071 1 (eval $ac_link) 2>&5 d7073 3 d7078 8 a7085 1 { ac_try='test -s conftest$ac_exeext' d7098 2 a7099 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext a7124 1 #line $LINENO "configure" d7130 4 d7138 1 d7144 3 d7177 1 a7177 1 (eval $ac_link) 2>&5 d7179 3 d7184 8 a7191 1 { ac_try='test -s conftest$ac_exeext' d7204 2 a7205 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext a7227 1 #line $LINENO "configure" d7233 4 d7241 1 d7247 3 d7280 1 a7280 1 (eval $ac_link) 2>&5 d7282 3 d7287 8 a7294 1 { ac_try='test -s conftest$ac_exeext' d7307 2 a7308 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext a7330 1 #line $LINENO "configure" d7336 4 d7344 1 d7350 3 d7380 14 a7393 4 _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 d7396 2 a7397 2 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' d7410 2 a7411 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext a7436 1 #line $LINENO "configure" d7442 4 d7450 1 d7456 3 d7489 1 a7489 1 (eval $ac_link) 2>&5 d7491 3 d7496 8 a7503 1 { ac_try='test -s conftest$ac_exeext' d7516 2 a7517 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext d7533 8 a7540 1 LIBOBJS="$LIBOBJS setmode.$ac_objext" d7543 8 a7550 1 LIBOBJS="$LIBOBJS setenv.$ac_objext" a7568 1 #line $LINENO "configure" d7574 4 d7582 1 d7588 3 d7621 1 a7621 1 (eval $ac_link) 2>&5 d7623 3 d7628 8 a7635 1 { ac_try='test -s conftest$ac_exeext' d7648 2 a7649 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext a7676 1 #line $LINENO "configure" d7682 4 d7690 1 d7696 3 d7729 1 a7729 1 (eval $ac_link) 2>&5 d7731 3 d7736 8 a7743 1 { ac_try='test -s conftest$ac_exeext' d7756 2 a7757 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext d7773 8 a7780 1 LIBOBJS="$LIBOBJS pwcache.$ac_objext" a7788 1 #line $LINENO "configure" d7794 4 d7802 1 d7808 3 d7841 1 a7841 1 (eval $ac_link) 2>&5 d7843 3 d7848 8 a7855 1 { ac_try='test -s conftest$ac_exeext' d7868 2 a7869 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext d7876 8 a7883 1 LIBOBJS="$LIBOBJS __fts13.$ac_objext" a7892 1 #line $LINENO "configure" d7898 4 d7906 1 d7912 3 d7945 1 a7945 1 (eval $ac_link) 2>&5 d7947 3 d7952 8 a7959 1 { ac_try='test -s conftest$ac_exeext' d7972 2 a7973 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext d7981 16 a7996 2 LIBOBJS="$LIBOBJS md5c.$ac_objext" LIBOBJS="$LIBOBJS md5hl.$ac_objext" a8005 1 #line $LINENO "configure" d8011 4 d8019 1 d8025 3 d8058 1 a8058 1 (eval $ac_link) 2>&5 d8060 3 d8065 8 a8072 1 { ac_try='test -s conftest$ac_exeext' d8085 2 a8086 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext d8094 16 a8109 2 LIBOBJS="$LIBOBJS rmd160.$ac_objext" LIBOBJS="$LIBOBJS rmd160hl.$ac_objext" a8118 1 #line $LINENO "configure" d8124 4 d8132 1 d8138 3 d8171 1 a8171 1 (eval $ac_link) 2>&5 d8173 3 d8178 8 a8185 1 { ac_try='test -s conftest$ac_exeext' d8198 2 a8199 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext d8207 16 a8222 2 LIBOBJS="$LIBOBJS sha1.$ac_objext" LIBOBJS="$LIBOBJS sha1hl.$ac_objext" a8238 1 #line $LINENO "configure" d8244 4 d8252 1 d8258 3 d8291 1 a8291 1 (eval $ac_link) 2>&5 d8293 3 d8298 8 a8305 1 { ac_try='test -s conftest$ac_exeext' d8318 2 a8319 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext a8342 1 #line $LINENO "configure" d8348 4 d8356 1 d8362 3 d8395 1 a8395 1 (eval $ac_link) 2>&5 d8397 3 d8402 8 a8409 1 { ac_try='test -s conftest$ac_exeext' d8422 2 a8423 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext d8445 16 a8460 2 LIBOBJS="$LIBOBJS vis.$ac_objext" LIBOBJS="$LIBOBJS unvis.$ac_objext" a8476 1 #line $LINENO "configure" d8482 4 d8490 1 d8496 3 d8529 1 a8529 1 (eval $ac_link) 2>&5 d8531 3 d8536 8 a8543 1 { ac_try='test -s conftest$ac_exeext' d8556 2 a8557 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext a8575 1 #line $LINENO "configure" d8581 4 d8589 1 d8595 3 d8628 1 a8628 1 (eval $ac_link) 2>&5 d8630 3 d8635 8 a8642 1 { ac_try='test -s conftest$ac_exeext' d8655 2 a8656 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext a8667 1 #line $LINENO "configure" d8684 1 a8684 1 (eval $ac_compile) 2>&5 d8686 3 d8691 8 a8698 1 { ac_try='test -s conftest.$ac_objext' d8711 1 a8711 1 rm -f conftest.$ac_objext conftest.$ac_ext a8732 1 #line $LINENO "configure" d8738 4 d8746 1 d8752 3 d8785 1 a8785 1 (eval $ac_link) 2>&5 d8787 3 d8792 8 a8799 1 { ac_try='test -s conftest$ac_exeext' d8812 2 a8813 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext a8826 1 #line $LINENO "configure" d8843 1 a8843 1 (eval $ac_compile) 2>&5 d8845 3 d8850 8 a8857 1 { ac_try='test -s conftest.$ac_objext' d8870 1 a8870 1 rm -f conftest.$ac_objext conftest.$ac_ext d8878 8 a8885 1 LIBOBJS="$LIBOBJS sl_init.$ac_objext" a8899 1 #line $LINENO "configure" d8905 4 d8913 1 d8919 3 d8952 1 a8952 1 (eval $ac_link) 2>&5 d8954 3 d8959 8 a8966 1 { ac_try='test -s conftest$ac_exeext' d8979 2 a8980 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext a8993 1 #line $LINENO "configure" d8999 4 d9007 1 d9013 3 d9046 1 a9046 1 (eval $ac_link) 2>&5 d9048 3 d9053 8 a9060 1 { ac_try='test -s conftest$ac_exeext' d9073 2 a9074 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext d9104 8 a9111 1 LIBOBJS="$LIBOBJS statfs.$ac_objext" a9123 1 #line $LINENO "configure" d9165 1 a9165 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext a9174 1 #line $LINENO "configure" d9222 1 a9222 1 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext a9242 1 #line $LINENO "configure" d9248 4 d9256 1 d9262 3 d9295 1 a9295 1 (eval $ac_link) 2>&5 d9297 3 d9302 8 a9309 1 { ac_try='test -s conftest$ac_exeext' d9322 2 a9323 1 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext d9333 8 a9340 1 LIBOBJS="$LIBOBJS $ac_func.$ac_objext" a9356 1 #line $LINENO "configure" d9376 1 a9376 1 (eval $ac_compile) 2>&5 d9378 3 d9383 8 a9390 1 { ac_try='test -s conftest.$ac_objext' d9403 1 a9403 1 rm -f conftest.$ac_objext conftest.$ac_ext a9430 1 #line $LINENO "configure" d9450 1 a9450 1 (eval $ac_compile) 2>&5 d9452 3 d9457 8 a9464 1 { ac_try='test -s conftest.$ac_objext' d9477 1 a9477 1 rm -f conftest.$ac_objext conftest.$ac_ext d9530 2 a9531 2 "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" d9536 1 a9536 1 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" d9566 1 a9566 1 ac_vpsub='/^[ ]*VPATH[ ]*=/{ d9570 1 a9570 1 s/^\([^=]*=[ ]*\):*/\1/; d9572 1 a9572 1 s/^[^=]*=[ ]*$//; d9583 1 a9583 1 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` d9627 1 d9630 1 a9630 1 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then d9649 1 a9649 1 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then d9828 1 d9835 1 a9835 1 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" d9838 1 a9838 1 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" d9865 1 a9865 1 generated by GNU Autoconf 2.57. Invocation command line was d9909 1 a9909 1 instantiate the configuration file FILE d9911 1 a9911 1 instantiate the configuration header FILE d9925 1 a9925 1 configured by $0, generated by GNU Autoconf 2.57, d9928 1 a9928 2 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. d10174 1 a10174 1 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" d10176 1 a10176 1 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" d10194 3 a10196 3 cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; d10198 1 a10198 1 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; d10205 4 a10208 4 X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || d10224 4 a10227 4 X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || d10265 39 a10303 6 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be # absolute. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` d10325 1 a10325 1 sed 's,.*/,,'` by configure." d10334 2 a10335 2 # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 d10338 1 a10338 1 echo $f;; d10340 9 a10348 9 if test -f "$f"; then # Build tree echo $f elif test -f "$srcdir/$f"; then # Source tree echo $srcdir/$f else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 d10351 1 a10351 1 fi;; d10393 2 a10394 2 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='[ ].*$,\1#\2' d10398 1 a10398 1 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' d10407 3 a10409 3 cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; d10411 1 a10411 1 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; d10425 2 a10426 2 # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 d10429 2 a10430 1 echo $f;; d10432 9 a10440 9 if test -f "$f"; then # Build tree echo $f elif test -f "$srcdir/$f"; then # Source tree echo $srcdir/$f else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 d10443 1 a10443 1 fi;; d10447 1 a10447 1 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in d10470 1 a10470 1 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp d10472 1 a10472 1 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp d10486 1 a10486 1 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, d10492 1 a10492 1 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS d10501 1 a10501 1 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS d10528 1 a10528 1 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS d10562 4 a10565 4 X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || d10581 4 a10584 4 X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || @ 1.33 log @regen for HAVE_WORKING_LONG_LONG rename @ text @d8081 1 a8081 1 if test $ac_cv_type_long_long = yes -a $ac_cv_sizeof_off_t -ge 8; then @ 1.32 log @always use local glob() as some glob() implementations have security issues. suggested by lukem. @ text @d8197 1 a8197 1 #define HAVE_QUAD_SUPPORT 1 @ 1.31 log @always use local glob.[ch] if GLOB_NOMATCH or GLOB_ABORTED aren't defined. @ text @a3169 1 d3171 1 a3171 1 errno.h fcntl.h fts.h glob.h inttypes.h libutil.h limits.h \ d6323 1 a6323 2 for ac_func in err fgetln fparseln fseeko getenv glob inet_ntop \ a8079 67 pkg_use_nbcompat_glob=yes echo "$as_me:$LINENO: checking if GLOB_NOMATCH and GLOB_ABORTED are defined in glob.h" >&5 echo $ECHO_N "checking if GLOB_NOMATCH and GLOB_ABORTED are defined in glob.h... $ECHO_C" >&6 if test "${pkg_cv_GLOB_NOMATCH_ABORTED+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { int f = GLOB_NOMATCH + GLOB_ABORTED ; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then pkg_cv_GLOB_NOMATCH_ABORTED=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 pkg_cv_GLOB_NOMATCH_ABORTED=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $pkg_cv_GLOB_NOMATCH_ABORTED" >&5 echo "${ECHO_T}$pkg_cv_GLOB_NOMATCH_ABORTED" >&6 if test "x$pkg_cv_GLOB_NOMATCH_ABORTED" = "xyes"; then pkg_use_nbcompat_glob=no else : fi if test $pkg_use_nbcompat_glob = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_NBCOMPAT_GLOB 1 _ACEOF LIBOBJS="$LIBOBJS glob.$ac_objext" fi @ 1.30 log @Check for setenv and unsetenv independantly since setenv presence doesn't always imply unsetenv. @ text @d8083 67 @ 1.29 log @test that md5.h can be compiled and that it provides MD5Init(), otherwise, pretend we don't have it. fixes build on some RedHat systems where md5.h is incompatible with NetBSD's. bump to 20030916. @ text @a6324 1 d6327 1 a6327 1 poll setenv setprogname snprintf strdup strerror strlcat strlcpy \ d6762 88 d6853 3 @ 1.28 log @bump version for latest changes. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.57 for libnbcompat 20030914. d271 2 a272 2 PACKAGE_VERSION='20030914' PACKAGE_STRING='libnbcompat 20030914' d781 1 a781 1 \`configure' configures libnbcompat 20030914 to adapt to many kinds of systems. d847 1 a847 1 short | recursive ) echo "Configuration of libnbcompat 20030914:";; d926 1 a926 1 libnbcompat configure 20030914 d941 1 a941 1 It was created by libnbcompat $as_me 20030914, which was d3467 209 d8700 1 a8700 1 This file was extended by libnbcompat $as_me 20030914, which was d8760 1 a8760 1 libnbcompat config.status 20030914 @ 1.27 log @Unbreak pkg_install on Irix by adding irix to the statvfs dance in libnbcompat, as suggested by Grant. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.57 for libnbcompat 20030830. d271 2 a272 2 PACKAGE_VERSION='20030830' PACKAGE_STRING='libnbcompat 20030830' d781 1 a781 1 \`configure' configures libnbcompat 20030830 to adapt to many kinds of systems. d847 1 a847 1 short | recursive ) echo "Configuration of libnbcompat 20030830:";; d926 1 a926 1 libnbcompat configure 20030830 d941 1 a941 1 It was created by libnbcompat $as_me 20030830, which was d8491 1 a8491 1 This file was extended by libnbcompat $as_me 20030830, which was d8551 1 a8551 1 libnbcompat config.status 20030830 @ 1.26 log @Allow libnbcompat to be used without being installed. Also remove the unused header file util.h. @ text @d7682 1 a7682 1 sunos*|solaris*) @ 1.25 log @back out revision 1.22 which broke statfs() on Linux and FreeBSD systems which have both statfs() and statvfs(). while it would be nice to have an OS-independent way of testing whether to use our statfs() implementation, in reality it is much more reliable to only use it where required. @ text @d1277 1 a1277 1 ac_config_headers="$ac_config_headers nbcompat/nbconfig.h" d8656 1 a8656 1 "nbcompat/nbconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbcompat/nbconfig.h" ;; @ 1.24 log @update version according to autoconf to match reality @ text @d7607 3 a7609 7 for ac_func in statvfs do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then d7620 1 a7620 1 which can conflict with char $ac_func (); below. d7635 1 a7635 1 char $ac_func (); d7639 1 a7639 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) d7642 1 a7642 1 char (*f) () = $ac_func; d7651 1 a7651 1 return f != $ac_func; d7668 1 a7668 1 eval "$as_ac_var=yes" d7673 1 a7673 1 eval "$as_ac_var=no" d7677 9 a7685 16 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF pkg_use_nbcompat_statfs=yes else for ac_func in statfs do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then d7696 1 a7696 1 which can conflict with char $ac_func (); below. d7711 1 a7711 1 char $ac_func (); d7715 1 a7715 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) d7718 1 a7718 1 char (*f) () = $ac_func; d7727 1 a7727 1 return f != $ac_func; d7744 1 a7744 1 eval "$as_ac_var=yes" d7749 1 a7749 1 eval "$as_ac_var=no" d7753 4 a7756 7 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF pkg_use_nbcompat_statfs=no d7759 2 a7760 2 { { echo "$as_me:$LINENO: error: statfs can't be implemented" >&5 echo "$as_me: error: statfs can't be implemented" >&2;} a7763 1 done d7765 5 a7771 1 done @ 1.23 log @Also check for presence of , and pretend we don't have it if we use libnbcompat's statfs. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.57 for libnbcompat 20030823. d271 2 a272 2 PACKAGE_VERSION='20030823' PACKAGE_STRING='libnbcompat 20030823' d781 1 a781 1 \`configure' configures libnbcompat 20030823 to adapt to many kinds of systems. d847 1 a847 1 short | recursive ) echo "Configuration of libnbcompat 20030823:";; d926 1 a926 1 libnbcompat configure 20030823 d941 1 a941 1 It was created by libnbcompat $as_me 20030823, which was d8502 1 a8502 1 This file was extended by libnbcompat $as_me 20030823, which was d8562 1 a8562 1 libnbcompat config.status 20030823 @ 1.22 log @Modify autoconf tests so that we'll reliably implement BSD statfs() using statvfs() on systems that provide it. I'm assuming that the SVR4 statvfs() is a standardized call across systems that have it. This should allow IRIX to build the statfs call into libnbcompat. @ text @d3170 1 d3178 3 a3180 2 sys/stat.h sys/statvfs.h sys/vfs.h sys/types.h sys/vfs.h termcap.h \ termios.h time.h tzfile.h unistd.h util.h utmp.h @ 1.21 log @Ensure that struct option is defined properly before accepting that having getopt.h implies having getopt_long. Also Fix checks for setmode, pwcache, and vis so that if any of a list of functions is missing, then use the nbcompat versions. @ text @d7604 1 d7606 6 a7611 4 pkg_use_nbcompat_statfs=yes echo "$as_me:$LINENO: checking for statfs" >&5 echo $ECHO_N "checking for statfs... $ECHO_C" >&6 if test "${ac_cv_func_statfs+set}" = set; then d7622 1 a7622 1 which can conflict with char statfs (); below. d7637 1 a7637 1 char statfs (); d7641 1 a7641 1 #if defined (__stub_statfs) || defined (__stub___statfs) d7644 1 a7644 1 char (*f) () = statfs; d7653 1 a7653 1 return f != statfs; d7670 1 a7670 1 ac_cv_func_statfs=yes d7675 1 a7675 1 ac_cv_func_statfs=no d7679 16 a7694 9 echo "$as_me:$LINENO: result: $ac_cv_func_statfs" >&5 echo "${ECHO_T}$ac_cv_func_statfs" >&6 if test $ac_cv_func_statfs = yes; then case $host_os in sunos*|solaris*) echo "$as_me:$LINENO: checking for statvfs" >&5 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6 if test "${ac_cv_func_statvfs+set}" = set; then d7705 1 a7705 1 which can conflict with char statvfs (); below. d7720 1 a7720 1 char statvfs (); d7724 1 a7724 1 #if defined (__stub_statvfs) || defined (__stub___statvfs) d7727 1 a7727 1 char (*f) () = statvfs; d7736 1 a7736 1 return f != statvfs; d7753 1 a7753 1 ac_cv_func_statvfs=yes d7758 1 a7758 1 ac_cv_func_statvfs=no d7762 7 a7768 4 echo "$as_me:$LINENO: result: $ac_cv_func_statvfs" >&5 echo "${ECHO_T}$ac_cv_func_statvfs" >&6 if test $ac_cv_func_statvfs = yes; then : d7771 2 a7772 2 { { echo "$as_me:$LINENO: error: statfs can't be implemented correctly" >&5 echo "$as_me: error: statfs can't be implemented correctly" >&2;} d7776 1 a7777 5 ;; *) pkg_use_nbcompat_statfs=no ;; esac d7780 1 @ 1.20 log @Update pkgtools/libnbcompat to 20030830. Changes from the previous version are removing sha2* object files from libnbcompat.a. It turns out that the functions defined there aren't provided by NetBSD, so it makes no sense for libnbcompat to define them, and none of the utilities in pkgsrc that link against libnbcompat actually use these functions anyway. @ text @a3169 1 d3171 1 a3171 1 errno.h fcntl.h fts.h getopt.h glob.h inttypes.h libutil.h limits.h \ d3465 208 d3674 8 a3681 4 if test "${ac_cv_header_vis_h+set}" = set; then echo "$as_me:$LINENO: checking for vis.h" >&5 echo $ECHO_N "checking for vis.h... $ECHO_C" >&6 if test "${ac_cv_header_vis_h+set}" = set; then d3684 2 a3685 2 echo "$as_me:$LINENO: result: $ac_cv_header_vis_h" >&5 echo "${ECHO_T}$ac_cv_header_vis_h" >&6 d3688 2 a3689 2 echo "$as_me:$LINENO: checking vis.h usability" >&5 echo $ECHO_N "checking vis.h usability... $ECHO_C" >&6 d3698 1 a3698 1 #include d3724 2 a3725 2 echo "$as_me:$LINENO: checking vis.h presence" >&5 echo $ECHO_N "checking vis.h presence... $ECHO_C" >&6 d3733 1 a3733 1 #include d3766 4 a3769 4 { echo "$as_me:$LINENO: WARNING: vis.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: vis.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: vis.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: vis.h: proceeding with the preprocessor's result" >&2;} d3780 6 a3785 6 { echo "$as_me:$LINENO: WARNING: vis.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: vis.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: vis.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: vis.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: vis.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: vis.h: proceeding with the preprocessor's result" >&2;} d3796 3 a3798 3 echo "$as_me:$LINENO: checking for vis.h" >&5 echo $ECHO_N "checking for vis.h... $ECHO_C" >&6 if test "${ac_cv_header_vis_h+set}" = set; then d3801 1 a3801 1 ac_cv_header_vis_h=$ac_header_preproc d3803 2 a3804 2 echo "$as_me:$LINENO: result: $ac_cv_header_vis_h" >&5 echo "${ECHO_T}$ac_cv_header_vis_h" >&6 d3807 4 a3810 1 if test $ac_cv_header_vis_h = yes; then d3826 2 a3827 4 #include #include d3861 1 a3861 8 cat >>confdefs.h <<\_ACEOF #define HAVE_VIS_H 1 _ACEOF d3863 1 a3863 1 pkg_use_nbcompat_vis=no d3870 1 d6115 4 a6118 5 for ac_func in err fgetln fparseln fseeko getenv getopt_long glob \ inet_ntop inet_pton isblank lchflags lchmod lchown lutimes mkstemp \ mkdtemp poll setenv setprogname snprintf strdup strerror strlcat \ strlcpy strmode strptime strsep strtoll timegm usleep d6461 85 d6548 1 a6548 1 pkg_use_nbcompat_setmode=yes d6643 90 d6735 1 a6735 1 pkg_use_nbcompat_pwcache=yes d6740 1 a6740 1 if test $pkg_use_nbcompat_setmode = yes; then d7149 86 d7237 1 a7237 1 pkg_use_nbcompat_vis=yes @ 1.19 log @Update pkgtools/libnbcompat to 20030829. Changes from previous version include: * Move headers out of the global namespace and into the nbcompat directory. Since there are no headers other than nbcompat.h in ${PREFIX}/include/libnbcompat, just install it directly in ${PREFIX}/include. Using libnbcompat is now a matter of including nbcompat.h at the top of *.c files and linking against -lnbcompat. * Only build functions into libnbcompat.a if they aren't already in the system libraries. * Move several *.[ch] files that are pax- or mtree-specific out of libnbcompat (they should belong with those packages). On NetBSD 1.6 systems, libnbcompat.a now contains just the bare minimum: the sha2 routines. @ text @d3324 1 a3324 2 for ac_header in md5.h rmd160.h sha1.h sha2.h a6682 81 fi echo "$as_me:$LINENO: checking for SHA256_File" >&5 echo $ECHO_N "checking for SHA256_File... $ECHO_C" >&6 if test "${ac_cv_func_SHA256_File+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char SHA256_File (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char SHA256_File (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_SHA256_File) || defined (__stub___SHA256_File) choke me #else char (*f) () = SHA256_File; #endif #ifdef __cplusplus } #endif int main () { return f != SHA256_File; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_SHA256_File=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_SHA256_File=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_SHA256_File" >&5 echo "${ECHO_T}$ac_cv_func_SHA256_File" >&6 if test $ac_cv_func_SHA256_File = yes; then : else LIBOBJS="$LIBOBJS sha2.$ac_objext" LIBOBJS="$LIBOBJS sha2hl.$ac_objext" @ 1.18 log @Use AH_TEMPLATE when we use AC_DEFINE so that autoheader can generate the symbol and comment in nbconfig.h.in for us in the correct place. The previous way of using AH_BOTTOM also worked but separated the symbol definition from the accompanying C comment text, which was a little harder to maintain. @ text @d3169 2 d3172 1 a3172 1 errno.h fcntl.h fts.h inttypes.h libutil.h limits.h \ d3321 146 d5910 5 a5914 5 for ac_func in err fgetln fparseln fseeko getenv glob inet_ntop \ inet_pton isblank lchflags lchmod lchown lutimes mkstemp \ mkdtemp poll setenv setprogname snprintf strdup strerror \ strlcat strlcpy strmode strptime strsep strtoll timegm \ usleep d6004 2 a6005 1 for ac_func in MD5File RMD160File SHA1File d6092 2 a6093 1 for ac_func in setgroupent setgrent setpassent setpwent d6178 1 a6178 4 for ac_func in bcopy bzero memset memcpy setlocale d6257 6 d6264 2 a6266 1 done d6270 6 a6275 1 for ac_func in getmode setmode d6354 3 a6356 1 d6361 3 d6365 40 d6406 24 d6431 11 d6444 3 a6446 7 for ac_func in gid_from_group group_from_gid pwcache_groupdb pwcache_userdb \ uid_from_user user_from_uid do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then d6457 1 a6457 1 which can conflict with char $ac_func (); below. d6472 1 a6472 1 char $ac_func (); d6476 1 a6476 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) d6479 1 a6479 1 char (*f) () = $ac_func; d6488 1 a6488 1 return f != $ac_func; d6505 1 a6505 1 eval "$as_ac_var=yes" d6510 1 a6510 1 eval "$as_ac_var=no" d6514 8 a6521 6 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF a6523 1 done d6525 3 a6527 7 for ac_func in fts_open do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then d6538 1 a6538 1 which can conflict with char $ac_func (); below. d6553 1 a6553 1 char $ac_func (); d6557 1 a6557 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) d6560 1 a6560 1 char (*f) () = $ac_func; d6569 1 a6569 1 return f != $ac_func; d6586 1 a6586 1 eval "$as_ac_var=yes" d6591 1 a6591 1 eval "$as_ac_var=no" d6595 4 a6598 7 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF : a6599 4 LIBOBJS="$LIBOBJS __fts13.$ac_objext" fi done d6601 2 d6604 1 d6606 3 a6608 7 for ac_func in strunvis strvis strsvis do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then d6619 1 a6619 1 which can conflict with char $ac_func (); below. d6634 1 a6634 1 char $ac_func (); d6638 1 a6638 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) d6641 1 a6641 1 char (*f) () = $ac_func; d6650 1 a6650 1 return f != $ac_func; d6667 1 a6667 1 eval "$as_ac_var=yes" d6672 1 a6672 1 eval "$as_ac_var=no" d6676 4 a6679 7 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF pkg_use_nbcompat_vis=no d6681 4 a6684 1 pkg_use_nbcompat_vis=yes a6685 1 done d6687 40 d6728 7 a6734 3 if test $pkg_use_nbcompat_vis = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_NBCOMPAT_VIS 1 d6736 16 d6753 9 d6763 2 a6765 2 LIBOBJS="$LIBOBJS vis.$ac_objext" LIBOBJS="$LIBOBJS unvis.$ac_objext" d6772 1 a6772 2 for ac_func in getpassphrase getpgrp memmove poll select d6851 12 d6864 3 a6867 1 done d6870 5 a6874 1 for ac_func in getopt_long @ 1.17 log @Update pkgtools/libnbcompat to 20030827. Changes from previous version include only building __fts13.o into libnbcompat.a if the fts_*() functions aren't present in the system. @ text @d3465 4 a3468 2 #include #include d3502 2 a3503 1 cat >>confdefs.h <<\_ACEOF d3507 3 d6470 2 d7085 2 d7187 2 d7210 2 d7317 3 a7319 2 #include #include d7355 2 a7356 1 cat >>confdefs.h <<\_ACEOF d7360 3 d7382 3 a7384 2 #include #include d7418 2 a7419 1 : cat >>confdefs.h <<\_ACEOF d7422 3 @ 1.16 log @Update pkgtools/libnbcompat to 20030826. Changes from previous version: * Properly declare statfs() and fstatfs() if we use the libnbcompat versions. * Move some headers into a private directory in the installed location so that they don't override headers of the same name on the system. * Define TAILQ_HEAD_INITIALIZER if it doesn't exist. * Add a poll() implementation using select() for poll()-less systems. Thanks for Charles Blundell for the implementation! * Fix the vis.h check for systems whose vis() is not as featureful as NetBSD's. @ text @d6284 86 @ 1.15 log @Update pkgtools/libnbcompat to 20030824. Changes from previous version: * Don't install namespace.h, extern.h and stat_flags.h, which are only used internally. * Clean up util.h by using '#if !HAVE_xxx' instead of '#ifndef !HAVE_xxx', removing some LIST_* definitions that are defined by , and removing static declarations. * If fparseln is in libutil (as it is in NetBSD), then don't build it into libnbcompat.a. @ text @d1277 1 a1277 1 ac_config_headers="$ac_config_headers nbconfig.h" a3168 1 d3177 1 a3177 1 termios.h time.h tzfile.h unistd.h util.h utmp.h vis.h d3319 195 d5755 1 d5758 1 a5758 1 mkdtemp setenv setprogname snprintf strdup strerror \ d6366 3 a6368 1 d6373 9 a6758 1 if test $ac_cv_func_sl_init = yes; then a6812 1 fi d6818 1 a6818 1 pkg_have_nbcompat_statfs=yes d6979 1 a6979 1 pkg_have_nbcompat_statfs=no d6986 1 a6986 1 if test $pkg_have_nbcompat_statfs = yes; then a7201 59 if test $ac_cv_header_vis_h = yes; then echo "$as_me:$LINENO: checking for VIS_WHITE in vis.h" >&5 echo $ECHO_N "checking for VIS_WHITE in vis.h... $ECHO_C" >&6 if test "${pkg_cv_have_vis_white+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include int main () { int X = VIS_WHITE ; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then pkg_cv_have_vis_white=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 pkg_cv_have_vis_white=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $pkg_cv_have_vis_white" >&5 echo "${ECHO_T}$pkg_cv_have_vis_white" >&6 if test "x$pkg_cv_have_vis_white" = "xyes"; then : else ac_cv_header_vis_h=no : fi fi d7852 1 a7852 1 "nbconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbconfig.h" ;; @ 1.14 log @Solaris needs to include to get definitions for statvfs(). @ text @d2524 65 @ 1.13 log @We only need to step carefully in the Solaris case for statfs(), but otherwise we can trust statfs() if it's on the system. @ text @d3104 1 d3112 2 a3113 2 sys/stat.h sys/statvfs.h sys/vfs.h sys/types.h termcap.h termios.h \ time.h tzfile.h unistd.h util.h utmp.h vis.h @ 1.12 log @Bump version to 20030823: * Add mkdtemp, TAILQ_*, and statfs. * Install a nbconfig.h file containing the discovered system information and include it directly in nbcompat.h. Make all files use nbconfig.h instead of config.h. Ensure that all installed headers don't include any local header files. This makes libnbcompat more self-contained. * Consistently use "#if HAVE_HEADER_H" instead of "#ifdef HAVE_HEADER_H" since sometimes people put -DHAVE_HEADER_H=0 on their command lines. @ text @d6624 1 a6624 4 linux*|freebsd*|netbsd*) pkg_have_nbcompat_statfs=no ;; *) d6701 2 a6702 2 { { echo "$as_me:$LINENO: error: statfs isn't supported and can't be implemented" >&5 echo "$as_me: error: statfs isn't supported and can't be implemented" >&2;} d6707 3 @ 1.11 log @test for time.h, sys/time.h and inclusion of both. include system fts.h if we have one, or our own. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.57 for libnbcompat 20030719. d271 2 a272 2 PACKAGE_VERSION='20030719' PACKAGE_STRING='libnbcompat 20030719' d312 1 a312 1 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os CANONICAL_HOST INCLUDES SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S RANLIB ac_ct_RANLIB AR AUTOCONF AUTOHEADER CPP EGREP LIBOBJS LTLIBOBJS' d781 1 a781 1 \`configure' configures libnbcompat 20030719 to adapt to many kinds of systems. d847 1 a847 1 short | recursive ) echo "Configuration of libnbcompat 20030719:";; d926 1 a926 1 libnbcompat configure 20030719 d941 1 a941 1 It was created by libnbcompat $as_me 20030719, which was d1277 1 a1277 1 ac_config_headers="$ac_config_headers config.h" d2442 40 d2990 1 a3057 41 for ac_header in sys/endian.h sys/file.h sys/mkdev.h sys/param.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a3058 5 ac_header_compiler=no fi rm -f conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 a3059 33 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 a3060 5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 a3061 42 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 a3062 5 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF a3063 1 fi a3064 1 done d3091 22 a3112 4 for ac_header in assert.h arpa/nameser.h dirent.h err.h errno.h fcntl.h \ fts.h libutil.h locale.h machine/endian.h param.h paths.h \ poll.h regex.h stringlist.h sys/byteorder.h sys/poll.h \ termcap.h time.h tzfile.h unistd.h util.h vis.h limits.h d3255 3 a3257 22 for ac_header in bind/bitypes.h inttypes.h sys/bitypes.h sys/cdefs.h \ sys/endian.h sys/mount.h sys/queue.h sys/time.h \ sys/stat.h sys/statvfs.h sys/vfs.h sys/types.h \ sys/byteorder.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then a3258 3 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 d3260 1 a3260 3 # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 d3268 18 a3285 2 $ac_includes_default #include <$ac_header> d3299 1 a3299 1 ac_header_compiler=yes d3304 1 a3304 1 ac_header_compiler=no d3307 11 a3317 2 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 d3319 6 a3324 4 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF d3331 5 a3335 166 #include <$ac_header> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc in yes:no ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; no:yes ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ( cat <<\_ASBOX ## ------------------------------------ ## ## Report this to bug-autoconf@@gnu.org. ## ## ------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done echo "$as_me:$LINENO: checking for __attribute__" >&5 echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6 if test "${ac_cv___attribute__+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { static void foo(void) __attribute__ ((noreturn)); static void foo(void) { exit(1); } ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv___attribute__=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv___attribute__=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi if test "$ac_cv___attribute__" = "yes"; then cat >>confdefs.h <<\_ACEOF #define HAVE___ATTRIBUTE__ 1 _ACEOF fi echo "$as_me:$LINENO: result: $ac_cv___attribute__" >&5 echo "${ECHO_T}$ac_cv___attribute__" >&6 echo "$as_me:$LINENO: checking for size_t" >&5 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 if test "${ac_cv_type_size_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int main () { if ((size_t *) 0) d3392 1 a3392 1 #ifdef HAVE_INTTYPES_H d3395 1 a3395 1 #ifdef HAVE_SYS_TYPES_H d3398 1 a3398 1 #ifdef HAVE_SYS_BITYPES_H d3460 1 a3460 1 #ifdef HAVE_INTTYPES_H d3463 1 a3463 1 #ifdef HAVE_SYS_TYPES_H d3466 1 a3466 1 #ifdef HAVE_SYS_BITYPES_H d3528 1 a3528 1 #ifdef HAVE_INTTYPES_H d3531 1 a3531 1 #ifdef HAVE_SYS_TYPES_H d3534 1 a3534 1 #ifdef HAVE_SYS_BITYPES_H d3596 1 a3596 1 #ifdef HAVE_INTTYPES_H d3599 1 a3599 1 #ifdef HAVE_SYS_TYPES_H d3602 1 a3602 1 #ifdef HAVE_SYS_BITYPES_H d3664 1 a3664 1 #ifdef HAVE_INTTYPES_H d3667 1 a3667 1 #ifdef HAVE_SYS_TYPES_H d3670 1 a3670 1 #ifdef HAVE_SYS_BITYPES_H d3732 1 a3732 1 #ifdef HAVE_INTTYPES_H d3735 1 a3735 1 #ifdef HAVE_SYS_TYPES_H d3738 1 a3738 1 #ifdef HAVE_SYS_BITYPES_H d3800 1 a3800 1 #ifdef HAVE_INTTYPES_H d3803 1 a3803 1 #ifdef HAVE_SYS_TYPES_H d3806 1 a3806 1 #ifdef HAVE_SYS_BITYPES_H d3868 1 a3868 1 #ifdef HAVE_INTTYPES_H d3871 1 a3871 1 #ifdef HAVE_SYS_TYPES_H d3874 1 a3874 1 #ifdef HAVE_SYS_BITYPES_H d3936 1 a3936 1 #ifdef HAVE_INTTYPES_H d3939 1 a3939 1 #ifdef HAVE_SYS_TYPES_H d3942 1 a3942 1 #ifdef HAVE_SYS_BITYPES_H d4004 1 a4004 1 #ifdef HAVE_INTTYPES_H d4007 1 a4007 1 #ifdef HAVE_SYS_TYPES_H d4010 1 a4010 1 #ifdef HAVE_SYS_BITYPES_H d4072 1 a4072 1 #ifdef HAVE_INTTYPES_H d4075 1 a4075 1 #ifdef HAVE_SYS_TYPES_H d4078 1 a4078 1 #ifdef HAVE_SYS_BITYPES_H d4140 1 a4140 1 #ifdef HAVE_INTTYPES_H d4143 1 a4143 1 #ifdef HAVE_SYS_TYPES_H d4146 1 a4146 1 #ifdef HAVE_SYS_BITYPES_H d4208 1 a4208 1 #ifdef HAVE_INTTYPES_H d4211 1 a4211 1 #ifdef HAVE_SYS_TYPES_H d4214 1 a4214 1 #ifdef HAVE_SYS_BITYPES_H d5497 1 a5497 1 setenv setprogname sl_init snprintf strdup strerror \ d5934 6 a5939 1 for ac_func in statfs statvfs d6026 1 a6026 4 for ac_func in gid_from_group group_from_gid pwcache_groupdb pwcache_userdb \ uid_from_user user_from_uid d6113 3 a6115 1 for ac_func in strunvis strvis strsvis d6199 1 a6199 6 for ac_func in getpassphrase getpgrp memmove poll select d6283 3 a6285 6 for ac_func in getopt_long do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then d6296 1 a6296 1 which can conflict with char $ac_func (); below. d6311 1 a6311 1 char $ac_func (); d6315 1 a6315 1 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) d6318 1 a6318 1 char (*f) () = $ac_func; d6327 1 a6327 1 return f != $ac_func; d6344 1 a6344 1 eval "$as_ac_var=yes" d6349 1 a6349 1 eval "$as_ac_var=no" d6353 2 a6354 11 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done d6356 1 a6356 1 echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 a6411 1 if test $ac_cv_type_long_long = yes -a $ac_cv_sizeof_off_t -ge 8; then d6413 319 a6731 6 echo "$as_me:$LINENO: checking *printf() support for %lld" >&5 echo $ECHO_N "checking *printf() support for %lld... $ECHO_C" >&6 can_printf_longlong=no if test "$cross_compiling" = yes; then : a6931 58 if test $ac_cv_func_sl_init = yes; then echo "$as_me:$LINENO: checking if sl_add() returns int" >&5 echo $ECHO_N "checking if sl_add() returns int... $ECHO_C" >&6 if test "${pkg_cv_INT_SL_ADD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { int f = sl_add((StringList *)0, "foo") ; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then pkg_cv_INT_SL_ADD=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 pkg_cv_INT_SL_ADD=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $pkg_cv_INT_SL_ADD" >&5 echo "${ECHO_T}$pkg_cv_INT_SL_ADD" >&6 if test "x$pkg_cv_INT_SL_ADD" = "xyes"; then : else LIBOBJS="$LIBOBJS .$ac_objext"="$LIBOBJS="$LIBOBJS .$ac_objext" sl_init.o" : fi fi d7476 1 a7476 1 This file was extended by libnbcompat $as_me 20030719, which was d7536 1 a7536 1 libnbcompat config.status 20030719 d7641 1 a7641 1 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; d7750 1 @ 1.10 log @don't test for fparseln in libutil for now. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.57 for libnbcompat 20030717. d271 2 a272 2 PACKAGE_VERSION='20030717' PACKAGE_STRING='libnbcompat 20030717' d781 1 a781 1 \`configure' configures libnbcompat 20030717 to adapt to many kinds of systems. d847 1 a847 1 short | recursive ) echo "Configuration of libnbcompat 20030717:";; d926 1 a926 1 libnbcompat configure 20030717 d941 1 a941 1 It was created by libnbcompat $as_me 20030717, which was d2894 56 d3182 1 d3186 1 a3186 1 termcap.h tzfile.h unistd.h util.h vis.h limits.h d3340 1 d3342 1 a3342 1 sys/endian.h sys/mount.h sys/queue.h \ a3486 1 d7467 1 a7467 1 This file was extended by libnbcompat $as_me 20030717, which was d7527 1 a7527 1 libnbcompat config.status 20030717 @ 1.9 log @do away with AC_CONFIG_SRCDIR @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.57 for libnbcompat 20030715. d271 2 a272 2 PACKAGE_VERSION='20030715' PACKAGE_STRING='libnbcompat 20030715' d781 1 a781 1 \`configure' configures libnbcompat 20030715 to adapt to many kinds of systems. d847 1 a847 1 short | recursive ) echo "Configuration of libnbcompat 20030715:";; d926 1 a926 1 libnbcompat configure 20030715 d941 1 a941 1 It was created by libnbcompat $as_me 20030715, which was a2483 65 echo "$as_me:$LINENO: checking for fparseln in -lutil" >&5 echo $ECHO_N "checking for fparseln in -lutil... $ECHO_C" >&6 if test "${ac_cv_lib_util_fparseln+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lutil $LIBS" cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char fparseln (); int main () { fparseln (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_util_fparseln=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_util_fparseln=no fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_util_fparseln" >&5 echo "${ECHO_T}$ac_cv_lib_util_fparseln" >&6 if test $ac_cv_lib_util_fparseln = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBUTIL 1 _ACEOF LIBS="-lutil $LIBS" fi d5669 2 a5670 1 for ac_func in err fgetln fseeko getenv glob inet_ntop \ a6598 89 if test $ac_cv_lib_util_fparseln != yes; then for ac_func in fparseln do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF else LIBOBJS="$LIBOBJS $ac_func.$ac_objext" fi done fi d7410 1 a7410 1 This file was extended by libnbcompat $as_me 20030715, which was d7470 1 a7470 1 libnbcompat config.status 20030715 @ 1.8 log @fix getopt_long() test to avoid overriding it. @ text @a274 1 ac_unique_file="bits.c" a1249 1 @ 1.7 log @add getopt, getopt_long. include tzfile.h and sys/mkdev.h in nbcompat.h. bump to 20030622. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.57 for libnbcompat 20030622. d271 2 a272 2 PACKAGE_VERSION='20030622' PACKAGE_STRING='libnbcompat 20030622' d782 1 a782 1 \`configure' configures libnbcompat 20030622 to adapt to many kinds of systems. d848 1 a848 1 short | recursive ) echo "Configuration of libnbcompat 20030622:";; d927 1 a927 1 libnbcompat configure 20030622 d942 1 a942 1 It was created by libnbcompat $as_me 20030622, which was d6525 84 d7081 120 d7565 1 a7565 1 This file was extended by libnbcompat $as_me 20030622, which was d7625 1 a7625 1 libnbcompat config.status 20030622 @ 1.6 log @test for both getmode() and setmode(). @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.57 for libnbcompat 20030609. d271 2 a272 2 PACKAGE_VERSION='20030609' PACKAGE_STRING='libnbcompat 20030609' d782 1 a782 1 \`configure' configures libnbcompat 20030609 to adapt to many kinds of systems. d848 1 a848 1 short | recursive ) echo "Configuration of libnbcompat 20030609:";; d927 1 a927 1 libnbcompat configure 20030609 d942 1 a942 1 It was created by libnbcompat $as_me 20030609, which was d3192 1 d3196 1 a3196 1 termcap.h unistd.h util.h vis.h limits.h a3349 1 d3351 1 a3351 1 sys/endian.h sys/mkdev.h sys/mount.h sys/queue.h \ d7361 1 a7361 1 This file was extended by libnbcompat $as_me 20030609, which was d7421 1 a7421 1 libnbcompat config.status 20030609 @ 1.5 log @regen after bumping date @ text @a5735 1 d5738 1 a5738 1 setenv setmode setprogname sl_init snprintf strdup strerror \ d6006 85 @ 1.4 log @add isblank() and strmode(). bump to 20030609. @ text @d3 1 a3 1 # Generated by GNU Autoconf 2.57 for libnbcompat 20030331. d271 2 a272 2 PACKAGE_VERSION='20030331' PACKAGE_STRING='libnbcompat 20030331' d782 1 a782 1 \`configure' configures libnbcompat 20030331 to adapt to many kinds of systems. d848 1 a848 1 short | recursive ) echo "Configuration of libnbcompat 20030331:";; d927 1 a927 1 libnbcompat configure 20030331 d942 1 a942 1 It was created by libnbcompat $as_me 20030331, which was d7277 1 a7277 1 This file was extended by libnbcompat $as_me 20030331, which was d7337 1 a7337 1 libnbcompat config.status 20030331 @ 1.3 log @Add some more protoypes in extern.h and check for setmode to shut up some warnings. @ text @d5734 3 d5738 4 a5741 3 inet_pton lchflags lchmod lchown lutimes mkstemp setenv \ setmode setprogname sl_init snprintf strdup strerror strlcat \ strlcpy strptime strsep strtoll timegm usleep @ 1.2 log @test for fparseln in libutil. @ text @d5736 1 a5736 1 setprogname sl_init snprintf strdup strerror strlcat \ @ 1.1 log @Initial revision @ text @d2486 65 d5734 1 a5734 2 for ac_func in err fgetln fparseln fseeko getenv glob inet_ntop \ d6491 89 @ 1.1.1.1 log @Initial import of libnbcompat-20030331, a portable NetBSD compatibility library for use by the pkgsrc tools and other sources from NetBSD. @ text @@