diff options
| author | Karoly Lorentey | 2006-12-03 12:25:18 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2006-12-03 12:25:18 +0000 |
| commit | d6e01aa592f7326dffeafa6e97180a1cc39fe7ea (patch) | |
| tree | 5a22b785cfee1d77d6452607450a12ca82eeecd3 /configure | |
| parent | 14bcc1e098410087a837313e2fc822319ff2e8ca (diff) | |
| parent | 4975e69596a64247e8995d1ff9084b98a9a5ed0d (diff) | |
| download | emacs-d6e01aa592f7326dffeafa6e97180a1cc39fe7ea.tar.gz emacs-d6e01aa592f7326dffeafa6e97180a1cc39fe7ea.zip | |
Merged from emacs@sv.gnu.org.
Patches applied:
* emacs@sv.gnu.org/emacs--devo--0--patch-479
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-480
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-481
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-482
Merge from gnus--rel--5.10
* emacs@sv.gnu.org/emacs--devo--0--patch-483
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-484
Update from CVS
* emacs@sv.gnu.org/emacs--devo--0--patch-485
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-153
Merge from emacs--devo--0
* emacs@sv.gnu.org/gnus--rel--5.10--patch-154
Update from CVS
* emacs@sv.gnu.org/gnus--rel--5.10--patch-155
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-585
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 15428 |
1 files changed, 7714 insertions, 7714 deletions
| @@ -1,25 +1,54 @@ | |||
| 1 | #! /bin/sh | 1 | #! /bin/sh |
| 2 | # Guess values for system-dependent variables and create Makefiles. | 2 | # Guess values for system-dependent variables and create Makefiles. |
| 3 | # Generated by GNU Autoconf 2.59. | 3 | # Generated by GNU Autoconf 2.61. |
| 4 | # | 4 | # |
| 5 | # Copyright (C) 2003 Free Software Foundation, Inc. | 5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 6 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | ||
| 6 | # This configure script is free software; the Free Software Foundation | 7 | # This configure script is free software; the Free Software Foundation |
| 7 | # gives unlimited permission to copy, distribute and modify it. | 8 | # gives unlimited permission to copy, distribute and modify it. |
| 8 | ## --------------------- ## | 9 | ## --------------------- ## |
| 9 | ## M4sh Initialization. ## | 10 | ## M4sh Initialization. ## |
| 10 | ## --------------------- ## | 11 | ## --------------------- ## |
| 11 | 12 | ||
| 12 | # Be Bourne compatible | 13 | # Be more Bourne compatible |
| 14 | DUALCASE=1; export DUALCASE # for MKS sh | ||
| 13 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 15 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 14 | emulate sh | 16 | emulate sh |
| 15 | NULLCMD=: | 17 | NULLCMD=: |
| 16 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 18 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 17 | # is contrary to our usage. Disable this feature. | 19 | # is contrary to our usage. Disable this feature. |
| 18 | alias -g '${1+"$@"}'='"$@"' | 20 | alias -g '${1+"$@"}'='"$@"' |
| 19 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 21 | setopt NO_GLOB_SUBST |
| 20 | set -o posix | 22 | else |
| 23 | case `(set -o) 2>/dev/null` in | ||
| 24 | *posix*) set -o posix ;; | ||
| 25 | esac | ||
| 26 | |||
| 27 | fi | ||
| 28 | |||
| 29 | |||
| 30 | |||
| 31 | |||
| 32 | # PATH needs CR | ||
| 33 | # Avoid depending upon Character Ranges. | ||
| 34 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 35 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 36 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 37 | as_cr_digits='0123456789' | ||
| 38 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 39 | |||
| 40 | # The user is always right. | ||
| 41 | if test "${PATH_SEPARATOR+set}" != set; then | ||
| 42 | echo "#! /bin/sh" >conf$$.sh | ||
| 43 | echo "exit 0" >>conf$$.sh | ||
| 44 | chmod +x conf$$.sh | ||
| 45 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
| 46 | PATH_SEPARATOR=';' | ||
| 47 | else | ||
| 48 | PATH_SEPARATOR=: | ||
| 49 | fi | ||
| 50 | rm -f conf$$.sh | ||
| 21 | fi | 51 | fi |
| 22 | DUALCASE=1; export DUALCASE # for MKS sh | ||
| 23 | 52 | ||
| 24 | # Support unset when possible. | 53 | # Support unset when possible. |
| 25 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 54 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| @@ -29,8 +58,43 @@ else | |||
| 29 | fi | 58 | fi |
| 30 | 59 | ||
| 31 | 60 | ||
| 61 | # IFS | ||
| 62 | # We need space, tab and new line, in precisely that order. Quoting is | ||
| 63 | # there to prevent editors from complaining about space-tab. | ||
| 64 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | ||
| 65 | # splitting by setting IFS to empty value.) | ||
| 66 | as_nl=' | ||
| 67 | ' | ||
| 68 | IFS=" "" $as_nl" | ||
| 69 | |||
| 70 | # Find who we are. Look in the path if we contain no directory separator. | ||
| 71 | case $0 in | ||
| 72 | *[\\/]* ) as_myself=$0 ;; | ||
| 73 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 74 | for as_dir in $PATH | ||
| 75 | do | ||
| 76 | IFS=$as_save_IFS | ||
| 77 | test -z "$as_dir" && as_dir=. | ||
| 78 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
| 79 | done | ||
| 80 | IFS=$as_save_IFS | ||
| 81 | |||
| 82 | ;; | ||
| 83 | esac | ||
| 84 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
| 85 | # in which case we are not to be found in the path. | ||
| 86 | if test "x$as_myself" = x; then | ||
| 87 | as_myself=$0 | ||
| 88 | fi | ||
| 89 | if test ! -f "$as_myself"; then | ||
| 90 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | ||
| 91 | { (exit 1); exit 1; } | ||
| 92 | fi | ||
| 93 | |||
| 32 | # Work around bugs in pre-3.0 UWIN ksh. | 94 | # Work around bugs in pre-3.0 UWIN ksh. |
| 33 | $as_unset ENV MAIL MAILPATH | 95 | for as_var in ENV MAIL MAILPATH |
| 96 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
| 97 | done | ||
| 34 | PS1='$ ' | 98 | PS1='$ ' |
| 35 | PS2='> ' | 99 | PS2='> ' |
| 36 | PS4='+ ' | 100 | PS4='+ ' |
| @@ -44,18 +108,19 @@ do | |||
| 44 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 108 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 45 | eval $as_var=C; export $as_var | 109 | eval $as_var=C; export $as_var |
| 46 | else | 110 | else |
| 47 | $as_unset $as_var | 111 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 48 | fi | 112 | fi |
| 49 | done | 113 | done |
| 50 | 114 | ||
| 51 | # Required to use basename. | 115 | # Required to use basename. |
| 52 | if expr a : '\(a\)' >/dev/null 2>&1; then | 116 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 117 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 53 | as_expr=expr | 118 | as_expr=expr |
| 54 | else | 119 | else |
| 55 | as_expr=false | 120 | as_expr=false |
| 56 | fi | 121 | fi |
| 57 | 122 | ||
| 58 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 123 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 59 | as_basename=basename | 124 | as_basename=basename |
| 60 | else | 125 | else |
| 61 | as_basename=false | 126 | as_basename=false |
| @@ -63,157 +128,388 @@ fi | |||
| 63 | 128 | ||
| 64 | 129 | ||
| 65 | # Name of the executable. | 130 | # Name of the executable. |
| 66 | as_me=`$as_basename "$0" || | 131 | as_me=`$as_basename -- "$0" || |
| 67 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 132 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 68 | X"$0" : 'X\(//\)$' \| \ | 133 | X"$0" : 'X\(//\)$' \| \ |
| 69 | X"$0" : 'X\(/\)$' \| \ | 134 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 70 | . : '\(.\)' 2>/dev/null || | ||
| 71 | echo X/"$0" | | 135 | echo X/"$0" | |
| 72 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 136 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 73 | /^X\/\(\/\/\)$/{ s//\1/; q; } | 137 | s//\1/ |
| 74 | /^X\/\(\/\).*/{ s//\1/; q; } | 138 | q |
| 75 | s/.*/./; q'` | 139 | } |
| 140 | /^X\/\(\/\/\)$/{ | ||
| 141 | s//\1/ | ||
| 142 | q | ||
| 143 | } | ||
| 144 | /^X\/\(\/\).*/{ | ||
| 145 | s//\1/ | ||
| 146 | q | ||
| 147 | } | ||
| 148 | s/.*/./; q'` | ||
| 76 | 149 | ||
| 150 | # CDPATH. | ||
| 151 | $as_unset CDPATH | ||
| 77 | 152 | ||
| 78 | # PATH needs CR, and LINENO needs CR and PATH. | ||
| 79 | # Avoid depending upon Character Ranges. | ||
| 80 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 81 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 82 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 83 | as_cr_digits='0123456789' | ||
| 84 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 85 | 153 | ||
| 86 | # The user is always right. | 154 | if test "x$CONFIG_SHELL" = x; then |
| 87 | if test "${PATH_SEPARATOR+set}" != set; then | 155 | if (eval ":") 2>/dev/null; then |
| 88 | echo "#! /bin/sh" >conf$$.sh | 156 | as_have_required=yes |
| 89 | echo "exit 0" >>conf$$.sh | 157 | else |
| 90 | chmod +x conf$$.sh | 158 | as_have_required=no |
| 91 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
| 92 | PATH_SEPARATOR=';' | ||
| 93 | else | ||
| 94 | PATH_SEPARATOR=: | ||
| 95 | fi | ||
| 96 | rm -f conf$$.sh | ||
| 97 | fi | 159 | fi |
| 98 | 160 | ||
| 161 | if test $as_have_required = yes && (eval ": | ||
| 162 | (as_func_return () { | ||
| 163 | (exit \$1) | ||
| 164 | } | ||
| 165 | as_func_success () { | ||
| 166 | as_func_return 0 | ||
| 167 | } | ||
| 168 | as_func_failure () { | ||
| 169 | as_func_return 1 | ||
| 170 | } | ||
| 171 | as_func_ret_success () { | ||
| 172 | return 0 | ||
| 173 | } | ||
| 174 | as_func_ret_failure () { | ||
| 175 | return 1 | ||
| 176 | } | ||
| 99 | 177 | ||
| 100 | as_lineno_1=$LINENO | 178 | exitcode=0 |
| 101 | as_lineno_2=$LINENO | 179 | if as_func_success; then |
| 102 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 180 | : |
| 103 | test "x$as_lineno_1" != "x$as_lineno_2" && | 181 | else |
| 104 | test "x$as_lineno_3" = "x$as_lineno_2" || { | 182 | exitcode=1 |
| 105 | # Find who we are. Look in the path if we contain no path at all | 183 | echo as_func_success failed. |
| 106 | # relative or not. | 184 | fi |
| 107 | case $0 in | ||
| 108 | *[\\/]* ) as_myself=$0 ;; | ||
| 109 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 110 | for as_dir in $PATH | ||
| 111 | do | ||
| 112 | IFS=$as_save_IFS | ||
| 113 | test -z "$as_dir" && as_dir=. | ||
| 114 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
| 115 | done | ||
| 116 | 185 | ||
| 117 | ;; | 186 | if as_func_failure; then |
| 118 | esac | 187 | exitcode=1 |
| 119 | # We did not find ourselves, most probably we were run as `sh COMMAND' | 188 | echo as_func_failure succeeded. |
| 120 | # in which case we are not to be found in the path. | 189 | fi |
| 121 | if test "x$as_myself" = x; then | 190 | |
| 122 | as_myself=$0 | 191 | if as_func_ret_success; then |
| 123 | fi | 192 | : |
| 124 | if test ! -f "$as_myself"; then | 193 | else |
| 125 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | 194 | exitcode=1 |
| 126 | { (exit 1); exit 1; }; } | 195 | echo as_func_ret_success failed. |
| 127 | fi | 196 | fi |
| 128 | case $CONFIG_SHELL in | 197 | |
| 129 | '') | 198 | if as_func_ret_failure; then |
| 199 | exitcode=1 | ||
| 200 | echo as_func_ret_failure succeeded. | ||
| 201 | fi | ||
| 202 | |||
| 203 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
| 204 | : | ||
| 205 | else | ||
| 206 | exitcode=1 | ||
| 207 | echo positional parameters were not saved. | ||
| 208 | fi | ||
| 209 | |||
| 210 | test \$exitcode = 0) || { (exit 1); exit 1; } | ||
| 211 | |||
| 212 | ( | ||
| 213 | as_lineno_1=\$LINENO | ||
| 214 | as_lineno_2=\$LINENO | ||
| 215 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | ||
| 216 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | ||
| 217 | ") 2> /dev/null; then | ||
| 218 | : | ||
| 219 | else | ||
| 220 | as_candidate_shells= | ||
| 130 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 221 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 131 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 222 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 132 | do | 223 | do |
| 133 | IFS=$as_save_IFS | 224 | IFS=$as_save_IFS |
| 134 | test -z "$as_dir" && as_dir=. | 225 | test -z "$as_dir" && as_dir=. |
| 135 | for as_base in sh bash ksh sh5; do | 226 | case $as_dir in |
| 136 | case $as_dir in | ||
| 137 | /*) | 227 | /*) |
| 138 | if ("$as_dir/$as_base" -c ' | 228 | for as_base in sh bash ksh sh5; do |
| 229 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | ||
| 230 | done;; | ||
| 231 | esac | ||
| 232 | done | ||
| 233 | IFS=$as_save_IFS | ||
| 234 | |||
| 235 | |||
| 236 | for as_shell in $as_candidate_shells $SHELL; do | ||
| 237 | # Try only shells that exist, to save several forks. | ||
| 238 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | ||
| 239 | { ("$as_shell") 2> /dev/null <<\_ASEOF | ||
| 240 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
| 241 | emulate sh | ||
| 242 | NULLCMD=: | ||
| 243 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | ||
| 244 | # is contrary to our usage. Disable this feature. | ||
| 245 | alias -g '${1+"$@"}'='"$@"' | ||
| 246 | setopt NO_GLOB_SUBST | ||
| 247 | else | ||
| 248 | case `(set -o) 2>/dev/null` in | ||
| 249 | *posix*) set -o posix ;; | ||
| 250 | esac | ||
| 251 | |||
| 252 | fi | ||
| 253 | |||
| 254 | |||
| 255 | : | ||
| 256 | _ASEOF | ||
| 257 | }; then | ||
| 258 | CONFIG_SHELL=$as_shell | ||
| 259 | as_have_required=yes | ||
| 260 | if { "$as_shell" 2> /dev/null <<\_ASEOF | ||
| 261 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
| 262 | emulate sh | ||
| 263 | NULLCMD=: | ||
| 264 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | ||
| 265 | # is contrary to our usage. Disable this feature. | ||
| 266 | alias -g '${1+"$@"}'='"$@"' | ||
| 267 | setopt NO_GLOB_SUBST | ||
| 268 | else | ||
| 269 | case `(set -o) 2>/dev/null` in | ||
| 270 | *posix*) set -o posix ;; | ||
| 271 | esac | ||
| 272 | |||
| 273 | fi | ||
| 274 | |||
| 275 | |||
| 276 | : | ||
| 277 | (as_func_return () { | ||
| 278 | (exit $1) | ||
| 279 | } | ||
| 280 | as_func_success () { | ||
| 281 | as_func_return 0 | ||
| 282 | } | ||
| 283 | as_func_failure () { | ||
| 284 | as_func_return 1 | ||
| 285 | } | ||
| 286 | as_func_ret_success () { | ||
| 287 | return 0 | ||
| 288 | } | ||
| 289 | as_func_ret_failure () { | ||
| 290 | return 1 | ||
| 291 | } | ||
| 292 | |||
| 293 | exitcode=0 | ||
| 294 | if as_func_success; then | ||
| 295 | : | ||
| 296 | else | ||
| 297 | exitcode=1 | ||
| 298 | echo as_func_success failed. | ||
| 299 | fi | ||
| 300 | |||
| 301 | if as_func_failure; then | ||
| 302 | exitcode=1 | ||
| 303 | echo as_func_failure succeeded. | ||
| 304 | fi | ||
| 305 | |||
| 306 | if as_func_ret_success; then | ||
| 307 | : | ||
| 308 | else | ||
| 309 | exitcode=1 | ||
| 310 | echo as_func_ret_success failed. | ||
| 311 | fi | ||
| 312 | |||
| 313 | if as_func_ret_failure; then | ||
| 314 | exitcode=1 | ||
| 315 | echo as_func_ret_failure succeeded. | ||
| 316 | fi | ||
| 317 | |||
| 318 | if ( set x; as_func_ret_success y && test x = "$1" ); then | ||
| 319 | : | ||
| 320 | else | ||
| 321 | exitcode=1 | ||
| 322 | echo positional parameters were not saved. | ||
| 323 | fi | ||
| 324 | |||
| 325 | test $exitcode = 0) || { (exit 1); exit 1; } | ||
| 326 | |||
| 327 | ( | ||
| 139 | as_lineno_1=$LINENO | 328 | as_lineno_1=$LINENO |
| 140 | as_lineno_2=$LINENO | 329 | as_lineno_2=$LINENO |
| 141 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
| 142 | test "x$as_lineno_1" != "x$as_lineno_2" && | 330 | test "x$as_lineno_1" != "x$as_lineno_2" && |
| 143 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | 331 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
| 144 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | 332 | |
| 145 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | 333 | _ASEOF |
| 146 | CONFIG_SHELL=$as_dir/$as_base | 334 | }; then |
| 147 | export CONFIG_SHELL | 335 | break |
| 148 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 336 | fi |
| 149 | fi;; | 337 | |
| 150 | esac | 338 | fi |
| 151 | done | 339 | |
| 152 | done | 340 | done |
| 153 | ;; | 341 | |
| 154 | esac | 342 | if test "x$CONFIG_SHELL" != x; then |
| 343 | for as_var in BASH_ENV ENV | ||
| 344 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
| 345 | done | ||
| 346 | export CONFIG_SHELL | ||
| 347 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | ||
| 348 | fi | ||
| 349 | |||
| 350 | |||
| 351 | if test $as_have_required = no; then | ||
| 352 | echo This script requires a shell more modern than all the | ||
| 353 | echo shells that I found on your system. Please install a | ||
| 354 | echo modern shell, or manually run the script under such a | ||
| 355 | echo shell if you do have one. | ||
| 356 | { (exit 1); exit 1; } | ||
| 357 | fi | ||
| 358 | |||
| 359 | |||
| 360 | fi | ||
| 361 | |||
| 362 | fi | ||
| 363 | |||
| 364 | |||
| 365 | |||
| 366 | (eval "as_func_return () { | ||
| 367 | (exit \$1) | ||
| 368 | } | ||
| 369 | as_func_success () { | ||
| 370 | as_func_return 0 | ||
| 371 | } | ||
| 372 | as_func_failure () { | ||
| 373 | as_func_return 1 | ||
| 374 | } | ||
| 375 | as_func_ret_success () { | ||
| 376 | return 0 | ||
| 377 | } | ||
| 378 | as_func_ret_failure () { | ||
| 379 | return 1 | ||
| 380 | } | ||
| 381 | |||
| 382 | exitcode=0 | ||
| 383 | if as_func_success; then | ||
| 384 | : | ||
| 385 | else | ||
| 386 | exitcode=1 | ||
| 387 | echo as_func_success failed. | ||
| 388 | fi | ||
| 389 | |||
| 390 | if as_func_failure; then | ||
| 391 | exitcode=1 | ||
| 392 | echo as_func_failure succeeded. | ||
| 393 | fi | ||
| 394 | |||
| 395 | if as_func_ret_success; then | ||
| 396 | : | ||
| 397 | else | ||
| 398 | exitcode=1 | ||
| 399 | echo as_func_ret_success failed. | ||
| 400 | fi | ||
| 401 | |||
| 402 | if as_func_ret_failure; then | ||
| 403 | exitcode=1 | ||
| 404 | echo as_func_ret_failure succeeded. | ||
| 405 | fi | ||
| 406 | |||
| 407 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
| 408 | : | ||
| 409 | else | ||
| 410 | exitcode=1 | ||
| 411 | echo positional parameters were not saved. | ||
| 412 | fi | ||
| 413 | |||
| 414 | test \$exitcode = 0") || { | ||
| 415 | echo No shell found that supports shell functions. | ||
| 416 | echo Please tell autoconf@gnu.org about your system, | ||
| 417 | echo including any error possibly output before this | ||
| 418 | echo message | ||
| 419 | } | ||
| 420 | |||
| 421 | |||
| 422 | |||
| 423 | as_lineno_1=$LINENO | ||
| 424 | as_lineno_2=$LINENO | ||
| 425 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
| 426 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | ||
| 155 | 427 | ||
| 156 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 428 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| 157 | # uniformly replaced by the line number. The first 'sed' inserts a | 429 | # uniformly replaced by the line number. The first 'sed' inserts a |
| 158 | # line-number line before each line; the second 'sed' does the real | 430 | # line-number line after each line using $LINENO; the second 'sed' |
| 159 | # work. The second script uses 'N' to pair each line-number line | 431 | # does the real work. The second script uses 'N' to pair each |
| 160 | # with the numbered line, and appends trailing '-' during | 432 | # line-number line with the line containing $LINENO, and appends |
| 161 | # substitution so that $LINENO is not a special case at line end. | 433 | # trailing '-' during substitution so that $LINENO is not a special |
| 434 | # case at line end. | ||
| 162 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 435 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| 163 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | 436 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
| 164 | sed '=' <$as_myself | | 437 | # E. McMahon (1931-1989) for sed's syntax. :-) |
| 438 | sed -n ' | ||
| 439 | p | ||
| 440 | /[$]LINENO/= | ||
| 441 | ' <$as_myself | | ||
| 165 | sed ' | 442 | sed ' |
| 443 | s/[$]LINENO.*/&-/ | ||
| 444 | t lineno | ||
| 445 | b | ||
| 446 | :lineno | ||
| 166 | N | 447 | N |
| 167 | s,$,-, | 448 | :loop |
| 168 | : loop | 449 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 169 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | ||
| 170 | t loop | 450 | t loop |
| 171 | s,-$,, | 451 | s/-\n.*// |
| 172 | s,^['$as_cr_digits']*\n,, | ||
| 173 | ' >$as_me.lineno && | 452 | ' >$as_me.lineno && |
| 174 | chmod +x $as_me.lineno || | 453 | chmod +x "$as_me.lineno" || |
| 175 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 454 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| 176 | { (exit 1); exit 1; }; } | 455 | { (exit 1); exit 1; }; } |
| 177 | 456 | ||
| 178 | # Don't try to exec as it changes $[0], causing all sort of problems | 457 | # Don't try to exec as it changes $[0], causing all sort of problems |
| 179 | # (the dirname of $[0] is not the place where we might find the | 458 | # (the dirname of $[0] is not the place where we might find the |
| 180 | # original and so on. Autoconf is especially sensible to this). | 459 | # original and so on. Autoconf is especially sensitive to this). |
| 181 | . ./$as_me.lineno | 460 | . "./$as_me.lineno" |
| 182 | # Exit status is that of the last command. | 461 | # Exit status is that of the last command. |
| 183 | exit | 462 | exit |
| 184 | } | 463 | } |
| 185 | 464 | ||
| 186 | 465 | ||
| 187 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 466 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 188 | *c*,-n*) ECHO_N= ECHO_C=' | 467 | as_dirname=dirname |
| 189 | ' ECHO_T=' ' ;; | 468 | else |
| 190 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 469 | as_dirname=false |
| 191 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | 470 | fi |
| 471 | |||
| 472 | ECHO_C= ECHO_N= ECHO_T= | ||
| 473 | case `echo -n x` in | ||
| 474 | -n*) | ||
| 475 | case `echo 'x\c'` in | ||
| 476 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | ||
| 477 | *) ECHO_C='\c';; | ||
| 478 | esac;; | ||
| 479 | *) | ||
| 480 | ECHO_N='-n';; | ||
| 192 | esac | 481 | esac |
| 193 | 482 | ||
| 194 | if expr a : '\(a\)' >/dev/null 2>&1; then | 483 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 484 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 195 | as_expr=expr | 485 | as_expr=expr |
| 196 | else | 486 | else |
| 197 | as_expr=false | 487 | as_expr=false |
| 198 | fi | 488 | fi |
| 199 | 489 | ||
| 200 | rm -f conf$$ conf$$.exe conf$$.file | 490 | rm -f conf$$ conf$$.exe conf$$.file |
| 491 | if test -d conf$$.dir; then | ||
| 492 | rm -f conf$$.dir/conf$$.file | ||
| 493 | else | ||
| 494 | rm -f conf$$.dir | ||
| 495 | mkdir conf$$.dir | ||
| 496 | fi | ||
| 201 | echo >conf$$.file | 497 | echo >conf$$.file |
| 202 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 498 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 203 | # We could just check for DJGPP; but this test a) works b) is more generic | 499 | as_ln_s='ln -s' |
| 204 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 500 | # ... but there are two gotchas: |
| 205 | if test -f conf$$.exe; then | 501 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 206 | # Don't use ln at all; we don't have any links | 502 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 503 | # In both cases, we have to default to `cp -p'. | ||
| 504 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | ||
| 207 | as_ln_s='cp -p' | 505 | as_ln_s='cp -p' |
| 208 | else | ||
| 209 | as_ln_s='ln -s' | ||
| 210 | fi | ||
| 211 | elif ln conf$$.file conf$$ 2>/dev/null; then | 506 | elif ln conf$$.file conf$$ 2>/dev/null; then |
| 212 | as_ln_s=ln | 507 | as_ln_s=ln |
| 213 | else | 508 | else |
| 214 | as_ln_s='cp -p' | 509 | as_ln_s='cp -p' |
| 215 | fi | 510 | fi |
| 216 | rm -f conf$$ conf$$.exe conf$$.file | 511 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 512 | rmdir conf$$.dir 2>/dev/null | ||
| 217 | 513 | ||
| 218 | if mkdir -p . 2>/dev/null; then | 514 | if mkdir -p . 2>/dev/null; then |
| 219 | as_mkdir_p=: | 515 | as_mkdir_p=: |
| @@ -222,7 +518,28 @@ else | |||
| 222 | as_mkdir_p=false | 518 | as_mkdir_p=false |
| 223 | fi | 519 | fi |
| 224 | 520 | ||
| 225 | as_executable_p="test -f" | 521 | if test -x / >/dev/null 2>&1; then |
| 522 | as_test_x='test -x' | ||
| 523 | else | ||
| 524 | if ls -dL / >/dev/null 2>&1; then | ||
| 525 | as_ls_L_option=L | ||
| 526 | else | ||
| 527 | as_ls_L_option= | ||
| 528 | fi | ||
| 529 | as_test_x=' | ||
| 530 | eval sh -c '\'' | ||
| 531 | if test -d "$1"; then | ||
| 532 | test -d "$1/."; | ||
| 533 | else | ||
| 534 | case $1 in | ||
| 535 | -*)set "./$1";; | ||
| 536 | esac; | ||
| 537 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | ||
| 538 | ???[sx]*):;;*)false;;esac;fi | ||
| 539 | '\'' sh | ||
| 540 | ' | ||
| 541 | fi | ||
| 542 | as_executable_p=$as_test_x | ||
| 226 | 543 | ||
| 227 | # Sed expression to map a string onto a valid CPP name. | 544 | # Sed expression to map a string onto a valid CPP name. |
| 228 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 545 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| @@ -231,39 +548,27 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |||
| 231 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 548 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 232 | 549 | ||
| 233 | 550 | ||
| 234 | # IFS | ||
| 235 | # We need space, tab and new line, in precisely that order. | ||
| 236 | as_nl=' | ||
| 237 | ' | ||
| 238 | IFS=" $as_nl" | ||
| 239 | |||
| 240 | # CDPATH. | ||
| 241 | $as_unset CDPATH | ||
| 242 | 551 | ||
| 552 | exec 7<&0 </dev/null 6>&1 | ||
| 243 | 553 | ||
| 244 | # Name of the host. | 554 | # Name of the host. |
| 245 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 555 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
| 246 | # so uname gets run too. | 556 | # so uname gets run too. |
| 247 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 557 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 248 | 558 | ||
| 249 | exec 6>&1 | ||
| 250 | |||
| 251 | # | 559 | # |
| 252 | # Initializations. | 560 | # Initializations. |
| 253 | # | 561 | # |
| 254 | ac_default_prefix=/usr/local | 562 | ac_default_prefix=/usr/local |
| 563 | ac_clean_files= | ||
| 255 | ac_config_libobj_dir=. | 564 | ac_config_libobj_dir=. |
| 565 | LIBOBJS= | ||
| 256 | cross_compiling=no | 566 | cross_compiling=no |
| 257 | subdirs= | 567 | subdirs= |
| 258 | MFLAGS= | 568 | MFLAGS= |
| 259 | MAKEFLAGS= | 569 | MAKEFLAGS= |
| 260 | SHELL=${CONFIG_SHELL-/bin/sh} | 570 | SHELL=${CONFIG_SHELL-/bin/sh} |
| 261 | 571 | ||
| 262 | # Maximum number of lines to put in a shell here document. | ||
| 263 | # This variable seems obsolete. It should probably be removed, and | ||
| 264 | # only ac_max_sed_lines should be used. | ||
| 265 | : ${ac_max_here_lines=38} | ||
| 266 | |||
| 267 | # Identity of this package. | 572 | # Identity of this package. |
| 268 | PACKAGE_NAME= | 573 | PACKAGE_NAME= |
| 269 | PACKAGE_TARNAME= | 574 | PACKAGE_TARNAME= |
| @@ -276,42 +581,156 @@ ac_config_libobj_dir=src | |||
| 276 | # Factoring default headers for most tests. | 581 | # Factoring default headers for most tests. |
| 277 | ac_includes_default="\ | 582 | ac_includes_default="\ |
| 278 | #include <stdio.h> | 583 | #include <stdio.h> |
| 279 | #if HAVE_SYS_TYPES_H | 584 | #ifdef HAVE_SYS_TYPES_H |
| 280 | # include <sys/types.h> | 585 | # include <sys/types.h> |
| 281 | #endif | 586 | #endif |
| 282 | #if HAVE_SYS_STAT_H | 587 | #ifdef HAVE_SYS_STAT_H |
| 283 | # include <sys/stat.h> | 588 | # include <sys/stat.h> |
| 284 | #endif | 589 | #endif |
| 285 | #if STDC_HEADERS | 590 | #ifdef STDC_HEADERS |
| 286 | # include <stdlib.h> | 591 | # include <stdlib.h> |
| 287 | # include <stddef.h> | 592 | # include <stddef.h> |
| 288 | #else | 593 | #else |
| 289 | # if HAVE_STDLIB_H | 594 | # ifdef HAVE_STDLIB_H |
| 290 | # include <stdlib.h> | 595 | # include <stdlib.h> |
| 291 | # endif | 596 | # endif |
| 292 | #endif | 597 | #endif |
| 293 | #if HAVE_STRING_H | 598 | #ifdef HAVE_STRING_H |
| 294 | # if !STDC_HEADERS && HAVE_MEMORY_H | 599 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
| 295 | # include <memory.h> | 600 | # include <memory.h> |
| 296 | # endif | 601 | # endif |
| 297 | # include <string.h> | 602 | # include <string.h> |
| 298 | #endif | 603 | #endif |
| 299 | #if HAVE_STRINGS_H | 604 | #ifdef HAVE_STRINGS_H |
| 300 | # include <strings.h> | 605 | # include <strings.h> |
| 301 | #endif | 606 | #endif |
| 302 | #if HAVE_INTTYPES_H | 607 | #ifdef HAVE_INTTYPES_H |
| 303 | # include <inttypes.h> | 608 | # include <inttypes.h> |
| 304 | #else | ||
| 305 | # if HAVE_STDINT_H | ||
| 306 | # include <stdint.h> | ||
| 307 | # endif | ||
| 308 | #endif | 609 | #endif |
| 309 | #if HAVE_UNISTD_H | 610 | #ifdef HAVE_STDINT_H |
| 611 | # include <stdint.h> | ||
| 612 | #endif | ||
| 613 | #ifdef HAVE_UNISTD_H | ||
| 310 | # include <unistd.h> | 614 | # include <unistd.h> |
| 311 | #endif" | 615 | #endif" |
| 312 | 616 | ||
| 313 | 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 MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LN_S INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB INSTALL_INFO GZIP_PROG LIBSOUND PKG_CONFIG ALSA_CFLAGS ALSA_LIBS CFLAGS_SOUND SET_MAKE GTK_CFLAGS GTK_LIBS ALLOCA liblockfile LIBOBJS NEED_SETGID KMEM_GROUP GETLOADAVG_LIBS GETOPT_H GETOPTOBJS version configuration canonical srcdir lispdir locallisppath lisppath x_default_search_path etcdir archlibdir docdir bitmapdir gamedir gameuser c_switch_system c_switch_machine LD_SWITCH_X_SITE LD_SWITCH_X_SITE_AUX C_SWITCH_X_SITE X_TOOLKIT_TYPE machfile opsysfile carbon_appdir LTLIBOBJS' | 617 | ac_header_list= |
| 618 | ac_func_list= | ||
| 619 | ac_subst_vars='SHELL | ||
| 620 | PATH_SEPARATOR | ||
| 621 | PACKAGE_NAME | ||
| 622 | PACKAGE_TARNAME | ||
| 623 | PACKAGE_VERSION | ||
| 624 | PACKAGE_STRING | ||
| 625 | PACKAGE_BUGREPORT | ||
| 626 | exec_prefix | ||
| 627 | prefix | ||
| 628 | program_transform_name | ||
| 629 | bindir | ||
| 630 | sbindir | ||
| 631 | libexecdir | ||
| 632 | datarootdir | ||
| 633 | datadir | ||
| 634 | sysconfdir | ||
| 635 | sharedstatedir | ||
| 636 | localstatedir | ||
| 637 | includedir | ||
| 638 | oldincludedir | ||
| 639 | docdir | ||
| 640 | infodir | ||
| 641 | htmldir | ||
| 642 | dvidir | ||
| 643 | pdfdir | ||
| 644 | psdir | ||
| 645 | libdir | ||
| 646 | localedir | ||
| 647 | mandir | ||
| 648 | DEFS | ||
| 649 | ECHO_C | ||
| 650 | ECHO_N | ||
| 651 | ECHO_T | ||
| 652 | LIBS | ||
| 653 | build_alias | ||
| 654 | host_alias | ||
| 655 | target_alias | ||
| 656 | MAINT | ||
| 657 | build | ||
| 658 | build_cpu | ||
| 659 | build_vendor | ||
| 660 | build_os | ||
| 661 | host | ||
| 662 | host_cpu | ||
| 663 | host_vendor | ||
| 664 | host_os | ||
| 665 | CC | ||
| 666 | CFLAGS | ||
| 667 | LDFLAGS | ||
| 668 | CPPFLAGS | ||
| 669 | ac_ct_CC | ||
| 670 | EXEEXT | ||
| 671 | OBJEXT | ||
| 672 | CPP | ||
| 673 | GREP | ||
| 674 | EGREP | ||
| 675 | LN_S | ||
| 676 | INSTALL_PROGRAM | ||
| 677 | INSTALL_SCRIPT | ||
| 678 | INSTALL_DATA | ||
| 679 | RANLIB | ||
| 680 | INSTALL_INFO | ||
| 681 | GZIP_PROG | ||
| 682 | LIBSOUND | ||
| 683 | PKG_CONFIG | ||
| 684 | ALSA_CFLAGS | ||
| 685 | ALSA_LIBS | ||
| 686 | CFLAGS_SOUND | ||
| 687 | SET_MAKE | ||
| 688 | XMKMF | ||
| 689 | GTK_CFLAGS | ||
| 690 | GTK_LIBS | ||
| 691 | ALLOCA | ||
| 692 | liblockfile | ||
| 693 | LIBOBJS | ||
| 694 | NEED_SETGID | ||
| 695 | KMEM_GROUP | ||
| 696 | GETLOADAVG_LIBS | ||
| 697 | GETOPT_H | ||
| 698 | GETOPTOBJS | ||
| 699 | version | ||
| 700 | configuration | ||
| 701 | canonical | ||
| 702 | srcdir | ||
| 703 | lispdir | ||
| 704 | locallisppath | ||
| 705 | lisppath | ||
| 706 | x_default_search_path | ||
| 707 | etcdir | ||
| 708 | archlibdir | ||
| 709 | bitmapdir | ||
| 710 | gamedir | ||
| 711 | gameuser | ||
| 712 | c_switch_system | ||
| 713 | c_switch_machine | ||
| 714 | LD_SWITCH_X_SITE | ||
| 715 | LD_SWITCH_X_SITE_AUX | ||
| 716 | C_SWITCH_X_SITE | ||
| 717 | X_TOOLKIT_TYPE | ||
| 718 | machfile | ||
| 719 | opsysfile | ||
| 720 | carbon_appdir | ||
| 721 | LTLIBOBJS' | ||
| 314 | ac_subst_files='' | 722 | ac_subst_files='' |
| 723 | ac_precious_vars='build_alias | ||
| 724 | host_alias | ||
| 725 | target_alias | ||
| 726 | CC | ||
| 727 | CFLAGS | ||
| 728 | LDFLAGS | ||
| 729 | LIBS | ||
| 730 | CPPFLAGS | ||
| 731 | CPP | ||
| 732 | XMKMF' | ||
| 733 | |||
| 315 | 734 | ||
| 316 | # Initialize some variables set by options. | 735 | # Initialize some variables set by options. |
| 317 | ac_init_help= | 736 | ac_init_help= |
| @@ -338,34 +757,48 @@ x_libraries=NONE | |||
| 338 | # and all the variables that are supposed to be based on exec_prefix | 757 | # and all the variables that are supposed to be based on exec_prefix |
| 339 | # by default will actually change. | 758 | # by default will actually change. |
| 340 | # Use braces instead of parens because sh, perl, etc. also accept them. | 759 | # Use braces instead of parens because sh, perl, etc. also accept them. |
| 760 | # (The list follows the same order as the GNU Coding Standards.) | ||
| 341 | bindir='${exec_prefix}/bin' | 761 | bindir='${exec_prefix}/bin' |
| 342 | sbindir='${exec_prefix}/sbin' | 762 | sbindir='${exec_prefix}/sbin' |
| 343 | libexecdir='${exec_prefix}/libexec' | 763 | libexecdir='${exec_prefix}/libexec' |
| 344 | datadir='${prefix}/share' | 764 | datarootdir='${prefix}/share' |
| 765 | datadir='${datarootdir}' | ||
| 345 | sysconfdir='${prefix}/etc' | 766 | sysconfdir='${prefix}/etc' |
| 346 | sharedstatedir='${prefix}/com' | 767 | sharedstatedir='${prefix}/com' |
| 347 | localstatedir='${prefix}/var' | 768 | localstatedir='${prefix}/var' |
| 348 | libdir='${exec_prefix}/lib' | ||
| 349 | includedir='${prefix}/include' | 769 | includedir='${prefix}/include' |
| 350 | oldincludedir='/usr/include' | 770 | oldincludedir='/usr/include' |
| 351 | infodir='${prefix}/info' | 771 | docdir='${datarootdir}/doc/${PACKAGE}' |
| 352 | mandir='${prefix}/man' | 772 | infodir='${datarootdir}/info' |
| 773 | htmldir='${docdir}' | ||
| 774 | dvidir='${docdir}' | ||
| 775 | pdfdir='${docdir}' | ||
| 776 | psdir='${docdir}' | ||
| 777 | libdir='${exec_prefix}/lib' | ||
| 778 | localedir='${datarootdir}/locale' | ||
| 779 | mandir='${datarootdir}/man' | ||
| 353 | 780 | ||
| 354 | ac_prev= | 781 | ac_prev= |
| 782 | ac_dashdash= | ||
| 355 | for ac_option | 783 | for ac_option |
| 356 | do | 784 | do |
| 357 | # If the previous option needs an argument, assign it. | 785 | # If the previous option needs an argument, assign it. |
| 358 | if test -n "$ac_prev"; then | 786 | if test -n "$ac_prev"; then |
| 359 | eval "$ac_prev=\$ac_option" | 787 | eval $ac_prev=\$ac_option |
| 360 | ac_prev= | 788 | ac_prev= |
| 361 | continue | 789 | continue |
| 362 | fi | 790 | fi |
| 363 | 791 | ||
| 364 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | 792 | case $ac_option in |
| 793 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | ||
| 794 | *) ac_optarg=yes ;; | ||
| 795 | esac | ||
| 365 | 796 | ||
| 366 | # Accept the important Cygnus configure options, so we can diagnose typos. | 797 | # Accept the important Cygnus configure options, so we can diagnose typos. |
| 367 | 798 | ||
| 368 | case $ac_option in | 799 | case $ac_dashdash$ac_option in |
| 800 | --) | ||
| 801 | ac_dashdash=yes ;; | ||
| 369 | 802 | ||
| 370 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | 803 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 371 | ac_prev=bindir ;; | 804 | ac_prev=bindir ;; |
| @@ -387,33 +820,45 @@ do | |||
| 387 | --config-cache | -C) | 820 | --config-cache | -C) |
| 388 | cache_file=config.cache ;; | 821 | cache_file=config.cache ;; |
| 389 | 822 | ||
| 390 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | 823 | -datadir | --datadir | --datadi | --datad) |
| 391 | ac_prev=datadir ;; | 824 | ac_prev=datadir ;; |
| 392 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | 825 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
| 393 | | --da=*) | ||
| 394 | datadir=$ac_optarg ;; | 826 | datadir=$ac_optarg ;; |
| 395 | 827 | ||
| 828 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | ||
| 829 | | --dataroo | --dataro | --datar) | ||
| 830 | ac_prev=datarootdir ;; | ||
| 831 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | ||
| 832 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | ||
| 833 | datarootdir=$ac_optarg ;; | ||
| 834 | |||
| 396 | -disable-* | --disable-*) | 835 | -disable-* | --disable-*) |
| 397 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 836 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 398 | # Reject names that are not valid shell variable names. | 837 | # Reject names that are not valid shell variable names. |
| 399 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 838 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 400 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 839 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 401 | { (exit 1); exit 1; }; } | 840 | { (exit 1); exit 1; }; } |
| 402 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 841 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
| 403 | eval "enable_$ac_feature=no" ;; | 842 | eval enable_$ac_feature=no ;; |
| 843 | |||
| 844 | -docdir | --docdir | --docdi | --doc | --do) | ||
| 845 | ac_prev=docdir ;; | ||
| 846 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | ||
| 847 | docdir=$ac_optarg ;; | ||
| 848 | |||
| 849 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | ||
| 850 | ac_prev=dvidir ;; | ||
| 851 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | ||
| 852 | dvidir=$ac_optarg ;; | ||
| 404 | 853 | ||
| 405 | -enable-* | --enable-*) | 854 | -enable-* | --enable-*) |
| 406 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 855 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 407 | # Reject names that are not valid shell variable names. | 856 | # Reject names that are not valid shell variable names. |
| 408 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 857 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 409 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 858 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| 410 | { (exit 1); exit 1; }; } | 859 | { (exit 1); exit 1; }; } |
| 411 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 860 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
| 412 | case $ac_option in | 861 | eval enable_$ac_feature=\$ac_optarg ;; |
| 413 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
| 414 | *) ac_optarg=yes ;; | ||
| 415 | esac | ||
| 416 | eval "enable_$ac_feature='$ac_optarg'" ;; | ||
| 417 | 862 | ||
| 418 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 863 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 419 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 864 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| @@ -440,6 +885,12 @@ do | |||
| 440 | -host=* | --host=* | --hos=* | --ho=*) | 885 | -host=* | --host=* | --hos=* | --ho=*) |
| 441 | host_alias=$ac_optarg ;; | 886 | host_alias=$ac_optarg ;; |
| 442 | 887 | ||
| 888 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | ||
| 889 | ac_prev=htmldir ;; | ||
| 890 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | ||
| 891 | | --ht=*) | ||
| 892 | htmldir=$ac_optarg ;; | ||
| 893 | |||
| 443 | -includedir | --includedir | --includedi | --included | --include \ | 894 | -includedir | --includedir | --includedi | --included | --include \ |
| 444 | | --includ | --inclu | --incl | --inc) | 895 | | --includ | --inclu | --incl | --inc) |
| 445 | ac_prev=includedir ;; | 896 | ac_prev=includedir ;; |
| @@ -464,13 +915,16 @@ do | |||
| 464 | | --libexe=* | --libex=* | --libe=*) | 915 | | --libexe=* | --libex=* | --libe=*) |
| 465 | libexecdir=$ac_optarg ;; | 916 | libexecdir=$ac_optarg ;; |
| 466 | 917 | ||
| 918 | -localedir | --localedir | --localedi | --localed | --locale) | ||
| 919 | ac_prev=localedir ;; | ||
| 920 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | ||
| 921 | localedir=$ac_optarg ;; | ||
| 922 | |||
| 467 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | 923 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 468 | | --localstate | --localstat | --localsta | --localst \ | 924 | | --localstate | --localstat | --localsta | --localst | --locals) |
| 469 | | --locals | --local | --loca | --loc | --lo) | ||
| 470 | ac_prev=localstatedir ;; | 925 | ac_prev=localstatedir ;; |
| 471 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 926 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 472 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | 927 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
| 473 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | ||
| 474 | localstatedir=$ac_optarg ;; | 928 | localstatedir=$ac_optarg ;; |
| 475 | 929 | ||
| 476 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 930 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| @@ -535,6 +989,16 @@ do | |||
| 535 | | --progr-tra=* | --program-tr=* | --program-t=*) | 989 | | --progr-tra=* | --program-tr=* | --program-t=*) |
| 536 | program_transform_name=$ac_optarg ;; | 990 | program_transform_name=$ac_optarg ;; |
| 537 | 991 | ||
| 992 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | ||
| 993 | ac_prev=pdfdir ;; | ||
| 994 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | ||
| 995 | pdfdir=$ac_optarg ;; | ||
| 996 | |||
| 997 | -psdir | --psdir | --psdi | --psd | --ps) | ||
| 998 | ac_prev=psdir ;; | ||
| 999 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | ||
| 1000 | psdir=$ac_optarg ;; | ||
| 1001 | |||
| 538 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 1002 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 539 | | -silent | --silent | --silen | --sile | --sil) | 1003 | | -silent | --silent | --silen | --sile | --sil) |
| 540 | silent=yes ;; | 1004 | silent=yes ;; |
| @@ -587,24 +1051,20 @@ do | |||
| 587 | -with-* | --with-*) | 1051 | -with-* | --with-*) |
| 588 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1052 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 589 | # Reject names that are not valid shell variable names. | 1053 | # Reject names that are not valid shell variable names. |
| 590 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 1054 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 591 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1055 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 592 | { (exit 1); exit 1; }; } | 1056 | { (exit 1); exit 1; }; } |
| 593 | ac_package=`echo $ac_package| sed 's/-/_/g'` | 1057 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
| 594 | case $ac_option in | 1058 | eval with_$ac_package=\$ac_optarg ;; |
| 595 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | ||
| 596 | *) ac_optarg=yes ;; | ||
| 597 | esac | ||
| 598 | eval "with_$ac_package='$ac_optarg'" ;; | ||
| 599 | 1059 | ||
| 600 | -without-* | --without-*) | 1060 | -without-* | --without-*) |
| 601 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1061 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 602 | # Reject names that are not valid shell variable names. | 1062 | # Reject names that are not valid shell variable names. |
| 603 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 1063 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 604 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1064 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
| 605 | { (exit 1); exit 1; }; } | 1065 | { (exit 1); exit 1; }; } |
| 606 | ac_package=`echo $ac_package | sed 's/-/_/g'` | 1066 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
| 607 | eval "with_$ac_package=no" ;; | 1067 | eval with_$ac_package=no ;; |
| 608 | 1068 | ||
| 609 | --x) | 1069 | --x) |
| 610 | # Obsolete; use --with-x. | 1070 | # Obsolete; use --with-x. |
| @@ -635,8 +1095,7 @@ Try \`$0 --help' for more information." >&2 | |||
| 635 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 1095 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
| 636 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 1096 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
| 637 | { (exit 1); exit 1; }; } | 1097 | { (exit 1); exit 1; }; } |
| 638 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | 1098 | eval $ac_envvar=\$ac_optarg |
| 639 | eval "$ac_envvar='$ac_optarg'" | ||
| 640 | export $ac_envvar ;; | 1099 | export $ac_envvar ;; |
| 641 | 1100 | ||
| 642 | *) | 1101 | *) |
| @@ -656,27 +1115,19 @@ if test -n "$ac_prev"; then | |||
| 656 | { (exit 1); exit 1; }; } | 1115 | { (exit 1); exit 1; }; } |
| 657 | fi | 1116 | fi |
| 658 | 1117 | ||
| 659 | # Be sure to have absolute paths. | 1118 | # Be sure to have absolute directory names. |
| 660 | for ac_var in exec_prefix prefix | 1119 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| 661 | do | 1120 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
| 662 | eval ac_val=$`echo $ac_var` | 1121 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| 663 | case $ac_val in | 1122 | libdir localedir mandir |
| 664 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | ||
| 665 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
| 666 | { (exit 1); exit 1; }; };; | ||
| 667 | esac | ||
| 668 | done | ||
| 669 | |||
| 670 | # Be sure to have absolute paths. | ||
| 671 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | ||
| 672 | localstatedir libdir includedir oldincludedir infodir mandir | ||
| 673 | do | 1123 | do |
| 674 | eval ac_val=$`echo $ac_var` | 1124 | eval ac_val=\$$ac_var |
| 675 | case $ac_val in | 1125 | case $ac_val in |
| 676 | [\\/$]* | ?:[\\/]* ) ;; | 1126 | [\\/$]* | ?:[\\/]* ) continue;; |
| 677 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 1127 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 678 | { (exit 1); exit 1; }; };; | ||
| 679 | esac | 1128 | esac |
| 1129 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | ||
| 1130 | { (exit 1); exit 1; }; } | ||
| 680 | done | 1131 | done |
| 681 | 1132 | ||
| 682 | # There might be people who depend on the old broken behavior: `$host' | 1133 | # There might be people who depend on the old broken behavior: `$host' |
| @@ -703,74 +1154,76 @@ test -n "$host_alias" && ac_tool_prefix=$host_alias- | |||
| 703 | test "$silent" = yes && exec 6>/dev/null | 1154 | test "$silent" = yes && exec 6>/dev/null |
| 704 | 1155 | ||
| 705 | 1156 | ||
| 1157 | ac_pwd=`pwd` && test -n "$ac_pwd" && | ||
| 1158 | ac_ls_di=`ls -di .` && | ||
| 1159 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | ||
| 1160 | { echo "$as_me: error: Working directory cannot be determined" >&2 | ||
| 1161 | { (exit 1); exit 1; }; } | ||
| 1162 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | ||
| 1163 | { echo "$as_me: error: pwd does not report name of working directory" >&2 | ||
| 1164 | { (exit 1); exit 1; }; } | ||
| 1165 | |||
| 1166 | |||
| 706 | # Find the source files, if location was not specified. | 1167 | # Find the source files, if location was not specified. |
| 707 | if test -z "$srcdir"; then | 1168 | if test -z "$srcdir"; then |
| 708 | ac_srcdir_defaulted=yes | 1169 | ac_srcdir_defaulted=yes |
| 709 | # Try the directory containing this script, then its parent. | 1170 | # Try the directory containing this script, then the parent directory. |
| 710 | ac_confdir=`(dirname "$0") 2>/dev/null || | 1171 | ac_confdir=`$as_dirname -- "$0" || |
| 711 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 1172 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 712 | X"$0" : 'X\(//\)[^/]' \| \ | 1173 | X"$0" : 'X\(//\)[^/]' \| \ |
| 713 | X"$0" : 'X\(//\)$' \| \ | 1174 | X"$0" : 'X\(//\)$' \| \ |
| 714 | X"$0" : 'X\(/\)' \| \ | 1175 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 715 | . : '\(.\)' 2>/dev/null || | ||
| 716 | echo X"$0" | | 1176 | echo X"$0" | |
| 717 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 1177 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 718 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 1178 | s//\1/ |
| 719 | /^X\(\/\/\)$/{ s//\1/; q; } | 1179 | q |
| 720 | /^X\(\/\).*/{ s//\1/; q; } | 1180 | } |
| 721 | s/.*/./; q'` | 1181 | /^X\(\/\/\)[^/].*/{ |
| 1182 | s//\1/ | ||
| 1183 | q | ||
| 1184 | } | ||
| 1185 | /^X\(\/\/\)$/{ | ||
| 1186 | s//\1/ | ||
| 1187 | q | ||
| 1188 | } | ||
| 1189 | /^X\(\/\).*/{ | ||
| 1190 | s//\1/ | ||
| 1191 | q | ||
| 1192 | } | ||
| 1193 | s/.*/./; q'` | ||
| 722 | srcdir=$ac_confdir | 1194 | srcdir=$ac_confdir |
| 723 | if test ! -r $srcdir/$ac_unique_file; then | 1195 | if test ! -r "$srcdir/$ac_unique_file"; then |
| 724 | srcdir=.. | 1196 | srcdir=.. |
| 725 | fi | 1197 | fi |
| 726 | else | 1198 | else |
| 727 | ac_srcdir_defaulted=no | 1199 | ac_srcdir_defaulted=no |
| 728 | fi | 1200 | fi |
| 729 | if test ! -r $srcdir/$ac_unique_file; then | 1201 | if test ! -r "$srcdir/$ac_unique_file"; then |
| 730 | if test "$ac_srcdir_defaulted" = yes; then | 1202 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 731 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | 1203 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
| 732 | { (exit 1); exit 1; }; } | 1204 | { (exit 1); exit 1; }; } |
| 733 | else | ||
| 734 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | ||
| 735 | { (exit 1); exit 1; }; } | ||
| 736 | fi | ||
| 737 | fi | 1205 | fi |
| 738 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || | 1206 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 739 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | 1207 | ac_abs_confdir=`( |
| 1208 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 | ||
| 740 | { (exit 1); exit 1; }; } | 1209 | { (exit 1); exit 1; }; } |
| 741 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | 1210 | pwd)` |
| 742 | ac_env_build_alias_set=${build_alias+set} | 1211 | # When building in place, set srcdir=. |
| 743 | ac_env_build_alias_value=$build_alias | 1212 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 744 | ac_cv_env_build_alias_set=${build_alias+set} | 1213 | srcdir=. |
| 745 | ac_cv_env_build_alias_value=$build_alias | 1214 | fi |
| 746 | ac_env_host_alias_set=${host_alias+set} | 1215 | # Remove unnecessary trailing slashes from srcdir. |
| 747 | ac_env_host_alias_value=$host_alias | 1216 | # Double slashes in file names in object file debugging info |
| 748 | ac_cv_env_host_alias_set=${host_alias+set} | 1217 | # mess up M-x gdb in Emacs. |
| 749 | ac_cv_env_host_alias_value=$host_alias | 1218 | case $srcdir in |
| 750 | ac_env_target_alias_set=${target_alias+set} | 1219 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
| 751 | ac_env_target_alias_value=$target_alias | 1220 | esac |
| 752 | ac_cv_env_target_alias_set=${target_alias+set} | 1221 | for ac_var in $ac_precious_vars; do |
| 753 | ac_cv_env_target_alias_value=$target_alias | 1222 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
| 754 | ac_env_CC_set=${CC+set} | 1223 | eval ac_env_${ac_var}_value=\$${ac_var} |
| 755 | ac_env_CC_value=$CC | 1224 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
| 756 | ac_cv_env_CC_set=${CC+set} | 1225 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
| 757 | ac_cv_env_CC_value=$CC | 1226 | done |
| 758 | ac_env_CFLAGS_set=${CFLAGS+set} | ||
| 759 | ac_env_CFLAGS_value=$CFLAGS | ||
| 760 | ac_cv_env_CFLAGS_set=${CFLAGS+set} | ||
| 761 | ac_cv_env_CFLAGS_value=$CFLAGS | ||
| 762 | ac_env_LDFLAGS_set=${LDFLAGS+set} | ||
| 763 | ac_env_LDFLAGS_value=$LDFLAGS | ||
| 764 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | ||
| 765 | ac_cv_env_LDFLAGS_value=$LDFLAGS | ||
| 766 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
| 767 | ac_env_CPPFLAGS_value=$CPPFLAGS | ||
| 768 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | ||
| 769 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS | ||
| 770 | ac_env_CPP_set=${CPP+set} | ||
| 771 | ac_env_CPP_value=$CPP | ||
| 772 | ac_cv_env_CPP_set=${CPP+set} | ||
| 773 | ac_cv_env_CPP_value=$CPP | ||
| 774 | 1227 | ||
| 775 | # | 1228 | # |
| 776 | # Report the --help message. | 1229 | # Report the --help message. |
| @@ -799,9 +1252,6 @@ Configuration: | |||
| 799 | -n, --no-create do not create output files | 1252 | -n, --no-create do not create output files |
| 800 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1253 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
| 801 | 1254 | ||
| 802 | _ACEOF | ||
| 803 | |||
| 804 | cat <<_ACEOF | ||
| 805 | Installation directories: | 1255 | Installation directories: |
| 806 | --prefix=PREFIX install architecture-independent files in PREFIX | 1256 | --prefix=PREFIX install architecture-independent files in PREFIX |
| 807 | [$ac_default_prefix] | 1257 | [$ac_default_prefix] |
| @@ -819,15 +1269,22 @@ Fine tuning of the installation directories: | |||
| 819 | --bindir=DIR user executables [EPREFIX/bin] | 1269 | --bindir=DIR user executables [EPREFIX/bin] |
| 820 | --sbindir=DIR system admin executables [EPREFIX/sbin] | 1270 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
| 821 | --libexecdir=DIR program executables [EPREFIX/libexec] | 1271 | --libexecdir=DIR program executables [EPREFIX/libexec] |
| 822 | --datadir=DIR read-only architecture-independent data [PREFIX/share] | ||
| 823 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | 1272 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| 824 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | 1273 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| 825 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | 1274 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| 826 | --libdir=DIR object code libraries [EPREFIX/lib] | 1275 | --libdir=DIR object code libraries [EPREFIX/lib] |
| 827 | --includedir=DIR C header files [PREFIX/include] | 1276 | --includedir=DIR C header files [PREFIX/include] |
| 828 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | 1277 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
| 829 | --infodir=DIR info documentation [PREFIX/info] | 1278 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
| 830 | --mandir=DIR man documentation [PREFIX/man] | 1279 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
| 1280 | --infodir=DIR info documentation [DATAROOTDIR/info] | ||
| 1281 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | ||
| 1282 | --mandir=DIR man documentation [DATAROOTDIR/man] | ||
| 1283 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] | ||
| 1284 | --htmldir=DIR html documentation [DOCDIR] | ||
| 1285 | --dvidir=DIR dvi documentation [DOCDIR] | ||
| 1286 | --pdfdir=DIR pdf documentation [DOCDIR] | ||
| 1287 | --psdir=DIR ps documentation [DOCDIR] | ||
| 831 | _ACEOF | 1288 | _ACEOF |
| 832 | 1289 | ||
| 833 | cat <<\_ACEOF | 1290 | cat <<\_ACEOF |
| @@ -893,126 +1350,96 @@ Some influential environment variables: | |||
| 893 | CFLAGS C compiler flags | 1350 | CFLAGS C compiler flags |
| 894 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1351 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 895 | nonstandard directory <lib dir> | 1352 | nonstandard directory <lib dir> |
| 896 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | 1353 | LIBS libraries to pass to the linker, e.g. -l<library> |
| 897 | headers in a nonstandard directory <include dir> | 1354 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
| 1355 | you have headers in a nonstandard directory <include dir> | ||
| 898 | CPP C preprocessor | 1356 | CPP C preprocessor |
| 1357 | XMKMF Path to xmkmf, Makefile generator for X Window System | ||
| 899 | 1358 | ||
| 900 | Use these variables to override the choices made by `configure' or to help | 1359 | Use these variables to override the choices made by `configure' or to help |
| 901 | it to find libraries and programs with nonstandard names/locations. | 1360 | it to find libraries and programs with nonstandard names/locations. |
| 902 | 1361 | ||
| 903 | _ACEOF | 1362 | _ACEOF |
| 1363 | ac_status=$? | ||
| 904 | fi | 1364 | fi |
| 905 | 1365 | ||
| 906 | if test "$ac_init_help" = "recursive"; then | 1366 | if test "$ac_init_help" = "recursive"; then |
| 907 | # If there are subdirs, report their specific --help. | 1367 | # If there are subdirs, report their specific --help. |
| 908 | ac_popdir=`pwd` | ||
| 909 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 1368 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
| 910 | test -d $ac_dir || continue | 1369 | test -d "$ac_dir" || continue |
| 911 | ac_builddir=. | 1370 | ac_builddir=. |
| 912 | 1371 | ||
| 913 | if test "$ac_dir" != .; then | 1372 | case "$ac_dir" in |
| 1373 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
| 1374 | *) | ||
| 914 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 1375 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
| 915 | # A "../" for each directory in $ac_dir_suffix. | 1376 | # A ".." for each directory in $ac_dir_suffix. |
| 916 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 1377 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
| 917 | else | 1378 | case $ac_top_builddir_sub in |
| 918 | ac_dir_suffix= ac_top_builddir= | 1379 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 919 | fi | 1380 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 1381 | esac ;; | ||
| 1382 | esac | ||
| 1383 | ac_abs_top_builddir=$ac_pwd | ||
| 1384 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
| 1385 | # for backward compatibility: | ||
| 1386 | ac_top_builddir=$ac_top_build_prefix | ||
| 920 | 1387 | ||
| 921 | case $srcdir in | 1388 | case $srcdir in |
| 922 | .) # No --srcdir option. We are building in place. | 1389 | .) # We are building in place. |
| 923 | ac_srcdir=. | 1390 | ac_srcdir=. |
| 924 | if test -z "$ac_top_builddir"; then | 1391 | ac_top_srcdir=$ac_top_builddir_sub |
| 925 | ac_top_srcdir=. | 1392 | ac_abs_top_srcdir=$ac_pwd ;; |
| 926 | else | 1393 | [\\/]* | ?:[\\/]* ) # Absolute name. |
| 927 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | ||
| 928 | fi ;; | ||
| 929 | [\\/]* | ?:[\\/]* ) # Absolute path. | ||
| 930 | ac_srcdir=$srcdir$ac_dir_suffix; | 1394 | ac_srcdir=$srcdir$ac_dir_suffix; |
| 931 | ac_top_srcdir=$srcdir ;; | 1395 | ac_top_srcdir=$srcdir |
| 932 | *) # Relative path. | 1396 | ac_abs_top_srcdir=$srcdir ;; |
| 933 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 1397 | *) # Relative name. |
| 934 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | 1398 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 1399 | ac_top_srcdir=$ac_top_build_prefix$srcdir | ||
| 1400 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | ||
| 935 | esac | 1401 | esac |
| 936 | 1402 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
| 937 | # Do not use `cd foo && pwd` to compute absolute paths, because | 1403 | |
| 938 | # the directories may not exist. | 1404 | cd "$ac_dir" || { ac_status=$?; continue; } |
| 939 | case `pwd` in | 1405 | # Check for guested configure. |
| 940 | .) ac_abs_builddir="$ac_dir";; | 1406 | if test -f "$ac_srcdir/configure.gnu"; then |
| 941 | *) | 1407 | echo && |
| 942 | case "$ac_dir" in | 1408 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
| 943 | .) ac_abs_builddir=`pwd`;; | 1409 | elif test -f "$ac_srcdir/configure"; then |
| 944 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 1410 | echo && |
| 945 | *) ac_abs_builddir=`pwd`/"$ac_dir";; | 1411 | $SHELL "$ac_srcdir/configure" --help=recursive |
| 946 | esac;; | ||
| 947 | esac | ||
| 948 | case $ac_abs_builddir in | ||
| 949 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
| 950 | *) | ||
| 951 | case ${ac_top_builddir}. in | ||
| 952 | .) ac_abs_top_builddir=$ac_abs_builddir;; | ||
| 953 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
| 954 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | ||
| 955 | esac;; | ||
| 956 | esac | ||
| 957 | case $ac_abs_builddir in | ||
| 958 | .) ac_abs_srcdir=$ac_srcdir;; | ||
| 959 | *) | ||
| 960 | case $ac_srcdir in | ||
| 961 | .) ac_abs_srcdir=$ac_abs_builddir;; | ||
| 962 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | ||
| 963 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | ||
| 964 | esac;; | ||
| 965 | esac | ||
| 966 | case $ac_abs_builddir in | ||
| 967 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
| 968 | *) | ||
| 969 | case $ac_top_srcdir in | ||
| 970 | .) ac_abs_top_srcdir=$ac_abs_builddir;; | ||
| 971 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
| 972 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | ||
| 973 | esac;; | ||
| 974 | esac | ||
| 975 | |||
| 976 | cd $ac_dir | ||
| 977 | # Check for guested configure; otherwise get Cygnus style configure. | ||
| 978 | if test -f $ac_srcdir/configure.gnu; then | ||
| 979 | echo | ||
| 980 | $SHELL $ac_srcdir/configure.gnu --help=recursive | ||
| 981 | elif test -f $ac_srcdir/configure; then | ||
| 982 | echo | ||
| 983 | $SHELL $ac_srcdir/configure --help=recursive | ||
| 984 | elif test -f $ac_srcdir/configure.ac || | ||
| 985 | test -f $ac_srcdir/configure.in; then | ||
| 986 | echo | ||
| 987 | $ac_configure --help | ||
| 988 | else | 1412 | else |
| 989 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 1413 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 990 | fi | 1414 | fi || ac_status=$? |
| 991 | cd "$ac_popdir" | 1415 | cd "$ac_pwd" || { ac_status=$?; break; } |
| 992 | done | 1416 | done |
| 993 | fi | 1417 | fi |
| 994 | 1418 | ||
| 995 | test -n "$ac_init_help" && exit 0 | 1419 | test -n "$ac_init_help" && exit $ac_status |
| 996 | if $ac_init_version; then | 1420 | if $ac_init_version; then |
| 997 | cat <<\_ACEOF | 1421 | cat <<\_ACEOF |
| 1422 | configure | ||
| 1423 | generated by GNU Autoconf 2.61 | ||
| 998 | 1424 | ||
| 999 | Copyright (C) 2003 Free Software Foundation, Inc. | 1425 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| 1426 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | ||
| 1000 | This configure script is free software; the Free Software Foundation | 1427 | This configure script is free software; the Free Software Foundation |
| 1001 | gives unlimited permission to copy, distribute and modify it. | 1428 | gives unlimited permission to copy, distribute and modify it. |
| 1002 | _ACEOF | 1429 | _ACEOF |
| 1003 | exit 0 | 1430 | exit |
| 1004 | fi | 1431 | fi |
| 1005 | exec 5>config.log | 1432 | cat >config.log <<_ACEOF |
| 1006 | cat >&5 <<_ACEOF | ||
| 1007 | This file contains any messages produced by compilers while | 1433 | This file contains any messages produced by compilers while |
| 1008 | running configure, to aid debugging if configure makes a mistake. | 1434 | running configure, to aid debugging if configure makes a mistake. |
| 1009 | 1435 | ||
| 1010 | It was created by $as_me, which was | 1436 | It was created by $as_me, which was |
| 1011 | generated by GNU Autoconf 2.59. Invocation command line was | 1437 | generated by GNU Autoconf 2.61. Invocation command line was |
| 1012 | 1438 | ||
| 1013 | $ $0 $@ | 1439 | $ $0 $@ |
| 1014 | 1440 | ||
| 1015 | _ACEOF | 1441 | _ACEOF |
| 1442 | exec 5>>config.log | ||
| 1016 | { | 1443 | { |
| 1017 | cat <<_ASUNAME | 1444 | cat <<_ASUNAME |
| 1018 | ## --------- ## | 1445 | ## --------- ## |
| @@ -1031,7 +1458,7 @@ uname -v = `(uname -v) 2>/dev/null || echo unknown` | |||
| 1031 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | 1458 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
| 1032 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | 1459 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
| 1033 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 1460 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
| 1034 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | 1461 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
| 1035 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | 1462 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
| 1036 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | 1463 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
| 1037 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | 1464 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
| @@ -1045,6 +1472,7 @@ do | |||
| 1045 | test -z "$as_dir" && as_dir=. | 1472 | test -z "$as_dir" && as_dir=. |
| 1046 | echo "PATH: $as_dir" | 1473 | echo "PATH: $as_dir" |
| 1047 | done | 1474 | done |
| 1475 | IFS=$as_save_IFS | ||
| 1048 | 1476 | ||
| 1049 | } >&5 | 1477 | } >&5 |
| 1050 | 1478 | ||
| @@ -1066,7 +1494,6 @@ _ACEOF | |||
| 1066 | ac_configure_args= | 1494 | ac_configure_args= |
| 1067 | ac_configure_args0= | 1495 | ac_configure_args0= |
| 1068 | ac_configure_args1= | 1496 | ac_configure_args1= |
| 1069 | ac_sep= | ||
| 1070 | ac_must_keep_next=false | 1497 | ac_must_keep_next=false |
| 1071 | for ac_pass in 1 2 | 1498 | for ac_pass in 1 2 |
| 1072 | do | 1499 | do |
| @@ -1077,7 +1504,7 @@ do | |||
| 1077 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 1504 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1078 | | -silent | --silent | --silen | --sile | --sil) | 1505 | | -silent | --silent | --silen | --sile | --sil) |
| 1079 | continue ;; | 1506 | continue ;; |
| 1080 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 1507 | *\'*) |
| 1081 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1508 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1082 | esac | 1509 | esac |
| 1083 | case $ac_pass in | 1510 | case $ac_pass in |
| @@ -1099,9 +1526,7 @@ do | |||
| 1099 | -* ) ac_must_keep_next=true ;; | 1526 | -* ) ac_must_keep_next=true ;; |
| 1100 | esac | 1527 | esac |
| 1101 | fi | 1528 | fi |
| 1102 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 1529 | ac_configure_args="$ac_configure_args '$ac_arg'" |
| 1103 | # Get rid of the leading space. | ||
| 1104 | ac_sep=" " | ||
| 1105 | ;; | 1530 | ;; |
| 1106 | esac | 1531 | esac |
| 1107 | done | 1532 | done |
| @@ -1112,8 +1537,8 @@ $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_ | |||
| 1112 | # When interrupted or exit'd, cleanup temporary files, and complete | 1537 | # When interrupted or exit'd, cleanup temporary files, and complete |
| 1113 | # config.log. We remove comments because anyway the quotes in there | 1538 | # config.log. We remove comments because anyway the quotes in there |
| 1114 | # would cause problems or look ugly. | 1539 | # would cause problems or look ugly. |
| 1115 | # WARNING: Be sure not to use single quotes in there, as some shells, | 1540 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
| 1116 | # such as our DU 5.0 friend, will then `close' the trap. | 1541 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
| 1117 | trap 'exit_status=$? | 1542 | trap 'exit_status=$? |
| 1118 | # Save into config.log some information that might help in debugging. | 1543 | # Save into config.log some information that might help in debugging. |
| 1119 | { | 1544 | { |
| @@ -1126,20 +1551,34 @@ trap 'exit_status=$? | |||
| 1126 | _ASBOX | 1551 | _ASBOX |
| 1127 | echo | 1552 | echo |
| 1128 | # The following way of writing the cache mishandles newlines in values, | 1553 | # The following way of writing the cache mishandles newlines in values, |
| 1129 | { | 1554 | ( |
| 1555 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | ||
| 1556 | eval ac_val=\$$ac_var | ||
| 1557 | case $ac_val in #( | ||
| 1558 | *${as_nl}*) | ||
| 1559 | case $ac_var in #( | ||
| 1560 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | ||
| 1561 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | ||
| 1562 | esac | ||
| 1563 | case $ac_var in #( | ||
| 1564 | _ | IFS | as_nl) ;; #( | ||
| 1565 | *) $as_unset $ac_var ;; | ||
| 1566 | esac ;; | ||
| 1567 | esac | ||
| 1568 | done | ||
| 1130 | (set) 2>&1 | | 1569 | (set) 2>&1 | |
| 1131 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 1570 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
| 1132 | *ac_space=\ *) | 1571 | *${as_nl}ac_space=\ *) |
| 1133 | sed -n \ | 1572 | sed -n \ |
| 1134 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 1573 | "s/'\''/'\''\\\\'\'''\''/g; |
| 1135 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 1574 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
| 1136 | ;; | 1575 | ;; #( |
| 1137 | *) | 1576 | *) |
| 1138 | sed -n \ | 1577 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 1139 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | ||
| 1140 | ;; | 1578 | ;; |
| 1141 | esac; | 1579 | esac | |
| 1142 | } | 1580 | sort |
| 1581 | ) | ||
| 1143 | echo | 1582 | echo |
| 1144 | 1583 | ||
| 1145 | cat <<\_ASBOX | 1584 | cat <<\_ASBOX |
| @@ -1150,22 +1589,28 @@ _ASBOX | |||
| 1150 | echo | 1589 | echo |
| 1151 | for ac_var in $ac_subst_vars | 1590 | for ac_var in $ac_subst_vars |
| 1152 | do | 1591 | do |
| 1153 | eval ac_val=$`echo $ac_var` | 1592 | eval ac_val=\$$ac_var |
| 1154 | echo "$ac_var='"'"'$ac_val'"'"'" | 1593 | case $ac_val in |
| 1594 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
| 1595 | esac | ||
| 1596 | echo "$ac_var='\''$ac_val'\''" | ||
| 1155 | done | sort | 1597 | done | sort |
| 1156 | echo | 1598 | echo |
| 1157 | 1599 | ||
| 1158 | if test -n "$ac_subst_files"; then | 1600 | if test -n "$ac_subst_files"; then |
| 1159 | cat <<\_ASBOX | 1601 | cat <<\_ASBOX |
| 1160 | ## ------------- ## | 1602 | ## ------------------- ## |
| 1161 | ## Output files. ## | 1603 | ## File substitutions. ## |
| 1162 | ## ------------- ## | 1604 | ## ------------------- ## |
| 1163 | _ASBOX | 1605 | _ASBOX |
| 1164 | echo | 1606 | echo |
| 1165 | for ac_var in $ac_subst_files | 1607 | for ac_var in $ac_subst_files |
| 1166 | do | 1608 | do |
| 1167 | eval ac_val=$`echo $ac_var` | 1609 | eval ac_val=\$$ac_var |
| 1168 | echo "$ac_var='"'"'$ac_val'"'"'" | 1610 | case $ac_val in |
| 1611 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
| 1612 | esac | ||
| 1613 | echo "$ac_var='\''$ac_val'\''" | ||
| 1169 | done | sort | 1614 | done | sort |
| 1170 | echo | 1615 | echo |
| 1171 | fi | 1616 | fi |
| @@ -1177,26 +1622,24 @@ _ASBOX | |||
| 1177 | ## ----------- ## | 1622 | ## ----------- ## |
| 1178 | _ASBOX | 1623 | _ASBOX |
| 1179 | echo | 1624 | echo |
| 1180 | sed "/^$/d" confdefs.h | sort | 1625 | cat confdefs.h |
| 1181 | echo | 1626 | echo |
| 1182 | fi | 1627 | fi |
| 1183 | test "$ac_signal" != 0 && | 1628 | test "$ac_signal" != 0 && |
| 1184 | echo "$as_me: caught signal $ac_signal" | 1629 | echo "$as_me: caught signal $ac_signal" |
| 1185 | echo "$as_me: exit $exit_status" | 1630 | echo "$as_me: exit $exit_status" |
| 1186 | } >&5 | 1631 | } >&5 |
| 1187 | rm -f core *.core && | 1632 | rm -f core *.core core.conftest.* && |
| 1188 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 1633 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
| 1189 | exit $exit_status | 1634 | exit $exit_status |
| 1190 | ' 0 | 1635 | ' 0 |
| 1191 | for ac_signal in 1 2 13 15; do | 1636 | for ac_signal in 1 2 13 15; do |
| 1192 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 1637 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
| 1193 | done | 1638 | done |
| 1194 | ac_signal=0 | 1639 | ac_signal=0 |
| 1195 | 1640 | ||
| 1196 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 1641 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 1197 | rm -rf conftest* confdefs.h | 1642 | rm -f -r conftest* confdefs.h |
| 1198 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | ||
| 1199 | echo >confdefs.h | ||
| 1200 | 1643 | ||
| 1201 | # Predefined preprocessor variables. | 1644 | # Predefined preprocessor variables. |
| 1202 | 1645 | ||
| @@ -1227,14 +1670,17 @@ _ACEOF | |||
| 1227 | 1670 | ||
| 1228 | # Let the site file select an alternate cache file if it wants to. | 1671 | # Let the site file select an alternate cache file if it wants to. |
| 1229 | # Prefer explicitly selected file to automatically selected ones. | 1672 | # Prefer explicitly selected file to automatically selected ones. |
| 1230 | if test -z "$CONFIG_SITE"; then | 1673 | if test -n "$CONFIG_SITE"; then |
| 1231 | if test "x$prefix" != xNONE; then | 1674 | set x "$CONFIG_SITE" |
| 1232 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 1675 | elif test "x$prefix" != xNONE; then |
| 1233 | else | 1676 | set x "$prefix/share/config.site" "$prefix/etc/config.site" |
| 1234 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 1677 | else |
| 1235 | fi | 1678 | set x "$ac_default_prefix/share/config.site" \ |
| 1679 | "$ac_default_prefix/etc/config.site" | ||
| 1236 | fi | 1680 | fi |
| 1237 | for ac_site_file in $CONFIG_SITE; do | 1681 | shift |
| 1682 | for ac_site_file | ||
| 1683 | do | ||
| 1238 | if test -r "$ac_site_file"; then | 1684 | if test -r "$ac_site_file"; then |
| 1239 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 1685 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
| 1240 | echo "$as_me: loading site script $ac_site_file" >&6;} | 1686 | echo "$as_me: loading site script $ac_site_file" >&6;} |
| @@ -1250,8 +1696,8 @@ if test -r "$cache_file"; then | |||
| 1250 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 1696 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
| 1251 | echo "$as_me: loading cache $cache_file" >&6;} | 1697 | echo "$as_me: loading cache $cache_file" >&6;} |
| 1252 | case $cache_file in | 1698 | case $cache_file in |
| 1253 | [\\/]* | ?:[\\/]* ) . $cache_file;; | 1699 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
| 1254 | *) . ./$cache_file;; | 1700 | *) . "./$cache_file";; |
| 1255 | esac | 1701 | esac |
| 1256 | fi | 1702 | fi |
| 1257 | else | 1703 | else |
| @@ -1260,15 +1706,17 @@ echo "$as_me: creating cache $cache_file" >&6;} | |||
| 1260 | >$cache_file | 1706 | >$cache_file |
| 1261 | fi | 1707 | fi |
| 1262 | 1708 | ||
| 1709 | ac_header_list="$ac_header_list sys/time.h" | ||
| 1710 | ac_header_list="$ac_header_list unistd.h" | ||
| 1711 | ac_func_list="$ac_func_list alarm" | ||
| 1263 | # Check that the precious variables saved in the cache have kept the same | 1712 | # Check that the precious variables saved in the cache have kept the same |
| 1264 | # value. | 1713 | # value. |
| 1265 | ac_cache_corrupted=false | 1714 | ac_cache_corrupted=false |
| 1266 | for ac_var in `(set) 2>&1 | | 1715 | for ac_var in $ac_precious_vars; do |
| 1267 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | ||
| 1268 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | 1716 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 1269 | eval ac_new_set=\$ac_env_${ac_var}_set | 1717 | eval ac_new_set=\$ac_env_${ac_var}_set |
| 1270 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 1718 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
| 1271 | eval ac_new_val="\$ac_env_${ac_var}_value" | 1719 | eval ac_new_val=\$ac_env_${ac_var}_value |
| 1272 | case $ac_old_set,$ac_new_set in | 1720 | case $ac_old_set,$ac_new_set in |
| 1273 | set,) | 1721 | set,) |
| 1274 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 1722 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| @@ -1293,8 +1741,7 @@ echo "$as_me: current value: $ac_new_val" >&2;} | |||
| 1293 | # Pass precious variables to config.status. | 1741 | # Pass precious variables to config.status. |
| 1294 | if test "$ac_new_set" = set; then | 1742 | if test "$ac_new_set" = set; then |
| 1295 | case $ac_new_val in | 1743 | case $ac_new_val in |
| 1296 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 1744 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1297 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
| 1298 | *) ac_arg=$ac_var=$ac_new_val ;; | 1745 | *) ac_arg=$ac_var=$ac_new_val ;; |
| 1299 | esac | 1746 | esac |
| 1300 | case " $ac_configure_args " in | 1747 | case " $ac_configure_args " in |
| @@ -1311,12 +1758,6 @@ echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start ov | |||
| 1311 | { (exit 1); exit 1; }; } | 1758 | { (exit 1); exit 1; }; } |
| 1312 | fi | 1759 | fi |
| 1313 | 1760 | ||
| 1314 | ac_ext=c | ||
| 1315 | ac_cpp='$CPP $CPPFLAGS' | ||
| 1316 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 1317 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 1318 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 1319 | |||
| 1320 | 1761 | ||
| 1321 | 1762 | ||
| 1322 | 1763 | ||
| @@ -1333,23 +1774,28 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
| 1333 | 1774 | ||
| 1334 | 1775 | ||
| 1335 | 1776 | ||
| 1777 | ac_ext=c | ||
| 1778 | ac_cpp='$CPP $CPPFLAGS' | ||
| 1779 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
| 1780 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
| 1781 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
| 1336 | 1782 | ||
| 1337 | 1783 | ||
| 1338 | ac_config_headers="$ac_config_headers src/config.h:src/config.in" | 1784 | ac_config_headers="$ac_config_headers src/config.h:src/config.in" |
| 1339 | 1785 | ||
| 1340 | 1786 | ||
| 1341 | test "$program_prefix" != NONE && | 1787 | test "$program_prefix" != NONE && |
| 1342 | program_transform_name="s,^,$program_prefix,;$program_transform_name" | 1788 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 1343 | # Use a double $ so make ignores it. | 1789 | # Use a double $ so make ignores it. |
| 1344 | test "$program_suffix" != NONE && | 1790 | test "$program_suffix" != NONE && |
| 1345 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" | 1791 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
| 1346 | # Double any \ or $. echo might interpret backslashes. | 1792 | # Double any \ or $. echo might interpret backslashes. |
| 1347 | # By default was `s,x,x', remove it if useless. | 1793 | # By default was `s,x,x', remove it if useless. |
| 1348 | cat <<\_ACEOF >conftest.sed | 1794 | cat <<\_ACEOF >conftest.sed |
| 1349 | s/[\\$]/&&/g;s/;s,x,x,$// | 1795 | s/[\\$]/&&/g;s/;s,x,x,$// |
| 1350 | _ACEOF | 1796 | _ACEOF |
| 1351 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | 1797 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
| 1352 | rm conftest.sed | 1798 | rm -f conftest.sed |
| 1353 | 1799 | ||
| 1354 | 1800 | ||
| 1355 | lispdir='${datadir}/emacs/${version}/lisp' | 1801 | lispdir='${datadir}/emacs/${version}/lisp' |
| @@ -1364,16 +1810,15 @@ gamedir='${localstatedir}/games/emacs' | |||
| 1364 | gameuser=games | 1810 | gameuser=games |
| 1365 | 1811 | ||
| 1366 | 1812 | ||
| 1367 | # Check whether --with-gcc or --without-gcc was given. | 1813 | # Check whether --with-gcc was given. |
| 1368 | if test "${with_gcc+set}" = set; then | 1814 | if test "${with_gcc+set}" = set; then |
| 1369 | withval="$with_gcc" | 1815 | withval=$with_gcc; |
| 1816 | fi | ||
| 1370 | 1817 | ||
| 1371 | fi; | ||
| 1372 | 1818 | ||
| 1373 | # Check whether --with-pop or --without-pop was given. | 1819 | # Check whether --with-pop was given. |
| 1374 | if test "${with_pop+set}" = set; then | 1820 | if test "${with_pop+set}" = set; then |
| 1375 | withval="$with_pop" | 1821 | withval=$with_pop; if test "$withval" = yes; then |
| 1376 | if test "$withval" = yes; then | ||
| 1377 | cat >>confdefs.h <<\_ACEOF | 1822 | cat >>confdefs.h <<\_ACEOF |
| 1378 | #define MAIL_USE_POP 1 | 1823 | #define MAIL_USE_POP 1 |
| 1379 | _ACEOF | 1824 | _ACEOF |
| @@ -1385,23 +1830,23 @@ else | |||
| 1385 | #define MAIL_USE_POP 1 | 1830 | #define MAIL_USE_POP 1 |
| 1386 | _ACEOF | 1831 | _ACEOF |
| 1387 | 1832 | ||
| 1388 | fi; | 1833 | fi |
| 1389 | 1834 | ||
| 1390 | 1835 | ||
| 1391 | # Check whether --with-kerberos or --without-kerberos was given. | 1836 | |
| 1837 | # Check whether --with-kerberos was given. | ||
| 1392 | if test "${with_kerberos+set}" = set; then | 1838 | if test "${with_kerberos+set}" = set; then |
| 1393 | withval="$with_kerberos" | 1839 | withval=$with_kerberos; cat >>confdefs.h <<\_ACEOF |
| 1394 | cat >>confdefs.h <<\_ACEOF | ||
| 1395 | #define KERBEROS 1 | 1840 | #define KERBEROS 1 |
| 1396 | _ACEOF | 1841 | _ACEOF |
| 1397 | 1842 | ||
| 1398 | fi; | 1843 | fi |
| 1844 | |||
| 1399 | 1845 | ||
| 1400 | 1846 | ||
| 1401 | # Check whether --with-kerberos5 or --without-kerberos5 was given. | 1847 | # Check whether --with-kerberos5 was given. |
| 1402 | if test "${with_kerberos5+set}" = set; then | 1848 | if test "${with_kerberos5+set}" = set; then |
| 1403 | withval="$with_kerberos5" | 1849 | withval=$with_kerberos5; if test "${with_kerberos5+set}" = set; then |
| 1404 | if test "${with_kerberos5+set}" = set; then | ||
| 1405 | if test "${with_kerberos+set}" != set; then | 1850 | if test "${with_kerberos+set}" != set; then |
| 1406 | with_kerberos=yes | 1851 | with_kerberos=yes |
| 1407 | cat >>confdefs.h <<\_ACEOF | 1852 | cat >>confdefs.h <<\_ACEOF |
| @@ -1415,30 +1860,30 @@ cat >>confdefs.h <<\_ACEOF | |||
| 1415 | #define KERBEROS5 1 | 1860 | #define KERBEROS5 1 |
| 1416 | _ACEOF | 1861 | _ACEOF |
| 1417 | 1862 | ||
| 1418 | fi; | 1863 | fi |
| 1419 | 1864 | ||
| 1420 | # Check whether --with-hesiod or --without-hesiod was given. | ||
| 1421 | if test "${with_hesiod+set}" = set; then | ||
| 1422 | withval="$with_hesiod" | ||
| 1423 | 1865 | ||
| 1866 | # Check whether --with-hesiod was given. | ||
| 1867 | if test "${with_hesiod+set}" = set; then | ||
| 1868 | withval=$with_hesiod; | ||
| 1424 | cat >>confdefs.h <<\_ACEOF | 1869 | cat >>confdefs.h <<\_ACEOF |
| 1425 | #define HESIOD 1 | 1870 | #define HESIOD 1 |
| 1426 | _ACEOF | 1871 | _ACEOF |
| 1427 | 1872 | ||
| 1428 | fi; | 1873 | fi |
| 1874 | |||
| 1429 | 1875 | ||
| 1430 | 1876 | ||
| 1431 | # Check whether --with-sound or --without-sound was given. | 1877 | # Check whether --with-sound was given. |
| 1432 | if test "${with_sound+set}" = set; then | 1878 | if test "${with_sound+set}" = set; then |
| 1433 | withval="$with_sound" | 1879 | withval=$with_sound; |
| 1880 | fi | ||
| 1434 | 1881 | ||
| 1435 | fi; | ||
| 1436 | 1882 | ||
| 1437 | 1883 | ||
| 1438 | # Check whether --with-x-toolkit or --without-x-toolkit was given. | 1884 | # Check whether --with-x-toolkit was given. |
| 1439 | if test "${with_x_toolkit+set}" = set; then | 1885 | if test "${with_x_toolkit+set}" = set; then |
| 1440 | withval="$with_x_toolkit" | 1886 | withval=$with_x_toolkit; case "${withval}" in |
| 1441 | case "${withval}" in | ||
| 1442 | y | ye | yes ) val=athena ;; | 1887 | y | ye | yes ) val=athena ;; |
| 1443 | n | no ) val=no ;; | 1888 | n | no ) val=no ;; |
| 1444 | l | lu | luc | luci | lucid ) val=lucid ;; | 1889 | l | lu | luc | luci | lucid ) val=lucid ;; |
| @@ -1457,88 +1902,89 @@ Currently, \`yes', \`athena' and \`lucid' are synonyms." >&2;} | |||
| 1457 | esac | 1902 | esac |
| 1458 | with_x_toolkit=$val | 1903 | with_x_toolkit=$val |
| 1459 | 1904 | ||
| 1460 | fi; | 1905 | fi |
| 1906 | |||
| 1461 | 1907 | ||
| 1462 | # Check whether --with-xpm or --without-xpm was given. | 1908 | # Check whether --with-xpm was given. |
| 1463 | if test "${with_xpm+set}" = set; then | 1909 | if test "${with_xpm+set}" = set; then |
| 1464 | withval="$with_xpm" | 1910 | withval=$with_xpm; |
| 1911 | fi | ||
| 1465 | 1912 | ||
| 1466 | fi; | ||
| 1467 | 1913 | ||
| 1468 | # Check whether --with-jpeg or --without-jpeg was given. | 1914 | # Check whether --with-jpeg was given. |
| 1469 | if test "${with_jpeg+set}" = set; then | 1915 | if test "${with_jpeg+set}" = set; then |
| 1470 | withval="$with_jpeg" | 1916 | withval=$with_jpeg; |
| 1917 | fi | ||
| 1471 | 1918 | ||
| 1472 | fi; | ||
| 1473 | 1919 | ||
| 1474 | # Check whether --with-tiff or --without-tiff was given. | 1920 | # Check whether --with-tiff was given. |
| 1475 | if test "${with_tiff+set}" = set; then | 1921 | if test "${with_tiff+set}" = set; then |
| 1476 | withval="$with_tiff" | 1922 | withval=$with_tiff; |
| 1923 | fi | ||
| 1477 | 1924 | ||
| 1478 | fi; | ||
| 1479 | 1925 | ||
| 1480 | # Check whether --with-gif or --without-gif was given. | 1926 | # Check whether --with-gif was given. |
| 1481 | if test "${with_gif+set}" = set; then | 1927 | if test "${with_gif+set}" = set; then |
| 1482 | withval="$with_gif" | 1928 | withval=$with_gif; |
| 1929 | fi | ||
| 1483 | 1930 | ||
| 1484 | fi; | ||
| 1485 | 1931 | ||
| 1486 | # Check whether --with-png or --without-png was given. | 1932 | # Check whether --with-png was given. |
| 1487 | if test "${with_png+set}" = set; then | 1933 | if test "${with_png+set}" = set; then |
| 1488 | withval="$with_png" | 1934 | withval=$with_png; |
| 1935 | fi | ||
| 1489 | 1936 | ||
| 1490 | fi; | ||
| 1491 | 1937 | ||
| 1492 | # Check whether --with-gtk or --without-gtk was given. | 1938 | # Check whether --with-gtk was given. |
| 1493 | if test "${with_gtk+set}" = set; then | 1939 | if test "${with_gtk+set}" = set; then |
| 1494 | withval="$with_gtk" | 1940 | withval=$with_gtk; |
| 1941 | fi | ||
| 1495 | 1942 | ||
| 1496 | fi; | ||
| 1497 | 1943 | ||
| 1498 | # Check whether --with-pkg-config-prog or --without-pkg-config-prog was given. | 1944 | # Check whether --with-pkg-config-prog was given. |
| 1499 | if test "${with_pkg_config_prog+set}" = set; then | 1945 | if test "${with_pkg_config_prog+set}" = set; then |
| 1500 | withval="$with_pkg_config_prog" | 1946 | withval=$with_pkg_config_prog; |
| 1947 | fi | ||
| 1501 | 1948 | ||
| 1502 | fi; | ||
| 1503 | 1949 | ||
| 1504 | # Check whether --with-toolkit-scroll-bars or --without-toolkit-scroll-bars was given. | 1950 | # Check whether --with-toolkit-scroll-bars was given. |
| 1505 | if test "${with_toolkit_scroll_bars+set}" = set; then | 1951 | if test "${with_toolkit_scroll_bars+set}" = set; then |
| 1506 | withval="$with_toolkit_scroll_bars" | 1952 | withval=$with_toolkit_scroll_bars; |
| 1953 | fi | ||
| 1507 | 1954 | ||
| 1508 | fi; | ||
| 1509 | 1955 | ||
| 1510 | # Check whether --with-xim or --without-xim was given. | 1956 | # Check whether --with-xim was given. |
| 1511 | if test "${with_xim+set}" = set; then | 1957 | if test "${with_xim+set}" = set; then |
| 1512 | withval="$with_xim" | 1958 | withval=$with_xim; |
| 1959 | fi | ||
| 1513 | 1960 | ||
| 1514 | fi; | ||
| 1515 | 1961 | ||
| 1516 | # Check whether --with-carbon or --without-carbon was given. | 1962 | # Check whether --with-carbon was given. |
| 1517 | if test "${with_carbon+set}" = set; then | 1963 | if test "${with_carbon+set}" = set; then |
| 1518 | withval="$with_carbon" | 1964 | withval=$with_carbon; |
| 1965 | fi | ||
| 1519 | 1966 | ||
| 1520 | fi; | 1967 | # Check whether --enable-carbon-app was given. |
| 1521 | # Check whether --enable-carbon-app or --disable-carbon-app was given. | ||
| 1522 | if test "${enable_carbon_app+set}" = set; then | 1968 | if test "${enable_carbon_app+set}" = set; then |
| 1523 | enableval="$enable_carbon_app" | 1969 | enableval=$enable_carbon_app; carbon_appdir_x=${enableval} |
| 1524 | carbon_appdir_x=${enableval} | 1970 | fi |
| 1525 | fi; | 1971 | |
| 1526 | 1972 | ||
| 1527 | # Check whether --enable-asserts or --disable-asserts was given. | 1973 | # Check whether --enable-asserts was given. |
| 1528 | if test "${enable_asserts+set}" = set; then | 1974 | if test "${enable_asserts+set}" = set; then |
| 1529 | enableval="$enable_asserts" | 1975 | enableval=$enable_asserts; USE_XASSERTS=$enableval |
| 1530 | USE_XASSERTS=$enableval | ||
| 1531 | else | 1976 | else |
| 1532 | USE_XASSERTS=no | 1977 | USE_XASSERTS=no |
| 1533 | fi; | 1978 | fi |
| 1979 | |||
| 1534 | 1980 | ||
| 1535 | # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | 1981 | # Check whether --enable-maintainer-mode was given. |
| 1536 | if test "${enable_maintainer_mode+set}" = set; then | 1982 | if test "${enable_maintainer_mode+set}" = set; then |
| 1537 | enableval="$enable_maintainer_mode" | 1983 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
| 1538 | USE_MAINTAINER_MODE=$enableval | ||
| 1539 | else | 1984 | else |
| 1540 | USE_MAINTAINER_MODE=no | 1985 | USE_MAINTAINER_MODE=no |
| 1541 | fi; | 1986 | fi |
| 1987 | |||
| 1542 | if test $USE_MAINTAINER_MODE = yes; then | 1988 | if test $USE_MAINTAINER_MODE = yes; then |
| 1543 | MAINT= | 1989 | MAINT= |
| 1544 | else | 1990 | else |
| @@ -1546,15 +1992,15 @@ else | |||
| 1546 | fi | 1992 | fi |
| 1547 | 1993 | ||
| 1548 | 1994 | ||
| 1549 | # Check whether --enable-locallisppath or --disable-locallisppath was given. | 1995 | # Check whether --enable-locallisppath was given. |
| 1550 | if test "${enable_locallisppath+set}" = set; then | 1996 | if test "${enable_locallisppath+set}" = set; then |
| 1551 | enableval="$enable_locallisppath" | 1997 | enableval=$enable_locallisppath; if test "${enableval}" = "no"; then |
| 1552 | if test "${enableval}" = "no"; then | ||
| 1553 | locallisppath= | 1998 | locallisppath= |
| 1554 | elif test "${enableval}" != "yes"; then | 1999 | elif test "${enableval}" != "yes"; then |
| 1555 | locallisppath=${enableval} | 2000 | locallisppath=${enableval} |
| 1556 | fi | 2001 | fi |
| 1557 | fi; | 2002 | fi |
| 2003 | |||
| 1558 | 2004 | ||
| 1559 | #### Make srcdir absolute, if it isn't already. It's important to | 2005 | #### Make srcdir absolute, if it isn't already. It's important to |
| 1560 | #### avoid running the path through pwd unnecessarily, since pwd can | 2006 | #### avoid running the path through pwd unnecessarily, since pwd can |
| @@ -1603,82 +2049,117 @@ fi | |||
| 1603 | ### Canonicalize the configuration name. | 2049 | ### Canonicalize the configuration name. |
| 1604 | 2050 | ||
| 1605 | ac_aux_dir= | 2051 | ac_aux_dir= |
| 1606 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | 2052 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 1607 | if test -f $ac_dir/install-sh; then | 2053 | if test -f "$ac_dir/install-sh"; then |
| 1608 | ac_aux_dir=$ac_dir | 2054 | ac_aux_dir=$ac_dir |
| 1609 | ac_install_sh="$ac_aux_dir/install-sh -c" | 2055 | ac_install_sh="$ac_aux_dir/install-sh -c" |
| 1610 | break | 2056 | break |
| 1611 | elif test -f $ac_dir/install.sh; then | 2057 | elif test -f "$ac_dir/install.sh"; then |
| 1612 | ac_aux_dir=$ac_dir | 2058 | ac_aux_dir=$ac_dir |
| 1613 | ac_install_sh="$ac_aux_dir/install.sh -c" | 2059 | ac_install_sh="$ac_aux_dir/install.sh -c" |
| 1614 | break | 2060 | break |
| 1615 | elif test -f $ac_dir/shtool; then | 2061 | elif test -f "$ac_dir/shtool"; then |
| 1616 | ac_aux_dir=$ac_dir | 2062 | ac_aux_dir=$ac_dir |
| 1617 | ac_install_sh="$ac_aux_dir/shtool install -c" | 2063 | ac_install_sh="$ac_aux_dir/shtool install -c" |
| 1618 | break | 2064 | break |
| 1619 | fi | 2065 | fi |
| 1620 | done | 2066 | done |
| 1621 | if test -z "$ac_aux_dir"; then | 2067 | if test -z "$ac_aux_dir"; then |
| 1622 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | 2068 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
| 1623 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | 2069 | echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
| 1624 | { (exit 1); exit 1; }; } | 2070 | { (exit 1); exit 1; }; } |
| 1625 | fi | 2071 | fi |
| 1626 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 2072 | |
| 1627 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 2073 | # These three variables are undocumented and unsupported, |
| 1628 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 2074 | # and are intended to be withdrawn in a future Autoconf release. |
| 2075 | # They can cause serious problems if a builder's source tree is in a directory | ||
| 2076 | # whose full name contains unusual characters. | ||
| 2077 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | ||
| 2078 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | ||
| 2079 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | ||
| 2080 | |||
| 1629 | 2081 | ||
| 1630 | # Make sure we can run config.sub. | 2082 | # Make sure we can run config.sub. |
| 1631 | $ac_config_sub sun4 >/dev/null 2>&1 || | 2083 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| 1632 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | 2084 | { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
| 1633 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 2085 | echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
| 1634 | { (exit 1); exit 1; }; } | 2086 | { (exit 1); exit 1; }; } |
| 1635 | 2087 | ||
| 1636 | echo "$as_me:$LINENO: checking build system type" >&5 | 2088 | { echo "$as_me:$LINENO: checking build system type" >&5 |
| 1637 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 2089 | echo $ECHO_N "checking build system type... $ECHO_C" >&6; } |
| 1638 | if test "${ac_cv_build+set}" = set; then | 2090 | if test "${ac_cv_build+set}" = set; then |
| 1639 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2091 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1640 | else | 2092 | else |
| 1641 | ac_cv_build_alias=$build_alias | 2093 | ac_build_alias=$build_alias |
| 1642 | test -z "$ac_cv_build_alias" && | 2094 | test "x$ac_build_alias" = x && |
| 1643 | ac_cv_build_alias=`$ac_config_guess` | 2095 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| 1644 | test -z "$ac_cv_build_alias" && | 2096 | test "x$ac_build_alias" = x && |
| 1645 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 2097 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
| 1646 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 2098 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
| 1647 | { (exit 1); exit 1; }; } | 2099 | { (exit 1); exit 1; }; } |
| 1648 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 2100 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| 1649 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | 2101 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
| 1650 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | 2102 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
| 1651 | { (exit 1); exit 1; }; } | 2103 | { (exit 1); exit 1; }; } |
| 1652 | 2104 | ||
| 1653 | fi | 2105 | fi |
| 1654 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 2106 | { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
| 1655 | echo "${ECHO_T}$ac_cv_build" >&6 | 2107 | echo "${ECHO_T}$ac_cv_build" >&6; } |
| 2108 | case $ac_cv_build in | ||
| 2109 | *-*-*) ;; | ||
| 2110 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 | ||
| 2111 | echo "$as_me: error: invalid value of canonical build" >&2;} | ||
| 2112 | { (exit 1); exit 1; }; };; | ||
| 2113 | esac | ||
| 1656 | build=$ac_cv_build | 2114 | build=$ac_cv_build |
| 1657 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 2115 | ac_save_IFS=$IFS; IFS='-' |
| 1658 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 2116 | set x $ac_cv_build |
| 1659 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 2117 | shift |
| 1660 | 2118 | build_cpu=$1 | |
| 1661 | 2119 | build_vendor=$2 | |
| 1662 | echo "$as_me:$LINENO: checking host system type" >&5 | 2120 | shift; shift |
| 1663 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 2121 | # Remember, the first character of IFS is used to create $*, |
| 2122 | # except with old shells: | ||
| 2123 | build_os=$* | ||
| 2124 | IFS=$ac_save_IFS | ||
| 2125 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | ||
| 2126 | |||
| 2127 | |||
| 2128 | { echo "$as_me:$LINENO: checking host system type" >&5 | ||
| 2129 | echo $ECHO_N "checking host system type... $ECHO_C" >&6; } | ||
| 1664 | if test "${ac_cv_host+set}" = set; then | 2130 | if test "${ac_cv_host+set}" = set; then |
| 1665 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2131 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1666 | else | 2132 | else |
| 1667 | ac_cv_host_alias=$host_alias | 2133 | if test "x$host_alias" = x; then |
| 1668 | test -z "$ac_cv_host_alias" && | 2134 | ac_cv_host=$ac_cv_build |
| 1669 | ac_cv_host_alias=$ac_cv_build_alias | 2135 | else |
| 1670 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 2136 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 1671 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 2137 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
| 1672 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 2138 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
| 1673 | { (exit 1); exit 1; }; } | 2139 | { (exit 1); exit 1; }; } |
| 2140 | fi | ||
| 1674 | 2141 | ||
| 1675 | fi | 2142 | fi |
| 1676 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 2143 | { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
| 1677 | echo "${ECHO_T}$ac_cv_host" >&6 | 2144 | echo "${ECHO_T}$ac_cv_host" >&6; } |
| 2145 | case $ac_cv_host in | ||
| 2146 | *-*-*) ;; | ||
| 2147 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 | ||
| 2148 | echo "$as_me: error: invalid value of canonical host" >&2;} | ||
| 2149 | { (exit 1); exit 1; }; };; | ||
| 2150 | esac | ||
| 1678 | host=$ac_cv_host | 2151 | host=$ac_cv_host |
| 1679 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 2152 | ac_save_IFS=$IFS; IFS='-' |
| 1680 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 2153 | set x $ac_cv_host |
| 1681 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 2154 | shift |
| 2155 | host_cpu=$1 | ||
| 2156 | host_vendor=$2 | ||
| 2157 | shift; shift | ||
| 2158 | # Remember, the first character of IFS is used to create $*, | ||
| 2159 | # except with old shells: | ||
| 2160 | host_os=$* | ||
| 2161 | IFS=$ac_save_IFS | ||
| 2162 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | ||
| 1682 | 2163 | ||
| 1683 | 2164 | ||
| 1684 | canonical=$host | 2165 | canonical=$host |
| @@ -2723,8 +3204,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
| 2723 | if test -n "$ac_tool_prefix"; then | 3204 | if test -n "$ac_tool_prefix"; then |
| 2724 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 3205 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 2725 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 3206 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 2726 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3207 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2727 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3208 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2728 | if test "${ac_cv_prog_CC+set}" = set; then | 3209 | if test "${ac_cv_prog_CC+set}" = set; then |
| 2729 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3210 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2730 | else | 3211 | else |
| @@ -2737,32 +3218,34 @@ do | |||
| 2737 | IFS=$as_save_IFS | 3218 | IFS=$as_save_IFS |
| 2738 | test -z "$as_dir" && as_dir=. | 3219 | test -z "$as_dir" && as_dir=. |
| 2739 | for ac_exec_ext in '' $ac_executable_extensions; do | 3220 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2740 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3221 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2741 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | 3222 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 2742 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3223 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2743 | break 2 | 3224 | break 2 |
| 2744 | fi | 3225 | fi |
| 2745 | done | 3226 | done |
| 2746 | done | 3227 | done |
| 3228 | IFS=$as_save_IFS | ||
| 2747 | 3229 | ||
| 2748 | fi | 3230 | fi |
| 2749 | fi | 3231 | fi |
| 2750 | CC=$ac_cv_prog_CC | 3232 | CC=$ac_cv_prog_CC |
| 2751 | if test -n "$CC"; then | 3233 | if test -n "$CC"; then |
| 2752 | echo "$as_me:$LINENO: result: $CC" >&5 | 3234 | { echo "$as_me:$LINENO: result: $CC" >&5 |
| 2753 | echo "${ECHO_T}$CC" >&6 | 3235 | echo "${ECHO_T}$CC" >&6; } |
| 2754 | else | 3236 | else |
| 2755 | echo "$as_me:$LINENO: result: no" >&5 | 3237 | { echo "$as_me:$LINENO: result: no" >&5 |
| 2756 | echo "${ECHO_T}no" >&6 | 3238 | echo "${ECHO_T}no" >&6; } |
| 2757 | fi | 3239 | fi |
| 2758 | 3240 | ||
| 3241 | |||
| 2759 | fi | 3242 | fi |
| 2760 | if test -z "$ac_cv_prog_CC"; then | 3243 | if test -z "$ac_cv_prog_CC"; then |
| 2761 | ac_ct_CC=$CC | 3244 | ac_ct_CC=$CC |
| 2762 | # Extract the first word of "gcc", so it can be a program name with args. | 3245 | # Extract the first word of "gcc", so it can be a program name with args. |
| 2763 | set dummy gcc; ac_word=$2 | 3246 | set dummy gcc; ac_word=$2 |
| 2764 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3247 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2765 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3248 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2766 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 3249 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 2767 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3250 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2768 | else | 3251 | else |
| @@ -2775,36 +3258,51 @@ do | |||
| 2775 | IFS=$as_save_IFS | 3258 | IFS=$as_save_IFS |
| 2776 | test -z "$as_dir" && as_dir=. | 3259 | test -z "$as_dir" && as_dir=. |
| 2777 | for ac_exec_ext in '' $ac_executable_extensions; do | 3260 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2778 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3261 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2779 | ac_cv_prog_ac_ct_CC="gcc" | 3262 | ac_cv_prog_ac_ct_CC="gcc" |
| 2780 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3263 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2781 | break 2 | 3264 | break 2 |
| 2782 | fi | 3265 | fi |
| 2783 | done | 3266 | done |
| 2784 | done | 3267 | done |
| 3268 | IFS=$as_save_IFS | ||
| 2785 | 3269 | ||
| 2786 | fi | 3270 | fi |
| 2787 | fi | 3271 | fi |
| 2788 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3272 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 2789 | if test -n "$ac_ct_CC"; then | 3273 | if test -n "$ac_ct_CC"; then |
| 2790 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 3274 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 2791 | echo "${ECHO_T}$ac_ct_CC" >&6 | 3275 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
| 2792 | else | 3276 | else |
| 2793 | echo "$as_me:$LINENO: result: no" >&5 | 3277 | { echo "$as_me:$LINENO: result: no" >&5 |
| 2794 | echo "${ECHO_T}no" >&6 | 3278 | echo "${ECHO_T}no" >&6; } |
| 2795 | fi | 3279 | fi |
| 2796 | 3280 | ||
| 2797 | CC=$ac_ct_CC | 3281 | if test "x$ac_ct_CC" = x; then |
| 3282 | CC="" | ||
| 3283 | else | ||
| 3284 | case $cross_compiling:$ac_tool_warned in | ||
| 3285 | yes:) | ||
| 3286 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 3287 | whose name does not start with the host triplet. If you think this | ||
| 3288 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
| 3289 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 3290 | whose name does not start with the host triplet. If you think this | ||
| 3291 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
| 3292 | ac_tool_warned=yes ;; | ||
| 3293 | esac | ||
| 3294 | CC=$ac_ct_CC | ||
| 3295 | fi | ||
| 2798 | else | 3296 | else |
| 2799 | CC="$ac_cv_prog_CC" | 3297 | CC="$ac_cv_prog_CC" |
| 2800 | fi | 3298 | fi |
| 2801 | 3299 | ||
| 2802 | if test -z "$CC"; then | 3300 | if test -z "$CC"; then |
| 2803 | if test -n "$ac_tool_prefix"; then | 3301 | if test -n "$ac_tool_prefix"; then |
| 2804 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 3302 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 2805 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 3303 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 2806 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3304 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2807 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3305 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2808 | if test "${ac_cv_prog_CC+set}" = set; then | 3306 | if test "${ac_cv_prog_CC+set}" = set; then |
| 2809 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3307 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2810 | else | 3308 | else |
| @@ -2817,74 +3315,34 @@ do | |||
| 2817 | IFS=$as_save_IFS | 3315 | IFS=$as_save_IFS |
| 2818 | test -z "$as_dir" && as_dir=. | 3316 | test -z "$as_dir" && as_dir=. |
| 2819 | for ac_exec_ext in '' $ac_executable_extensions; do | 3317 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2820 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3318 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2821 | ac_cv_prog_CC="${ac_tool_prefix}cc" | 3319 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 2822 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3320 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2823 | break 2 | 3321 | break 2 |
| 2824 | fi | 3322 | fi |
| 2825 | done | 3323 | done |
| 2826 | done | 3324 | done |
| 3325 | IFS=$as_save_IFS | ||
| 2827 | 3326 | ||
| 2828 | fi | 3327 | fi |
| 2829 | fi | 3328 | fi |
| 2830 | CC=$ac_cv_prog_CC | 3329 | CC=$ac_cv_prog_CC |
| 2831 | if test -n "$CC"; then | 3330 | if test -n "$CC"; then |
| 2832 | echo "$as_me:$LINENO: result: $CC" >&5 | 3331 | { echo "$as_me:$LINENO: result: $CC" >&5 |
| 2833 | echo "${ECHO_T}$CC" >&6 | 3332 | echo "${ECHO_T}$CC" >&6; } |
| 2834 | else | 3333 | else |
| 2835 | echo "$as_me:$LINENO: result: no" >&5 | 3334 | { echo "$as_me:$LINENO: result: no" >&5 |
| 2836 | echo "${ECHO_T}no" >&6 | 3335 | echo "${ECHO_T}no" >&6; } |
| 2837 | fi | 3336 | fi |
| 2838 | 3337 | ||
| 2839 | fi | ||
| 2840 | if test -z "$ac_cv_prog_CC"; then | ||
| 2841 | ac_ct_CC=$CC | ||
| 2842 | # Extract the first word of "cc", so it can be a program name with args. | ||
| 2843 | set dummy cc; ac_word=$2 | ||
| 2844 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
| 2845 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
| 2846 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | ||
| 2847 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 2848 | else | ||
| 2849 | if test -n "$ac_ct_CC"; then | ||
| 2850 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
| 2851 | else | ||
| 2852 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 2853 | for as_dir in $PATH | ||
| 2854 | do | ||
| 2855 | IFS=$as_save_IFS | ||
| 2856 | test -z "$as_dir" && as_dir=. | ||
| 2857 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 2858 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
| 2859 | ac_cv_prog_ac_ct_CC="cc" | ||
| 2860 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
| 2861 | break 2 | ||
| 2862 | fi | ||
| 2863 | done | ||
| 2864 | done | ||
| 2865 | |||
| 2866 | fi | ||
| 2867 | fi | ||
| 2868 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
| 2869 | if test -n "$ac_ct_CC"; then | ||
| 2870 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | ||
| 2871 | echo "${ECHO_T}$ac_ct_CC" >&6 | ||
| 2872 | else | ||
| 2873 | echo "$as_me:$LINENO: result: no" >&5 | ||
| 2874 | echo "${ECHO_T}no" >&6 | ||
| 2875 | fi | ||
| 2876 | |||
| 2877 | CC=$ac_ct_CC | ||
| 2878 | else | ||
| 2879 | CC="$ac_cv_prog_CC" | ||
| 2880 | fi | ||
| 2881 | 3338 | ||
| 3339 | fi | ||
| 2882 | fi | 3340 | fi |
| 2883 | if test -z "$CC"; then | 3341 | if test -z "$CC"; then |
| 2884 | # Extract the first word of "cc", so it can be a program name with args. | 3342 | # Extract the first word of "cc", so it can be a program name with args. |
| 2885 | set dummy cc; ac_word=$2 | 3343 | set dummy cc; ac_word=$2 |
| 2886 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3344 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2887 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3345 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2888 | if test "${ac_cv_prog_CC+set}" = set; then | 3346 | if test "${ac_cv_prog_CC+set}" = set; then |
| 2889 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3347 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2890 | else | 3348 | else |
| @@ -2898,7 +3356,7 @@ do | |||
| 2898 | IFS=$as_save_IFS | 3356 | IFS=$as_save_IFS |
| 2899 | test -z "$as_dir" && as_dir=. | 3357 | test -z "$as_dir" && as_dir=. |
| 2900 | for ac_exec_ext in '' $ac_executable_extensions; do | 3358 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2901 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3359 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2902 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 3360 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 2903 | ac_prog_rejected=yes | 3361 | ac_prog_rejected=yes |
| 2904 | continue | 3362 | continue |
| @@ -2909,6 +3367,7 @@ do | |||
| 2909 | fi | 3367 | fi |
| 2910 | done | 3368 | done |
| 2911 | done | 3369 | done |
| 3370 | IFS=$as_save_IFS | ||
| 2912 | 3371 | ||
| 2913 | if test $ac_prog_rejected = yes; then | 3372 | if test $ac_prog_rejected = yes; then |
| 2914 | # We found a bogon in the path, so make sure we never use it. | 3373 | # We found a bogon in the path, so make sure we never use it. |
| @@ -2926,22 +3385,23 @@ fi | |||
| 2926 | fi | 3385 | fi |
| 2927 | CC=$ac_cv_prog_CC | 3386 | CC=$ac_cv_prog_CC |
| 2928 | if test -n "$CC"; then | 3387 | if test -n "$CC"; then |
| 2929 | echo "$as_me:$LINENO: result: $CC" >&5 | 3388 | { echo "$as_me:$LINENO: result: $CC" >&5 |
| 2930 | echo "${ECHO_T}$CC" >&6 | 3389 | echo "${ECHO_T}$CC" >&6; } |
| 2931 | else | 3390 | else |
| 2932 | echo "$as_me:$LINENO: result: no" >&5 | 3391 | { echo "$as_me:$LINENO: result: no" >&5 |
| 2933 | echo "${ECHO_T}no" >&6 | 3392 | echo "${ECHO_T}no" >&6; } |
| 2934 | fi | 3393 | fi |
| 2935 | 3394 | ||
| 3395 | |||
| 2936 | fi | 3396 | fi |
| 2937 | if test -z "$CC"; then | 3397 | if test -z "$CC"; then |
| 2938 | if test -n "$ac_tool_prefix"; then | 3398 | if test -n "$ac_tool_prefix"; then |
| 2939 | for ac_prog in cl | 3399 | for ac_prog in cl.exe |
| 2940 | do | 3400 | do |
| 2941 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 3401 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 2942 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 3402 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 2943 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3403 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2944 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3404 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2945 | if test "${ac_cv_prog_CC+set}" = set; then | 3405 | if test "${ac_cv_prog_CC+set}" = set; then |
| 2946 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3406 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2947 | else | 3407 | else |
| @@ -2954,36 +3414,38 @@ do | |||
| 2954 | IFS=$as_save_IFS | 3414 | IFS=$as_save_IFS |
| 2955 | test -z "$as_dir" && as_dir=. | 3415 | test -z "$as_dir" && as_dir=. |
| 2956 | for ac_exec_ext in '' $ac_executable_extensions; do | 3416 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2957 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3417 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 2958 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 3418 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 2959 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3419 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2960 | break 2 | 3420 | break 2 |
| 2961 | fi | 3421 | fi |
| 2962 | done | 3422 | done |
| 2963 | done | 3423 | done |
| 3424 | IFS=$as_save_IFS | ||
| 2964 | 3425 | ||
| 2965 | fi | 3426 | fi |
| 2966 | fi | 3427 | fi |
| 2967 | CC=$ac_cv_prog_CC | 3428 | CC=$ac_cv_prog_CC |
| 2968 | if test -n "$CC"; then | 3429 | if test -n "$CC"; then |
| 2969 | echo "$as_me:$LINENO: result: $CC" >&5 | 3430 | { echo "$as_me:$LINENO: result: $CC" >&5 |
| 2970 | echo "${ECHO_T}$CC" >&6 | 3431 | echo "${ECHO_T}$CC" >&6; } |
| 2971 | else | 3432 | else |
| 2972 | echo "$as_me:$LINENO: result: no" >&5 | 3433 | { echo "$as_me:$LINENO: result: no" >&5 |
| 2973 | echo "${ECHO_T}no" >&6 | 3434 | echo "${ECHO_T}no" >&6; } |
| 2974 | fi | 3435 | fi |
| 2975 | 3436 | ||
| 3437 | |||
| 2976 | test -n "$CC" && break | 3438 | test -n "$CC" && break |
| 2977 | done | 3439 | done |
| 2978 | fi | 3440 | fi |
| 2979 | if test -z "$CC"; then | 3441 | if test -z "$CC"; then |
| 2980 | ac_ct_CC=$CC | 3442 | ac_ct_CC=$CC |
| 2981 | for ac_prog in cl | 3443 | for ac_prog in cl.exe |
| 2982 | do | 3444 | do |
| 2983 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 3445 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2984 | set dummy $ac_prog; ac_word=$2 | 3446 | set dummy $ac_prog; ac_word=$2 |
| 2985 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3447 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 2986 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3448 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 2987 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 3449 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 2988 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3450 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2989 | else | 3451 | else |
| @@ -2996,29 +3458,45 @@ do | |||
| 2996 | IFS=$as_save_IFS | 3458 | IFS=$as_save_IFS |
| 2997 | test -z "$as_dir" && as_dir=. | 3459 | test -z "$as_dir" && as_dir=. |
| 2998 | for ac_exec_ext in '' $ac_executable_extensions; do | 3460 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 2999 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3461 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 3000 | ac_cv_prog_ac_ct_CC="$ac_prog" | 3462 | ac_cv_prog_ac_ct_CC="$ac_prog" |
| 3001 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3463 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3002 | break 2 | 3464 | break 2 |
| 3003 | fi | 3465 | fi |
| 3004 | done | 3466 | done |
| 3005 | done | 3467 | done |
| 3468 | IFS=$as_save_IFS | ||
| 3006 | 3469 | ||
| 3007 | fi | 3470 | fi |
| 3008 | fi | 3471 | fi |
| 3009 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3472 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 3010 | if test -n "$ac_ct_CC"; then | 3473 | if test -n "$ac_ct_CC"; then |
| 3011 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 3474 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 3012 | echo "${ECHO_T}$ac_ct_CC" >&6 | 3475 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
| 3013 | else | 3476 | else |
| 3014 | echo "$as_me:$LINENO: result: no" >&5 | 3477 | { echo "$as_me:$LINENO: result: no" >&5 |
| 3015 | echo "${ECHO_T}no" >&6 | 3478 | echo "${ECHO_T}no" >&6; } |
| 3016 | fi | 3479 | fi |
| 3017 | 3480 | ||
| 3481 | |||
| 3018 | test -n "$ac_ct_CC" && break | 3482 | test -n "$ac_ct_CC" && break |
| 3019 | done | 3483 | done |
| 3020 | 3484 | ||
| 3021 | CC=$ac_ct_CC | 3485 | if test "x$ac_ct_CC" = x; then |
| 3486 | CC="" | ||
| 3487 | else | ||
| 3488 | case $cross_compiling:$ac_tool_warned in | ||
| 3489 | yes:) | ||
| 3490 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 3491 | whose name does not start with the host triplet. If you think this | ||
| 3492 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
| 3493 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 3494 | whose name does not start with the host triplet. If you think this | ||
| 3495 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
| 3496 | ac_tool_warned=yes ;; | ||
| 3497 | esac | ||
| 3498 | CC=$ac_ct_CC | ||
| 3499 | fi | ||
| 3022 | fi | 3500 | fi |
| 3023 | 3501 | ||
| 3024 | fi | 3502 | fi |
| @@ -3031,21 +3509,35 @@ See \`config.log' for more details." >&2;} | |||
| 3031 | { (exit 1); exit 1; }; } | 3509 | { (exit 1); exit 1; }; } |
| 3032 | 3510 | ||
| 3033 | # Provide some information about the compiler. | 3511 | # Provide some information about the compiler. |
| 3034 | echo "$as_me:$LINENO:" \ | 3512 | echo "$as_me:$LINENO: checking for C compiler version" >&5 |
| 3035 | "checking for C compiler version" >&5 | ||
| 3036 | ac_compiler=`set X $ac_compile; echo $2` | 3513 | ac_compiler=`set X $ac_compile; echo $2` |
| 3037 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 3514 | { (ac_try="$ac_compiler --version >&5" |
| 3038 | (eval $ac_compiler --version </dev/null >&5) 2>&5 | 3515 | case "(($ac_try" in |
| 3516 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3517 | *) ac_try_echo=$ac_try;; | ||
| 3518 | esac | ||
| 3519 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3520 | (eval "$ac_compiler --version >&5") 2>&5 | ||
| 3039 | ac_status=$? | 3521 | ac_status=$? |
| 3040 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3522 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3041 | (exit $ac_status); } | 3523 | (exit $ac_status); } |
| 3042 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 3524 | { (ac_try="$ac_compiler -v >&5" |
| 3043 | (eval $ac_compiler -v </dev/null >&5) 2>&5 | 3525 | case "(($ac_try" in |
| 3526 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3527 | *) ac_try_echo=$ac_try;; | ||
| 3528 | esac | ||
| 3529 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3530 | (eval "$ac_compiler -v >&5") 2>&5 | ||
| 3044 | ac_status=$? | 3531 | ac_status=$? |
| 3045 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3532 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3046 | (exit $ac_status); } | 3533 | (exit $ac_status); } |
| 3047 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 3534 | { (ac_try="$ac_compiler -V >&5" |
| 3048 | (eval $ac_compiler -V </dev/null >&5) 2>&5 | 3535 | case "(($ac_try" in |
| 3536 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3537 | *) ac_try_echo=$ac_try;; | ||
| 3538 | esac | ||
| 3539 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3540 | (eval "$ac_compiler -V >&5") 2>&5 | ||
| 3049 | ac_status=$? | 3541 | ac_status=$? |
| 3050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3542 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3051 | (exit $ac_status); } | 3543 | (exit $ac_status); } |
| @@ -3070,47 +3562,77 @@ ac_clean_files="$ac_clean_files a.out a.exe b.out" | |||
| 3070 | # Try to create an executable without -o first, disregard a.out. | 3562 | # Try to create an executable without -o first, disregard a.out. |
| 3071 | # It will help us diagnose broken compilers, and finding out an intuition | 3563 | # It will help us diagnose broken compilers, and finding out an intuition |
| 3072 | # of exeext. | 3564 | # of exeext. |
| 3073 | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | 3565 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
| 3074 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 | 3566 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
| 3075 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 3567 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 3076 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 3568 | # |
| 3077 | (eval $ac_link_default) 2>&5 | 3569 | # List of possible output files, starting from the most likely. |
| 3570 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) | ||
| 3571 | # only as a last resort. b.out is created by i960 compilers. | ||
| 3572 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' | ||
| 3573 | # | ||
| 3574 | # The IRIX 6 linker writes into existing files which may not be | ||
| 3575 | # executable, retaining their permissions. Remove them first so a | ||
| 3576 | # subsequent execution test works. | ||
| 3577 | ac_rmfiles= | ||
| 3578 | for ac_file in $ac_files | ||
| 3579 | do | ||
| 3580 | case $ac_file in | ||
| 3581 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | ||
| 3582 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | ||
| 3583 | esac | ||
| 3584 | done | ||
| 3585 | rm -f $ac_rmfiles | ||
| 3586 | |||
| 3587 | if { (ac_try="$ac_link_default" | ||
| 3588 | case "(($ac_try" in | ||
| 3589 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3590 | *) ac_try_echo=$ac_try;; | ||
| 3591 | esac | ||
| 3592 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3593 | (eval "$ac_link_default") 2>&5 | ||
| 3078 | ac_status=$? | 3594 | ac_status=$? |
| 3079 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3595 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3080 | (exit $ac_status); }; then | 3596 | (exit $ac_status); }; then |
| 3081 | # Find the output, starting from the most likely. This scheme is | 3597 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| 3082 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 3598 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
| 3083 | # resort. | 3599 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
| 3084 | 3600 | # so that the user can short-circuit this test for compilers unknown to | |
| 3085 | # Be careful to initialize this variable, since it used to be cached. | 3601 | # Autoconf. |
| 3086 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 3602 | for ac_file in $ac_files '' |
| 3087 | ac_cv_exeext= | ||
| 3088 | # b.out is created by i960 compilers. | ||
| 3089 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | ||
| 3090 | do | 3603 | do |
| 3091 | test -f "$ac_file" || continue | 3604 | test -f "$ac_file" || continue |
| 3092 | case $ac_file in | 3605 | case $ac_file in |
| 3093 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | 3606 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
| 3094 | ;; | ||
| 3095 | conftest.$ac_ext ) | ||
| 3096 | # This is the source file. | ||
| 3097 | ;; | 3607 | ;; |
| 3098 | [ab].out ) | 3608 | [ab].out ) |
| 3099 | # We found the default executable, but exeext='' is most | 3609 | # We found the default executable, but exeext='' is most |
| 3100 | # certainly right. | 3610 | # certainly right. |
| 3101 | break;; | 3611 | break;; |
| 3102 | *.* ) | 3612 | *.* ) |
| 3103 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3613 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
| 3104 | # FIXME: I believe we export ac_cv_exeext for Libtool, | 3614 | then :; else |
| 3105 | # but it would be cool to find out if it's true. Does anybody | 3615 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 3106 | # maintain Libtool? --akim. | 3616 | fi |
| 3107 | export ac_cv_exeext | 3617 | # We set ac_cv_exeext here because the later test for it is not |
| 3618 | # safe: cross compilers may not add the suffix if given an `-o' | ||
| 3619 | # argument, so we may need to know it at that point already. | ||
| 3620 | # Even if this section looks crufty: it has the advantage of | ||
| 3621 | # actually working. | ||
| 3108 | break;; | 3622 | break;; |
| 3109 | * ) | 3623 | * ) |
| 3110 | break;; | 3624 | break;; |
| 3111 | esac | 3625 | esac |
| 3112 | done | 3626 | done |
| 3627 | test "$ac_cv_exeext" = no && ac_cv_exeext= | ||
| 3628 | |||
| 3113 | else | 3629 | else |
| 3630 | ac_file='' | ||
| 3631 | fi | ||
| 3632 | |||
| 3633 | { echo "$as_me:$LINENO: result: $ac_file" >&5 | ||
| 3634 | echo "${ECHO_T}$ac_file" >&6; } | ||
| 3635 | if test -z "$ac_file"; then | ||
| 3114 | echo "$as_me: failed program was:" >&5 | 3636 | echo "$as_me: failed program was:" >&5 |
| 3115 | sed 's/^/| /' conftest.$ac_ext >&5 | 3637 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3116 | 3638 | ||
| @@ -3122,19 +3644,21 @@ See \`config.log' for more details." >&2;} | |||
| 3122 | fi | 3644 | fi |
| 3123 | 3645 | ||
| 3124 | ac_exeext=$ac_cv_exeext | 3646 | ac_exeext=$ac_cv_exeext |
| 3125 | echo "$as_me:$LINENO: result: $ac_file" >&5 | ||
| 3126 | echo "${ECHO_T}$ac_file" >&6 | ||
| 3127 | 3647 | ||
| 3128 | # Check the compiler produces executables we can run. If not, either | 3648 | # Check that the compiler produces executables we can run. If not, either |
| 3129 | # the compiler is broken, or we cross compile. | 3649 | # the compiler is broken, or we cross compile. |
| 3130 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | 3650 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
| 3131 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | 3651 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
| 3132 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 3652 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
| 3133 | # If not cross compiling, check that we can run a simple program. | 3653 | # If not cross compiling, check that we can run a simple program. |
| 3134 | if test "$cross_compiling" != yes; then | 3654 | if test "$cross_compiling" != yes; then |
| 3135 | if { ac_try='./$ac_file' | 3655 | if { ac_try='./$ac_file' |
| 3136 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3656 | { (case "(($ac_try" in |
| 3137 | (eval $ac_try) 2>&5 | 3657 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3658 | *) ac_try_echo=$ac_try;; | ||
| 3659 | esac | ||
| 3660 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3661 | (eval "$ac_try") 2>&5 | ||
| 3138 | ac_status=$? | 3662 | ac_status=$? |
| 3139 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3663 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3140 | (exit $ac_status); }; }; then | 3664 | (exit $ac_status); }; }; then |
| @@ -3153,22 +3677,27 @@ See \`config.log' for more details." >&2;} | |||
| 3153 | fi | 3677 | fi |
| 3154 | fi | 3678 | fi |
| 3155 | fi | 3679 | fi |
| 3156 | echo "$as_me:$LINENO: result: yes" >&5 | 3680 | { echo "$as_me:$LINENO: result: yes" >&5 |
| 3157 | echo "${ECHO_T}yes" >&6 | 3681 | echo "${ECHO_T}yes" >&6; } |
| 3158 | 3682 | ||
| 3159 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | 3683 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
| 3160 | ac_clean_files=$ac_clean_files_save | 3684 | ac_clean_files=$ac_clean_files_save |
| 3161 | # Check the compiler produces executables we can run. If not, either | 3685 | # Check that the compiler produces executables we can run. If not, either |
| 3162 | # the compiler is broken, or we cross compile. | 3686 | # the compiler is broken, or we cross compile. |
| 3163 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 3687 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
| 3164 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 3688 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
| 3165 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 3689 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
| 3166 | echo "${ECHO_T}$cross_compiling" >&6 | 3690 | echo "${ECHO_T}$cross_compiling" >&6; } |
| 3167 | 3691 | ||
| 3168 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 3692 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
| 3169 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 3693 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
| 3170 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 3694 | if { (ac_try="$ac_link" |
| 3171 | (eval $ac_link) 2>&5 | 3695 | case "(($ac_try" in |
| 3696 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3697 | *) ac_try_echo=$ac_try;; | ||
| 3698 | esac | ||
| 3699 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3700 | (eval "$ac_link") 2>&5 | ||
| 3172 | ac_status=$? | 3701 | ac_status=$? |
| 3173 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3702 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3174 | (exit $ac_status); }; then | 3703 | (exit $ac_status); }; then |
| @@ -3179,9 +3708,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |||
| 3179 | for ac_file in conftest.exe conftest conftest.*; do | 3708 | for ac_file in conftest.exe conftest conftest.*; do |
| 3180 | test -f "$ac_file" || continue | 3709 | test -f "$ac_file" || continue |
| 3181 | case $ac_file in | 3710 | case $ac_file in |
| 3182 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | 3711 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
| 3183 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3712 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 3184 | export ac_cv_exeext | ||
| 3185 | break;; | 3713 | break;; |
| 3186 | * ) break;; | 3714 | * ) break;; |
| 3187 | esac | 3715 | esac |
| @@ -3195,14 +3723,14 @@ See \`config.log' for more details." >&2;} | |||
| 3195 | fi | 3723 | fi |
| 3196 | 3724 | ||
| 3197 | rm -f conftest$ac_cv_exeext | 3725 | rm -f conftest$ac_cv_exeext |
| 3198 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 3726 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
| 3199 | echo "${ECHO_T}$ac_cv_exeext" >&6 | 3727 | echo "${ECHO_T}$ac_cv_exeext" >&6; } |
| 3200 | 3728 | ||
| 3201 | rm -f conftest.$ac_ext | 3729 | rm -f conftest.$ac_ext |
| 3202 | EXEEXT=$ac_cv_exeext | 3730 | EXEEXT=$ac_cv_exeext |
| 3203 | ac_exeext=$EXEEXT | 3731 | ac_exeext=$EXEEXT |
| 3204 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 3732 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| 3205 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 3733 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
| 3206 | if test "${ac_cv_objext+set}" = set; then | 3734 | if test "${ac_cv_objext+set}" = set; then |
| 3207 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3735 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3208 | else | 3736 | else |
| @@ -3222,14 +3750,20 @@ main () | |||
| 3222 | } | 3750 | } |
| 3223 | _ACEOF | 3751 | _ACEOF |
| 3224 | rm -f conftest.o conftest.obj | 3752 | rm -f conftest.o conftest.obj |
| 3225 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3753 | if { (ac_try="$ac_compile" |
| 3226 | (eval $ac_compile) 2>&5 | 3754 | case "(($ac_try" in |
| 3755 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3756 | *) ac_try_echo=$ac_try;; | ||
| 3757 | esac | ||
| 3758 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3759 | (eval "$ac_compile") 2>&5 | ||
| 3227 | ac_status=$? | 3760 | ac_status=$? |
| 3228 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3229 | (exit $ac_status); }; then | 3762 | (exit $ac_status); }; then |
| 3230 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 3763 | for ac_file in conftest.o conftest.obj conftest.*; do |
| 3764 | test -f "$ac_file" || continue; | ||
| 3231 | case $ac_file in | 3765 | case $ac_file in |
| 3232 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | 3766 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
| 3233 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 3767 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| 3234 | break;; | 3768 | break;; |
| 3235 | esac | 3769 | esac |
| @@ -3247,12 +3781,12 @@ fi | |||
| 3247 | 3781 | ||
| 3248 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 3782 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 3249 | fi | 3783 | fi |
| 3250 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 3784 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| 3251 | echo "${ECHO_T}$ac_cv_objext" >&6 | 3785 | echo "${ECHO_T}$ac_cv_objext" >&6; } |
| 3252 | OBJEXT=$ac_cv_objext | 3786 | OBJEXT=$ac_cv_objext |
| 3253 | ac_objext=$OBJEXT | 3787 | ac_objext=$OBJEXT |
| 3254 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 3788 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| 3255 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 3789 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
| 3256 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 3790 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
| 3257 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3791 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3258 | else | 3792 | else |
| @@ -3275,49 +3809,49 @@ main () | |||
| 3275 | } | 3809 | } |
| 3276 | _ACEOF | 3810 | _ACEOF |
| 3277 | rm -f conftest.$ac_objext | 3811 | rm -f conftest.$ac_objext |
| 3278 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3812 | if { (ac_try="$ac_compile" |
| 3279 | (eval $ac_compile) 2>conftest.er1 | 3813 | case "(($ac_try" in |
| 3814 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3815 | *) ac_try_echo=$ac_try;; | ||
| 3816 | esac | ||
| 3817 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3818 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3280 | ac_status=$? | 3819 | ac_status=$? |
| 3281 | grep -v '^ *+' conftest.er1 >conftest.err | 3820 | grep -v '^ *+' conftest.er1 >conftest.err |
| 3282 | rm -f conftest.er1 | 3821 | rm -f conftest.er1 |
| 3283 | cat conftest.err >&5 | 3822 | cat conftest.err >&5 |
| 3284 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3823 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3285 | (exit $ac_status); } && | 3824 | (exit $ac_status); } && { |
| 3286 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 3825 | test -z "$ac_c_werror_flag" || |
| 3287 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3826 | test ! -s conftest.err |
| 3288 | (eval $ac_try) 2>&5 | 3827 | } && test -s conftest.$ac_objext; then |
| 3289 | ac_status=$? | ||
| 3290 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3291 | (exit $ac_status); }; } && | ||
| 3292 | { ac_try='test -s conftest.$ac_objext' | ||
| 3293 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3294 | (eval $ac_try) 2>&5 | ||
| 3295 | ac_status=$? | ||
| 3296 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3297 | (exit $ac_status); }; }; then | ||
| 3298 | ac_compiler_gnu=yes | 3828 | ac_compiler_gnu=yes |
| 3299 | else | 3829 | else |
| 3300 | echo "$as_me: failed program was:" >&5 | 3830 | echo "$as_me: failed program was:" >&5 |
| 3301 | sed 's/^/| /' conftest.$ac_ext >&5 | 3831 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3302 | 3832 | ||
| 3303 | ac_compiler_gnu=no | 3833 | ac_compiler_gnu=no |
| 3304 | fi | 3834 | fi |
| 3305 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 3835 | |
| 3836 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 3306 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 3837 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 3307 | 3838 | ||
| 3308 | fi | 3839 | fi |
| 3309 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 3840 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| 3310 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 3841 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
| 3311 | GCC=`test $ac_compiler_gnu = yes && echo yes` | 3842 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
| 3312 | ac_test_CFLAGS=${CFLAGS+set} | 3843 | ac_test_CFLAGS=${CFLAGS+set} |
| 3313 | ac_save_CFLAGS=$CFLAGS | 3844 | ac_save_CFLAGS=$CFLAGS |
| 3314 | CFLAGS="-g" | 3845 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| 3315 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 3846 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
| 3316 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | ||
| 3317 | if test "${ac_cv_prog_cc_g+set}" = set; then | 3847 | if test "${ac_cv_prog_cc_g+set}" = set; then |
| 3318 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3848 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3319 | else | 3849 | else |
| 3320 | cat >conftest.$ac_ext <<_ACEOF | 3850 | ac_save_c_werror_flag=$ac_c_werror_flag |
| 3851 | ac_c_werror_flag=yes | ||
| 3852 | ac_cv_prog_cc_g=no | ||
| 3853 | CFLAGS="-g" | ||
| 3854 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3321 | /* confdefs.h. */ | 3855 | /* confdefs.h. */ |
| 3322 | _ACEOF | 3856 | _ACEOF |
| 3323 | cat confdefs.h >>conftest.$ac_ext | 3857 | cat confdefs.h >>conftest.$ac_ext |
| @@ -3333,37 +3867,118 @@ main () | |||
| 3333 | } | 3867 | } |
| 3334 | _ACEOF | 3868 | _ACEOF |
| 3335 | rm -f conftest.$ac_objext | 3869 | rm -f conftest.$ac_objext |
| 3336 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3870 | if { (ac_try="$ac_compile" |
| 3337 | (eval $ac_compile) 2>conftest.er1 | 3871 | case "(($ac_try" in |
| 3872 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3873 | *) ac_try_echo=$ac_try;; | ||
| 3874 | esac | ||
| 3875 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3876 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3338 | ac_status=$? | 3877 | ac_status=$? |
| 3339 | grep -v '^ *+' conftest.er1 >conftest.err | 3878 | grep -v '^ *+' conftest.er1 >conftest.err |
| 3340 | rm -f conftest.er1 | 3879 | rm -f conftest.er1 |
| 3341 | cat conftest.err >&5 | 3880 | cat conftest.err >&5 |
| 3342 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3881 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3343 | (exit $ac_status); } && | 3882 | (exit $ac_status); } && { |
| 3344 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 3883 | test -z "$ac_c_werror_flag" || |
| 3345 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3884 | test ! -s conftest.err |
| 3346 | (eval $ac_try) 2>&5 | 3885 | } && test -s conftest.$ac_objext; then |
| 3886 | ac_cv_prog_cc_g=yes | ||
| 3887 | else | ||
| 3888 | echo "$as_me: failed program was:" >&5 | ||
| 3889 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3890 | |||
| 3891 | CFLAGS="" | ||
| 3892 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3893 | /* confdefs.h. */ | ||
| 3894 | _ACEOF | ||
| 3895 | cat confdefs.h >>conftest.$ac_ext | ||
| 3896 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3897 | /* end confdefs.h. */ | ||
| 3898 | |||
| 3899 | int | ||
| 3900 | main () | ||
| 3901 | { | ||
| 3902 | |||
| 3903 | ; | ||
| 3904 | return 0; | ||
| 3905 | } | ||
| 3906 | _ACEOF | ||
| 3907 | rm -f conftest.$ac_objext | ||
| 3908 | if { (ac_try="$ac_compile" | ||
| 3909 | case "(($ac_try" in | ||
| 3910 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3911 | *) ac_try_echo=$ac_try;; | ||
| 3912 | esac | ||
| 3913 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3914 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3347 | ac_status=$? | 3915 | ac_status=$? |
| 3916 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3917 | rm -f conftest.er1 | ||
| 3918 | cat conftest.err >&5 | ||
| 3348 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3919 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3349 | (exit $ac_status); }; } && | 3920 | (exit $ac_status); } && { |
| 3350 | { ac_try='test -s conftest.$ac_objext' | 3921 | test -z "$ac_c_werror_flag" || |
| 3351 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3922 | test ! -s conftest.err |
| 3352 | (eval $ac_try) 2>&5 | 3923 | } && test -s conftest.$ac_objext; then |
| 3924 | : | ||
| 3925 | else | ||
| 3926 | echo "$as_me: failed program was:" >&5 | ||
| 3927 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3928 | |||
| 3929 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
| 3930 | CFLAGS="-g" | ||
| 3931 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3932 | /* confdefs.h. */ | ||
| 3933 | _ACEOF | ||
| 3934 | cat confdefs.h >>conftest.$ac_ext | ||
| 3935 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3936 | /* end confdefs.h. */ | ||
| 3937 | |||
| 3938 | int | ||
| 3939 | main () | ||
| 3940 | { | ||
| 3941 | |||
| 3942 | ; | ||
| 3943 | return 0; | ||
| 3944 | } | ||
| 3945 | _ACEOF | ||
| 3946 | rm -f conftest.$ac_objext | ||
| 3947 | if { (ac_try="$ac_compile" | ||
| 3948 | case "(($ac_try" in | ||
| 3949 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 3950 | *) ac_try_echo=$ac_try;; | ||
| 3951 | esac | ||
| 3952 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 3953 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3353 | ac_status=$? | 3954 | ac_status=$? |
| 3955 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3956 | rm -f conftest.er1 | ||
| 3957 | cat conftest.err >&5 | ||
| 3354 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3958 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3355 | (exit $ac_status); }; }; then | 3959 | (exit $ac_status); } && { |
| 3960 | test -z "$ac_c_werror_flag" || | ||
| 3961 | test ! -s conftest.err | ||
| 3962 | } && test -s conftest.$ac_objext; then | ||
| 3356 | ac_cv_prog_cc_g=yes | 3963 | ac_cv_prog_cc_g=yes |
| 3357 | else | 3964 | else |
| 3358 | echo "$as_me: failed program was:" >&5 | 3965 | echo "$as_me: failed program was:" >&5 |
| 3359 | sed 's/^/| /' conftest.$ac_ext >&5 | 3966 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3360 | 3967 | ||
| 3361 | ac_cv_prog_cc_g=no | 3968 | |
| 3362 | fi | 3969 | fi |
| 3363 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 3970 | |
| 3971 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 3364 | fi | 3972 | fi |
| 3365 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 3973 | |
| 3366 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 3974 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3975 | fi | ||
| 3976 | |||
| 3977 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 3978 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
| 3979 | fi | ||
| 3980 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | ||
| 3981 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } | ||
| 3367 | if test "$ac_test_CFLAGS" = set; then | 3982 | if test "$ac_test_CFLAGS" = set; then |
| 3368 | CFLAGS=$ac_save_CFLAGS | 3983 | CFLAGS=$ac_save_CFLAGS |
| 3369 | elif test $ac_cv_prog_cc_g = yes; then | 3984 | elif test $ac_cv_prog_cc_g = yes; then |
| @@ -3379,12 +3994,12 @@ else | |||
| 3379 | CFLAGS= | 3994 | CFLAGS= |
| 3380 | fi | 3995 | fi |
| 3381 | fi | 3996 | fi |
| 3382 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 3997 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
| 3383 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 3998 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
| 3384 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 3999 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
| 3385 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4000 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3386 | else | 4001 | else |
| 3387 | ac_cv_prog_cc_stdc=no | 4002 | ac_cv_prog_cc_c89=no |
| 3388 | ac_save_CC=$CC | 4003 | ac_save_CC=$CC |
| 3389 | cat >conftest.$ac_ext <<_ACEOF | 4004 | cat >conftest.$ac_ext <<_ACEOF |
| 3390 | /* confdefs.h. */ | 4005 | /* confdefs.h. */ |
| @@ -3418,12 +4033,17 @@ static char *f (char * (*g) (char **, int), char **p, ...) | |||
| 3418 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | 4033 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 3419 | function prototypes and stuff, but not '\xHH' hex character constants. | 4034 | function prototypes and stuff, but not '\xHH' hex character constants. |
| 3420 | These don't provoke an error unfortunately, instead are silently treated | 4035 | These don't provoke an error unfortunately, instead are silently treated |
| 3421 | as 'x'. The following induces an error, until -std1 is added to get | 4036 | as 'x'. The following induces an error, until -std is added to get |
| 3422 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | 4037 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 3423 | array size at least. It's necessary to write '\x00'==0 to get something | 4038 | array size at least. It's necessary to write '\x00'==0 to get something |
| 3424 | that's true only with -std1. */ | 4039 | that's true only with -std. */ |
| 3425 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 4040 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 3426 | 4041 | ||
| 4042 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | ||
| 4043 | inside strings and character constants. */ | ||
| 4044 | #define FOO(x) 'x' | ||
| 4045 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | ||
| 4046 | |||
| 3427 | int test (int i, double x); | 4047 | int test (int i, double x); |
| 3428 | struct s1 {int (*f) (int a);}; | 4048 | struct s1 {int (*f) (int a);}; |
| 3429 | struct s2 {int (*f) (double a);}; | 4049 | struct s2 {int (*f) (double a);}; |
| @@ -3438,201 +4058,57 @@ return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |||
| 3438 | return 0; | 4058 | return 0; |
| 3439 | } | 4059 | } |
| 3440 | _ACEOF | 4060 | _ACEOF |
| 3441 | # Don't try gcc -ansi; that turns off useful extensions and | 4061 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
| 3442 | # breaks some systems' header files. | 4062 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 3443 | # AIX -qlanglvl=ansi | ||
| 3444 | # Ultrix and OSF/1 -std1 | ||
| 3445 | # HP-UX 10.20 and later -Ae | ||
| 3446 | # HP-UX older versions -Aa -D_HPUX_SOURCE | ||
| 3447 | # SVR4 -Xc -D__EXTENSIONS__ | ||
| 3448 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
| 3449 | do | 4063 | do |
| 3450 | CC="$ac_save_CC $ac_arg" | 4064 | CC="$ac_save_CC $ac_arg" |
| 3451 | rm -f conftest.$ac_objext | 4065 | rm -f conftest.$ac_objext |
| 3452 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4066 | if { (ac_try="$ac_compile" |
| 3453 | (eval $ac_compile) 2>conftest.er1 | 4067 | case "(($ac_try" in |
| 4068 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4069 | *) ac_try_echo=$ac_try;; | ||
| 4070 | esac | ||
| 4071 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 4072 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3454 | ac_status=$? | 4073 | ac_status=$? |
| 3455 | grep -v '^ *+' conftest.er1 >conftest.err | 4074 | grep -v '^ *+' conftest.er1 >conftest.err |
| 3456 | rm -f conftest.er1 | 4075 | rm -f conftest.er1 |
| 3457 | cat conftest.err >&5 | 4076 | cat conftest.err >&5 |
| 3458 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4077 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3459 | (exit $ac_status); } && | 4078 | (exit $ac_status); } && { |
| 3460 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 4079 | test -z "$ac_c_werror_flag" || |
| 3461 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4080 | test ! -s conftest.err |
| 3462 | (eval $ac_try) 2>&5 | 4081 | } && test -s conftest.$ac_objext; then |
| 3463 | ac_status=$? | 4082 | ac_cv_prog_cc_c89=$ac_arg |
| 3464 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3465 | (exit $ac_status); }; } && | ||
| 3466 | { ac_try='test -s conftest.$ac_objext' | ||
| 3467 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3468 | (eval $ac_try) 2>&5 | ||
| 3469 | ac_status=$? | ||
| 3470 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3471 | (exit $ac_status); }; }; then | ||
| 3472 | ac_cv_prog_cc_stdc=$ac_arg | ||
| 3473 | break | ||
| 3474 | else | 4083 | else |
| 3475 | echo "$as_me: failed program was:" >&5 | 4084 | echo "$as_me: failed program was:" >&5 |
| 3476 | sed 's/^/| /' conftest.$ac_ext >&5 | 4085 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 3477 | 4086 | ||
| 4087 | |||
| 3478 | fi | 4088 | fi |
| 3479 | rm -f conftest.err conftest.$ac_objext | 4089 | |
| 4090 | rm -f core conftest.err conftest.$ac_objext | ||
| 4091 | test "x$ac_cv_prog_cc_c89" != "xno" && break | ||
| 3480 | done | 4092 | done |
| 3481 | rm -f conftest.$ac_ext conftest.$ac_objext | 4093 | rm -f conftest.$ac_ext |
| 3482 | CC=$ac_save_CC | 4094 | CC=$ac_save_CC |
| 3483 | 4095 | ||
| 3484 | fi | 4096 | fi |
| 3485 | 4097 | # AC_CACHE_VAL | |
| 3486 | case "x$ac_cv_prog_cc_stdc" in | 4098 | case "x$ac_cv_prog_cc_c89" in |
| 3487 | x|xno) | 4099 | x) |
| 3488 | echo "$as_me:$LINENO: result: none needed" >&5 | 4100 | { echo "$as_me:$LINENO: result: none needed" >&5 |
| 3489 | echo "${ECHO_T}none needed" >&6 ;; | 4101 | echo "${ECHO_T}none needed" >&6; } ;; |
| 4102 | xno) | ||
| 4103 | { echo "$as_me:$LINENO: result: unsupported" >&5 | ||
| 4104 | echo "${ECHO_T}unsupported" >&6; } ;; | ||
| 3490 | *) | 4105 | *) |
| 3491 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 4106 | CC="$CC $ac_cv_prog_cc_c89" |
| 3492 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 4107 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
| 3493 | CC="$CC $ac_cv_prog_cc_stdc" ;; | 4108 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
| 3494 | esac | 4109 | esac |
| 3495 | 4110 | ||
| 3496 | # Some people use a C++ compiler to compile C. Since we use `exit', | ||
| 3497 | # in C++ we need to declare it. In case someone uses the same compiler | ||
| 3498 | # for both compiling C and C++ we need to have the C++ compiler decide | ||
| 3499 | # the declaration of exit, since it's the most demanding environment. | ||
| 3500 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3501 | #ifndef __cplusplus | ||
| 3502 | choke me | ||
| 3503 | #endif | ||
| 3504 | _ACEOF | ||
| 3505 | rm -f conftest.$ac_objext | ||
| 3506 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| 3507 | (eval $ac_compile) 2>conftest.er1 | ||
| 3508 | ac_status=$? | ||
| 3509 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3510 | rm -f conftest.er1 | ||
| 3511 | cat conftest.err >&5 | ||
| 3512 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3513 | (exit $ac_status); } && | ||
| 3514 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 3515 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3516 | (eval $ac_try) 2>&5 | ||
| 3517 | ac_status=$? | ||
| 3518 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3519 | (exit $ac_status); }; } && | ||
| 3520 | { ac_try='test -s conftest.$ac_objext' | ||
| 3521 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3522 | (eval $ac_try) 2>&5 | ||
| 3523 | ac_status=$? | ||
| 3524 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3525 | (exit $ac_status); }; }; then | ||
| 3526 | for ac_declaration in \ | ||
| 3527 | '' \ | ||
| 3528 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ | ||
| 3529 | 'extern "C" void std::exit (int); using std::exit;' \ | ||
| 3530 | 'extern "C" void exit (int) throw ();' \ | ||
| 3531 | 'extern "C" void exit (int);' \ | ||
| 3532 | 'void exit (int);' | ||
| 3533 | do | ||
| 3534 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3535 | /* confdefs.h. */ | ||
| 3536 | _ACEOF | ||
| 3537 | cat confdefs.h >>conftest.$ac_ext | ||
| 3538 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3539 | /* end confdefs.h. */ | ||
| 3540 | $ac_declaration | ||
| 3541 | #include <stdlib.h> | ||
| 3542 | int | ||
| 3543 | main () | ||
| 3544 | { | ||
| 3545 | exit (42); | ||
| 3546 | ; | ||
| 3547 | return 0; | ||
| 3548 | } | ||
| 3549 | _ACEOF | ||
| 3550 | rm -f conftest.$ac_objext | ||
| 3551 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| 3552 | (eval $ac_compile) 2>conftest.er1 | ||
| 3553 | ac_status=$? | ||
| 3554 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3555 | rm -f conftest.er1 | ||
| 3556 | cat conftest.err >&5 | ||
| 3557 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3558 | (exit $ac_status); } && | ||
| 3559 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 3560 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3561 | (eval $ac_try) 2>&5 | ||
| 3562 | ac_status=$? | ||
| 3563 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3564 | (exit $ac_status); }; } && | ||
| 3565 | { ac_try='test -s conftest.$ac_objext' | ||
| 3566 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3567 | (eval $ac_try) 2>&5 | ||
| 3568 | ac_status=$? | ||
| 3569 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3570 | (exit $ac_status); }; }; then | ||
| 3571 | : | ||
| 3572 | else | ||
| 3573 | echo "$as_me: failed program was:" >&5 | ||
| 3574 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3575 | |||
| 3576 | continue | ||
| 3577 | fi | ||
| 3578 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 3579 | cat >conftest.$ac_ext <<_ACEOF | ||
| 3580 | /* confdefs.h. */ | ||
| 3581 | _ACEOF | ||
| 3582 | cat confdefs.h >>conftest.$ac_ext | ||
| 3583 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 3584 | /* end confdefs.h. */ | ||
| 3585 | $ac_declaration | ||
| 3586 | int | ||
| 3587 | main () | ||
| 3588 | { | ||
| 3589 | exit (42); | ||
| 3590 | ; | ||
| 3591 | return 0; | ||
| 3592 | } | ||
| 3593 | _ACEOF | ||
| 3594 | rm -f conftest.$ac_objext | ||
| 3595 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| 3596 | (eval $ac_compile) 2>conftest.er1 | ||
| 3597 | ac_status=$? | ||
| 3598 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 3599 | rm -f conftest.er1 | ||
| 3600 | cat conftest.err >&5 | ||
| 3601 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3602 | (exit $ac_status); } && | ||
| 3603 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 3604 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3605 | (eval $ac_try) 2>&5 | ||
| 3606 | ac_status=$? | ||
| 3607 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3608 | (exit $ac_status); }; } && | ||
| 3609 | { ac_try='test -s conftest.$ac_objext' | ||
| 3610 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3611 | (eval $ac_try) 2>&5 | ||
| 3612 | ac_status=$? | ||
| 3613 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3614 | (exit $ac_status); }; }; then | ||
| 3615 | break | ||
| 3616 | else | ||
| 3617 | echo "$as_me: failed program was:" >&5 | ||
| 3618 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3619 | |||
| 3620 | fi | ||
| 3621 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 3622 | done | ||
| 3623 | rm -f conftest* | ||
| 3624 | if test -n "$ac_declaration"; then | ||
| 3625 | echo '#ifdef __cplusplus' >>confdefs.h | ||
| 3626 | echo $ac_declaration >>confdefs.h | ||
| 3627 | echo '#endif' >>confdefs.h | ||
| 3628 | fi | ||
| 3629 | |||
| 3630 | else | ||
| 3631 | echo "$as_me: failed program was:" >&5 | ||
| 3632 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 3633 | 4111 | ||
| 3634 | fi | ||
| 3635 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 3636 | ac_ext=c | 4112 | ac_ext=c |
| 3637 | ac_cpp='$CPP $CPPFLAGS' | 4113 | ac_cpp='$CPP $CPPFLAGS' |
| 3638 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4114 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| @@ -3678,8 +4154,8 @@ ac_cpp='$CPP $CPPFLAGS' | |||
| 3678 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4154 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3679 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4155 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3680 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4156 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3681 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 4157 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 3682 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 4158 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
| 3683 | # On Suns, sometimes $CPP names a directory. | 4159 | # On Suns, sometimes $CPP names a directory. |
| 3684 | if test -n "$CPP" && test -d "$CPP"; then | 4160 | if test -n "$CPP" && test -d "$CPP"; then |
| 3685 | CPP= | 4161 | CPP= |
| @@ -3713,24 +4189,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 3713 | #endif | 4189 | #endif |
| 3714 | Syntax error | 4190 | Syntax error |
| 3715 | _ACEOF | 4191 | _ACEOF |
| 3716 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 4192 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 3717 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 4193 | case "(($ac_try" in |
| 4194 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4195 | *) ac_try_echo=$ac_try;; | ||
| 4196 | esac | ||
| 4197 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 4198 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 3718 | ac_status=$? | 4199 | ac_status=$? |
| 3719 | grep -v '^ *+' conftest.er1 >conftest.err | 4200 | grep -v '^ *+' conftest.er1 >conftest.err |
| 3720 | rm -f conftest.er1 | 4201 | rm -f conftest.er1 |
| 3721 | cat conftest.err >&5 | 4202 | cat conftest.err >&5 |
| 3722 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4203 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3723 | (exit $ac_status); } >/dev/null; then | 4204 | (exit $ac_status); } >/dev/null && { |
| 3724 | if test -s conftest.err; then | 4205 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 3725 | ac_cpp_err=$ac_c_preproc_warn_flag | 4206 | test ! -s conftest.err |
| 3726 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 4207 | }; then |
| 3727 | else | ||
| 3728 | ac_cpp_err= | ||
| 3729 | fi | ||
| 3730 | else | ||
| 3731 | ac_cpp_err=yes | ||
| 3732 | fi | ||
| 3733 | if test -z "$ac_cpp_err"; then | ||
| 3734 | : | 4208 | : |
| 3735 | else | 4209 | else |
| 3736 | echo "$as_me: failed program was:" >&5 | 4210 | echo "$as_me: failed program was:" >&5 |
| @@ -3739,9 +4213,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 3739 | # Broken: fails on valid input. | 4213 | # Broken: fails on valid input. |
| 3740 | continue | 4214 | continue |
| 3741 | fi | 4215 | fi |
| 4216 | |||
| 3742 | rm -f conftest.err conftest.$ac_ext | 4217 | rm -f conftest.err conftest.$ac_ext |
| 3743 | 4218 | ||
| 3744 | # OK, works on sane cases. Now check whether non-existent headers | 4219 | # OK, works on sane cases. Now check whether nonexistent headers |
| 3745 | # can be detected and how. | 4220 | # can be detected and how. |
| 3746 | cat >conftest.$ac_ext <<_ACEOF | 4221 | cat >conftest.$ac_ext <<_ACEOF |
| 3747 | /* confdefs.h. */ | 4222 | /* confdefs.h. */ |
| @@ -3751,24 +4226,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 3751 | /* end confdefs.h. */ | 4226 | /* end confdefs.h. */ |
| 3752 | #include <ac_nonexistent.h> | 4227 | #include <ac_nonexistent.h> |
| 3753 | _ACEOF | 4228 | _ACEOF |
| 3754 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 4229 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 3755 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 4230 | case "(($ac_try" in |
| 4231 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4232 | *) ac_try_echo=$ac_try;; | ||
| 4233 | esac | ||
| 4234 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 4235 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 3756 | ac_status=$? | 4236 | ac_status=$? |
| 3757 | grep -v '^ *+' conftest.er1 >conftest.err | 4237 | grep -v '^ *+' conftest.er1 >conftest.err |
| 3758 | rm -f conftest.er1 | 4238 | rm -f conftest.er1 |
| 3759 | cat conftest.err >&5 | 4239 | cat conftest.err >&5 |
| 3760 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4240 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3761 | (exit $ac_status); } >/dev/null; then | 4241 | (exit $ac_status); } >/dev/null && { |
| 3762 | if test -s conftest.err; then | 4242 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 3763 | ac_cpp_err=$ac_c_preproc_warn_flag | 4243 | test ! -s conftest.err |
| 3764 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 4244 | }; then |
| 3765 | else | ||
| 3766 | ac_cpp_err= | ||
| 3767 | fi | ||
| 3768 | else | ||
| 3769 | ac_cpp_err=yes | ||
| 3770 | fi | ||
| 3771 | if test -z "$ac_cpp_err"; then | ||
| 3772 | # Broken: success on invalid input. | 4245 | # Broken: success on invalid input. |
| 3773 | continue | 4246 | continue |
| 3774 | else | 4247 | else |
| @@ -3779,6 +4252,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 3779 | ac_preproc_ok=: | 4252 | ac_preproc_ok=: |
| 3780 | break | 4253 | break |
| 3781 | fi | 4254 | fi |
| 4255 | |||
| 3782 | rm -f conftest.err conftest.$ac_ext | 4256 | rm -f conftest.err conftest.$ac_ext |
| 3783 | 4257 | ||
| 3784 | done | 4258 | done |
| @@ -3796,8 +4270,8 @@ fi | |||
| 3796 | else | 4270 | else |
| 3797 | ac_cv_prog_CPP=$CPP | 4271 | ac_cv_prog_CPP=$CPP |
| 3798 | fi | 4272 | fi |
| 3799 | echo "$as_me:$LINENO: result: $CPP" >&5 | 4273 | { echo "$as_me:$LINENO: result: $CPP" >&5 |
| 3800 | echo "${ECHO_T}$CPP" >&6 | 4274 | echo "${ECHO_T}$CPP" >&6; } |
| 3801 | ac_preproc_ok=false | 4275 | ac_preproc_ok=false |
| 3802 | for ac_c_preproc_warn_flag in '' yes | 4276 | for ac_c_preproc_warn_flag in '' yes |
| 3803 | do | 4277 | do |
| @@ -3820,24 +4294,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 3820 | #endif | 4294 | #endif |
| 3821 | Syntax error | 4295 | Syntax error |
| 3822 | _ACEOF | 4296 | _ACEOF |
| 3823 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 4297 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 3824 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 4298 | case "(($ac_try" in |
| 4299 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4300 | *) ac_try_echo=$ac_try;; | ||
| 4301 | esac | ||
| 4302 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 4303 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 3825 | ac_status=$? | 4304 | ac_status=$? |
| 3826 | grep -v '^ *+' conftest.er1 >conftest.err | 4305 | grep -v '^ *+' conftest.er1 >conftest.err |
| 3827 | rm -f conftest.er1 | 4306 | rm -f conftest.er1 |
| 3828 | cat conftest.err >&5 | 4307 | cat conftest.err >&5 |
| 3829 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4308 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3830 | (exit $ac_status); } >/dev/null; then | 4309 | (exit $ac_status); } >/dev/null && { |
| 3831 | if test -s conftest.err; then | 4310 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 3832 | ac_cpp_err=$ac_c_preproc_warn_flag | 4311 | test ! -s conftest.err |
| 3833 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 4312 | }; then |
| 3834 | else | ||
| 3835 | ac_cpp_err= | ||
| 3836 | fi | ||
| 3837 | else | ||
| 3838 | ac_cpp_err=yes | ||
| 3839 | fi | ||
| 3840 | if test -z "$ac_cpp_err"; then | ||
| 3841 | : | 4313 | : |
| 3842 | else | 4314 | else |
| 3843 | echo "$as_me: failed program was:" >&5 | 4315 | echo "$as_me: failed program was:" >&5 |
| @@ -3846,9 +4318,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 3846 | # Broken: fails on valid input. | 4318 | # Broken: fails on valid input. |
| 3847 | continue | 4319 | continue |
| 3848 | fi | 4320 | fi |
| 4321 | |||
| 3849 | rm -f conftest.err conftest.$ac_ext | 4322 | rm -f conftest.err conftest.$ac_ext |
| 3850 | 4323 | ||
| 3851 | # OK, works on sane cases. Now check whether non-existent headers | 4324 | # OK, works on sane cases. Now check whether nonexistent headers |
| 3852 | # can be detected and how. | 4325 | # can be detected and how. |
| 3853 | cat >conftest.$ac_ext <<_ACEOF | 4326 | cat >conftest.$ac_ext <<_ACEOF |
| 3854 | /* confdefs.h. */ | 4327 | /* confdefs.h. */ |
| @@ -3858,24 +4331,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 3858 | /* end confdefs.h. */ | 4331 | /* end confdefs.h. */ |
| 3859 | #include <ac_nonexistent.h> | 4332 | #include <ac_nonexistent.h> |
| 3860 | _ACEOF | 4333 | _ACEOF |
| 3861 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 4334 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 3862 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 4335 | case "(($ac_try" in |
| 4336 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4337 | *) ac_try_echo=$ac_try;; | ||
| 4338 | esac | ||
| 4339 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 4340 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 3863 | ac_status=$? | 4341 | ac_status=$? |
| 3864 | grep -v '^ *+' conftest.er1 >conftest.err | 4342 | grep -v '^ *+' conftest.er1 >conftest.err |
| 3865 | rm -f conftest.er1 | 4343 | rm -f conftest.er1 |
| 3866 | cat conftest.err >&5 | 4344 | cat conftest.err >&5 |
| 3867 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4345 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3868 | (exit $ac_status); } >/dev/null; then | 4346 | (exit $ac_status); } >/dev/null && { |
| 3869 | if test -s conftest.err; then | 4347 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 3870 | ac_cpp_err=$ac_c_preproc_warn_flag | 4348 | test ! -s conftest.err |
| 3871 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 4349 | }; then |
| 3872 | else | ||
| 3873 | ac_cpp_err= | ||
| 3874 | fi | ||
| 3875 | else | ||
| 3876 | ac_cpp_err=yes | ||
| 3877 | fi | ||
| 3878 | if test -z "$ac_cpp_err"; then | ||
| 3879 | # Broken: success on invalid input. | 4350 | # Broken: success on invalid input. |
| 3880 | continue | 4351 | continue |
| 3881 | else | 4352 | else |
| @@ -3886,6 +4357,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 3886 | ac_preproc_ok=: | 4357 | ac_preproc_ok=: |
| 3887 | break | 4358 | break |
| 3888 | fi | 4359 | fi |
| 4360 | |||
| 3889 | rm -f conftest.err conftest.$ac_ext | 4361 | rm -f conftest.err conftest.$ac_ext |
| 3890 | 4362 | ||
| 3891 | done | 4363 | done |
| @@ -3908,24 +4380,171 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ | |||
| 3908 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4380 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 3909 | 4381 | ||
| 3910 | 4382 | ||
| 3911 | echo "$as_me:$LINENO: checking for egrep" >&5 | 4383 | { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
| 3912 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | 4384 | echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
| 3913 | if test "${ac_cv_prog_egrep+set}" = set; then | 4385 | if test "${ac_cv_path_GREP+set}" = set; then |
| 3914 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4386 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3915 | else | 4387 | else |
| 3916 | if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | 4388 | # Extract the first word of "grep ggrep" to use in msg output |
| 3917 | then ac_cv_prog_egrep='grep -E' | 4389 | if test -z "$GREP"; then |
| 3918 | else ac_cv_prog_egrep='egrep' | 4390 | set dummy grep ggrep; ac_prog_name=$2 |
| 4391 | if test "${ac_cv_path_GREP+set}" = set; then | ||
| 4392 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 4393 | else | ||
| 4394 | ac_path_GREP_found=false | ||
| 4395 | # Loop through the user's path and test for each of PROGNAME-LIST | ||
| 4396 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 4397 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
| 4398 | do | ||
| 4399 | IFS=$as_save_IFS | ||
| 4400 | test -z "$as_dir" && as_dir=. | ||
| 4401 | for ac_prog in grep ggrep; do | ||
| 4402 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 4403 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | ||
| 4404 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | ||
| 4405 | # Check for GNU ac_path_GREP and select it if it is found. | ||
| 4406 | # Check for GNU $ac_path_GREP | ||
| 4407 | case `"$ac_path_GREP" --version 2>&1` in | ||
| 4408 | *GNU*) | ||
| 4409 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | ||
| 4410 | *) | ||
| 4411 | ac_count=0 | ||
| 4412 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | ||
| 4413 | while : | ||
| 4414 | do | ||
| 4415 | cat "conftest.in" "conftest.in" >"conftest.tmp" | ||
| 4416 | mv "conftest.tmp" "conftest.in" | ||
| 4417 | cp "conftest.in" "conftest.nl" | ||
| 4418 | echo 'GREP' >> "conftest.nl" | ||
| 4419 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | ||
| 4420 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | ||
| 4421 | ac_count=`expr $ac_count + 1` | ||
| 4422 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | ||
| 4423 | # Best one so far, save it but keep looking for a better one | ||
| 4424 | ac_cv_path_GREP="$ac_path_GREP" | ||
| 4425 | ac_path_GREP_max=$ac_count | ||
| 3919 | fi | 4426 | fi |
| 4427 | # 10*(2^10) chars as input seems more than enough | ||
| 4428 | test $ac_count -gt 10 && break | ||
| 4429 | done | ||
| 4430 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | ||
| 4431 | esac | ||
| 4432 | |||
| 4433 | |||
| 4434 | $ac_path_GREP_found && break 3 | ||
| 4435 | done | ||
| 4436 | done | ||
| 4437 | |||
| 4438 | done | ||
| 4439 | IFS=$as_save_IFS | ||
| 4440 | |||
| 4441 | |||
| 4442 | fi | ||
| 4443 | |||
| 4444 | GREP="$ac_cv_path_GREP" | ||
| 4445 | if test -z "$GREP"; then | ||
| 4446 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | ||
| 4447 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
| 4448 | { (exit 1); exit 1; }; } | ||
| 4449 | fi | ||
| 4450 | |||
| 4451 | else | ||
| 4452 | ac_cv_path_GREP=$GREP | ||
| 3920 | fi | 4453 | fi |
| 3921 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | ||
| 3922 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | ||
| 3923 | EGREP=$ac_cv_prog_egrep | ||
| 3924 | 4454 | ||
| 3925 | 4455 | ||
| 4456 | fi | ||
| 4457 | { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 | ||
| 4458 | echo "${ECHO_T}$ac_cv_path_GREP" >&6; } | ||
| 4459 | GREP="$ac_cv_path_GREP" | ||
| 3926 | 4460 | ||
| 3927 | echo "$as_me:$LINENO: checking for AIX" >&5 | 4461 | |
| 3928 | echo $ECHO_N "checking for AIX... $ECHO_C" >&6 | 4462 | { echo "$as_me:$LINENO: checking for egrep" >&5 |
| 4463 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } | ||
| 4464 | if test "${ac_cv_path_EGREP+set}" = set; then | ||
| 4465 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 4466 | else | ||
| 4467 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | ||
| 4468 | then ac_cv_path_EGREP="$GREP -E" | ||
| 4469 | else | ||
| 4470 | # Extract the first word of "egrep" to use in msg output | ||
| 4471 | if test -z "$EGREP"; then | ||
| 4472 | set dummy egrep; ac_prog_name=$2 | ||
| 4473 | if test "${ac_cv_path_EGREP+set}" = set; then | ||
| 4474 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 4475 | else | ||
| 4476 | ac_path_EGREP_found=false | ||
| 4477 | # Loop through the user's path and test for each of PROGNAME-LIST | ||
| 4478 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 4479 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | ||
| 4480 | do | ||
| 4481 | IFS=$as_save_IFS | ||
| 4482 | test -z "$as_dir" && as_dir=. | ||
| 4483 | for ac_prog in egrep; do | ||
| 4484 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
| 4485 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | ||
| 4486 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | ||
| 4487 | # Check for GNU ac_path_EGREP and select it if it is found. | ||
| 4488 | # Check for GNU $ac_path_EGREP | ||
| 4489 | case `"$ac_path_EGREP" --version 2>&1` in | ||
| 4490 | *GNU*) | ||
| 4491 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | ||
| 4492 | *) | ||
| 4493 | ac_count=0 | ||
| 4494 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | ||
| 4495 | while : | ||
| 4496 | do | ||
| 4497 | cat "conftest.in" "conftest.in" >"conftest.tmp" | ||
| 4498 | mv "conftest.tmp" "conftest.in" | ||
| 4499 | cp "conftest.in" "conftest.nl" | ||
| 4500 | echo 'EGREP' >> "conftest.nl" | ||
| 4501 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | ||
| 4502 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | ||
| 4503 | ac_count=`expr $ac_count + 1` | ||
| 4504 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | ||
| 4505 | # Best one so far, save it but keep looking for a better one | ||
| 4506 | ac_cv_path_EGREP="$ac_path_EGREP" | ||
| 4507 | ac_path_EGREP_max=$ac_count | ||
| 4508 | fi | ||
| 4509 | # 10*(2^10) chars as input seems more than enough | ||
| 4510 | test $ac_count -gt 10 && break | ||
| 4511 | done | ||
| 4512 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | ||
| 4513 | esac | ||
| 4514 | |||
| 4515 | |||
| 4516 | $ac_path_EGREP_found && break 3 | ||
| 4517 | done | ||
| 4518 | done | ||
| 4519 | |||
| 4520 | done | ||
| 4521 | IFS=$as_save_IFS | ||
| 4522 | |||
| 4523 | |||
| 4524 | fi | ||
| 4525 | |||
| 4526 | EGREP="$ac_cv_path_EGREP" | ||
| 4527 | if test -z "$EGREP"; then | ||
| 4528 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | ||
| 4529 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
| 4530 | { (exit 1); exit 1; }; } | ||
| 4531 | fi | ||
| 4532 | |||
| 4533 | else | ||
| 4534 | ac_cv_path_EGREP=$EGREP | ||
| 4535 | fi | ||
| 4536 | |||
| 4537 | |||
| 4538 | fi | ||
| 4539 | fi | ||
| 4540 | { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | ||
| 4541 | echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } | ||
| 4542 | EGREP="$ac_cv_path_EGREP" | ||
| 4543 | |||
| 4544 | |||
| 4545 | |||
| 4546 | { echo "$as_me:$LINENO: checking for AIX" >&5 | ||
| 4547 | echo $ECHO_N "checking for AIX... $ECHO_C" >&6; } | ||
| 3929 | cat >conftest.$ac_ext <<_ACEOF | 4548 | cat >conftest.$ac_ext <<_ACEOF |
| 3930 | /* confdefs.h. */ | 4549 | /* confdefs.h. */ |
| 3931 | _ACEOF | 4550 | _ACEOF |
| @@ -3939,15 +4558,15 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 3939 | _ACEOF | 4558 | _ACEOF |
| 3940 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4559 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3941 | $EGREP "yes" >/dev/null 2>&1; then | 4560 | $EGREP "yes" >/dev/null 2>&1; then |
| 3942 | echo "$as_me:$LINENO: result: yes" >&5 | 4561 | { echo "$as_me:$LINENO: result: yes" >&5 |
| 3943 | echo "${ECHO_T}yes" >&6 | 4562 | echo "${ECHO_T}yes" >&6; } |
| 3944 | cat >>confdefs.h <<\_ACEOF | 4563 | cat >>confdefs.h <<\_ACEOF |
| 3945 | #define _ALL_SOURCE 1 | 4564 | #define _ALL_SOURCE 1 |
| 3946 | _ACEOF | 4565 | _ACEOF |
| 3947 | 4566 | ||
| 3948 | else | 4567 | else |
| 3949 | echo "$as_me:$LINENO: result: no" >&5 | 4568 | { echo "$as_me:$LINENO: result: no" >&5 |
| 3950 | echo "${ECHO_T}no" >&6 | 4569 | echo "${ECHO_T}no" >&6; } |
| 3951 | fi | 4570 | fi |
| 3952 | rm -f conftest* | 4571 | rm -f conftest* |
| 3953 | 4572 | ||
| @@ -3960,8 +4579,8 @@ _ACEOF | |||
| 3960 | 4579 | ||
| 3961 | 4580 | ||
| 3962 | ### Use -Wno-pointer-sign if the compiler supports it | 4581 | ### Use -Wno-pointer-sign if the compiler supports it |
| 3963 | echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5 | 4582 | { echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5 |
| 3964 | echo $ECHO_N "checking whether gcc understands -Wno-pointer-sign... $ECHO_C" >&6 | 4583 | echo $ECHO_N "checking whether gcc understands -Wno-pointer-sign... $ECHO_C" >&6; } |
| 3965 | SAVE_CFLAGS="$CFLAGS" | 4584 | SAVE_CFLAGS="$CFLAGS" |
| 3966 | CFLAGS="$CFLAGS -Wno-pointer-sign" | 4585 | CFLAGS="$CFLAGS -Wno-pointer-sign" |
| 3967 | cat >conftest.$ac_ext <<_ACEOF | 4586 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -3980,54 +4599,51 @@ main () | |||
| 3980 | } | 4599 | } |
| 3981 | _ACEOF | 4600 | _ACEOF |
| 3982 | rm -f conftest.$ac_objext | 4601 | rm -f conftest.$ac_objext |
| 3983 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4602 | if { (ac_try="$ac_compile" |
| 3984 | (eval $ac_compile) 2>conftest.er1 | 4603 | case "(($ac_try" in |
| 4604 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4605 | *) ac_try_echo=$ac_try;; | ||
| 4606 | esac | ||
| 4607 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 4608 | (eval "$ac_compile") 2>conftest.er1 | ||
| 3985 | ac_status=$? | 4609 | ac_status=$? |
| 3986 | grep -v '^ *+' conftest.er1 >conftest.err | 4610 | grep -v '^ *+' conftest.er1 >conftest.err |
| 3987 | rm -f conftest.er1 | 4611 | rm -f conftest.er1 |
| 3988 | cat conftest.err >&5 | 4612 | cat conftest.err >&5 |
| 3989 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4613 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3990 | (exit $ac_status); } && | 4614 | (exit $ac_status); } && { |
| 3991 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 4615 | test -z "$ac_c_werror_flag" || |
| 3992 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4616 | test ! -s conftest.err |
| 3993 | (eval $ac_try) 2>&5 | 4617 | } && test -s conftest.$ac_objext; then |
| 3994 | ac_status=$? | ||
| 3995 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 3996 | (exit $ac_status); }; } && | ||
| 3997 | { ac_try='test -s conftest.$ac_objext' | ||
| 3998 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 3999 | (eval $ac_try) 2>&5 | ||
| 4000 | ac_status=$? | ||
| 4001 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4002 | (exit $ac_status); }; }; then | ||
| 4003 | has_option=yes | 4618 | has_option=yes |
| 4004 | else | 4619 | else |
| 4005 | echo "$as_me: failed program was:" >&5 | 4620 | echo "$as_me: failed program was:" >&5 |
| 4006 | sed 's/^/| /' conftest.$ac_ext >&5 | 4621 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 4007 | 4622 | ||
| 4008 | has_option=no | 4623 | has_option=no |
| 4009 | fi | 4624 | fi |
| 4010 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 4625 | |
| 4626 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 4011 | if test $has_option = yes; then | 4627 | if test $has_option = yes; then |
| 4012 | C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" | 4628 | C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" |
| 4013 | fi | 4629 | fi |
| 4014 | echo "$as_me:$LINENO: result: $has_option" >&5 | 4630 | { echo "$as_me:$LINENO: result: $has_option" >&5 |
| 4015 | echo "${ECHO_T}$has_option" >&6 | 4631 | echo "${ECHO_T}$has_option" >&6; } |
| 4016 | CFLAGS="$SAVE_CFLAGS" | 4632 | CFLAGS="$SAVE_CFLAGS" |
| 4017 | unset has_option | 4633 | unset has_option |
| 4018 | unset SAVE_CFLAGS | 4634 | unset SAVE_CFLAGS |
| 4019 | 4635 | ||
| 4020 | #### Some other nice autoconf tests. | 4636 | #### Some other nice autoconf tests. |
| 4021 | 4637 | ||
| 4022 | echo "$as_me:$LINENO: checking whether ln -s works" >&5 | 4638 | { echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
| 4023 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | 4639 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } |
| 4024 | LN_S=$as_ln_s | 4640 | LN_S=$as_ln_s |
| 4025 | if test "$LN_S" = "ln -s"; then | 4641 | if test "$LN_S" = "ln -s"; then |
| 4026 | echo "$as_me:$LINENO: result: yes" >&5 | 4642 | { echo "$as_me:$LINENO: result: yes" >&5 |
| 4027 | echo "${ECHO_T}yes" >&6 | 4643 | echo "${ECHO_T}yes" >&6; } |
| 4028 | else | 4644 | else |
| 4029 | echo "$as_me:$LINENO: result: no, using $LN_S" >&5 | 4645 | { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
| 4030 | echo "${ECHO_T}no, using $LN_S" >&6 | 4646 | echo "${ECHO_T}no, using $LN_S" >&6; } |
| 4031 | fi | 4647 | fi |
| 4032 | 4648 | ||
| 4033 | ac_ext=c | 4649 | ac_ext=c |
| @@ -4035,8 +4651,8 @@ ac_cpp='$CPP $CPPFLAGS' | |||
| 4035 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4651 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 4036 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4652 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4037 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4653 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4038 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 4654 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| 4039 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 4655 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
| 4040 | # On Suns, sometimes $CPP names a directory. | 4656 | # On Suns, sometimes $CPP names a directory. |
| 4041 | if test -n "$CPP" && test -d "$CPP"; then | 4657 | if test -n "$CPP" && test -d "$CPP"; then |
| 4042 | CPP= | 4658 | CPP= |
| @@ -4070,24 +4686,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 4070 | #endif | 4686 | #endif |
| 4071 | Syntax error | 4687 | Syntax error |
| 4072 | _ACEOF | 4688 | _ACEOF |
| 4073 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 4689 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4074 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 4690 | case "(($ac_try" in |
| 4691 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4692 | *) ac_try_echo=$ac_try;; | ||
| 4693 | esac | ||
| 4694 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 4695 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4075 | ac_status=$? | 4696 | ac_status=$? |
| 4076 | grep -v '^ *+' conftest.er1 >conftest.err | 4697 | grep -v '^ *+' conftest.er1 >conftest.err |
| 4077 | rm -f conftest.er1 | 4698 | rm -f conftest.er1 |
| 4078 | cat conftest.err >&5 | 4699 | cat conftest.err >&5 |
| 4079 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4700 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4080 | (exit $ac_status); } >/dev/null; then | 4701 | (exit $ac_status); } >/dev/null && { |
| 4081 | if test -s conftest.err; then | 4702 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 4082 | ac_cpp_err=$ac_c_preproc_warn_flag | 4703 | test ! -s conftest.err |
| 4083 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 4704 | }; then |
| 4084 | else | ||
| 4085 | ac_cpp_err= | ||
| 4086 | fi | ||
| 4087 | else | ||
| 4088 | ac_cpp_err=yes | ||
| 4089 | fi | ||
| 4090 | if test -z "$ac_cpp_err"; then | ||
| 4091 | : | 4705 | : |
| 4092 | else | 4706 | else |
| 4093 | echo "$as_me: failed program was:" >&5 | 4707 | echo "$as_me: failed program was:" >&5 |
| @@ -4096,9 +4710,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 4096 | # Broken: fails on valid input. | 4710 | # Broken: fails on valid input. |
| 4097 | continue | 4711 | continue |
| 4098 | fi | 4712 | fi |
| 4713 | |||
| 4099 | rm -f conftest.err conftest.$ac_ext | 4714 | rm -f conftest.err conftest.$ac_ext |
| 4100 | 4715 | ||
| 4101 | # OK, works on sane cases. Now check whether non-existent headers | 4716 | # OK, works on sane cases. Now check whether nonexistent headers |
| 4102 | # can be detected and how. | 4717 | # can be detected and how. |
| 4103 | cat >conftest.$ac_ext <<_ACEOF | 4718 | cat >conftest.$ac_ext <<_ACEOF |
| 4104 | /* confdefs.h. */ | 4719 | /* confdefs.h. */ |
| @@ -4108,24 +4723,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 4108 | /* end confdefs.h. */ | 4723 | /* end confdefs.h. */ |
| 4109 | #include <ac_nonexistent.h> | 4724 | #include <ac_nonexistent.h> |
| 4110 | _ACEOF | 4725 | _ACEOF |
| 4111 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 4726 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4112 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 4727 | case "(($ac_try" in |
| 4728 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4729 | *) ac_try_echo=$ac_try;; | ||
| 4730 | esac | ||
| 4731 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 4732 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4113 | ac_status=$? | 4733 | ac_status=$? |
| 4114 | grep -v '^ *+' conftest.er1 >conftest.err | 4734 | grep -v '^ *+' conftest.er1 >conftest.err |
| 4115 | rm -f conftest.er1 | 4735 | rm -f conftest.er1 |
| 4116 | cat conftest.err >&5 | 4736 | cat conftest.err >&5 |
| 4117 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4737 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4118 | (exit $ac_status); } >/dev/null; then | 4738 | (exit $ac_status); } >/dev/null && { |
| 4119 | if test -s conftest.err; then | 4739 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 4120 | ac_cpp_err=$ac_c_preproc_warn_flag | 4740 | test ! -s conftest.err |
| 4121 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 4741 | }; then |
| 4122 | else | ||
| 4123 | ac_cpp_err= | ||
| 4124 | fi | ||
| 4125 | else | ||
| 4126 | ac_cpp_err=yes | ||
| 4127 | fi | ||
| 4128 | if test -z "$ac_cpp_err"; then | ||
| 4129 | # Broken: success on invalid input. | 4742 | # Broken: success on invalid input. |
| 4130 | continue | 4743 | continue |
| 4131 | else | 4744 | else |
| @@ -4136,6 +4749,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 4136 | ac_preproc_ok=: | 4749 | ac_preproc_ok=: |
| 4137 | break | 4750 | break |
| 4138 | fi | 4751 | fi |
| 4752 | |||
| 4139 | rm -f conftest.err conftest.$ac_ext | 4753 | rm -f conftest.err conftest.$ac_ext |
| 4140 | 4754 | ||
| 4141 | done | 4755 | done |
| @@ -4153,8 +4767,8 @@ fi | |||
| 4153 | else | 4767 | else |
| 4154 | ac_cv_prog_CPP=$CPP | 4768 | ac_cv_prog_CPP=$CPP |
| 4155 | fi | 4769 | fi |
| 4156 | echo "$as_me:$LINENO: result: $CPP" >&5 | 4770 | { echo "$as_me:$LINENO: result: $CPP" >&5 |
| 4157 | echo "${ECHO_T}$CPP" >&6 | 4771 | echo "${ECHO_T}$CPP" >&6; } |
| 4158 | ac_preproc_ok=false | 4772 | ac_preproc_ok=false |
| 4159 | for ac_c_preproc_warn_flag in '' yes | 4773 | for ac_c_preproc_warn_flag in '' yes |
| 4160 | do | 4774 | do |
| @@ -4177,24 +4791,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 4177 | #endif | 4791 | #endif |
| 4178 | Syntax error | 4792 | Syntax error |
| 4179 | _ACEOF | 4793 | _ACEOF |
| 4180 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 4794 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4181 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 4795 | case "(($ac_try" in |
| 4796 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4797 | *) ac_try_echo=$ac_try;; | ||
| 4798 | esac | ||
| 4799 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 4800 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4182 | ac_status=$? | 4801 | ac_status=$? |
| 4183 | grep -v '^ *+' conftest.er1 >conftest.err | 4802 | grep -v '^ *+' conftest.er1 >conftest.err |
| 4184 | rm -f conftest.er1 | 4803 | rm -f conftest.er1 |
| 4185 | cat conftest.err >&5 | 4804 | cat conftest.err >&5 |
| 4186 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4805 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4187 | (exit $ac_status); } >/dev/null; then | 4806 | (exit $ac_status); } >/dev/null && { |
| 4188 | if test -s conftest.err; then | 4807 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 4189 | ac_cpp_err=$ac_c_preproc_warn_flag | 4808 | test ! -s conftest.err |
| 4190 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 4809 | }; then |
| 4191 | else | ||
| 4192 | ac_cpp_err= | ||
| 4193 | fi | ||
| 4194 | else | ||
| 4195 | ac_cpp_err=yes | ||
| 4196 | fi | ||
| 4197 | if test -z "$ac_cpp_err"; then | ||
| 4198 | : | 4810 | : |
| 4199 | else | 4811 | else |
| 4200 | echo "$as_me: failed program was:" >&5 | 4812 | echo "$as_me: failed program was:" >&5 |
| @@ -4203,9 +4815,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 4203 | # Broken: fails on valid input. | 4815 | # Broken: fails on valid input. |
| 4204 | continue | 4816 | continue |
| 4205 | fi | 4817 | fi |
| 4818 | |||
| 4206 | rm -f conftest.err conftest.$ac_ext | 4819 | rm -f conftest.err conftest.$ac_ext |
| 4207 | 4820 | ||
| 4208 | # OK, works on sane cases. Now check whether non-existent headers | 4821 | # OK, works on sane cases. Now check whether nonexistent headers |
| 4209 | # can be detected and how. | 4822 | # can be detected and how. |
| 4210 | cat >conftest.$ac_ext <<_ACEOF | 4823 | cat >conftest.$ac_ext <<_ACEOF |
| 4211 | /* confdefs.h. */ | 4824 | /* confdefs.h. */ |
| @@ -4215,24 +4828,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 4215 | /* end confdefs.h. */ | 4828 | /* end confdefs.h. */ |
| 4216 | #include <ac_nonexistent.h> | 4829 | #include <ac_nonexistent.h> |
| 4217 | _ACEOF | 4830 | _ACEOF |
| 4218 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 4831 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 4219 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 4832 | case "(($ac_try" in |
| 4833 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 4834 | *) ac_try_echo=$ac_try;; | ||
| 4835 | esac | ||
| 4836 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 4837 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 4220 | ac_status=$? | 4838 | ac_status=$? |
| 4221 | grep -v '^ *+' conftest.er1 >conftest.err | 4839 | grep -v '^ *+' conftest.er1 >conftest.err |
| 4222 | rm -f conftest.er1 | 4840 | rm -f conftest.er1 |
| 4223 | cat conftest.err >&5 | 4841 | cat conftest.err >&5 |
| 4224 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4842 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4225 | (exit $ac_status); } >/dev/null; then | 4843 | (exit $ac_status); } >/dev/null && { |
| 4226 | if test -s conftest.err; then | 4844 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 4227 | ac_cpp_err=$ac_c_preproc_warn_flag | 4845 | test ! -s conftest.err |
| 4228 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 4846 | }; then |
| 4229 | else | ||
| 4230 | ac_cpp_err= | ||
| 4231 | fi | ||
| 4232 | else | ||
| 4233 | ac_cpp_err=yes | ||
| 4234 | fi | ||
| 4235 | if test -z "$ac_cpp_err"; then | ||
| 4236 | # Broken: success on invalid input. | 4847 | # Broken: success on invalid input. |
| 4237 | continue | 4848 | continue |
| 4238 | else | 4849 | else |
| @@ -4243,6 +4854,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 4243 | ac_preproc_ok=: | 4854 | ac_preproc_ok=: |
| 4244 | break | 4855 | break |
| 4245 | fi | 4856 | fi |
| 4857 | |||
| 4246 | rm -f conftest.err conftest.$ac_ext | 4858 | rm -f conftest.err conftest.$ac_ext |
| 4247 | 4859 | ||
| 4248 | done | 4860 | done |
| @@ -4277,8 +4889,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
| 4277 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 4889 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 4278 | # OS/2's system install, which has a completely different semantic | 4890 | # OS/2's system install, which has a completely different semantic |
| 4279 | # ./install, which can be erroneously created by make from ./install.sh. | 4891 | # ./install, which can be erroneously created by make from ./install.sh. |
| 4280 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 4892 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
| 4281 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 4893 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
| 4282 | if test -z "$INSTALL"; then | 4894 | if test -z "$INSTALL"; then |
| 4283 | if test "${ac_cv_path_install+set}" = set; then | 4895 | if test "${ac_cv_path_install+set}" = set; then |
| 4284 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4896 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| @@ -4300,7 +4912,7 @@ case $as_dir/ in | |||
| 4300 | # by default. | 4912 | # by default. |
| 4301 | for ac_prog in ginstall scoinst install; do | 4913 | for ac_prog in ginstall scoinst install; do |
| 4302 | for ac_exec_ext in '' $ac_executable_extensions; do | 4914 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4303 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 4915 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
| 4304 | if test $ac_prog = install && | 4916 | if test $ac_prog = install && |
| 4305 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 4917 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 4306 | # AIX install. It has an incompatible calling convention. | 4918 | # AIX install. It has an incompatible calling convention. |
| @@ -4319,21 +4931,22 @@ case $as_dir/ in | |||
| 4319 | ;; | 4931 | ;; |
| 4320 | esac | 4932 | esac |
| 4321 | done | 4933 | done |
| 4934 | IFS=$as_save_IFS | ||
| 4322 | 4935 | ||
| 4323 | 4936 | ||
| 4324 | fi | 4937 | fi |
| 4325 | if test "${ac_cv_path_install+set}" = set; then | 4938 | if test "${ac_cv_path_install+set}" = set; then |
| 4326 | INSTALL=$ac_cv_path_install | 4939 | INSTALL=$ac_cv_path_install |
| 4327 | else | 4940 | else |
| 4328 | # As a last resort, use the slow shell script. We don't cache a | 4941 | # As a last resort, use the slow shell script. Don't cache a |
| 4329 | # path for INSTALL within a source directory, because that will | 4942 | # value for INSTALL within a source directory, because that will |
| 4330 | # break other packages using the cache if that directory is | 4943 | # break other packages using the cache if that directory is |
| 4331 | # removed, or if the path is relative. | 4944 | # removed, or if the value is a relative name. |
| 4332 | INSTALL=$ac_install_sh | 4945 | INSTALL=$ac_install_sh |
| 4333 | fi | 4946 | fi |
| 4334 | fi | 4947 | fi |
| 4335 | echo "$as_me:$LINENO: result: $INSTALL" >&5 | 4948 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
| 4336 | echo "${ECHO_T}$INSTALL" >&6 | 4949 | echo "${ECHO_T}$INSTALL" >&6; } |
| 4337 | 4950 | ||
| 4338 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 4951 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 4339 | # It thinks the first close brace ends the variable substitution. | 4952 | # It thinks the first close brace ends the variable substitution. |
| @@ -4347,8 +4960,8 @@ if test "x$RANLIB" = x; then | |||
| 4347 | if test -n "$ac_tool_prefix"; then | 4960 | if test -n "$ac_tool_prefix"; then |
| 4348 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 4961 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
| 4349 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 4962 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| 4350 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4963 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 4351 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 4964 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 4352 | if test "${ac_cv_prog_RANLIB+set}" = set; then | 4965 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
| 4353 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4966 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4354 | else | 4967 | else |
| @@ -4361,32 +4974,34 @@ do | |||
| 4361 | IFS=$as_save_IFS | 4974 | IFS=$as_save_IFS |
| 4362 | test -z "$as_dir" && as_dir=. | 4975 | test -z "$as_dir" && as_dir=. |
| 4363 | for ac_exec_ext in '' $ac_executable_extensions; do | 4976 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4364 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4977 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4365 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 4978 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| 4366 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4979 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4367 | break 2 | 4980 | break 2 |
| 4368 | fi | 4981 | fi |
| 4369 | done | 4982 | done |
| 4370 | done | 4983 | done |
| 4984 | IFS=$as_save_IFS | ||
| 4371 | 4985 | ||
| 4372 | fi | 4986 | fi |
| 4373 | fi | 4987 | fi |
| 4374 | RANLIB=$ac_cv_prog_RANLIB | 4988 | RANLIB=$ac_cv_prog_RANLIB |
| 4375 | if test -n "$RANLIB"; then | 4989 | if test -n "$RANLIB"; then |
| 4376 | echo "$as_me:$LINENO: result: $RANLIB" >&5 | 4990 | { echo "$as_me:$LINENO: result: $RANLIB" >&5 |
| 4377 | echo "${ECHO_T}$RANLIB" >&6 | 4991 | echo "${ECHO_T}$RANLIB" >&6; } |
| 4378 | else | 4992 | else |
| 4379 | echo "$as_me:$LINENO: result: no" >&5 | 4993 | { echo "$as_me:$LINENO: result: no" >&5 |
| 4380 | echo "${ECHO_T}no" >&6 | 4994 | echo "${ECHO_T}no" >&6; } |
| 4381 | fi | 4995 | fi |
| 4382 | 4996 | ||
| 4997 | |||
| 4383 | fi | 4998 | fi |
| 4384 | if test -z "$ac_cv_prog_RANLIB"; then | 4999 | if test -z "$ac_cv_prog_RANLIB"; then |
| 4385 | ac_ct_RANLIB=$RANLIB | 5000 | ac_ct_RANLIB=$RANLIB |
| 4386 | # Extract the first word of "ranlib", so it can be a program name with args. | 5001 | # Extract the first word of "ranlib", so it can be a program name with args. |
| 4387 | set dummy ranlib; ac_word=$2 | 5002 | set dummy ranlib; ac_word=$2 |
| 4388 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5003 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 4389 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 5004 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 4390 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 5005 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
| 4391 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5006 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4392 | else | 5007 | else |
| @@ -4399,27 +5014,41 @@ do | |||
| 4399 | IFS=$as_save_IFS | 5014 | IFS=$as_save_IFS |
| 4400 | test -z "$as_dir" && as_dir=. | 5015 | test -z "$as_dir" && as_dir=. |
| 4401 | for ac_exec_ext in '' $ac_executable_extensions; do | 5016 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4402 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5017 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4403 | ac_cv_prog_ac_ct_RANLIB="ranlib" | 5018 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
| 4404 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5019 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4405 | break 2 | 5020 | break 2 |
| 4406 | fi | 5021 | fi |
| 4407 | done | 5022 | done |
| 4408 | done | 5023 | done |
| 5024 | IFS=$as_save_IFS | ||
| 4409 | 5025 | ||
| 4410 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | ||
| 4411 | fi | 5026 | fi |
| 4412 | fi | 5027 | fi |
| 4413 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 5028 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| 4414 | if test -n "$ac_ct_RANLIB"; then | 5029 | if test -n "$ac_ct_RANLIB"; then |
| 4415 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | 5030 | { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
| 4416 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 | 5031 | echo "${ECHO_T}$ac_ct_RANLIB" >&6; } |
| 4417 | else | 5032 | else |
| 4418 | echo "$as_me:$LINENO: result: no" >&5 | 5033 | { echo "$as_me:$LINENO: result: no" >&5 |
| 4419 | echo "${ECHO_T}no" >&6 | 5034 | echo "${ECHO_T}no" >&6; } |
| 4420 | fi | 5035 | fi |
| 4421 | 5036 | ||
| 4422 | RANLIB=$ac_ct_RANLIB | 5037 | if test "x$ac_ct_RANLIB" = x; then |
| 5038 | RANLIB=":" | ||
| 5039 | else | ||
| 5040 | case $cross_compiling:$ac_tool_warned in | ||
| 5041 | yes:) | ||
| 5042 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 5043 | whose name does not start with the host triplet. If you think this | ||
| 5044 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
| 5045 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
| 5046 | whose name does not start with the host triplet. If you think this | ||
| 5047 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
| 5048 | ac_tool_warned=yes ;; | ||
| 5049 | esac | ||
| 5050 | RANLIB=$ac_ct_RANLIB | ||
| 5051 | fi | ||
| 4423 | else | 5052 | else |
| 4424 | RANLIB="$ac_cv_prog_RANLIB" | 5053 | RANLIB="$ac_cv_prog_RANLIB" |
| 4425 | fi | 5054 | fi |
| @@ -4427,8 +5056,8 @@ fi | |||
| 4427 | fi | 5056 | fi |
| 4428 | # Extract the first word of "install-info", so it can be a program name with args. | 5057 | # Extract the first word of "install-info", so it can be a program name with args. |
| 4429 | set dummy install-info; ac_word=$2 | 5058 | set dummy install-info; ac_word=$2 |
| 4430 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5059 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 4431 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 5060 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 4432 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then | 5061 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
| 4433 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5062 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4434 | else | 5063 | else |
| @@ -4443,31 +5072,32 @@ do | |||
| 4443 | IFS=$as_save_IFS | 5072 | IFS=$as_save_IFS |
| 4444 | test -z "$as_dir" && as_dir=. | 5073 | test -z "$as_dir" && as_dir=. |
| 4445 | for ac_exec_ext in '' $ac_executable_extensions; do | 5074 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4446 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5075 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4447 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5076 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
| 4448 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5077 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4449 | break 2 | 5078 | break 2 |
| 4450 | fi | 5079 | fi |
| 4451 | done | 5080 | done |
| 4452 | done | 5081 | done |
| 5082 | IFS=$as_save_IFS | ||
| 4453 | 5083 | ||
| 4454 | ;; | 5084 | ;; |
| 4455 | esac | 5085 | esac |
| 4456 | fi | 5086 | fi |
| 4457 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5087 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
| 4458 | |||
| 4459 | if test -n "$INSTALL_INFO"; then | 5088 | if test -n "$INSTALL_INFO"; then |
| 4460 | echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 | 5089 | { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
| 4461 | echo "${ECHO_T}$INSTALL_INFO" >&6 | 5090 | echo "${ECHO_T}$INSTALL_INFO" >&6; } |
| 4462 | else | 5091 | else |
| 4463 | echo "$as_me:$LINENO: result: no" >&5 | 5092 | { echo "$as_me:$LINENO: result: no" >&5 |
| 4464 | echo "${ECHO_T}no" >&6 | 5093 | echo "${ECHO_T}no" >&6; } |
| 4465 | fi | 5094 | fi |
| 4466 | 5095 | ||
| 5096 | |||
| 4467 | # Extract the first word of "install-info", so it can be a program name with args. | 5097 | # Extract the first word of "install-info", so it can be a program name with args. |
| 4468 | set dummy install-info; ac_word=$2 | 5098 | set dummy install-info; ac_word=$2 |
| 4469 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5099 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 4470 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 5100 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 4471 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then | 5101 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
| 4472 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5102 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4473 | else | 5103 | else |
| @@ -4482,31 +5112,32 @@ do | |||
| 4482 | IFS=$as_save_IFS | 5112 | IFS=$as_save_IFS |
| 4483 | test -z "$as_dir" && as_dir=. | 5113 | test -z "$as_dir" && as_dir=. |
| 4484 | for ac_exec_ext in '' $ac_executable_extensions; do | 5114 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4485 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5115 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4486 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5116 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
| 4487 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5117 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4488 | break 2 | 5118 | break 2 |
| 4489 | fi | 5119 | fi |
| 4490 | done | 5120 | done |
| 4491 | done | 5121 | done |
| 5122 | IFS=$as_save_IFS | ||
| 4492 | 5123 | ||
| 4493 | ;; | 5124 | ;; |
| 4494 | esac | 5125 | esac |
| 4495 | fi | 5126 | fi |
| 4496 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5127 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
| 4497 | |||
| 4498 | if test -n "$INSTALL_INFO"; then | 5128 | if test -n "$INSTALL_INFO"; then |
| 4499 | echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 | 5129 | { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
| 4500 | echo "${ECHO_T}$INSTALL_INFO" >&6 | 5130 | echo "${ECHO_T}$INSTALL_INFO" >&6; } |
| 4501 | else | 5131 | else |
| 4502 | echo "$as_me:$LINENO: result: no" >&5 | 5132 | { echo "$as_me:$LINENO: result: no" >&5 |
| 4503 | echo "${ECHO_T}no" >&6 | 5133 | echo "${ECHO_T}no" >&6; } |
| 4504 | fi | 5134 | fi |
| 4505 | 5135 | ||
| 5136 | |||
| 4506 | # Extract the first word of "install-info", so it can be a program name with args. | 5137 | # Extract the first word of "install-info", so it can be a program name with args. |
| 4507 | set dummy install-info; ac_word=$2 | 5138 | set dummy install-info; ac_word=$2 |
| 4508 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5139 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 4509 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 5140 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 4510 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then | 5141 | if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
| 4511 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5142 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4512 | else | 5143 | else |
| @@ -4521,32 +5152,33 @@ do | |||
| 4521 | IFS=$as_save_IFS | 5152 | IFS=$as_save_IFS |
| 4522 | test -z "$as_dir" && as_dir=. | 5153 | test -z "$as_dir" && as_dir=. |
| 4523 | for ac_exec_ext in '' $ac_executable_extensions; do | 5154 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4524 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5155 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4525 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5156 | ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
| 4526 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5157 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4527 | break 2 | 5158 | break 2 |
| 4528 | fi | 5159 | fi |
| 4529 | done | 5160 | done |
| 4530 | done | 5161 | done |
| 5162 | IFS=$as_save_IFS | ||
| 4531 | 5163 | ||
| 4532 | test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" | 5164 | test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" |
| 4533 | ;; | 5165 | ;; |
| 4534 | esac | 5166 | esac |
| 4535 | fi | 5167 | fi |
| 4536 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5168 | INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
| 4537 | |||
| 4538 | if test -n "$INSTALL_INFO"; then | 5169 | if test -n "$INSTALL_INFO"; then |
| 4539 | echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 | 5170 | { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
| 4540 | echo "${ECHO_T}$INSTALL_INFO" >&6 | 5171 | echo "${ECHO_T}$INSTALL_INFO" >&6; } |
| 4541 | else | 5172 | else |
| 4542 | echo "$as_me:$LINENO: result: no" >&5 | 5173 | { echo "$as_me:$LINENO: result: no" >&5 |
| 4543 | echo "${ECHO_T}no" >&6 | 5174 | echo "${ECHO_T}no" >&6; } |
| 4544 | fi | 5175 | fi |
| 4545 | 5176 | ||
| 5177 | |||
| 4546 | # Extract the first word of "gzip", so it can be a program name with args. | 5178 | # Extract the first word of "gzip", so it can be a program name with args. |
| 4547 | set dummy gzip; ac_word=$2 | 5179 | set dummy gzip; ac_word=$2 |
| 4548 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5180 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 4549 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 5181 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 4550 | if test "${ac_cv_path_GZIP_PROG+set}" = set; then | 5182 | if test "${ac_cv_path_GZIP_PROG+set}" = set; then |
| 4551 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5183 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4552 | else | 5184 | else |
| @@ -4561,29 +5193,30 @@ do | |||
| 4561 | IFS=$as_save_IFS | 5193 | IFS=$as_save_IFS |
| 4562 | test -z "$as_dir" && as_dir=. | 5194 | test -z "$as_dir" && as_dir=. |
| 4563 | for ac_exec_ext in '' $ac_executable_extensions; do | 5195 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 4564 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5196 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 4565 | ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" | 5197 | ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" |
| 4566 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5198 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 4567 | break 2 | 5199 | break 2 |
| 4568 | fi | 5200 | fi |
| 4569 | done | 5201 | done |
| 4570 | done | 5202 | done |
| 5203 | IFS=$as_save_IFS | ||
| 4571 | 5204 | ||
| 4572 | ;; | 5205 | ;; |
| 4573 | esac | 5206 | esac |
| 4574 | fi | 5207 | fi |
| 4575 | GZIP_PROG=$ac_cv_path_GZIP_PROG | 5208 | GZIP_PROG=$ac_cv_path_GZIP_PROG |
| 4576 | |||
| 4577 | if test -n "$GZIP_PROG"; then | 5209 | if test -n "$GZIP_PROG"; then |
| 4578 | echo "$as_me:$LINENO: result: $GZIP_PROG" >&5 | 5210 | { echo "$as_me:$LINENO: result: $GZIP_PROG" >&5 |
| 4579 | echo "${ECHO_T}$GZIP_PROG" >&6 | 5211 | echo "${ECHO_T}$GZIP_PROG" >&6; } |
| 4580 | else | 5212 | else |
| 4581 | echo "$as_me:$LINENO: result: no" >&5 | 5213 | { echo "$as_me:$LINENO: result: no" >&5 |
| 4582 | echo "${ECHO_T}no" >&6 | 5214 | echo "${ECHO_T}no" >&6; } |
| 4583 | fi | 5215 | fi |
| 4584 | 5216 | ||
| 4585 | 5217 | ||
| 4586 | 5218 | ||
| 5219 | |||
| 4587 | if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x | 5220 | if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x |
| 4588 | then | 5221 | then |
| 4589 | ac_link="$ac_link $GCC_LINK_TEST_OPTIONS" | 5222 | ac_link="$ac_link $GCC_LINK_TEST_OPTIONS" |
| @@ -4602,43 +5235,41 @@ else | |||
| 4602 | LDFLAGS="$LDFLAGS -znocombreloc" | 5235 | LDFLAGS="$LDFLAGS -znocombreloc" |
| 4603 | fi | 5236 | fi |
| 4604 | 5237 | ||
| 4605 | echo "$as_me:$LINENO: checking for -znocombreloc" >&5 | 5238 | { echo "$as_me:$LINENO: checking for -znocombreloc" >&5 |
| 4606 | echo $ECHO_N "checking for -znocombreloc... $ECHO_C" >&6 | 5239 | echo $ECHO_N "checking for -znocombreloc... $ECHO_C" >&6; } |
| 4607 | cat >conftest.$ac_ext <<_ACEOF | 5240 | cat >conftest.$ac_ext <<_ACEOF |
| 4608 | main(){return 0;} | 5241 | main(){return 0;} |
| 4609 | _ACEOF | 5242 | _ACEOF |
| 4610 | rm -f conftest.$ac_objext conftest$ac_exeext | 5243 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 4611 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5244 | if { (ac_try="$ac_link" |
| 4612 | (eval $ac_link) 2>conftest.er1 | 5245 | case "(($ac_try" in |
| 5246 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5247 | *) ac_try_echo=$ac_try;; | ||
| 5248 | esac | ||
| 5249 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 5250 | (eval "$ac_link") 2>conftest.er1 | ||
| 4613 | ac_status=$? | 5251 | ac_status=$? |
| 4614 | grep -v '^ *+' conftest.er1 >conftest.err | 5252 | grep -v '^ *+' conftest.er1 >conftest.err |
| 4615 | rm -f conftest.er1 | 5253 | rm -f conftest.er1 |
| 4616 | cat conftest.err >&5 | 5254 | cat conftest.err >&5 |
| 4617 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5255 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4618 | (exit $ac_status); } && | 5256 | (exit $ac_status); } && { |
| 4619 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 5257 | test -z "$ac_c_werror_flag" || |
| 4620 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5258 | test ! -s conftest.err |
| 4621 | (eval $ac_try) 2>&5 | 5259 | } && test -s conftest$ac_exeext && |
| 4622 | ac_status=$? | 5260 | $as_test_x conftest$ac_exeext; then |
| 4623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5261 | { echo "$as_me:$LINENO: result: yes" >&5 |
| 4624 | (exit $ac_status); }; } && | 5262 | echo "${ECHO_T}yes" >&6; } |
| 4625 | { ac_try='test -s conftest$ac_exeext' | ||
| 4626 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 4627 | (eval $ac_try) 2>&5 | ||
| 4628 | ac_status=$? | ||
| 4629 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4630 | (exit $ac_status); }; }; then | ||
| 4631 | echo "$as_me:$LINENO: result: yes" >&5 | ||
| 4632 | echo "${ECHO_T}yes" >&6 | ||
| 4633 | else | 5263 | else |
| 4634 | echo "$as_me: failed program was:" >&5 | 5264 | echo "$as_me: failed program was:" >&5 |
| 4635 | sed 's/^/| /' conftest.$ac_ext >&5 | 5265 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 4636 | 5266 | ||
| 4637 | LDFLAGS=$late_LDFLAGS | 5267 | LDFLAGS=$late_LDFLAGS |
| 4638 | echo "$as_me:$LINENO: result: no" >&5 | 5268 | { echo "$as_me:$LINENO: result: no" >&5 |
| 4639 | echo "${ECHO_T}no" >&6 | 5269 | echo "${ECHO_T}no" >&6; } |
| 4640 | fi | 5270 | fi |
| 4641 | rm -f conftest.err conftest.$ac_objext \ | 5271 | |
| 5272 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 4642 | conftest$ac_exeext conftest.$ac_ext | 5273 | conftest$ac_exeext conftest.$ac_ext |
| 4643 | 5274 | ||
| 4644 | #### Extract some information from the operating system and machine files. | 5275 | #### Extract some information from the operating system and machine files. |
| @@ -4792,15 +5423,15 @@ fi | |||
| 4792 | 5423 | ||
| 4793 | 5424 | ||
| 4794 | 5425 | ||
| 4795 | # Check whether --enable-largefile or --disable-largefile was given. | 5426 | # Check whether --enable-largefile was given. |
| 4796 | if test "${enable_largefile+set}" = set; then | 5427 | if test "${enable_largefile+set}" = set; then |
| 4797 | enableval="$enable_largefile" | 5428 | enableval=$enable_largefile; |
| 5429 | fi | ||
| 4798 | 5430 | ||
| 4799 | fi; | ||
| 4800 | if test "$enable_largefile" != no; then | 5431 | if test "$enable_largefile" != no; then |
| 4801 | 5432 | ||
| 4802 | echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 | 5433 | { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 |
| 4803 | echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 | 5434 | echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; } |
| 4804 | if test "${ac_cv_sys_largefile_CC+set}" = set; then | 5435 | if test "${ac_cv_sys_largefile_CC+set}" = set; then |
| 4805 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5436 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4806 | else | 5437 | else |
| @@ -4808,8 +5439,8 @@ else | |||
| 4808 | if test "$GCC" != yes; then | 5439 | if test "$GCC" != yes; then |
| 4809 | ac_save_CC=$CC | 5440 | ac_save_CC=$CC |
| 4810 | while :; do | 5441 | while :; do |
| 4811 | # IRIX 6.2 and later do not support large files by default, | 5442 | # IRIX 6.2 and later do not support large files by default, |
| 4812 | # so use the C compiler's -n32 option if that helps. | 5443 | # so use the C compiler's -n32 option if that helps. |
| 4813 | cat >conftest.$ac_ext <<_ACEOF | 5444 | cat >conftest.$ac_ext <<_ACEOF |
| 4814 | /* confdefs.h. */ | 5445 | /* confdefs.h. */ |
| 4815 | _ACEOF | 5446 | _ACEOF |
| @@ -4833,82 +5464,77 @@ main () | |||
| 4833 | return 0; | 5464 | return 0; |
| 4834 | } | 5465 | } |
| 4835 | _ACEOF | 5466 | _ACEOF |
| 4836 | rm -f conftest.$ac_objext | 5467 | rm -f conftest.$ac_objext |
| 4837 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5468 | if { (ac_try="$ac_compile" |
| 4838 | (eval $ac_compile) 2>conftest.er1 | 5469 | case "(($ac_try" in |
| 5470 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5471 | *) ac_try_echo=$ac_try;; | ||
| 5472 | esac | ||
| 5473 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 5474 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4839 | ac_status=$? | 5475 | ac_status=$? |
| 4840 | grep -v '^ *+' conftest.er1 >conftest.err | 5476 | grep -v '^ *+' conftest.er1 >conftest.err |
| 4841 | rm -f conftest.er1 | 5477 | rm -f conftest.er1 |
| 4842 | cat conftest.err >&5 | 5478 | cat conftest.err >&5 |
| 4843 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5479 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4844 | (exit $ac_status); } && | 5480 | (exit $ac_status); } && { |
| 4845 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 5481 | test -z "$ac_c_werror_flag" || |
| 4846 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5482 | test ! -s conftest.err |
| 4847 | (eval $ac_try) 2>&5 | 5483 | } && test -s conftest.$ac_objext; then |
| 4848 | ac_status=$? | ||
| 4849 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4850 | (exit $ac_status); }; } && | ||
| 4851 | { ac_try='test -s conftest.$ac_objext' | ||
| 4852 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 4853 | (eval $ac_try) 2>&5 | ||
| 4854 | ac_status=$? | ||
| 4855 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4856 | (exit $ac_status); }; }; then | ||
| 4857 | break | 5484 | break |
| 4858 | else | 5485 | else |
| 4859 | echo "$as_me: failed program was:" >&5 | 5486 | echo "$as_me: failed program was:" >&5 |
| 4860 | sed 's/^/| /' conftest.$ac_ext >&5 | 5487 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 4861 | 5488 | ||
| 5489 | |||
| 4862 | fi | 5490 | fi |
| 4863 | rm -f conftest.err conftest.$ac_objext | 5491 | |
| 4864 | CC="$CC -n32" | 5492 | rm -f core conftest.err conftest.$ac_objext |
| 4865 | rm -f conftest.$ac_objext | 5493 | CC="$CC -n32" |
| 4866 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5494 | rm -f conftest.$ac_objext |
| 4867 | (eval $ac_compile) 2>conftest.er1 | 5495 | if { (ac_try="$ac_compile" |
| 5496 | case "(($ac_try" in | ||
| 5497 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5498 | *) ac_try_echo=$ac_try;; | ||
| 5499 | esac | ||
| 5500 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 5501 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4868 | ac_status=$? | 5502 | ac_status=$? |
| 4869 | grep -v '^ *+' conftest.er1 >conftest.err | 5503 | grep -v '^ *+' conftest.er1 >conftest.err |
| 4870 | rm -f conftest.er1 | 5504 | rm -f conftest.er1 |
| 4871 | cat conftest.err >&5 | 5505 | cat conftest.err >&5 |
| 4872 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5506 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4873 | (exit $ac_status); } && | 5507 | (exit $ac_status); } && { |
| 4874 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 5508 | test -z "$ac_c_werror_flag" || |
| 4875 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5509 | test ! -s conftest.err |
| 4876 | (eval $ac_try) 2>&5 | 5510 | } && test -s conftest.$ac_objext; then |
| 4877 | ac_status=$? | ||
| 4878 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4879 | (exit $ac_status); }; } && | ||
| 4880 | { ac_try='test -s conftest.$ac_objext' | ||
| 4881 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 4882 | (eval $ac_try) 2>&5 | ||
| 4883 | ac_status=$? | ||
| 4884 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4885 | (exit $ac_status); }; }; then | ||
| 4886 | ac_cv_sys_largefile_CC=' -n32'; break | 5511 | ac_cv_sys_largefile_CC=' -n32'; break |
| 4887 | else | 5512 | else |
| 4888 | echo "$as_me: failed program was:" >&5 | 5513 | echo "$as_me: failed program was:" >&5 |
| 4889 | sed 's/^/| /' conftest.$ac_ext >&5 | 5514 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 4890 | 5515 | ||
| 5516 | |||
| 4891 | fi | 5517 | fi |
| 4892 | rm -f conftest.err conftest.$ac_objext | 5518 | |
| 5519 | rm -f core conftest.err conftest.$ac_objext | ||
| 4893 | break | 5520 | break |
| 4894 | done | 5521 | done |
| 4895 | CC=$ac_save_CC | 5522 | CC=$ac_save_CC |
| 4896 | rm -f conftest.$ac_ext | 5523 | rm -f conftest.$ac_ext |
| 4897 | fi | 5524 | fi |
| 4898 | fi | 5525 | fi |
| 4899 | echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 | 5526 | { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 |
| 4900 | echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 | 5527 | echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; } |
| 4901 | if test "$ac_cv_sys_largefile_CC" != no; then | 5528 | if test "$ac_cv_sys_largefile_CC" != no; then |
| 4902 | CC=$CC$ac_cv_sys_largefile_CC | 5529 | CC=$CC$ac_cv_sys_largefile_CC |
| 4903 | fi | 5530 | fi |
| 4904 | 5531 | ||
| 4905 | echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | 5532 | { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
| 4906 | echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 | 5533 | echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; } |
| 4907 | if test "${ac_cv_sys_file_offset_bits+set}" = set; then | 5534 | if test "${ac_cv_sys_file_offset_bits+set}" = set; then |
| 4908 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5535 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 4909 | else | 5536 | else |
| 4910 | while :; do | 5537 | while :; do |
| 4911 | ac_cv_sys_file_offset_bits=no | ||
| 4912 | cat >conftest.$ac_ext <<_ACEOF | 5538 | cat >conftest.$ac_ext <<_ACEOF |
| 4913 | /* confdefs.h. */ | 5539 | /* confdefs.h. */ |
| 4914 | _ACEOF | 5540 | _ACEOF |
| @@ -4933,33 +5559,31 @@ main () | |||
| 4933 | } | 5559 | } |
| 4934 | _ACEOF | 5560 | _ACEOF |
| 4935 | rm -f conftest.$ac_objext | 5561 | rm -f conftest.$ac_objext |
| 4936 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5562 | if { (ac_try="$ac_compile" |
| 4937 | (eval $ac_compile) 2>conftest.er1 | 5563 | case "(($ac_try" in |
| 5564 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5565 | *) ac_try_echo=$ac_try;; | ||
| 5566 | esac | ||
| 5567 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 5568 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4938 | ac_status=$? | 5569 | ac_status=$? |
| 4939 | grep -v '^ *+' conftest.er1 >conftest.err | 5570 | grep -v '^ *+' conftest.er1 >conftest.err |
| 4940 | rm -f conftest.er1 | 5571 | rm -f conftest.er1 |
| 4941 | cat conftest.err >&5 | 5572 | cat conftest.err >&5 |
| 4942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5573 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4943 | (exit $ac_status); } && | 5574 | (exit $ac_status); } && { |
| 4944 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 5575 | test -z "$ac_c_werror_flag" || |
| 4945 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5576 | test ! -s conftest.err |
| 4946 | (eval $ac_try) 2>&5 | 5577 | } && test -s conftest.$ac_objext; then |
| 4947 | ac_status=$? | 5578 | ac_cv_sys_file_offset_bits=no; break |
| 4948 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4949 | (exit $ac_status); }; } && | ||
| 4950 | { ac_try='test -s conftest.$ac_objext' | ||
| 4951 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 4952 | (eval $ac_try) 2>&5 | ||
| 4953 | ac_status=$? | ||
| 4954 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 4955 | (exit $ac_status); }; }; then | ||
| 4956 | break | ||
| 4957 | else | 5579 | else |
| 4958 | echo "$as_me: failed program was:" >&5 | 5580 | echo "$as_me: failed program was:" >&5 |
| 4959 | sed 's/^/| /' conftest.$ac_ext >&5 | 5581 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 4960 | 5582 | ||
| 5583 | |||
| 4961 | fi | 5584 | fi |
| 4962 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 5585 | |
| 5586 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 4963 | cat >conftest.$ac_ext <<_ACEOF | 5587 | cat >conftest.$ac_ext <<_ACEOF |
| 4964 | /* confdefs.h. */ | 5588 | /* confdefs.h. */ |
| 4965 | _ACEOF | 5589 | _ACEOF |
| @@ -4985,53 +5609,53 @@ main () | |||
| 4985 | } | 5609 | } |
| 4986 | _ACEOF | 5610 | _ACEOF |
| 4987 | rm -f conftest.$ac_objext | 5611 | rm -f conftest.$ac_objext |
| 4988 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5612 | if { (ac_try="$ac_compile" |
| 4989 | (eval $ac_compile) 2>conftest.er1 | 5613 | case "(($ac_try" in |
| 5614 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5615 | *) ac_try_echo=$ac_try;; | ||
| 5616 | esac | ||
| 5617 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 5618 | (eval "$ac_compile") 2>conftest.er1 | ||
| 4990 | ac_status=$? | 5619 | ac_status=$? |
| 4991 | grep -v '^ *+' conftest.er1 >conftest.err | 5620 | grep -v '^ *+' conftest.er1 >conftest.err |
| 4992 | rm -f conftest.er1 | 5621 | rm -f conftest.er1 |
| 4993 | cat conftest.err >&5 | 5622 | cat conftest.err >&5 |
| 4994 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 4995 | (exit $ac_status); } && | 5624 | (exit $ac_status); } && { |
| 4996 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 5625 | test -z "$ac_c_werror_flag" || |
| 4997 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5626 | test ! -s conftest.err |
| 4998 | (eval $ac_try) 2>&5 | 5627 | } && test -s conftest.$ac_objext; then |
| 4999 | ac_status=$? | ||
| 5000 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5001 | (exit $ac_status); }; } && | ||
| 5002 | { ac_try='test -s conftest.$ac_objext' | ||
| 5003 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 5004 | (eval $ac_try) 2>&5 | ||
| 5005 | ac_status=$? | ||
| 5006 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5007 | (exit $ac_status); }; }; then | ||
| 5008 | ac_cv_sys_file_offset_bits=64; break | 5628 | ac_cv_sys_file_offset_bits=64; break |
| 5009 | else | 5629 | else |
| 5010 | echo "$as_me: failed program was:" >&5 | 5630 | echo "$as_me: failed program was:" >&5 |
| 5011 | sed 's/^/| /' conftest.$ac_ext >&5 | 5631 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 5012 | 5632 | ||
| 5633 | |||
| 5013 | fi | 5634 | fi |
| 5014 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 5635 | |
| 5636 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 5637 | ac_cv_sys_file_offset_bits=unknown | ||
| 5015 | break | 5638 | break |
| 5016 | done | 5639 | done |
| 5017 | fi | 5640 | fi |
| 5018 | echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 | 5641 | { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 |
| 5019 | echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 | 5642 | echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; } |
| 5020 | if test "$ac_cv_sys_file_offset_bits" != no; then | 5643 | case $ac_cv_sys_file_offset_bits in #( |
| 5021 | 5644 | no | unknown) ;; | |
| 5645 | *) | ||
| 5022 | cat >>confdefs.h <<_ACEOF | 5646 | cat >>confdefs.h <<_ACEOF |
| 5023 | #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits | 5647 | #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits |
| 5024 | _ACEOF | 5648 | _ACEOF |
| 5025 | 5649 | ;; | |
| 5026 | fi | 5650 | esac |
| 5027 | rm -f conftest* | 5651 | rm -f conftest* |
| 5028 | echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 | 5652 | if test $ac_cv_sys_file_offset_bits = unknown; then |
| 5029 | echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 | 5653 | { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 |
| 5654 | echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; } | ||
| 5030 | if test "${ac_cv_sys_large_files+set}" = set; then | 5655 | if test "${ac_cv_sys_large_files+set}" = set; then |
| 5031 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5656 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5032 | else | 5657 | else |
| 5033 | while :; do | 5658 | while :; do |
| 5034 | ac_cv_sys_large_files=no | ||
| 5035 | cat >conftest.$ac_ext <<_ACEOF | 5659 | cat >conftest.$ac_ext <<_ACEOF |
| 5036 | /* confdefs.h. */ | 5660 | /* confdefs.h. */ |
| 5037 | _ACEOF | 5661 | _ACEOF |
| @@ -5056,33 +5680,31 @@ main () | |||
| 5056 | } | 5680 | } |
| 5057 | _ACEOF | 5681 | _ACEOF |
| 5058 | rm -f conftest.$ac_objext | 5682 | rm -f conftest.$ac_objext |
| 5059 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5683 | if { (ac_try="$ac_compile" |
| 5060 | (eval $ac_compile) 2>conftest.er1 | 5684 | case "(($ac_try" in |
| 5685 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5686 | *) ac_try_echo=$ac_try;; | ||
| 5687 | esac | ||
| 5688 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 5689 | (eval "$ac_compile") 2>conftest.er1 | ||
| 5061 | ac_status=$? | 5690 | ac_status=$? |
| 5062 | grep -v '^ *+' conftest.er1 >conftest.err | 5691 | grep -v '^ *+' conftest.er1 >conftest.err |
| 5063 | rm -f conftest.er1 | 5692 | rm -f conftest.er1 |
| 5064 | cat conftest.err >&5 | 5693 | cat conftest.err >&5 |
| 5065 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5694 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5066 | (exit $ac_status); } && | 5695 | (exit $ac_status); } && { |
| 5067 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 5696 | test -z "$ac_c_werror_flag" || |
| 5068 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5697 | test ! -s conftest.err |
| 5069 | (eval $ac_try) 2>&5 | 5698 | } && test -s conftest.$ac_objext; then |
| 5070 | ac_status=$? | 5699 | ac_cv_sys_large_files=no; break |
| 5071 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5072 | (exit $ac_status); }; } && | ||
| 5073 | { ac_try='test -s conftest.$ac_objext' | ||
| 5074 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 5075 | (eval $ac_try) 2>&5 | ||
| 5076 | ac_status=$? | ||
| 5077 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5078 | (exit $ac_status); }; }; then | ||
| 5079 | break | ||
| 5080 | else | 5700 | else |
| 5081 | echo "$as_me: failed program was:" >&5 | 5701 | echo "$as_me: failed program was:" >&5 |
| 5082 | sed 's/^/| /' conftest.$ac_ext >&5 | 5702 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 5083 | 5703 | ||
| 5704 | |||
| 5084 | fi | 5705 | fi |
| 5085 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 5706 | |
| 5707 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 5086 | cat >conftest.$ac_ext <<_ACEOF | 5708 | cat >conftest.$ac_ext <<_ACEOF |
| 5087 | /* confdefs.h. */ | 5709 | /* confdefs.h. */ |
| 5088 | _ACEOF | 5710 | _ACEOF |
| @@ -5108,46 +5730,47 @@ main () | |||
| 5108 | } | 5730 | } |
| 5109 | _ACEOF | 5731 | _ACEOF |
| 5110 | rm -f conftest.$ac_objext | 5732 | rm -f conftest.$ac_objext |
| 5111 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5733 | if { (ac_try="$ac_compile" |
| 5112 | (eval $ac_compile) 2>conftest.er1 | 5734 | case "(($ac_try" in |
| 5735 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5736 | *) ac_try_echo=$ac_try;; | ||
| 5737 | esac | ||
| 5738 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 5739 | (eval "$ac_compile") 2>conftest.er1 | ||
| 5113 | ac_status=$? | 5740 | ac_status=$? |
| 5114 | grep -v '^ *+' conftest.er1 >conftest.err | 5741 | grep -v '^ *+' conftest.er1 >conftest.err |
| 5115 | rm -f conftest.er1 | 5742 | rm -f conftest.er1 |
| 5116 | cat conftest.err >&5 | 5743 | cat conftest.err >&5 |
| 5117 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5744 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5118 | (exit $ac_status); } && | 5745 | (exit $ac_status); } && { |
| 5119 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 5746 | test -z "$ac_c_werror_flag" || |
| 5120 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5747 | test ! -s conftest.err |
| 5121 | (eval $ac_try) 2>&5 | 5748 | } && test -s conftest.$ac_objext; then |
| 5122 | ac_status=$? | ||
| 5123 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5124 | (exit $ac_status); }; } && | ||
| 5125 | { ac_try='test -s conftest.$ac_objext' | ||
| 5126 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 5127 | (eval $ac_try) 2>&5 | ||
| 5128 | ac_status=$? | ||
| 5129 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5130 | (exit $ac_status); }; }; then | ||
| 5131 | ac_cv_sys_large_files=1; break | 5749 | ac_cv_sys_large_files=1; break |
| 5132 | else | 5750 | else |
| 5133 | echo "$as_me: failed program was:" >&5 | 5751 | echo "$as_me: failed program was:" >&5 |
| 5134 | sed 's/^/| /' conftest.$ac_ext >&5 | 5752 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 5135 | 5753 | ||
| 5754 | |||
| 5136 | fi | 5755 | fi |
| 5137 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 5756 | |
| 5757 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 5758 | ac_cv_sys_large_files=unknown | ||
| 5138 | break | 5759 | break |
| 5139 | done | 5760 | done |
| 5140 | fi | 5761 | fi |
| 5141 | echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 | 5762 | { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 |
| 5142 | echo "${ECHO_T}$ac_cv_sys_large_files" >&6 | 5763 | echo "${ECHO_T}$ac_cv_sys_large_files" >&6; } |
| 5143 | if test "$ac_cv_sys_large_files" != no; then | 5764 | case $ac_cv_sys_large_files in #( |
| 5144 | 5765 | no | unknown) ;; | |
| 5766 | *) | ||
| 5145 | cat >>confdefs.h <<_ACEOF | 5767 | cat >>confdefs.h <<_ACEOF |
| 5146 | #define _LARGE_FILES $ac_cv_sys_large_files | 5768 | #define _LARGE_FILES $ac_cv_sys_large_files |
| 5147 | _ACEOF | 5769 | _ACEOF |
| 5148 | 5770 | ;; | |
| 5149 | fi | 5771 | esac |
| 5150 | rm -f conftest* | 5772 | rm -f conftest* |
| 5773 | fi | ||
| 5151 | fi | 5774 | fi |
| 5152 | 5775 | ||
| 5153 | 5776 | ||
| @@ -5157,8 +5780,8 @@ fi | |||
| 5157 | 5780 | ||
| 5158 | if test "${with_sound}" != "no"; then | 5781 | if test "${with_sound}" != "no"; then |
| 5159 | # Sound support for GNU/Linux and the free BSDs. | 5782 | # Sound support for GNU/Linux and the free BSDs. |
| 5160 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 5783 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 5161 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 5784 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
| 5162 | if test "${ac_cv_header_stdc+set}" = set; then | 5785 | if test "${ac_cv_header_stdc+set}" = set; then |
| 5163 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5786 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5164 | else | 5787 | else |
| @@ -5182,34 +5805,31 @@ main () | |||
| 5182 | } | 5805 | } |
| 5183 | _ACEOF | 5806 | _ACEOF |
| 5184 | rm -f conftest.$ac_objext | 5807 | rm -f conftest.$ac_objext |
| 5185 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5808 | if { (ac_try="$ac_compile" |
| 5186 | (eval $ac_compile) 2>conftest.er1 | 5809 | case "(($ac_try" in |
| 5810 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5811 | *) ac_try_echo=$ac_try;; | ||
| 5812 | esac | ||
| 5813 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 5814 | (eval "$ac_compile") 2>conftest.er1 | ||
| 5187 | ac_status=$? | 5815 | ac_status=$? |
| 5188 | grep -v '^ *+' conftest.er1 >conftest.err | 5816 | grep -v '^ *+' conftest.er1 >conftest.err |
| 5189 | rm -f conftest.er1 | 5817 | rm -f conftest.er1 |
| 5190 | cat conftest.err >&5 | 5818 | cat conftest.err >&5 |
| 5191 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5819 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5192 | (exit $ac_status); } && | 5820 | (exit $ac_status); } && { |
| 5193 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 5821 | test -z "$ac_c_werror_flag" || |
| 5194 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5822 | test ! -s conftest.err |
| 5195 | (eval $ac_try) 2>&5 | 5823 | } && test -s conftest.$ac_objext; then |
| 5196 | ac_status=$? | ||
| 5197 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5198 | (exit $ac_status); }; } && | ||
| 5199 | { ac_try='test -s conftest.$ac_objext' | ||
| 5200 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 5201 | (eval $ac_try) 2>&5 | ||
| 5202 | ac_status=$? | ||
| 5203 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5204 | (exit $ac_status); }; }; then | ||
| 5205 | ac_cv_header_stdc=yes | 5824 | ac_cv_header_stdc=yes |
| 5206 | else | 5825 | else |
| 5207 | echo "$as_me: failed program was:" >&5 | 5826 | echo "$as_me: failed program was:" >&5 |
| 5208 | sed 's/^/| /' conftest.$ac_ext >&5 | 5827 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 5209 | 5828 | ||
| 5210 | ac_cv_header_stdc=no | 5829 | ac_cv_header_stdc=no |
| 5211 | fi | 5830 | fi |
| 5212 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 5831 | |
| 5832 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 5213 | 5833 | ||
| 5214 | if test $ac_cv_header_stdc = yes; then | 5834 | if test $ac_cv_header_stdc = yes; then |
| 5215 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 5835 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| @@ -5265,6 +5885,7 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 5265 | cat >>conftest.$ac_ext <<_ACEOF | 5885 | cat >>conftest.$ac_ext <<_ACEOF |
| 5266 | /* end confdefs.h. */ | 5886 | /* end confdefs.h. */ |
| 5267 | #include <ctype.h> | 5887 | #include <ctype.h> |
| 5888 | #include <stdlib.h> | ||
| 5268 | #if ((' ' & 0x0FF) == 0x020) | 5889 | #if ((' ' & 0x0FF) == 0x020) |
| 5269 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 5890 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 5270 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 5891 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| @@ -5284,18 +5905,27 @@ main () | |||
| 5284 | for (i = 0; i < 256; i++) | 5905 | for (i = 0; i < 256; i++) |
| 5285 | if (XOR (islower (i), ISLOWER (i)) | 5906 | if (XOR (islower (i), ISLOWER (i)) |
| 5286 | || toupper (i) != TOUPPER (i)) | 5907 | || toupper (i) != TOUPPER (i)) |
| 5287 | exit(2); | 5908 | return 2; |
| 5288 | exit (0); | 5909 | return 0; |
| 5289 | } | 5910 | } |
| 5290 | _ACEOF | 5911 | _ACEOF |
| 5291 | rm -f conftest$ac_exeext | 5912 | rm -f conftest$ac_exeext |
| 5292 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5913 | if { (ac_try="$ac_link" |
| 5293 | (eval $ac_link) 2>&5 | 5914 | case "(($ac_try" in |
| 5915 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5916 | *) ac_try_echo=$ac_try;; | ||
| 5917 | esac | ||
| 5918 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 5919 | (eval "$ac_link") 2>&5 | ||
| 5294 | ac_status=$? | 5920 | ac_status=$? |
| 5295 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5921 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5296 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 5922 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 5297 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5923 | { (case "(($ac_try" in |
| 5298 | (eval $ac_try) 2>&5 | 5924 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 5925 | *) ac_try_echo=$ac_try;; | ||
| 5926 | esac | ||
| 5927 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 5928 | (eval "$ac_try") 2>&5 | ||
| 5299 | ac_status=$? | 5929 | ac_status=$? |
| 5300 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5930 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5301 | (exit $ac_status); }; }; then | 5931 | (exit $ac_status); }; }; then |
| @@ -5308,12 +5938,14 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 5308 | ( exit $ac_status ) | 5938 | ( exit $ac_status ) |
| 5309 | ac_cv_header_stdc=no | 5939 | ac_cv_header_stdc=no |
| 5310 | fi | 5940 | fi |
| 5311 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 5941 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 5312 | fi | 5942 | fi |
| 5943 | |||
| 5944 | |||
| 5313 | fi | 5945 | fi |
| 5314 | fi | 5946 | fi |
| 5315 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 5947 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 5316 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 5948 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
| 5317 | if test $ac_cv_header_stdc = yes; then | 5949 | if test $ac_cv_header_stdc = yes; then |
| 5318 | 5950 | ||
| 5319 | cat >>confdefs.h <<\_ACEOF | 5951 | cat >>confdefs.h <<\_ACEOF |
| @@ -5336,9 +5968,9 @@ for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |||
| 5336 | inttypes.h stdint.h unistd.h | 5968 | inttypes.h stdint.h unistd.h |
| 5337 | do | 5969 | do |
| 5338 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5970 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5339 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 5971 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5340 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 5972 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 5341 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 5973 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5342 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5974 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5343 | else | 5975 | else |
| 5344 | cat >conftest.$ac_ext <<_ACEOF | 5976 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -5352,37 +5984,35 @@ $ac_includes_default | |||
| 5352 | #include <$ac_header> | 5984 | #include <$ac_header> |
| 5353 | _ACEOF | 5985 | _ACEOF |
| 5354 | rm -f conftest.$ac_objext | 5986 | rm -f conftest.$ac_objext |
| 5355 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5987 | if { (ac_try="$ac_compile" |
| 5356 | (eval $ac_compile) 2>conftest.er1 | 5988 | case "(($ac_try" in |
| 5989 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 5990 | *) ac_try_echo=$ac_try;; | ||
| 5991 | esac | ||
| 5992 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 5993 | (eval "$ac_compile") 2>conftest.er1 | ||
| 5357 | ac_status=$? | 5994 | ac_status=$? |
| 5358 | grep -v '^ *+' conftest.er1 >conftest.err | 5995 | grep -v '^ *+' conftest.er1 >conftest.err |
| 5359 | rm -f conftest.er1 | 5996 | rm -f conftest.er1 |
| 5360 | cat conftest.err >&5 | 5997 | cat conftest.err >&5 |
| 5361 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5998 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5362 | (exit $ac_status); } && | 5999 | (exit $ac_status); } && { |
| 5363 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 6000 | test -z "$ac_c_werror_flag" || |
| 5364 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6001 | test ! -s conftest.err |
| 5365 | (eval $ac_try) 2>&5 | 6002 | } && test -s conftest.$ac_objext; then |
| 5366 | ac_status=$? | ||
| 5367 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5368 | (exit $ac_status); }; } && | ||
| 5369 | { ac_try='test -s conftest.$ac_objext' | ||
| 5370 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 5371 | (eval $ac_try) 2>&5 | ||
| 5372 | ac_status=$? | ||
| 5373 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5374 | (exit $ac_status); }; }; then | ||
| 5375 | eval "$as_ac_Header=yes" | 6003 | eval "$as_ac_Header=yes" |
| 5376 | else | 6004 | else |
| 5377 | echo "$as_me: failed program was:" >&5 | 6005 | echo "$as_me: failed program was:" >&5 |
| 5378 | sed 's/^/| /' conftest.$ac_ext >&5 | 6006 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 5379 | 6007 | ||
| 5380 | eval "$as_ac_Header=no" | 6008 | eval "$as_ac_Header=no" |
| 5381 | fi | 6009 | fi |
| 5382 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 6010 | |
| 6011 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 5383 | fi | 6012 | fi |
| 5384 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 6013 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 5385 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 6014 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 6015 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 5386 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 6016 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 5387 | cat >>confdefs.h <<_ACEOF | 6017 | cat >>confdefs.h <<_ACEOF |
| 5388 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6018 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| @@ -5399,18 +6029,19 @@ done | |||
| 5399 | for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h | 6029 | for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h |
| 5400 | do | 6030 | do |
| 5401 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6031 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5402 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 6032 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5403 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 6033 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5404 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 6034 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 5405 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 6035 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5406 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6036 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5407 | fi | 6037 | fi |
| 5408 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 6038 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 5409 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 6039 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 6040 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 5410 | else | 6041 | else |
| 5411 | # Is the header compilable? | 6042 | # Is the header compilable? |
| 5412 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 6043 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 5413 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 6044 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 5414 | cat >conftest.$ac_ext <<_ACEOF | 6045 | cat >conftest.$ac_ext <<_ACEOF |
| 5415 | /* confdefs.h. */ | 6046 | /* confdefs.h. */ |
| 5416 | _ACEOF | 6047 | _ACEOF |
| @@ -5421,40 +6052,37 @@ $ac_includes_default | |||
| 5421 | #include <$ac_header> | 6052 | #include <$ac_header> |
| 5422 | _ACEOF | 6053 | _ACEOF |
| 5423 | rm -f conftest.$ac_objext | 6054 | rm -f conftest.$ac_objext |
| 5424 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6055 | if { (ac_try="$ac_compile" |
| 5425 | (eval $ac_compile) 2>conftest.er1 | 6056 | case "(($ac_try" in |
| 6057 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6058 | *) ac_try_echo=$ac_try;; | ||
| 6059 | esac | ||
| 6060 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 6061 | (eval "$ac_compile") 2>conftest.er1 | ||
| 5426 | ac_status=$? | 6062 | ac_status=$? |
| 5427 | grep -v '^ *+' conftest.er1 >conftest.err | 6063 | grep -v '^ *+' conftest.er1 >conftest.err |
| 5428 | rm -f conftest.er1 | 6064 | rm -f conftest.er1 |
| 5429 | cat conftest.err >&5 | 6065 | cat conftest.err >&5 |
| 5430 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6066 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5431 | (exit $ac_status); } && | 6067 | (exit $ac_status); } && { |
| 5432 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 6068 | test -z "$ac_c_werror_flag" || |
| 5433 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6069 | test ! -s conftest.err |
| 5434 | (eval $ac_try) 2>&5 | 6070 | } && test -s conftest.$ac_objext; then |
| 5435 | ac_status=$? | ||
| 5436 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5437 | (exit $ac_status); }; } && | ||
| 5438 | { ac_try='test -s conftest.$ac_objext' | ||
| 5439 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 5440 | (eval $ac_try) 2>&5 | ||
| 5441 | ac_status=$? | ||
| 5442 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5443 | (exit $ac_status); }; }; then | ||
| 5444 | ac_header_compiler=yes | 6071 | ac_header_compiler=yes |
| 5445 | else | 6072 | else |
| 5446 | echo "$as_me: failed program was:" >&5 | 6073 | echo "$as_me: failed program was:" >&5 |
| 5447 | sed 's/^/| /' conftest.$ac_ext >&5 | 6074 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 5448 | 6075 | ||
| 5449 | ac_header_compiler=no | 6076 | ac_header_compiler=no |
| 5450 | fi | 6077 | fi |
| 5451 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 6078 | |
| 5452 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 6079 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5453 | echo "${ECHO_T}$ac_header_compiler" >&6 | 6080 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6081 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 5454 | 6082 | ||
| 5455 | # Is the header present? | 6083 | # Is the header present? |
| 5456 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 6084 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 5457 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 6085 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 5458 | cat >conftest.$ac_ext <<_ACEOF | 6086 | cat >conftest.$ac_ext <<_ACEOF |
| 5459 | /* confdefs.h. */ | 6087 | /* confdefs.h. */ |
| 5460 | _ACEOF | 6088 | _ACEOF |
| @@ -5463,24 +6091,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 5463 | /* end confdefs.h. */ | 6091 | /* end confdefs.h. */ |
| 5464 | #include <$ac_header> | 6092 | #include <$ac_header> |
| 5465 | _ACEOF | 6093 | _ACEOF |
| 5466 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 6094 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 5467 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 6095 | case "(($ac_try" in |
| 6096 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6097 | *) ac_try_echo=$ac_try;; | ||
| 6098 | esac | ||
| 6099 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 6100 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 5468 | ac_status=$? | 6101 | ac_status=$? |
| 5469 | grep -v '^ *+' conftest.er1 >conftest.err | 6102 | grep -v '^ *+' conftest.er1 >conftest.err |
| 5470 | rm -f conftest.er1 | 6103 | rm -f conftest.er1 |
| 5471 | cat conftest.err >&5 | 6104 | cat conftest.err >&5 |
| 5472 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6105 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5473 | (exit $ac_status); } >/dev/null; then | 6106 | (exit $ac_status); } >/dev/null && { |
| 5474 | if test -s conftest.err; then | 6107 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 5475 | ac_cpp_err=$ac_c_preproc_warn_flag | 6108 | test ! -s conftest.err |
| 5476 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 6109 | }; then |
| 5477 | else | ||
| 5478 | ac_cpp_err= | ||
| 5479 | fi | ||
| 5480 | else | ||
| 5481 | ac_cpp_err=yes | ||
| 5482 | fi | ||
| 5483 | if test -z "$ac_cpp_err"; then | ||
| 5484 | ac_header_preproc=yes | 6110 | ac_header_preproc=yes |
| 5485 | else | 6111 | else |
| 5486 | echo "$as_me: failed program was:" >&5 | 6112 | echo "$as_me: failed program was:" >&5 |
| @@ -5488,9 +6114,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 5488 | 6114 | ||
| 5489 | ac_header_preproc=no | 6115 | ac_header_preproc=no |
| 5490 | fi | 6116 | fi |
| 6117 | |||
| 5491 | rm -f conftest.err conftest.$ac_ext | 6118 | rm -f conftest.err conftest.$ac_ext |
| 5492 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 6119 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 5493 | echo "${ECHO_T}$ac_header_preproc" >&6 | 6120 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 5494 | 6121 | ||
| 5495 | # So? What about this header? | 6122 | # So? What about this header? |
| 5496 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 6123 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -5514,25 +6141,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 5514 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 6141 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 5515 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 6142 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 5516 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 6143 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 5517 | ( | 6144 | |
| 5518 | cat <<\_ASBOX | ||
| 5519 | ## ------------------------------------------ ## | ||
| 5520 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 5521 | ## ------------------------------------------ ## | ||
| 5522 | _ASBOX | ||
| 5523 | ) | | ||
| 5524 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 5525 | ;; | 6145 | ;; |
| 5526 | esac | 6146 | esac |
| 5527 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 6147 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5528 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 6148 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 5529 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 6149 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5530 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6150 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5531 | else | 6151 | else |
| 5532 | eval "$as_ac_Header=\$ac_header_preproc" | 6152 | eval "$as_ac_Header=\$ac_header_preproc" |
| 5533 | fi | 6153 | fi |
| 5534 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 6154 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 5535 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 6155 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 6156 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 5536 | 6157 | ||
| 5537 | fi | 6158 | fi |
| 5538 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 6159 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| @@ -5545,8 +6166,8 @@ fi | |||
| 5545 | done | 6166 | done |
| 5546 | 6167 | ||
| 5547 | # Emulation library used on NetBSD. | 6168 | # Emulation library used on NetBSD. |
| 5548 | echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 | 6169 | { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 |
| 5549 | echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6 | 6170 | echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; } |
| 5550 | if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then | 6171 | if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then |
| 5551 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6172 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5552 | else | 6173 | else |
| @@ -5559,55 +6180,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 5559 | cat >>conftest.$ac_ext <<_ACEOF | 6180 | cat >>conftest.$ac_ext <<_ACEOF |
| 5560 | /* end confdefs.h. */ | 6181 | /* end confdefs.h. */ |
| 5561 | 6182 | ||
| 5562 | /* Override any gcc2 internal prototype to avoid an error. */ | 6183 | /* Override any GCC internal prototype to avoid an error. |
| 6184 | Use char because int might match the return type of a GCC | ||
| 6185 | builtin and then its argument prototype would still apply. */ | ||
| 5563 | #ifdef __cplusplus | 6186 | #ifdef __cplusplus |
| 5564 | extern "C" | 6187 | extern "C" |
| 5565 | #endif | 6188 | #endif |
| 5566 | /* We use char because int might match the return type of a gcc2 | ||
| 5567 | builtin and then its argument prototype would still apply. */ | ||
| 5568 | char _oss_ioctl (); | 6189 | char _oss_ioctl (); |
| 5569 | int | 6190 | int |
| 5570 | main () | 6191 | main () |
| 5571 | { | 6192 | { |
| 5572 | _oss_ioctl (); | 6193 | return _oss_ioctl (); |
| 5573 | ; | 6194 | ; |
| 5574 | return 0; | 6195 | return 0; |
| 5575 | } | 6196 | } |
| 5576 | _ACEOF | 6197 | _ACEOF |
| 5577 | rm -f conftest.$ac_objext conftest$ac_exeext | 6198 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 5578 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6199 | if { (ac_try="$ac_link" |
| 5579 | (eval $ac_link) 2>conftest.er1 | 6200 | case "(($ac_try" in |
| 6201 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6202 | *) ac_try_echo=$ac_try;; | ||
| 6203 | esac | ||
| 6204 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 6205 | (eval "$ac_link") 2>conftest.er1 | ||
| 5580 | ac_status=$? | 6206 | ac_status=$? |
| 5581 | grep -v '^ *+' conftest.er1 >conftest.err | 6207 | grep -v '^ *+' conftest.er1 >conftest.err |
| 5582 | rm -f conftest.er1 | 6208 | rm -f conftest.er1 |
| 5583 | cat conftest.err >&5 | 6209 | cat conftest.err >&5 |
| 5584 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6210 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5585 | (exit $ac_status); } && | 6211 | (exit $ac_status); } && { |
| 5586 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 6212 | test -z "$ac_c_werror_flag" || |
| 5587 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6213 | test ! -s conftest.err |
| 5588 | (eval $ac_try) 2>&5 | 6214 | } && test -s conftest$ac_exeext && |
| 5589 | ac_status=$? | 6215 | $as_test_x conftest$ac_exeext; then |
| 5590 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5591 | (exit $ac_status); }; } && | ||
| 5592 | { ac_try='test -s conftest$ac_exeext' | ||
| 5593 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 5594 | (eval $ac_try) 2>&5 | ||
| 5595 | ac_status=$? | ||
| 5596 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5597 | (exit $ac_status); }; }; then | ||
| 5598 | ac_cv_lib_ossaudio__oss_ioctl=yes | 6216 | ac_cv_lib_ossaudio__oss_ioctl=yes |
| 5599 | else | 6217 | else |
| 5600 | echo "$as_me: failed program was:" >&5 | 6218 | echo "$as_me: failed program was:" >&5 |
| 5601 | sed 's/^/| /' conftest.$ac_ext >&5 | 6219 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 5602 | 6220 | ||
| 5603 | ac_cv_lib_ossaudio__oss_ioctl=no | 6221 | ac_cv_lib_ossaudio__oss_ioctl=no |
| 5604 | fi | 6222 | fi |
| 5605 | rm -f conftest.err conftest.$ac_objext \ | 6223 | |
| 6224 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 5606 | conftest$ac_exeext conftest.$ac_ext | 6225 | conftest$ac_exeext conftest.$ac_ext |
| 5607 | LIBS=$ac_check_lib_save_LIBS | 6226 | LIBS=$ac_check_lib_save_LIBS |
| 5608 | fi | 6227 | fi |
| 5609 | echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 | 6228 | { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 |
| 5610 | echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6 | 6229 | echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; } |
| 5611 | if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then | 6230 | if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then |
| 5612 | LIBSOUND=-lossaudio | 6231 | LIBSOUND=-lossaudio |
| 5613 | else | 6232 | else |
| @@ -5627,8 +6246,8 @@ fi | |||
| 5627 | if test -z "$PKG_CONFIG"; then | 6246 | if test -z "$PKG_CONFIG"; then |
| 5628 | # Extract the first word of "pkg-config", so it can be a program name with args. | 6247 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 5629 | set dummy pkg-config; ac_word=$2 | 6248 | set dummy pkg-config; ac_word=$2 |
| 5630 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 6249 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 5631 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 6250 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 5632 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 6251 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 5633 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6252 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5634 | else | 6253 | else |
| @@ -5643,28 +6262,29 @@ do | |||
| 5643 | IFS=$as_save_IFS | 6262 | IFS=$as_save_IFS |
| 5644 | test -z "$as_dir" && as_dir=. | 6263 | test -z "$as_dir" && as_dir=. |
| 5645 | for ac_exec_ext in '' $ac_executable_extensions; do | 6264 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 5646 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 6265 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 5647 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 6266 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 5648 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6267 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 5649 | break 2 | 6268 | break 2 |
| 5650 | fi | 6269 | fi |
| 5651 | done | 6270 | done |
| 5652 | done | 6271 | done |
| 6272 | IFS=$as_save_IFS | ||
| 5653 | 6273 | ||
| 5654 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 6274 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| 5655 | ;; | 6275 | ;; |
| 5656 | esac | 6276 | esac |
| 5657 | fi | 6277 | fi |
| 5658 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 6278 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 5659 | |||
| 5660 | if test -n "$PKG_CONFIG"; then | 6279 | if test -n "$PKG_CONFIG"; then |
| 5661 | echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 6280 | { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 5662 | echo "${ECHO_T}$PKG_CONFIG" >&6 | 6281 | echo "${ECHO_T}$PKG_CONFIG" >&6; } |
| 5663 | else | 6282 | else |
| 5664 | echo "$as_me:$LINENO: result: no" >&5 | 6283 | { echo "$as_me:$LINENO: result: no" >&5 |
| 5665 | echo "${ECHO_T}no" >&6 | 6284 | echo "${ECHO_T}no" >&6; } |
| 5666 | fi | 6285 | fi |
| 5667 | 6286 | ||
| 6287 | |||
| 5668 | fi | 6288 | fi |
| 5669 | 6289 | ||
| 5670 | if test "$PKG_CONFIG" = "no" ; then | 6290 | if test "$PKG_CONFIG" = "no" ; then |
| @@ -5672,28 +6292,28 @@ fi | |||
| 5672 | else | 6292 | else |
| 5673 | PKG_CONFIG_MIN_VERSION=0.9.0 | 6293 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 5674 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 6294 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 5675 | echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5 | 6295 | { echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5 |
| 5676 | echo $ECHO_N "checking for $ALSA_MODULES... $ECHO_C" >&6 | 6296 | echo $ECHO_N "checking for $ALSA_MODULES... $ECHO_C" >&6; } |
| 5677 | 6297 | ||
| 5678 | if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then | 6298 | if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then |
| 5679 | echo "$as_me:$LINENO: result: yes" >&5 | 6299 | { echo "$as_me:$LINENO: result: yes" >&5 |
| 5680 | echo "${ECHO_T}yes" >&6 | 6300 | echo "${ECHO_T}yes" >&6; } |
| 5681 | succeeded=yes | 6301 | succeeded=yes |
| 5682 | 6302 | ||
| 5683 | echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5 | 6303 | { echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5 |
| 5684 | echo $ECHO_N "checking ALSA_CFLAGS... $ECHO_C" >&6 | 6304 | echo $ECHO_N "checking ALSA_CFLAGS... $ECHO_C" >&6; } |
| 5685 | ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"` | 6305 | ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"` |
| 5686 | echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 | 6306 | { echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 |
| 5687 | echo "${ECHO_T}$ALSA_CFLAGS" >&6 | 6307 | echo "${ECHO_T}$ALSA_CFLAGS" >&6; } |
| 5688 | 6308 | ||
| 5689 | echo "$as_me:$LINENO: checking ALSA_LIBS" >&5 | 6309 | { echo "$as_me:$LINENO: checking ALSA_LIBS" >&5 |
| 5690 | echo $ECHO_N "checking ALSA_LIBS... $ECHO_C" >&6 | 6310 | echo $ECHO_N "checking ALSA_LIBS... $ECHO_C" >&6; } |
| 5691 | ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"` | 6311 | ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"` |
| 5692 | echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 | 6312 | { echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 |
| 5693 | echo "${ECHO_T}$ALSA_LIBS" >&6 | 6313 | echo "${ECHO_T}$ALSA_LIBS" >&6; } |
| 5694 | else | 6314 | else |
| 5695 | echo "$as_me:$LINENO: result: no" >&5 | 6315 | { echo "$as_me:$LINENO: result: no" >&5 |
| 5696 | echo "${ECHO_T}no" >&6 | 6316 | echo "${ECHO_T}no" >&6; } |
| 5697 | ALSA_CFLAGS="" | 6317 | ALSA_CFLAGS="" |
| 5698 | ALSA_LIBS="" | 6318 | ALSA_LIBS="" |
| 5699 | ## If we have a custom action on failure, don't print errors, but | 6319 | ## If we have a custom action on failure, don't print errors, but |
| @@ -5760,18 +6380,19 @@ for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | |||
| 5760 | sys/utsname.h pwd.h | 6380 | sys/utsname.h pwd.h |
| 5761 | do | 6381 | do |
| 5762 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6382 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5763 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 6383 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5764 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 6384 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5765 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 6385 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 5766 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 6386 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5767 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6387 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5768 | fi | 6388 | fi |
| 5769 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 6389 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 5770 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 6390 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 6391 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 5771 | else | 6392 | else |
| 5772 | # Is the header compilable? | 6393 | # Is the header compilable? |
| 5773 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 6394 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 5774 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 6395 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 5775 | cat >conftest.$ac_ext <<_ACEOF | 6396 | cat >conftest.$ac_ext <<_ACEOF |
| 5776 | /* confdefs.h. */ | 6397 | /* confdefs.h. */ |
| 5777 | _ACEOF | 6398 | _ACEOF |
| @@ -5782,40 +6403,37 @@ $ac_includes_default | |||
| 5782 | #include <$ac_header> | 6403 | #include <$ac_header> |
| 5783 | _ACEOF | 6404 | _ACEOF |
| 5784 | rm -f conftest.$ac_objext | 6405 | rm -f conftest.$ac_objext |
| 5785 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6406 | if { (ac_try="$ac_compile" |
| 5786 | (eval $ac_compile) 2>conftest.er1 | 6407 | case "(($ac_try" in |
| 6408 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6409 | *) ac_try_echo=$ac_try;; | ||
| 6410 | esac | ||
| 6411 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 6412 | (eval "$ac_compile") 2>conftest.er1 | ||
| 5787 | ac_status=$? | 6413 | ac_status=$? |
| 5788 | grep -v '^ *+' conftest.er1 >conftest.err | 6414 | grep -v '^ *+' conftest.er1 >conftest.err |
| 5789 | rm -f conftest.er1 | 6415 | rm -f conftest.er1 |
| 5790 | cat conftest.err >&5 | 6416 | cat conftest.err >&5 |
| 5791 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6417 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5792 | (exit $ac_status); } && | 6418 | (exit $ac_status); } && { |
| 5793 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 6419 | test -z "$ac_c_werror_flag" || |
| 5794 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6420 | test ! -s conftest.err |
| 5795 | (eval $ac_try) 2>&5 | 6421 | } && test -s conftest.$ac_objext; then |
| 5796 | ac_status=$? | ||
| 5797 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5798 | (exit $ac_status); }; } && | ||
| 5799 | { ac_try='test -s conftest.$ac_objext' | ||
| 5800 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 5801 | (eval $ac_try) 2>&5 | ||
| 5802 | ac_status=$? | ||
| 5803 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5804 | (exit $ac_status); }; }; then | ||
| 5805 | ac_header_compiler=yes | 6422 | ac_header_compiler=yes |
| 5806 | else | 6423 | else |
| 5807 | echo "$as_me: failed program was:" >&5 | 6424 | echo "$as_me: failed program was:" >&5 |
| 5808 | sed 's/^/| /' conftest.$ac_ext >&5 | 6425 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 5809 | 6426 | ||
| 5810 | ac_header_compiler=no | 6427 | ac_header_compiler=no |
| 5811 | fi | 6428 | fi |
| 5812 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 6429 | |
| 5813 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 6430 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5814 | echo "${ECHO_T}$ac_header_compiler" >&6 | 6431 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 6432 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 5815 | 6433 | ||
| 5816 | # Is the header present? | 6434 | # Is the header present? |
| 5817 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 6435 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 5818 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 6436 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 5819 | cat >conftest.$ac_ext <<_ACEOF | 6437 | cat >conftest.$ac_ext <<_ACEOF |
| 5820 | /* confdefs.h. */ | 6438 | /* confdefs.h. */ |
| 5821 | _ACEOF | 6439 | _ACEOF |
| @@ -5824,24 +6442,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 5824 | /* end confdefs.h. */ | 6442 | /* end confdefs.h. */ |
| 5825 | #include <$ac_header> | 6443 | #include <$ac_header> |
| 5826 | _ACEOF | 6444 | _ACEOF |
| 5827 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 6445 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 5828 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 6446 | case "(($ac_try" in |
| 6447 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6448 | *) ac_try_echo=$ac_try;; | ||
| 6449 | esac | ||
| 6450 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 6451 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 5829 | ac_status=$? | 6452 | ac_status=$? |
| 5830 | grep -v '^ *+' conftest.er1 >conftest.err | 6453 | grep -v '^ *+' conftest.er1 >conftest.err |
| 5831 | rm -f conftest.er1 | 6454 | rm -f conftest.er1 |
| 5832 | cat conftest.err >&5 | 6455 | cat conftest.err >&5 |
| 5833 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6456 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5834 | (exit $ac_status); } >/dev/null; then | 6457 | (exit $ac_status); } >/dev/null && { |
| 5835 | if test -s conftest.err; then | 6458 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 5836 | ac_cpp_err=$ac_c_preproc_warn_flag | 6459 | test ! -s conftest.err |
| 5837 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 6460 | }; then |
| 5838 | else | ||
| 5839 | ac_cpp_err= | ||
| 5840 | fi | ||
| 5841 | else | ||
| 5842 | ac_cpp_err=yes | ||
| 5843 | fi | ||
| 5844 | if test -z "$ac_cpp_err"; then | ||
| 5845 | ac_header_preproc=yes | 6461 | ac_header_preproc=yes |
| 5846 | else | 6462 | else |
| 5847 | echo "$as_me: failed program was:" >&5 | 6463 | echo "$as_me: failed program was:" >&5 |
| @@ -5849,9 +6465,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 5849 | 6465 | ||
| 5850 | ac_header_preproc=no | 6466 | ac_header_preproc=no |
| 5851 | fi | 6467 | fi |
| 6468 | |||
| 5852 | rm -f conftest.err conftest.$ac_ext | 6469 | rm -f conftest.err conftest.$ac_ext |
| 5853 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 6470 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 5854 | echo "${ECHO_T}$ac_header_preproc" >&6 | 6471 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 5855 | 6472 | ||
| 5856 | # So? What about this header? | 6473 | # So? What about this header? |
| 5857 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 6474 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -5875,25 +6492,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 5875 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 6492 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 5876 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 6493 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 5877 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 6494 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 5878 | ( | 6495 | |
| 5879 | cat <<\_ASBOX | ||
| 5880 | ## ------------------------------------------ ## | ||
| 5881 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 5882 | ## ------------------------------------------ ## | ||
| 5883 | _ASBOX | ||
| 5884 | ) | | ||
| 5885 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 5886 | ;; | 6496 | ;; |
| 5887 | esac | 6497 | esac |
| 5888 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 6498 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5889 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 6499 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 5890 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 6500 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5891 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6501 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5892 | else | 6502 | else |
| 5893 | eval "$as_ac_Header=\$ac_header_preproc" | 6503 | eval "$as_ac_Header=\$ac_header_preproc" |
| 5894 | fi | 6504 | fi |
| 5895 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 6505 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 5896 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 6506 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 6507 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 5897 | 6508 | ||
| 5898 | fi | 6509 | fi |
| 5899 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 6510 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| @@ -5906,8 +6517,8 @@ fi | |||
| 5906 | done | 6517 | done |
| 5907 | 6518 | ||
| 5908 | 6519 | ||
| 5909 | echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5 | 6520 | { echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5 |
| 5910 | echo $ECHO_N "checking if personality LINUX32 can be set... $ECHO_C" >&6 | 6521 | echo $ECHO_N "checking if personality LINUX32 can be set... $ECHO_C" >&6; } |
| 5911 | cat >conftest.$ac_ext <<_ACEOF | 6522 | cat >conftest.$ac_ext <<_ACEOF |
| 5912 | /* confdefs.h. */ | 6523 | /* confdefs.h. */ |
| 5913 | _ACEOF | 6524 | _ACEOF |
| @@ -5924,36 +6535,33 @@ personality (PER_LINUX32) | |||
| 5924 | } | 6535 | } |
| 5925 | _ACEOF | 6536 | _ACEOF |
| 5926 | rm -f conftest.$ac_objext | 6537 | rm -f conftest.$ac_objext |
| 5927 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6538 | if { (ac_try="$ac_compile" |
| 5928 | (eval $ac_compile) 2>conftest.er1 | 6539 | case "(($ac_try" in |
| 6540 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6541 | *) ac_try_echo=$ac_try;; | ||
| 6542 | esac | ||
| 6543 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 6544 | (eval "$ac_compile") 2>conftest.er1 | ||
| 5929 | ac_status=$? | 6545 | ac_status=$? |
| 5930 | grep -v '^ *+' conftest.er1 >conftest.err | 6546 | grep -v '^ *+' conftest.er1 >conftest.err |
| 5931 | rm -f conftest.er1 | 6547 | rm -f conftest.er1 |
| 5932 | cat conftest.err >&5 | 6548 | cat conftest.err >&5 |
| 5933 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6549 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5934 | (exit $ac_status); } && | 6550 | (exit $ac_status); } && { |
| 5935 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 6551 | test -z "$ac_c_werror_flag" || |
| 5936 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6552 | test ! -s conftest.err |
| 5937 | (eval $ac_try) 2>&5 | 6553 | } && test -s conftest.$ac_objext; then |
| 5938 | ac_status=$? | ||
| 5939 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5940 | (exit $ac_status); }; } && | ||
| 5941 | { ac_try='test -s conftest.$ac_objext' | ||
| 5942 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 5943 | (eval $ac_try) 2>&5 | ||
| 5944 | ac_status=$? | ||
| 5945 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 5946 | (exit $ac_status); }; }; then | ||
| 5947 | emacs_cv_personality_linux32=yes | 6554 | emacs_cv_personality_linux32=yes |
| 5948 | else | 6555 | else |
| 5949 | echo "$as_me: failed program was:" >&5 | 6556 | echo "$as_me: failed program was:" >&5 |
| 5950 | sed 's/^/| /' conftest.$ac_ext >&5 | 6557 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 5951 | 6558 | ||
| 5952 | emacs_cv_personality_linux32=no | 6559 | emacs_cv_personality_linux32=no |
| 5953 | fi | 6560 | fi |
| 5954 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 6561 | |
| 5955 | echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5 | 6562 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 5956 | echo "${ECHO_T}$emacs_cv_personality_linux32" >&6 | 6563 | { echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5 |
| 6564 | echo "${ECHO_T}$emacs_cv_personality_linux32" >&6; } | ||
| 5957 | 6565 | ||
| 5958 | if test $emacs_cv_personality_linux32 = yes; then | 6566 | if test $emacs_cv_personality_linux32 = yes; then |
| 5959 | 6567 | ||
| @@ -5967,9 +6575,9 @@ fi | |||
| 5967 | for ac_header in term.h | 6575 | for ac_header in term.h |
| 5968 | do | 6576 | do |
| 5969 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6577 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 5970 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 6578 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 5971 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 6579 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 5972 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 6580 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 5973 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6581 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 5974 | else | 6582 | else |
| 5975 | cat >conftest.$ac_ext <<_ACEOF | 6583 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -5980,24 +6588,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 5980 | /* end confdefs.h. */ | 6588 | /* end confdefs.h. */ |
| 5981 | #include <$ac_header> | 6589 | #include <$ac_header> |
| 5982 | _ACEOF | 6590 | _ACEOF |
| 5983 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 6591 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 5984 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 6592 | case "(($ac_try" in |
| 6593 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6594 | *) ac_try_echo=$ac_try;; | ||
| 6595 | esac | ||
| 6596 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 6597 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 5985 | ac_status=$? | 6598 | ac_status=$? |
| 5986 | grep -v '^ *+' conftest.er1 >conftest.err | 6599 | grep -v '^ *+' conftest.er1 >conftest.err |
| 5987 | rm -f conftest.er1 | 6600 | rm -f conftest.er1 |
| 5988 | cat conftest.err >&5 | 6601 | cat conftest.err >&5 |
| 5989 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6602 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 5990 | (exit $ac_status); } >/dev/null; then | 6603 | (exit $ac_status); } >/dev/null && { |
| 5991 | if test -s conftest.err; then | 6604 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 5992 | ac_cpp_err=$ac_c_preproc_warn_flag | 6605 | test ! -s conftest.err |
| 5993 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 6606 | }; then |
| 5994 | else | ||
| 5995 | ac_cpp_err= | ||
| 5996 | fi | ||
| 5997 | else | ||
| 5998 | ac_cpp_err=yes | ||
| 5999 | fi | ||
| 6000 | if test -z "$ac_cpp_err"; then | ||
| 6001 | eval "$as_ac_Header=yes" | 6607 | eval "$as_ac_Header=yes" |
| 6002 | else | 6608 | else |
| 6003 | echo "$as_me: failed program was:" >&5 | 6609 | echo "$as_me: failed program was:" >&5 |
| @@ -6005,10 +6611,12 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 6005 | 6611 | ||
| 6006 | eval "$as_ac_Header=no" | 6612 | eval "$as_ac_Header=no" |
| 6007 | fi | 6613 | fi |
| 6614 | |||
| 6008 | rm -f conftest.err conftest.$ac_ext | 6615 | rm -f conftest.err conftest.$ac_ext |
| 6009 | fi | 6616 | fi |
| 6010 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 6617 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 6011 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 6618 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 6619 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 6012 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 6620 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 6013 | cat >>confdefs.h <<_ACEOF | 6621 | cat >>confdefs.h <<_ACEOF |
| 6014 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6622 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| @@ -6018,8 +6626,8 @@ fi | |||
| 6018 | 6626 | ||
| 6019 | done | 6627 | done |
| 6020 | 6628 | ||
| 6021 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 6629 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| 6022 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 6630 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
| 6023 | if test "${ac_cv_header_stdc+set}" = set; then | 6631 | if test "${ac_cv_header_stdc+set}" = set; then |
| 6024 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6632 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6025 | else | 6633 | else |
| @@ -6043,34 +6651,31 @@ main () | |||
| 6043 | } | 6651 | } |
| 6044 | _ACEOF | 6652 | _ACEOF |
| 6045 | rm -f conftest.$ac_objext | 6653 | rm -f conftest.$ac_objext |
| 6046 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6654 | if { (ac_try="$ac_compile" |
| 6047 | (eval $ac_compile) 2>conftest.er1 | 6655 | case "(($ac_try" in |
| 6656 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6657 | *) ac_try_echo=$ac_try;; | ||
| 6658 | esac | ||
| 6659 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 6660 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6048 | ac_status=$? | 6661 | ac_status=$? |
| 6049 | grep -v '^ *+' conftest.er1 >conftest.err | 6662 | grep -v '^ *+' conftest.er1 >conftest.err |
| 6050 | rm -f conftest.er1 | 6663 | rm -f conftest.er1 |
| 6051 | cat conftest.err >&5 | 6664 | cat conftest.err >&5 |
| 6052 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6665 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6053 | (exit $ac_status); } && | 6666 | (exit $ac_status); } && { |
| 6054 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 6667 | test -z "$ac_c_werror_flag" || |
| 6055 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6668 | test ! -s conftest.err |
| 6056 | (eval $ac_try) 2>&5 | 6669 | } && test -s conftest.$ac_objext; then |
| 6057 | ac_status=$? | ||
| 6058 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6059 | (exit $ac_status); }; } && | ||
| 6060 | { ac_try='test -s conftest.$ac_objext' | ||
| 6061 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 6062 | (eval $ac_try) 2>&5 | ||
| 6063 | ac_status=$? | ||
| 6064 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6065 | (exit $ac_status); }; }; then | ||
| 6066 | ac_cv_header_stdc=yes | 6670 | ac_cv_header_stdc=yes |
| 6067 | else | 6671 | else |
| 6068 | echo "$as_me: failed program was:" >&5 | 6672 | echo "$as_me: failed program was:" >&5 |
| 6069 | sed 's/^/| /' conftest.$ac_ext >&5 | 6673 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 6070 | 6674 | ||
| 6071 | ac_cv_header_stdc=no | 6675 | ac_cv_header_stdc=no |
| 6072 | fi | 6676 | fi |
| 6073 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 6677 | |
| 6678 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6074 | 6679 | ||
| 6075 | if test $ac_cv_header_stdc = yes; then | 6680 | if test $ac_cv_header_stdc = yes; then |
| 6076 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 6681 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| @@ -6126,6 +6731,7 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 6126 | cat >>conftest.$ac_ext <<_ACEOF | 6731 | cat >>conftest.$ac_ext <<_ACEOF |
| 6127 | /* end confdefs.h. */ | 6732 | /* end confdefs.h. */ |
| 6128 | #include <ctype.h> | 6733 | #include <ctype.h> |
| 6734 | #include <stdlib.h> | ||
| 6129 | #if ((' ' & 0x0FF) == 0x020) | 6735 | #if ((' ' & 0x0FF) == 0x020) |
| 6130 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 6736 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 6131 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 6737 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| @@ -6145,18 +6751,27 @@ main () | |||
| 6145 | for (i = 0; i < 256; i++) | 6751 | for (i = 0; i < 256; i++) |
| 6146 | if (XOR (islower (i), ISLOWER (i)) | 6752 | if (XOR (islower (i), ISLOWER (i)) |
| 6147 | || toupper (i) != TOUPPER (i)) | 6753 | || toupper (i) != TOUPPER (i)) |
| 6148 | exit(2); | 6754 | return 2; |
| 6149 | exit (0); | 6755 | return 0; |
| 6150 | } | 6756 | } |
| 6151 | _ACEOF | 6757 | _ACEOF |
| 6152 | rm -f conftest$ac_exeext | 6758 | rm -f conftest$ac_exeext |
| 6153 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6759 | if { (ac_try="$ac_link" |
| 6154 | (eval $ac_link) 2>&5 | 6760 | case "(($ac_try" in |
| 6761 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6762 | *) ac_try_echo=$ac_try;; | ||
| 6763 | esac | ||
| 6764 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 6765 | (eval "$ac_link") 2>&5 | ||
| 6155 | ac_status=$? | 6766 | ac_status=$? |
| 6156 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6767 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6157 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 6768 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 6158 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6769 | { (case "(($ac_try" in |
| 6159 | (eval $ac_try) 2>&5 | 6770 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 6771 | *) ac_try_echo=$ac_try;; | ||
| 6772 | esac | ||
| 6773 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 6774 | (eval "$ac_try") 2>&5 | ||
| 6160 | ac_status=$? | 6775 | ac_status=$? |
| 6161 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6776 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6162 | (exit $ac_status); }; }; then | 6777 | (exit $ac_status); }; }; then |
| @@ -6169,12 +6784,14 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 6169 | ( exit $ac_status ) | 6784 | ( exit $ac_status ) |
| 6170 | ac_cv_header_stdc=no | 6785 | ac_cv_header_stdc=no |
| 6171 | fi | 6786 | fi |
| 6172 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 6787 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 6173 | fi | 6788 | fi |
| 6789 | |||
| 6790 | |||
| 6174 | fi | 6791 | fi |
| 6175 | fi | 6792 | fi |
| 6176 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 6793 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| 6177 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 6794 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
| 6178 | if test $ac_cv_header_stdc = yes; then | 6795 | if test $ac_cv_header_stdc = yes; then |
| 6179 | 6796 | ||
| 6180 | cat >>confdefs.h <<\_ACEOF | 6797 | cat >>confdefs.h <<\_ACEOF |
| @@ -6183,8 +6800,8 @@ _ACEOF | |||
| 6183 | 6800 | ||
| 6184 | fi | 6801 | fi |
| 6185 | 6802 | ||
| 6186 | echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 | 6803 | { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
| 6187 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 | 6804 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } |
| 6188 | if test "${ac_cv_header_time+set}" = set; then | 6805 | if test "${ac_cv_header_time+set}" = set; then |
| 6189 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6806 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6190 | else | 6807 | else |
| @@ -6208,37 +6825,34 @@ return 0; | |||
| 6208 | } | 6825 | } |
| 6209 | _ACEOF | 6826 | _ACEOF |
| 6210 | rm -f conftest.$ac_objext | 6827 | rm -f conftest.$ac_objext |
| 6211 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6828 | if { (ac_try="$ac_compile" |
| 6212 | (eval $ac_compile) 2>conftest.er1 | 6829 | case "(($ac_try" in |
| 6830 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6831 | *) ac_try_echo=$ac_try;; | ||
| 6832 | esac | ||
| 6833 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 6834 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6213 | ac_status=$? | 6835 | ac_status=$? |
| 6214 | grep -v '^ *+' conftest.er1 >conftest.err | 6836 | grep -v '^ *+' conftest.er1 >conftest.err |
| 6215 | rm -f conftest.er1 | 6837 | rm -f conftest.er1 |
| 6216 | cat conftest.err >&5 | 6838 | cat conftest.err >&5 |
| 6217 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6839 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6218 | (exit $ac_status); } && | 6840 | (exit $ac_status); } && { |
| 6219 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 6841 | test -z "$ac_c_werror_flag" || |
| 6220 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6842 | test ! -s conftest.err |
| 6221 | (eval $ac_try) 2>&5 | 6843 | } && test -s conftest.$ac_objext; then |
| 6222 | ac_status=$? | ||
| 6223 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6224 | (exit $ac_status); }; } && | ||
| 6225 | { ac_try='test -s conftest.$ac_objext' | ||
| 6226 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 6227 | (eval $ac_try) 2>&5 | ||
| 6228 | ac_status=$? | ||
| 6229 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6230 | (exit $ac_status); }; }; then | ||
| 6231 | ac_cv_header_time=yes | 6844 | ac_cv_header_time=yes |
| 6232 | else | 6845 | else |
| 6233 | echo "$as_me: failed program was:" >&5 | 6846 | echo "$as_me: failed program was:" >&5 |
| 6234 | sed 's/^/| /' conftest.$ac_ext >&5 | 6847 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 6235 | 6848 | ||
| 6236 | ac_cv_header_time=no | 6849 | ac_cv_header_time=no |
| 6237 | fi | 6850 | fi |
| 6238 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 6851 | |
| 6852 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6239 | fi | 6853 | fi |
| 6240 | echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 | 6854 | { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
| 6241 | echo "${ECHO_T}$ac_cv_header_time" >&6 | 6855 | echo "${ECHO_T}$ac_cv_header_time" >&6; } |
| 6242 | if test $ac_cv_header_time = yes; then | 6856 | if test $ac_cv_header_time = yes; then |
| 6243 | 6857 | ||
| 6244 | cat >>confdefs.h <<\_ACEOF | 6858 | cat >>confdefs.h <<\_ACEOF |
| @@ -6247,8 +6861,8 @@ _ACEOF | |||
| 6247 | 6861 | ||
| 6248 | fi | 6862 | fi |
| 6249 | 6863 | ||
| 6250 | echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 | 6864 | { echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 |
| 6251 | echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6 | 6865 | echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6; } |
| 6252 | if test "${ac_cv_have_decl_sys_siglist+set}" = set; then | 6866 | if test "${ac_cv_have_decl_sys_siglist+set}" = set; then |
| 6253 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6867 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6254 | else | 6868 | else |
| @@ -6263,7 +6877,7 @@ int | |||
| 6263 | main () | 6877 | main () |
| 6264 | { | 6878 | { |
| 6265 | #ifndef sys_siglist | 6879 | #ifndef sys_siglist |
| 6266 | char *p = (char *) sys_siglist; | 6880 | (void) sys_siglist; |
| 6267 | #endif | 6881 | #endif |
| 6268 | 6882 | ||
| 6269 | ; | 6883 | ; |
| @@ -6271,37 +6885,34 @@ main () | |||
| 6271 | } | 6885 | } |
| 6272 | _ACEOF | 6886 | _ACEOF |
| 6273 | rm -f conftest.$ac_objext | 6887 | rm -f conftest.$ac_objext |
| 6274 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6888 | if { (ac_try="$ac_compile" |
| 6275 | (eval $ac_compile) 2>conftest.er1 | 6889 | case "(($ac_try" in |
| 6890 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6891 | *) ac_try_echo=$ac_try;; | ||
| 6892 | esac | ||
| 6893 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 6894 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6276 | ac_status=$? | 6895 | ac_status=$? |
| 6277 | grep -v '^ *+' conftest.er1 >conftest.err | 6896 | grep -v '^ *+' conftest.er1 >conftest.err |
| 6278 | rm -f conftest.er1 | 6897 | rm -f conftest.er1 |
| 6279 | cat conftest.err >&5 | 6898 | cat conftest.err >&5 |
| 6280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6899 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6281 | (exit $ac_status); } && | 6900 | (exit $ac_status); } && { |
| 6282 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 6901 | test -z "$ac_c_werror_flag" || |
| 6283 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6902 | test ! -s conftest.err |
| 6284 | (eval $ac_try) 2>&5 | 6903 | } && test -s conftest.$ac_objext; then |
| 6285 | ac_status=$? | ||
| 6286 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6287 | (exit $ac_status); }; } && | ||
| 6288 | { ac_try='test -s conftest.$ac_objext' | ||
| 6289 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 6290 | (eval $ac_try) 2>&5 | ||
| 6291 | ac_status=$? | ||
| 6292 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6293 | (exit $ac_status); }; }; then | ||
| 6294 | ac_cv_have_decl_sys_siglist=yes | 6904 | ac_cv_have_decl_sys_siglist=yes |
| 6295 | else | 6905 | else |
| 6296 | echo "$as_me: failed program was:" >&5 | 6906 | echo "$as_me: failed program was:" >&5 |
| 6297 | sed 's/^/| /' conftest.$ac_ext >&5 | 6907 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 6298 | 6908 | ||
| 6299 | ac_cv_have_decl_sys_siglist=no | 6909 | ac_cv_have_decl_sys_siglist=no |
| 6300 | fi | 6910 | fi |
| 6301 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 6911 | |
| 6912 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6302 | fi | 6913 | fi |
| 6303 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5 | 6914 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5 |
| 6304 | echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6 | 6915 | echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6; } |
| 6305 | if test $ac_cv_have_decl_sys_siglist = yes; then | 6916 | if test $ac_cv_have_decl_sys_siglist = yes; then |
| 6306 | 6917 | ||
| 6307 | cat >>confdefs.h <<_ACEOF | 6918 | cat >>confdefs.h <<_ACEOF |
| @@ -6320,8 +6931,8 @@ fi | |||
| 6320 | 6931 | ||
| 6321 | if test $ac_cv_have_decl_sys_siglist != yes; then | 6932 | if test $ac_cv_have_decl_sys_siglist != yes; then |
| 6322 | # For Tru64, at least: | 6933 | # For Tru64, at least: |
| 6323 | echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5 | 6934 | { echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5 |
| 6324 | echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6 | 6935 | echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6; } |
| 6325 | if test "${ac_cv_have_decl___sys_siglist+set}" = set; then | 6936 | if test "${ac_cv_have_decl___sys_siglist+set}" = set; then |
| 6326 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6937 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6327 | else | 6938 | else |
| @@ -6336,7 +6947,7 @@ int | |||
| 6336 | main () | 6947 | main () |
| 6337 | { | 6948 | { |
| 6338 | #ifndef __sys_siglist | 6949 | #ifndef __sys_siglist |
| 6339 | char *p = (char *) __sys_siglist; | 6950 | (void) __sys_siglist; |
| 6340 | #endif | 6951 | #endif |
| 6341 | 6952 | ||
| 6342 | ; | 6953 | ; |
| @@ -6344,37 +6955,34 @@ main () | |||
| 6344 | } | 6955 | } |
| 6345 | _ACEOF | 6956 | _ACEOF |
| 6346 | rm -f conftest.$ac_objext | 6957 | rm -f conftest.$ac_objext |
| 6347 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6958 | if { (ac_try="$ac_compile" |
| 6348 | (eval $ac_compile) 2>conftest.er1 | 6959 | case "(($ac_try" in |
| 6960 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 6961 | *) ac_try_echo=$ac_try;; | ||
| 6962 | esac | ||
| 6963 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 6964 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6349 | ac_status=$? | 6965 | ac_status=$? |
| 6350 | grep -v '^ *+' conftest.er1 >conftest.err | 6966 | grep -v '^ *+' conftest.er1 >conftest.err |
| 6351 | rm -f conftest.er1 | 6967 | rm -f conftest.er1 |
| 6352 | cat conftest.err >&5 | 6968 | cat conftest.err >&5 |
| 6353 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6969 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6354 | (exit $ac_status); } && | 6970 | (exit $ac_status); } && { |
| 6355 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 6971 | test -z "$ac_c_werror_flag" || |
| 6356 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6972 | test ! -s conftest.err |
| 6357 | (eval $ac_try) 2>&5 | 6973 | } && test -s conftest.$ac_objext; then |
| 6358 | ac_status=$? | ||
| 6359 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6360 | (exit $ac_status); }; } && | ||
| 6361 | { ac_try='test -s conftest.$ac_objext' | ||
| 6362 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 6363 | (eval $ac_try) 2>&5 | ||
| 6364 | ac_status=$? | ||
| 6365 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6366 | (exit $ac_status); }; }; then | ||
| 6367 | ac_cv_have_decl___sys_siglist=yes | 6974 | ac_cv_have_decl___sys_siglist=yes |
| 6368 | else | 6975 | else |
| 6369 | echo "$as_me: failed program was:" >&5 | 6976 | echo "$as_me: failed program was:" >&5 |
| 6370 | sed 's/^/| /' conftest.$ac_ext >&5 | 6977 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 6371 | 6978 | ||
| 6372 | ac_cv_have_decl___sys_siglist=no | 6979 | ac_cv_have_decl___sys_siglist=no |
| 6373 | fi | 6980 | fi |
| 6374 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 6981 | |
| 6982 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6375 | fi | 6983 | fi |
| 6376 | echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5 | 6984 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5 |
| 6377 | echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6 | 6985 | echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6; } |
| 6378 | if test $ac_cv_have_decl___sys_siglist = yes; then | 6986 | if test $ac_cv_have_decl___sys_siglist = yes; then |
| 6379 | 6987 | ||
| 6380 | cat >>confdefs.h <<_ACEOF | 6988 | cat >>confdefs.h <<_ACEOF |
| @@ -6399,8 +7007,8 @@ _ACEOF | |||
| 6399 | 7007 | ||
| 6400 | fi | 7008 | fi |
| 6401 | fi | 7009 | fi |
| 6402 | echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 7010 | { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 6403 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 | 7011 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } |
| 6404 | if test "${ac_cv_header_sys_wait_h+set}" = set; then | 7012 | if test "${ac_cv_header_sys_wait_h+set}" = set; then |
| 6405 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7013 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6406 | else | 7014 | else |
| @@ -6413,7 +7021,7 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 6413 | #include <sys/types.h> | 7021 | #include <sys/types.h> |
| 6414 | #include <sys/wait.h> | 7022 | #include <sys/wait.h> |
| 6415 | #ifndef WEXITSTATUS | 7023 | #ifndef WEXITSTATUS |
| 6416 | # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 7024 | # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) |
| 6417 | #endif | 7025 | #endif |
| 6418 | #ifndef WIFEXITED | 7026 | #ifndef WIFEXITED |
| 6419 | # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) | 7027 | # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
| @@ -6430,37 +7038,34 @@ main () | |||
| 6430 | } | 7038 | } |
| 6431 | _ACEOF | 7039 | _ACEOF |
| 6432 | rm -f conftest.$ac_objext | 7040 | rm -f conftest.$ac_objext |
| 6433 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7041 | if { (ac_try="$ac_compile" |
| 6434 | (eval $ac_compile) 2>conftest.er1 | 7042 | case "(($ac_try" in |
| 7043 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7044 | *) ac_try_echo=$ac_try;; | ||
| 7045 | esac | ||
| 7046 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 7047 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6435 | ac_status=$? | 7048 | ac_status=$? |
| 6436 | grep -v '^ *+' conftest.er1 >conftest.err | 7049 | grep -v '^ *+' conftest.er1 >conftest.err |
| 6437 | rm -f conftest.er1 | 7050 | rm -f conftest.er1 |
| 6438 | cat conftest.err >&5 | 7051 | cat conftest.err >&5 |
| 6439 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7052 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6440 | (exit $ac_status); } && | 7053 | (exit $ac_status); } && { |
| 6441 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7054 | test -z "$ac_c_werror_flag" || |
| 6442 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7055 | test ! -s conftest.err |
| 6443 | (eval $ac_try) 2>&5 | 7056 | } && test -s conftest.$ac_objext; then |
| 6444 | ac_status=$? | ||
| 6445 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6446 | (exit $ac_status); }; } && | ||
| 6447 | { ac_try='test -s conftest.$ac_objext' | ||
| 6448 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 6449 | (eval $ac_try) 2>&5 | ||
| 6450 | ac_status=$? | ||
| 6451 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6452 | (exit $ac_status); }; }; then | ||
| 6453 | ac_cv_header_sys_wait_h=yes | 7057 | ac_cv_header_sys_wait_h=yes |
| 6454 | else | 7058 | else |
| 6455 | echo "$as_me: failed program was:" >&5 | 7059 | echo "$as_me: failed program was:" >&5 |
| 6456 | sed 's/^/| /' conftest.$ac_ext >&5 | 7060 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 6457 | 7061 | ||
| 6458 | ac_cv_header_sys_wait_h=no | 7062 | ac_cv_header_sys_wait_h=no |
| 6459 | fi | 7063 | fi |
| 6460 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7064 | |
| 7065 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6461 | fi | 7066 | fi |
| 6462 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 | 7067 | { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
| 6463 | echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 | 7068 | echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; } |
| 6464 | if test $ac_cv_header_sys_wait_h = yes; then | 7069 | if test $ac_cv_header_sys_wait_h = yes; then |
| 6465 | 7070 | ||
| 6466 | cat >>confdefs.h <<\_ACEOF | 7071 | cat >>confdefs.h <<\_ACEOF |
| @@ -6470,8 +7075,8 @@ _ACEOF | |||
| 6470 | fi | 7075 | fi |
| 6471 | 7076 | ||
| 6472 | 7077 | ||
| 6473 | echo "$as_me:$LINENO: checking for struct utimbuf" >&5 | 7078 | { echo "$as_me:$LINENO: checking for struct utimbuf" >&5 |
| 6474 | echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 | 7079 | echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6; } |
| 6475 | if test "${emacs_cv_struct_utimbuf+set}" = set; then | 7080 | if test "${emacs_cv_struct_utimbuf+set}" = set; then |
| 6476 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7081 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6477 | else | 7082 | else |
| @@ -6503,37 +7108,34 @@ static struct utimbuf x; x.actime = x.modtime; | |||
| 6503 | } | 7108 | } |
| 6504 | _ACEOF | 7109 | _ACEOF |
| 6505 | rm -f conftest.$ac_objext | 7110 | rm -f conftest.$ac_objext |
| 6506 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7111 | if { (ac_try="$ac_compile" |
| 6507 | (eval $ac_compile) 2>conftest.er1 | 7112 | case "(($ac_try" in |
| 7113 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7114 | *) ac_try_echo=$ac_try;; | ||
| 7115 | esac | ||
| 7116 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 7117 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6508 | ac_status=$? | 7118 | ac_status=$? |
| 6509 | grep -v '^ *+' conftest.er1 >conftest.err | 7119 | grep -v '^ *+' conftest.er1 >conftest.err |
| 6510 | rm -f conftest.er1 | 7120 | rm -f conftest.er1 |
| 6511 | cat conftest.err >&5 | 7121 | cat conftest.err >&5 |
| 6512 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7122 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6513 | (exit $ac_status); } && | 7123 | (exit $ac_status); } && { |
| 6514 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7124 | test -z "$ac_c_werror_flag" || |
| 6515 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7125 | test ! -s conftest.err |
| 6516 | (eval $ac_try) 2>&5 | 7126 | } && test -s conftest.$ac_objext; then |
| 6517 | ac_status=$? | ||
| 6518 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6519 | (exit $ac_status); }; } && | ||
| 6520 | { ac_try='test -s conftest.$ac_objext' | ||
| 6521 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 6522 | (eval $ac_try) 2>&5 | ||
| 6523 | ac_status=$? | ||
| 6524 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6525 | (exit $ac_status); }; }; then | ||
| 6526 | emacs_cv_struct_utimbuf=yes | 7127 | emacs_cv_struct_utimbuf=yes |
| 6527 | else | 7128 | else |
| 6528 | echo "$as_me: failed program was:" >&5 | 7129 | echo "$as_me: failed program was:" >&5 |
| 6529 | sed 's/^/| /' conftest.$ac_ext >&5 | 7130 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 6530 | 7131 | ||
| 6531 | emacs_cv_struct_utimbuf=no | 7132 | emacs_cv_struct_utimbuf=no |
| 6532 | fi | 7133 | fi |
| 6533 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7134 | |
| 7135 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6534 | fi | 7136 | fi |
| 6535 | echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 | 7137 | { echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 |
| 6536 | echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 | 7138 | echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6; } |
| 6537 | if test $emacs_cv_struct_utimbuf = yes; then | 7139 | if test $emacs_cv_struct_utimbuf = yes; then |
| 6538 | 7140 | ||
| 6539 | cat >>confdefs.h <<\_ACEOF | 7141 | cat >>confdefs.h <<\_ACEOF |
| @@ -6542,8 +7144,8 @@ _ACEOF | |||
| 6542 | 7144 | ||
| 6543 | fi | 7145 | fi |
| 6544 | 7146 | ||
| 6545 | echo "$as_me:$LINENO: checking return type of signal handlers" >&5 | 7147 | { echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
| 6546 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 | 7148 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; } |
| 6547 | if test "${ac_cv_type_signal+set}" = set; then | 7149 | if test "${ac_cv_type_signal+set}" = set; then |
| 6548 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7150 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6549 | else | 7151 | else |
| @@ -6555,55 +7157,44 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 6555 | /* end confdefs.h. */ | 7157 | /* end confdefs.h. */ |
| 6556 | #include <sys/types.h> | 7158 | #include <sys/types.h> |
| 6557 | #include <signal.h> | 7159 | #include <signal.h> |
| 6558 | #ifdef signal | ||
| 6559 | # undef signal | ||
| 6560 | #endif | ||
| 6561 | #ifdef __cplusplus | ||
| 6562 | extern "C" void (*signal (int, void (*)(int)))(int); | ||
| 6563 | #else | ||
| 6564 | void (*signal ()) (); | ||
| 6565 | #endif | ||
| 6566 | 7160 | ||
| 6567 | int | 7161 | int |
| 6568 | main () | 7162 | main () |
| 6569 | { | 7163 | { |
| 6570 | int i; | 7164 | return *(signal (0, 0)) (0) == 1; |
| 6571 | ; | 7165 | ; |
| 6572 | return 0; | 7166 | return 0; |
| 6573 | } | 7167 | } |
| 6574 | _ACEOF | 7168 | _ACEOF |
| 6575 | rm -f conftest.$ac_objext | 7169 | rm -f conftest.$ac_objext |
| 6576 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7170 | if { (ac_try="$ac_compile" |
| 6577 | (eval $ac_compile) 2>conftest.er1 | 7171 | case "(($ac_try" in |
| 7172 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7173 | *) ac_try_echo=$ac_try;; | ||
| 7174 | esac | ||
| 7175 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 7176 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6578 | ac_status=$? | 7177 | ac_status=$? |
| 6579 | grep -v '^ *+' conftest.er1 >conftest.err | 7178 | grep -v '^ *+' conftest.er1 >conftest.err |
| 6580 | rm -f conftest.er1 | 7179 | rm -f conftest.er1 |
| 6581 | cat conftest.err >&5 | 7180 | cat conftest.err >&5 |
| 6582 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7181 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6583 | (exit $ac_status); } && | 7182 | (exit $ac_status); } && { |
| 6584 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7183 | test -z "$ac_c_werror_flag" || |
| 6585 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7184 | test ! -s conftest.err |
| 6586 | (eval $ac_try) 2>&5 | 7185 | } && test -s conftest.$ac_objext; then |
| 6587 | ac_status=$? | 7186 | ac_cv_type_signal=int |
| 6588 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6589 | (exit $ac_status); }; } && | ||
| 6590 | { ac_try='test -s conftest.$ac_objext' | ||
| 6591 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 6592 | (eval $ac_try) 2>&5 | ||
| 6593 | ac_status=$? | ||
| 6594 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6595 | (exit $ac_status); }; }; then | ||
| 6596 | ac_cv_type_signal=void | ||
| 6597 | else | 7187 | else |
| 6598 | echo "$as_me: failed program was:" >&5 | 7188 | echo "$as_me: failed program was:" >&5 |
| 6599 | sed 's/^/| /' conftest.$ac_ext >&5 | 7189 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 6600 | 7190 | ||
| 6601 | ac_cv_type_signal=int | 7191 | ac_cv_type_signal=void |
| 6602 | fi | 7192 | fi |
| 6603 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7193 | |
| 7194 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6604 | fi | 7195 | fi |
| 6605 | echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 | 7196 | { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
| 6606 | echo "${ECHO_T}$ac_cv_type_signal" >&6 | 7197 | echo "${ECHO_T}$ac_cv_type_signal" >&6; } |
| 6607 | 7198 | ||
| 6608 | cat >>confdefs.h <<_ACEOF | 7199 | cat >>confdefs.h <<_ACEOF |
| 6609 | #define RETSIGTYPE $ac_cv_type_signal | 7200 | #define RETSIGTYPE $ac_cv_type_signal |
| @@ -6611,8 +7202,8 @@ _ACEOF | |||
| 6611 | 7202 | ||
| 6612 | 7203 | ||
| 6613 | 7204 | ||
| 6614 | echo "$as_me:$LINENO: checking for speed_t" >&5 | 7205 | { echo "$as_me:$LINENO: checking for speed_t" >&5 |
| 6615 | echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 | 7206 | echo $ECHO_N "checking for speed_t... $ECHO_C" >&6; } |
| 6616 | if test "${emacs_cv_speed_t+set}" = set; then | 7207 | if test "${emacs_cv_speed_t+set}" = set; then |
| 6617 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7208 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6618 | else | 7209 | else |
| @@ -6632,37 +7223,34 @@ speed_t x = 1; | |||
| 6632 | } | 7223 | } |
| 6633 | _ACEOF | 7224 | _ACEOF |
| 6634 | rm -f conftest.$ac_objext | 7225 | rm -f conftest.$ac_objext |
| 6635 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7226 | if { (ac_try="$ac_compile" |
| 6636 | (eval $ac_compile) 2>conftest.er1 | 7227 | case "(($ac_try" in |
| 7228 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7229 | *) ac_try_echo=$ac_try;; | ||
| 7230 | esac | ||
| 7231 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 7232 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6637 | ac_status=$? | 7233 | ac_status=$? |
| 6638 | grep -v '^ *+' conftest.er1 >conftest.err | 7234 | grep -v '^ *+' conftest.er1 >conftest.err |
| 6639 | rm -f conftest.er1 | 7235 | rm -f conftest.er1 |
| 6640 | cat conftest.err >&5 | 7236 | cat conftest.err >&5 |
| 6641 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7237 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6642 | (exit $ac_status); } && | 7238 | (exit $ac_status); } && { |
| 6643 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7239 | test -z "$ac_c_werror_flag" || |
| 6644 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7240 | test ! -s conftest.err |
| 6645 | (eval $ac_try) 2>&5 | 7241 | } && test -s conftest.$ac_objext; then |
| 6646 | ac_status=$? | ||
| 6647 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6648 | (exit $ac_status); }; } && | ||
| 6649 | { ac_try='test -s conftest.$ac_objext' | ||
| 6650 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 6651 | (eval $ac_try) 2>&5 | ||
| 6652 | ac_status=$? | ||
| 6653 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6654 | (exit $ac_status); }; }; then | ||
| 6655 | emacs_cv_speed_t=yes | 7242 | emacs_cv_speed_t=yes |
| 6656 | else | 7243 | else |
| 6657 | echo "$as_me: failed program was:" >&5 | 7244 | echo "$as_me: failed program was:" >&5 |
| 6658 | sed 's/^/| /' conftest.$ac_ext >&5 | 7245 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 6659 | 7246 | ||
| 6660 | emacs_cv_speed_t=no | 7247 | emacs_cv_speed_t=no |
| 6661 | fi | 7248 | fi |
| 6662 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7249 | |
| 7250 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6663 | fi | 7251 | fi |
| 6664 | echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 | 7252 | { echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 |
| 6665 | echo "${ECHO_T}$emacs_cv_speed_t" >&6 | 7253 | echo "${ECHO_T}$emacs_cv_speed_t" >&6; } |
| 6666 | if test $emacs_cv_speed_t = yes; then | 7254 | if test $emacs_cv_speed_t = yes; then |
| 6667 | 7255 | ||
| 6668 | cat >>confdefs.h <<\_ACEOF | 7256 | cat >>confdefs.h <<\_ACEOF |
| @@ -6671,8 +7259,8 @@ _ACEOF | |||
| 6671 | 7259 | ||
| 6672 | fi | 7260 | fi |
| 6673 | 7261 | ||
| 6674 | echo "$as_me:$LINENO: checking for struct timeval" >&5 | 7262 | { echo "$as_me:$LINENO: checking for struct timeval" >&5 |
| 6675 | echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 | 7263 | echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6; } |
| 6676 | if test "${emacs_cv_struct_timeval+set}" = set; then | 7264 | if test "${emacs_cv_struct_timeval+set}" = set; then |
| 6677 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7265 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6678 | else | 7266 | else |
| @@ -6701,37 +7289,34 @@ static struct timeval x; x.tv_sec = x.tv_usec; | |||
| 6701 | } | 7289 | } |
| 6702 | _ACEOF | 7290 | _ACEOF |
| 6703 | rm -f conftest.$ac_objext | 7291 | rm -f conftest.$ac_objext |
| 6704 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7292 | if { (ac_try="$ac_compile" |
| 6705 | (eval $ac_compile) 2>conftest.er1 | 7293 | case "(($ac_try" in |
| 7294 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7295 | *) ac_try_echo=$ac_try;; | ||
| 7296 | esac | ||
| 7297 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 7298 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6706 | ac_status=$? | 7299 | ac_status=$? |
| 6707 | grep -v '^ *+' conftest.er1 >conftest.err | 7300 | grep -v '^ *+' conftest.er1 >conftest.err |
| 6708 | rm -f conftest.er1 | 7301 | rm -f conftest.er1 |
| 6709 | cat conftest.err >&5 | 7302 | cat conftest.err >&5 |
| 6710 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7303 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6711 | (exit $ac_status); } && | 7304 | (exit $ac_status); } && { |
| 6712 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7305 | test -z "$ac_c_werror_flag" || |
| 6713 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7306 | test ! -s conftest.err |
| 6714 | (eval $ac_try) 2>&5 | 7307 | } && test -s conftest.$ac_objext; then |
| 6715 | ac_status=$? | ||
| 6716 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6717 | (exit $ac_status); }; } && | ||
| 6718 | { ac_try='test -s conftest.$ac_objext' | ||
| 6719 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 6720 | (eval $ac_try) 2>&5 | ||
| 6721 | ac_status=$? | ||
| 6722 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6723 | (exit $ac_status); }; }; then | ||
| 6724 | emacs_cv_struct_timeval=yes | 7308 | emacs_cv_struct_timeval=yes |
| 6725 | else | 7309 | else |
| 6726 | echo "$as_me: failed program was:" >&5 | 7310 | echo "$as_me: failed program was:" >&5 |
| 6727 | sed 's/^/| /' conftest.$ac_ext >&5 | 7311 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 6728 | 7312 | ||
| 6729 | emacs_cv_struct_timeval=no | 7313 | emacs_cv_struct_timeval=no |
| 6730 | fi | 7314 | fi |
| 6731 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7315 | |
| 7316 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6732 | fi | 7317 | fi |
| 6733 | echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 | 7318 | { echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 |
| 6734 | echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 | 7319 | echo "${ECHO_T}$emacs_cv_struct_timeval" >&6; } |
| 6735 | HAVE_TIMEVAL=$emacs_cv_struct_timeval | 7320 | HAVE_TIMEVAL=$emacs_cv_struct_timeval |
| 6736 | if test $emacs_cv_struct_timeval = yes; then | 7321 | if test $emacs_cv_struct_timeval = yes; then |
| 6737 | 7322 | ||
| @@ -6741,8 +7326,8 @@ _ACEOF | |||
| 6741 | 7326 | ||
| 6742 | fi | 7327 | fi |
| 6743 | 7328 | ||
| 6744 | echo "$as_me:$LINENO: checking for struct exception" >&5 | 7329 | { echo "$as_me:$LINENO: checking for struct exception" >&5 |
| 6745 | echo $ECHO_N "checking for struct exception... $ECHO_C" >&6 | 7330 | echo $ECHO_N "checking for struct exception... $ECHO_C" >&6; } |
| 6746 | if test "${emacs_cv_struct_exception+set}" = set; then | 7331 | if test "${emacs_cv_struct_exception+set}" = set; then |
| 6747 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7332 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6748 | else | 7333 | else |
| @@ -6762,37 +7347,34 @@ static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1; | |||
| 6762 | } | 7347 | } |
| 6763 | _ACEOF | 7348 | _ACEOF |
| 6764 | rm -f conftest.$ac_objext | 7349 | rm -f conftest.$ac_objext |
| 6765 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7350 | if { (ac_try="$ac_compile" |
| 6766 | (eval $ac_compile) 2>conftest.er1 | 7351 | case "(($ac_try" in |
| 7352 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7353 | *) ac_try_echo=$ac_try;; | ||
| 7354 | esac | ||
| 7355 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 7356 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6767 | ac_status=$? | 7357 | ac_status=$? |
| 6768 | grep -v '^ *+' conftest.er1 >conftest.err | 7358 | grep -v '^ *+' conftest.er1 >conftest.err |
| 6769 | rm -f conftest.er1 | 7359 | rm -f conftest.er1 |
| 6770 | cat conftest.err >&5 | 7360 | cat conftest.err >&5 |
| 6771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7361 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6772 | (exit $ac_status); } && | 7362 | (exit $ac_status); } && { |
| 6773 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7363 | test -z "$ac_c_werror_flag" || |
| 6774 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7364 | test ! -s conftest.err |
| 6775 | (eval $ac_try) 2>&5 | 7365 | } && test -s conftest.$ac_objext; then |
| 6776 | ac_status=$? | ||
| 6777 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6778 | (exit $ac_status); }; } && | ||
| 6779 | { ac_try='test -s conftest.$ac_objext' | ||
| 6780 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 6781 | (eval $ac_try) 2>&5 | ||
| 6782 | ac_status=$? | ||
| 6783 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6784 | (exit $ac_status); }; }; then | ||
| 6785 | emacs_cv_struct_exception=yes | 7366 | emacs_cv_struct_exception=yes |
| 6786 | else | 7367 | else |
| 6787 | echo "$as_me: failed program was:" >&5 | 7368 | echo "$as_me: failed program was:" >&5 |
| 6788 | sed 's/^/| /' conftest.$ac_ext >&5 | 7369 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 6789 | 7370 | ||
| 6790 | emacs_cv_struct_exception=no | 7371 | emacs_cv_struct_exception=no |
| 6791 | fi | 7372 | fi |
| 6792 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7373 | |
| 7374 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 6793 | fi | 7375 | fi |
| 6794 | echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 | 7376 | { echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 |
| 6795 | echo "${ECHO_T}$emacs_cv_struct_exception" >&6 | 7377 | echo "${ECHO_T}$emacs_cv_struct_exception" >&6; } |
| 6796 | HAVE_EXCEPTION=$emacs_cv_struct_exception | 7378 | HAVE_EXCEPTION=$emacs_cv_struct_exception |
| 6797 | if test $emacs_cv_struct_exception != yes; then | 7379 | if test $emacs_cv_struct_exception != yes; then |
| 6798 | 7380 | ||
| @@ -6806,18 +7388,19 @@ fi | |||
| 6806 | for ac_header in sys/socket.h | 7388 | for ac_header in sys/socket.h |
| 6807 | do | 7389 | do |
| 6808 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7390 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6809 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 7391 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 6810 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 7392 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6811 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 7393 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 6812 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 7394 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 6813 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7395 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6814 | fi | 7396 | fi |
| 6815 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 7397 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 6816 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 7398 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 7399 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 6817 | else | 7400 | else |
| 6818 | # Is the header compilable? | 7401 | # Is the header compilable? |
| 6819 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 7402 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 6820 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 7403 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 6821 | cat >conftest.$ac_ext <<_ACEOF | 7404 | cat >conftest.$ac_ext <<_ACEOF |
| 6822 | /* confdefs.h. */ | 7405 | /* confdefs.h. */ |
| 6823 | _ACEOF | 7406 | _ACEOF |
| @@ -6828,40 +7411,37 @@ $ac_includes_default | |||
| 6828 | #include <$ac_header> | 7411 | #include <$ac_header> |
| 6829 | _ACEOF | 7412 | _ACEOF |
| 6830 | rm -f conftest.$ac_objext | 7413 | rm -f conftest.$ac_objext |
| 6831 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7414 | if { (ac_try="$ac_compile" |
| 6832 | (eval $ac_compile) 2>conftest.er1 | 7415 | case "(($ac_try" in |
| 7416 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7417 | *) ac_try_echo=$ac_try;; | ||
| 7418 | esac | ||
| 7419 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 7420 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6833 | ac_status=$? | 7421 | ac_status=$? |
| 6834 | grep -v '^ *+' conftest.er1 >conftest.err | 7422 | grep -v '^ *+' conftest.er1 >conftest.err |
| 6835 | rm -f conftest.er1 | 7423 | rm -f conftest.er1 |
| 6836 | cat conftest.err >&5 | 7424 | cat conftest.err >&5 |
| 6837 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7425 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6838 | (exit $ac_status); } && | 7426 | (exit $ac_status); } && { |
| 6839 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7427 | test -z "$ac_c_werror_flag" || |
| 6840 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7428 | test ! -s conftest.err |
| 6841 | (eval $ac_try) 2>&5 | 7429 | } && test -s conftest.$ac_objext; then |
| 6842 | ac_status=$? | ||
| 6843 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6844 | (exit $ac_status); }; } && | ||
| 6845 | { ac_try='test -s conftest.$ac_objext' | ||
| 6846 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 6847 | (eval $ac_try) 2>&5 | ||
| 6848 | ac_status=$? | ||
| 6849 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6850 | (exit $ac_status); }; }; then | ||
| 6851 | ac_header_compiler=yes | 7430 | ac_header_compiler=yes |
| 6852 | else | 7431 | else |
| 6853 | echo "$as_me: failed program was:" >&5 | 7432 | echo "$as_me: failed program was:" >&5 |
| 6854 | sed 's/^/| /' conftest.$ac_ext >&5 | 7433 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 6855 | 7434 | ||
| 6856 | ac_header_compiler=no | 7435 | ac_header_compiler=no |
| 6857 | fi | 7436 | fi |
| 6858 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7437 | |
| 6859 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 7438 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 6860 | echo "${ECHO_T}$ac_header_compiler" >&6 | 7439 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 7440 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 6861 | 7441 | ||
| 6862 | # Is the header present? | 7442 | # Is the header present? |
| 6863 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 7443 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 6864 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 7444 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 6865 | cat >conftest.$ac_ext <<_ACEOF | 7445 | cat >conftest.$ac_ext <<_ACEOF |
| 6866 | /* confdefs.h. */ | 7446 | /* confdefs.h. */ |
| 6867 | _ACEOF | 7447 | _ACEOF |
| @@ -6870,24 +7450,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 6870 | /* end confdefs.h. */ | 7450 | /* end confdefs.h. */ |
| 6871 | #include <$ac_header> | 7451 | #include <$ac_header> |
| 6872 | _ACEOF | 7452 | _ACEOF |
| 6873 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 7453 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 6874 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 7454 | case "(($ac_try" in |
| 7455 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7456 | *) ac_try_echo=$ac_try;; | ||
| 7457 | esac | ||
| 7458 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 7459 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 6875 | ac_status=$? | 7460 | ac_status=$? |
| 6876 | grep -v '^ *+' conftest.er1 >conftest.err | 7461 | grep -v '^ *+' conftest.er1 >conftest.err |
| 6877 | rm -f conftest.er1 | 7462 | rm -f conftest.er1 |
| 6878 | cat conftest.err >&5 | 7463 | cat conftest.err >&5 |
| 6879 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7464 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6880 | (exit $ac_status); } >/dev/null; then | 7465 | (exit $ac_status); } >/dev/null && { |
| 6881 | if test -s conftest.err; then | 7466 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 6882 | ac_cpp_err=$ac_c_preproc_warn_flag | 7467 | test ! -s conftest.err |
| 6883 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 7468 | }; then |
| 6884 | else | ||
| 6885 | ac_cpp_err= | ||
| 6886 | fi | ||
| 6887 | else | ||
| 6888 | ac_cpp_err=yes | ||
| 6889 | fi | ||
| 6890 | if test -z "$ac_cpp_err"; then | ||
| 6891 | ac_header_preproc=yes | 7469 | ac_header_preproc=yes |
| 6892 | else | 7470 | else |
| 6893 | echo "$as_me: failed program was:" >&5 | 7471 | echo "$as_me: failed program was:" >&5 |
| @@ -6895,9 +7473,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 6895 | 7473 | ||
| 6896 | ac_header_preproc=no | 7474 | ac_header_preproc=no |
| 6897 | fi | 7475 | fi |
| 7476 | |||
| 6898 | rm -f conftest.err conftest.$ac_ext | 7477 | rm -f conftest.err conftest.$ac_ext |
| 6899 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 7478 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 6900 | echo "${ECHO_T}$ac_header_preproc" >&6 | 7479 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 6901 | 7480 | ||
| 6902 | # So? What about this header? | 7481 | # So? What about this header? |
| 6903 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 7482 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -6921,25 +7500,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 6921 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 7500 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 6922 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 7501 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 6923 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 7502 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 6924 | ( | 7503 | |
| 6925 | cat <<\_ASBOX | ||
| 6926 | ## ------------------------------------------ ## | ||
| 6927 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 6928 | ## ------------------------------------------ ## | ||
| 6929 | _ASBOX | ||
| 6930 | ) | | ||
| 6931 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 6932 | ;; | 7504 | ;; |
| 6933 | esac | 7505 | esac |
| 6934 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 7506 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6935 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 7507 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 6936 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 7508 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 6937 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7509 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6938 | else | 7510 | else |
| 6939 | eval "$as_ac_Header=\$ac_header_preproc" | 7511 | eval "$as_ac_Header=\$ac_header_preproc" |
| 6940 | fi | 7512 | fi |
| 6941 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 7513 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 6942 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 7514 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 7515 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 6943 | 7516 | ||
| 6944 | fi | 7517 | fi |
| 6945 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 7518 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| @@ -6955,9 +7528,9 @@ done | |||
| 6955 | for ac_header in net/if.h | 7528 | for ac_header in net/if.h |
| 6956 | do | 7529 | do |
| 6957 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7530 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 6958 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 7531 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 6959 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 7532 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 6960 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 7533 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 6961 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7534 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 6962 | else | 7535 | else |
| 6963 | cat >conftest.$ac_ext <<_ACEOF | 7536 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -6974,37 +7547,35 @@ $ac_includes_default | |||
| 6974 | #include <$ac_header> | 7547 | #include <$ac_header> |
| 6975 | _ACEOF | 7548 | _ACEOF |
| 6976 | rm -f conftest.$ac_objext | 7549 | rm -f conftest.$ac_objext |
| 6977 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7550 | if { (ac_try="$ac_compile" |
| 6978 | (eval $ac_compile) 2>conftest.er1 | 7551 | case "(($ac_try" in |
| 7552 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7553 | *) ac_try_echo=$ac_try;; | ||
| 7554 | esac | ||
| 7555 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 7556 | (eval "$ac_compile") 2>conftest.er1 | ||
| 6979 | ac_status=$? | 7557 | ac_status=$? |
| 6980 | grep -v '^ *+' conftest.er1 >conftest.err | 7558 | grep -v '^ *+' conftest.er1 >conftest.err |
| 6981 | rm -f conftest.er1 | 7559 | rm -f conftest.er1 |
| 6982 | cat conftest.err >&5 | 7560 | cat conftest.err >&5 |
| 6983 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 6984 | (exit $ac_status); } && | 7562 | (exit $ac_status); } && { |
| 6985 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7563 | test -z "$ac_c_werror_flag" || |
| 6986 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7564 | test ! -s conftest.err |
| 6987 | (eval $ac_try) 2>&5 | 7565 | } && test -s conftest.$ac_objext; then |
| 6988 | ac_status=$? | ||
| 6989 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6990 | (exit $ac_status); }; } && | ||
| 6991 | { ac_try='test -s conftest.$ac_objext' | ||
| 6992 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 6993 | (eval $ac_try) 2>&5 | ||
| 6994 | ac_status=$? | ||
| 6995 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 6996 | (exit $ac_status); }; }; then | ||
| 6997 | eval "$as_ac_Header=yes" | 7566 | eval "$as_ac_Header=yes" |
| 6998 | else | 7567 | else |
| 6999 | echo "$as_me: failed program was:" >&5 | 7568 | echo "$as_me: failed program was:" >&5 |
| 7000 | sed 's/^/| /' conftest.$ac_ext >&5 | 7569 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 7001 | 7570 | ||
| 7002 | eval "$as_ac_Header=no" | 7571 | eval "$as_ac_Header=no" |
| 7003 | fi | 7572 | fi |
| 7004 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7573 | |
| 7574 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7005 | fi | 7575 | fi |
| 7006 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 7576 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 7007 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 7577 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 7578 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 7008 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 7579 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 7009 | cat >>confdefs.h <<_ACEOF | 7580 | cat >>confdefs.h <<_ACEOF |
| 7010 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 7581 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| @@ -7015,8 +7586,8 @@ fi | |||
| 7015 | done | 7586 | done |
| 7016 | 7587 | ||
| 7017 | 7588 | ||
| 7018 | echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 | 7589 | { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 7019 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 | 7590 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } |
| 7020 | if test "${ac_cv_struct_tm+set}" = set; then | 7591 | if test "${ac_cv_struct_tm+set}" = set; then |
| 7021 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7592 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7022 | else | 7593 | else |
| @@ -7032,43 +7603,42 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 7032 | int | 7603 | int |
| 7033 | main () | 7604 | main () |
| 7034 | { | 7605 | { |
| 7035 | struct tm *tp; tp->tm_sec; | 7606 | struct tm tm; |
| 7607 | int *p = &tm.tm_sec; | ||
| 7608 | return !p; | ||
| 7036 | ; | 7609 | ; |
| 7037 | return 0; | 7610 | return 0; |
| 7038 | } | 7611 | } |
| 7039 | _ACEOF | 7612 | _ACEOF |
| 7040 | rm -f conftest.$ac_objext | 7613 | rm -f conftest.$ac_objext |
| 7041 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7614 | if { (ac_try="$ac_compile" |
| 7042 | (eval $ac_compile) 2>conftest.er1 | 7615 | case "(($ac_try" in |
| 7616 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7617 | *) ac_try_echo=$ac_try;; | ||
| 7618 | esac | ||
| 7619 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 7620 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7043 | ac_status=$? | 7621 | ac_status=$? |
| 7044 | grep -v '^ *+' conftest.er1 >conftest.err | 7622 | grep -v '^ *+' conftest.er1 >conftest.err |
| 7045 | rm -f conftest.er1 | 7623 | rm -f conftest.er1 |
| 7046 | cat conftest.err >&5 | 7624 | cat conftest.err >&5 |
| 7047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7625 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7048 | (exit $ac_status); } && | 7626 | (exit $ac_status); } && { |
| 7049 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7627 | test -z "$ac_c_werror_flag" || |
| 7050 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7628 | test ! -s conftest.err |
| 7051 | (eval $ac_try) 2>&5 | 7629 | } && test -s conftest.$ac_objext; then |
| 7052 | ac_status=$? | ||
| 7053 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7054 | (exit $ac_status); }; } && | ||
| 7055 | { ac_try='test -s conftest.$ac_objext' | ||
| 7056 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 7057 | (eval $ac_try) 2>&5 | ||
| 7058 | ac_status=$? | ||
| 7059 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7060 | (exit $ac_status); }; }; then | ||
| 7061 | ac_cv_struct_tm=time.h | 7630 | ac_cv_struct_tm=time.h |
| 7062 | else | 7631 | else |
| 7063 | echo "$as_me: failed program was:" >&5 | 7632 | echo "$as_me: failed program was:" >&5 |
| 7064 | sed 's/^/| /' conftest.$ac_ext >&5 | 7633 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 7065 | 7634 | ||
| 7066 | ac_cv_struct_tm=sys/time.h | 7635 | ac_cv_struct_tm=sys/time.h |
| 7067 | fi | 7636 | fi |
| 7068 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7637 | |
| 7638 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7069 | fi | 7639 | fi |
| 7070 | echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 | 7640 | { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 |
| 7071 | echo "${ECHO_T}$ac_cv_struct_tm" >&6 | 7641 | echo "${ECHO_T}$ac_cv_struct_tm" >&6; } |
| 7072 | if test $ac_cv_struct_tm = sys/time.h; then | 7642 | if test $ac_cv_struct_tm = sys/time.h; then |
| 7073 | 7643 | ||
| 7074 | cat >>confdefs.h <<\_ACEOF | 7644 | cat >>confdefs.h <<\_ACEOF |
| @@ -7077,8 +7647,8 @@ _ACEOF | |||
| 7077 | 7647 | ||
| 7078 | fi | 7648 | fi |
| 7079 | 7649 | ||
| 7080 | echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 | 7650 | { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 |
| 7081 | echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 | 7651 | echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; } |
| 7082 | if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then | 7652 | if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then |
| 7083 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7653 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7084 | else | 7654 | else |
| @@ -7103,32 +7673,28 @@ return 0; | |||
| 7103 | } | 7673 | } |
| 7104 | _ACEOF | 7674 | _ACEOF |
| 7105 | rm -f conftest.$ac_objext | 7675 | rm -f conftest.$ac_objext |
| 7106 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7676 | if { (ac_try="$ac_compile" |
| 7107 | (eval $ac_compile) 2>conftest.er1 | 7677 | case "(($ac_try" in |
| 7678 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7679 | *) ac_try_echo=$ac_try;; | ||
| 7680 | esac | ||
| 7681 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 7682 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7108 | ac_status=$? | 7683 | ac_status=$? |
| 7109 | grep -v '^ *+' conftest.er1 >conftest.err | 7684 | grep -v '^ *+' conftest.er1 >conftest.err |
| 7110 | rm -f conftest.er1 | 7685 | rm -f conftest.er1 |
| 7111 | cat conftest.err >&5 | 7686 | cat conftest.err >&5 |
| 7112 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7687 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7113 | (exit $ac_status); } && | 7688 | (exit $ac_status); } && { |
| 7114 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7689 | test -z "$ac_c_werror_flag" || |
| 7115 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7690 | test ! -s conftest.err |
| 7116 | (eval $ac_try) 2>&5 | 7691 | } && test -s conftest.$ac_objext; then |
| 7117 | ac_status=$? | ||
| 7118 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7119 | (exit $ac_status); }; } && | ||
| 7120 | { ac_try='test -s conftest.$ac_objext' | ||
| 7121 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 7122 | (eval $ac_try) 2>&5 | ||
| 7123 | ac_status=$? | ||
| 7124 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7125 | (exit $ac_status); }; }; then | ||
| 7126 | ac_cv_member_struct_tm_tm_zone=yes | 7692 | ac_cv_member_struct_tm_tm_zone=yes |
| 7127 | else | 7693 | else |
| 7128 | echo "$as_me: failed program was:" >&5 | 7694 | echo "$as_me: failed program was:" >&5 |
| 7129 | sed 's/^/| /' conftest.$ac_ext >&5 | 7695 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 7130 | 7696 | ||
| 7131 | cat >conftest.$ac_ext <<_ACEOF | 7697 | cat >conftest.$ac_ext <<_ACEOF |
| 7132 | /* confdefs.h. */ | 7698 | /* confdefs.h. */ |
| 7133 | _ACEOF | 7699 | _ACEOF |
| 7134 | cat confdefs.h >>conftest.$ac_ext | 7700 | cat confdefs.h >>conftest.$ac_ext |
| @@ -7149,39 +7715,37 @@ return 0; | |||
| 7149 | } | 7715 | } |
| 7150 | _ACEOF | 7716 | _ACEOF |
| 7151 | rm -f conftest.$ac_objext | 7717 | rm -f conftest.$ac_objext |
| 7152 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7718 | if { (ac_try="$ac_compile" |
| 7153 | (eval $ac_compile) 2>conftest.er1 | 7719 | case "(($ac_try" in |
| 7720 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7721 | *) ac_try_echo=$ac_try;; | ||
| 7722 | esac | ||
| 7723 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 7724 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7154 | ac_status=$? | 7725 | ac_status=$? |
| 7155 | grep -v '^ *+' conftest.er1 >conftest.err | 7726 | grep -v '^ *+' conftest.er1 >conftest.err |
| 7156 | rm -f conftest.er1 | 7727 | rm -f conftest.er1 |
| 7157 | cat conftest.err >&5 | 7728 | cat conftest.err >&5 |
| 7158 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7729 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7159 | (exit $ac_status); } && | 7730 | (exit $ac_status); } && { |
| 7160 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7731 | test -z "$ac_c_werror_flag" || |
| 7161 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7732 | test ! -s conftest.err |
| 7162 | (eval $ac_try) 2>&5 | 7733 | } && test -s conftest.$ac_objext; then |
| 7163 | ac_status=$? | ||
| 7164 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7165 | (exit $ac_status); }; } && | ||
| 7166 | { ac_try='test -s conftest.$ac_objext' | ||
| 7167 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 7168 | (eval $ac_try) 2>&5 | ||
| 7169 | ac_status=$? | ||
| 7170 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7171 | (exit $ac_status); }; }; then | ||
| 7172 | ac_cv_member_struct_tm_tm_zone=yes | 7734 | ac_cv_member_struct_tm_tm_zone=yes |
| 7173 | else | 7735 | else |
| 7174 | echo "$as_me: failed program was:" >&5 | 7736 | echo "$as_me: failed program was:" >&5 |
| 7175 | sed 's/^/| /' conftest.$ac_ext >&5 | 7737 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 7176 | 7738 | ||
| 7177 | ac_cv_member_struct_tm_tm_zone=no | 7739 | ac_cv_member_struct_tm_tm_zone=no |
| 7178 | fi | 7740 | fi |
| 7179 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7741 | |
| 7742 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7180 | fi | 7743 | fi |
| 7181 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7744 | |
| 7745 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7182 | fi | 7746 | fi |
| 7183 | echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 | 7747 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 |
| 7184 | echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 | 7748 | echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; } |
| 7185 | if test $ac_cv_member_struct_tm_tm_zone = yes; then | 7749 | if test $ac_cv_member_struct_tm_tm_zone = yes; then |
| 7186 | 7750 | ||
| 7187 | cat >>confdefs.h <<_ACEOF | 7751 | cat >>confdefs.h <<_ACEOF |
| @@ -7198,8 +7762,77 @@ cat >>confdefs.h <<\_ACEOF | |||
| 7198 | _ACEOF | 7762 | _ACEOF |
| 7199 | 7763 | ||
| 7200 | else | 7764 | else |
| 7201 | echo "$as_me:$LINENO: checking for tzname" >&5 | 7765 | { echo "$as_me:$LINENO: checking whether tzname is declared" >&5 |
| 7202 | echo $ECHO_N "checking for tzname... $ECHO_C" >&6 | 7766 | echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; } |
| 7767 | if test "${ac_cv_have_decl_tzname+set}" = set; then | ||
| 7768 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 7769 | else | ||
| 7770 | cat >conftest.$ac_ext <<_ACEOF | ||
| 7771 | /* confdefs.h. */ | ||
| 7772 | _ACEOF | ||
| 7773 | cat confdefs.h >>conftest.$ac_ext | ||
| 7774 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 7775 | /* end confdefs.h. */ | ||
| 7776 | #include <time.h> | ||
| 7777 | |||
| 7778 | int | ||
| 7779 | main () | ||
| 7780 | { | ||
| 7781 | #ifndef tzname | ||
| 7782 | (void) tzname; | ||
| 7783 | #endif | ||
| 7784 | |||
| 7785 | ; | ||
| 7786 | return 0; | ||
| 7787 | } | ||
| 7788 | _ACEOF | ||
| 7789 | rm -f conftest.$ac_objext | ||
| 7790 | if { (ac_try="$ac_compile" | ||
| 7791 | case "(($ac_try" in | ||
| 7792 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7793 | *) ac_try_echo=$ac_try;; | ||
| 7794 | esac | ||
| 7795 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 7796 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7797 | ac_status=$? | ||
| 7798 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 7799 | rm -f conftest.er1 | ||
| 7800 | cat conftest.err >&5 | ||
| 7801 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7802 | (exit $ac_status); } && { | ||
| 7803 | test -z "$ac_c_werror_flag" || | ||
| 7804 | test ! -s conftest.err | ||
| 7805 | } && test -s conftest.$ac_objext; then | ||
| 7806 | ac_cv_have_decl_tzname=yes | ||
| 7807 | else | ||
| 7808 | echo "$as_me: failed program was:" >&5 | ||
| 7809 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 7810 | |||
| 7811 | ac_cv_have_decl_tzname=no | ||
| 7812 | fi | ||
| 7813 | |||
| 7814 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7815 | fi | ||
| 7816 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5 | ||
| 7817 | echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; } | ||
| 7818 | if test $ac_cv_have_decl_tzname = yes; then | ||
| 7819 | |||
| 7820 | cat >>confdefs.h <<_ACEOF | ||
| 7821 | #define HAVE_DECL_TZNAME 1 | ||
| 7822 | _ACEOF | ||
| 7823 | |||
| 7824 | |||
| 7825 | else | ||
| 7826 | cat >>confdefs.h <<_ACEOF | ||
| 7827 | #define HAVE_DECL_TZNAME 0 | ||
| 7828 | _ACEOF | ||
| 7829 | |||
| 7830 | |||
| 7831 | fi | ||
| 7832 | |||
| 7833 | |||
| 7834 | { echo "$as_me:$LINENO: checking for tzname" >&5 | ||
| 7835 | echo $ECHO_N "checking for tzname... $ECHO_C" >&6; } | ||
| 7203 | if test "${ac_cv_var_tzname+set}" = set; then | 7836 | if test "${ac_cv_var_tzname+set}" = set; then |
| 7204 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7837 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7205 | else | 7838 | else |
| @@ -7210,51 +7843,49 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 7210 | cat >>conftest.$ac_ext <<_ACEOF | 7843 | cat >>conftest.$ac_ext <<_ACEOF |
| 7211 | /* end confdefs.h. */ | 7844 | /* end confdefs.h. */ |
| 7212 | #include <time.h> | 7845 | #include <time.h> |
| 7213 | #ifndef tzname /* For SGI. */ | 7846 | #if !HAVE_DECL_TZNAME |
| 7214 | extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 7847 | extern char *tzname[]; |
| 7215 | #endif | 7848 | #endif |
| 7216 | 7849 | ||
| 7217 | int | 7850 | int |
| 7218 | main () | 7851 | main () |
| 7219 | { | 7852 | { |
| 7220 | atoi(*tzname); | 7853 | return tzname[0][0]; |
| 7221 | ; | 7854 | ; |
| 7222 | return 0; | 7855 | return 0; |
| 7223 | } | 7856 | } |
| 7224 | _ACEOF | 7857 | _ACEOF |
| 7225 | rm -f conftest.$ac_objext conftest$ac_exeext | 7858 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 7226 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7859 | if { (ac_try="$ac_link" |
| 7227 | (eval $ac_link) 2>conftest.er1 | 7860 | case "(($ac_try" in |
| 7861 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7862 | *) ac_try_echo=$ac_try;; | ||
| 7863 | esac | ||
| 7864 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 7865 | (eval "$ac_link") 2>conftest.er1 | ||
| 7228 | ac_status=$? | 7866 | ac_status=$? |
| 7229 | grep -v '^ *+' conftest.er1 >conftest.err | 7867 | grep -v '^ *+' conftest.er1 >conftest.err |
| 7230 | rm -f conftest.er1 | 7868 | rm -f conftest.er1 |
| 7231 | cat conftest.err >&5 | 7869 | cat conftest.err >&5 |
| 7232 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7870 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7233 | (exit $ac_status); } && | 7871 | (exit $ac_status); } && { |
| 7234 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7872 | test -z "$ac_c_werror_flag" || |
| 7235 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7873 | test ! -s conftest.err |
| 7236 | (eval $ac_try) 2>&5 | 7874 | } && test -s conftest$ac_exeext && |
| 7237 | ac_status=$? | 7875 | $as_test_x conftest$ac_exeext; then |
| 7238 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7239 | (exit $ac_status); }; } && | ||
| 7240 | { ac_try='test -s conftest$ac_exeext' | ||
| 7241 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 7242 | (eval $ac_try) 2>&5 | ||
| 7243 | ac_status=$? | ||
| 7244 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7245 | (exit $ac_status); }; }; then | ||
| 7246 | ac_cv_var_tzname=yes | 7876 | ac_cv_var_tzname=yes |
| 7247 | else | 7877 | else |
| 7248 | echo "$as_me: failed program was:" >&5 | 7878 | echo "$as_me: failed program was:" >&5 |
| 7249 | sed 's/^/| /' conftest.$ac_ext >&5 | 7879 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 7250 | 7880 | ||
| 7251 | ac_cv_var_tzname=no | 7881 | ac_cv_var_tzname=no |
| 7252 | fi | 7882 | fi |
| 7253 | rm -f conftest.err conftest.$ac_objext \ | 7883 | |
| 7884 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 7254 | conftest$ac_exeext conftest.$ac_ext | 7885 | conftest$ac_exeext conftest.$ac_ext |
| 7255 | fi | 7886 | fi |
| 7256 | echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 | 7887 | { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 |
| 7257 | echo "${ECHO_T}$ac_cv_var_tzname" >&6 | 7888 | echo "${ECHO_T}$ac_cv_var_tzname" >&6; } |
| 7258 | if test $ac_cv_var_tzname = yes; then | 7889 | if test $ac_cv_var_tzname = yes; then |
| 7259 | 7890 | ||
| 7260 | cat >>confdefs.h <<\_ACEOF | 7891 | cat >>confdefs.h <<\_ACEOF |
| @@ -7264,8 +7895,8 @@ _ACEOF | |||
| 7264 | fi | 7895 | fi |
| 7265 | fi | 7896 | fi |
| 7266 | 7897 | ||
| 7267 | echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 | 7898 | { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 |
| 7268 | echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6 | 7899 | echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; } |
| 7269 | if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then | 7900 | if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then |
| 7270 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7901 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7271 | else | 7902 | else |
| @@ -7288,32 +7919,28 @@ return 0; | |||
| 7288 | } | 7919 | } |
| 7289 | _ACEOF | 7920 | _ACEOF |
| 7290 | rm -f conftest.$ac_objext | 7921 | rm -f conftest.$ac_objext |
| 7291 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7922 | if { (ac_try="$ac_compile" |
| 7292 | (eval $ac_compile) 2>conftest.er1 | 7923 | case "(($ac_try" in |
| 7924 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7925 | *) ac_try_echo=$ac_try;; | ||
| 7926 | esac | ||
| 7927 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 7928 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7293 | ac_status=$? | 7929 | ac_status=$? |
| 7294 | grep -v '^ *+' conftest.er1 >conftest.err | 7930 | grep -v '^ *+' conftest.er1 >conftest.err |
| 7295 | rm -f conftest.er1 | 7931 | rm -f conftest.er1 |
| 7296 | cat conftest.err >&5 | 7932 | cat conftest.err >&5 |
| 7297 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7933 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7298 | (exit $ac_status); } && | 7934 | (exit $ac_status); } && { |
| 7299 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7935 | test -z "$ac_c_werror_flag" || |
| 7300 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7936 | test ! -s conftest.err |
| 7301 | (eval $ac_try) 2>&5 | 7937 | } && test -s conftest.$ac_objext; then |
| 7302 | ac_status=$? | ||
| 7303 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7304 | (exit $ac_status); }; } && | ||
| 7305 | { ac_try='test -s conftest.$ac_objext' | ||
| 7306 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 7307 | (eval $ac_try) 2>&5 | ||
| 7308 | ac_status=$? | ||
| 7309 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7310 | (exit $ac_status); }; }; then | ||
| 7311 | ac_cv_member_struct_tm_tm_gmtoff=yes | 7938 | ac_cv_member_struct_tm_tm_gmtoff=yes |
| 7312 | else | 7939 | else |
| 7313 | echo "$as_me: failed program was:" >&5 | 7940 | echo "$as_me: failed program was:" >&5 |
| 7314 | sed 's/^/| /' conftest.$ac_ext >&5 | 7941 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 7315 | 7942 | ||
| 7316 | cat >conftest.$ac_ext <<_ACEOF | 7943 | cat >conftest.$ac_ext <<_ACEOF |
| 7317 | /* confdefs.h. */ | 7944 | /* confdefs.h. */ |
| 7318 | _ACEOF | 7945 | _ACEOF |
| 7319 | cat confdefs.h >>conftest.$ac_ext | 7946 | cat confdefs.h >>conftest.$ac_ext |
| @@ -7332,39 +7959,37 @@ return 0; | |||
| 7332 | } | 7959 | } |
| 7333 | _ACEOF | 7960 | _ACEOF |
| 7334 | rm -f conftest.$ac_objext | 7961 | rm -f conftest.$ac_objext |
| 7335 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7962 | if { (ac_try="$ac_compile" |
| 7336 | (eval $ac_compile) 2>conftest.er1 | 7963 | case "(($ac_try" in |
| 7964 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 7965 | *) ac_try_echo=$ac_try;; | ||
| 7966 | esac | ||
| 7967 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 7968 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7337 | ac_status=$? | 7969 | ac_status=$? |
| 7338 | grep -v '^ *+' conftest.er1 >conftest.err | 7970 | grep -v '^ *+' conftest.er1 >conftest.err |
| 7339 | rm -f conftest.er1 | 7971 | rm -f conftest.er1 |
| 7340 | cat conftest.err >&5 | 7972 | cat conftest.err >&5 |
| 7341 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7973 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7342 | (exit $ac_status); } && | 7974 | (exit $ac_status); } && { |
| 7343 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 7975 | test -z "$ac_c_werror_flag" || |
| 7344 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7976 | test ! -s conftest.err |
| 7345 | (eval $ac_try) 2>&5 | 7977 | } && test -s conftest.$ac_objext; then |
| 7346 | ac_status=$? | ||
| 7347 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7348 | (exit $ac_status); }; } && | ||
| 7349 | { ac_try='test -s conftest.$ac_objext' | ||
| 7350 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 7351 | (eval $ac_try) 2>&5 | ||
| 7352 | ac_status=$? | ||
| 7353 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7354 | (exit $ac_status); }; }; then | ||
| 7355 | ac_cv_member_struct_tm_tm_gmtoff=yes | 7978 | ac_cv_member_struct_tm_tm_gmtoff=yes |
| 7356 | else | 7979 | else |
| 7357 | echo "$as_me: failed program was:" >&5 | 7980 | echo "$as_me: failed program was:" >&5 |
| 7358 | sed 's/^/| /' conftest.$ac_ext >&5 | 7981 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 7359 | 7982 | ||
| 7360 | ac_cv_member_struct_tm_tm_gmtoff=no | 7983 | ac_cv_member_struct_tm_tm_gmtoff=no |
| 7361 | fi | 7984 | fi |
| 7362 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7985 | |
| 7986 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7363 | fi | 7987 | fi |
| 7364 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7988 | |
| 7989 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7365 | fi | 7990 | fi |
| 7366 | echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 | 7991 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 |
| 7367 | echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6 | 7992 | echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; } |
| 7368 | if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then | 7993 | if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then |
| 7369 | 7994 | ||
| 7370 | cat >>confdefs.h <<\_ACEOF | 7995 | cat >>confdefs.h <<\_ACEOF |
| @@ -7373,8 +7998,8 @@ _ACEOF | |||
| 7373 | 7998 | ||
| 7374 | fi | 7999 | fi |
| 7375 | 8000 | ||
| 7376 | echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5 | 8001 | { echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5 |
| 7377 | echo $ECHO_N "checking for struct ifreq.ifr_flags... $ECHO_C" >&6 | 8002 | echo $ECHO_N "checking for struct ifreq.ifr_flags... $ECHO_C" >&6; } |
| 7378 | if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then | 8003 | if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then |
| 7379 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8004 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7380 | else | 8005 | else |
| @@ -7403,32 +8028,28 @@ return 0; | |||
| 7403 | } | 8028 | } |
| 7404 | _ACEOF | 8029 | _ACEOF |
| 7405 | rm -f conftest.$ac_objext | 8030 | rm -f conftest.$ac_objext |
| 7406 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8031 | if { (ac_try="$ac_compile" |
| 7407 | (eval $ac_compile) 2>conftest.er1 | 8032 | case "(($ac_try" in |
| 8033 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8034 | *) ac_try_echo=$ac_try;; | ||
| 8035 | esac | ||
| 8036 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 8037 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7408 | ac_status=$? | 8038 | ac_status=$? |
| 7409 | grep -v '^ *+' conftest.er1 >conftest.err | 8039 | grep -v '^ *+' conftest.er1 >conftest.err |
| 7410 | rm -f conftest.er1 | 8040 | rm -f conftest.er1 |
| 7411 | cat conftest.err >&5 | 8041 | cat conftest.err >&5 |
| 7412 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8042 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7413 | (exit $ac_status); } && | 8043 | (exit $ac_status); } && { |
| 7414 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 8044 | test -z "$ac_c_werror_flag" || |
| 7415 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8045 | test ! -s conftest.err |
| 7416 | (eval $ac_try) 2>&5 | 8046 | } && test -s conftest.$ac_objext; then |
| 7417 | ac_status=$? | ||
| 7418 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7419 | (exit $ac_status); }; } && | ||
| 7420 | { ac_try='test -s conftest.$ac_objext' | ||
| 7421 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 7422 | (eval $ac_try) 2>&5 | ||
| 7423 | ac_status=$? | ||
| 7424 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7425 | (exit $ac_status); }; }; then | ||
| 7426 | ac_cv_member_struct_ifreq_ifr_flags=yes | 8047 | ac_cv_member_struct_ifreq_ifr_flags=yes |
| 7427 | else | 8048 | else |
| 7428 | echo "$as_me: failed program was:" >&5 | 8049 | echo "$as_me: failed program was:" >&5 |
| 7429 | sed 's/^/| /' conftest.$ac_ext >&5 | 8050 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 7430 | 8051 | ||
| 7431 | cat >conftest.$ac_ext <<_ACEOF | 8052 | cat >conftest.$ac_ext <<_ACEOF |
| 7432 | /* confdefs.h. */ | 8053 | /* confdefs.h. */ |
| 7433 | _ACEOF | 8054 | _ACEOF |
| 7434 | cat confdefs.h >>conftest.$ac_ext | 8055 | cat confdefs.h >>conftest.$ac_ext |
| @@ -7453,39 +8074,37 @@ return 0; | |||
| 7453 | } | 8074 | } |
| 7454 | _ACEOF | 8075 | _ACEOF |
| 7455 | rm -f conftest.$ac_objext | 8076 | rm -f conftest.$ac_objext |
| 7456 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8077 | if { (ac_try="$ac_compile" |
| 7457 | (eval $ac_compile) 2>conftest.er1 | 8078 | case "(($ac_try" in |
| 8079 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8080 | *) ac_try_echo=$ac_try;; | ||
| 8081 | esac | ||
| 8082 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 8083 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7458 | ac_status=$? | 8084 | ac_status=$? |
| 7459 | grep -v '^ *+' conftest.er1 >conftest.err | 8085 | grep -v '^ *+' conftest.er1 >conftest.err |
| 7460 | rm -f conftest.er1 | 8086 | rm -f conftest.er1 |
| 7461 | cat conftest.err >&5 | 8087 | cat conftest.err >&5 |
| 7462 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8088 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7463 | (exit $ac_status); } && | 8089 | (exit $ac_status); } && { |
| 7464 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 8090 | test -z "$ac_c_werror_flag" || |
| 7465 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8091 | test ! -s conftest.err |
| 7466 | (eval $ac_try) 2>&5 | 8092 | } && test -s conftest.$ac_objext; then |
| 7467 | ac_status=$? | ||
| 7468 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7469 | (exit $ac_status); }; } && | ||
| 7470 | { ac_try='test -s conftest.$ac_objext' | ||
| 7471 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 7472 | (eval $ac_try) 2>&5 | ||
| 7473 | ac_status=$? | ||
| 7474 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7475 | (exit $ac_status); }; }; then | ||
| 7476 | ac_cv_member_struct_ifreq_ifr_flags=yes | 8093 | ac_cv_member_struct_ifreq_ifr_flags=yes |
| 7477 | else | 8094 | else |
| 7478 | echo "$as_me: failed program was:" >&5 | 8095 | echo "$as_me: failed program was:" >&5 |
| 7479 | sed 's/^/| /' conftest.$ac_ext >&5 | 8096 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 7480 | 8097 | ||
| 7481 | ac_cv_member_struct_ifreq_ifr_flags=no | 8098 | ac_cv_member_struct_ifreq_ifr_flags=no |
| 7482 | fi | 8099 | fi |
| 7483 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8100 | |
| 8101 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7484 | fi | 8102 | fi |
| 7485 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8103 | |
| 8104 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7486 | fi | 8105 | fi |
| 7487 | echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5 | 8106 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5 |
| 7488 | echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_flags" >&6 | 8107 | echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_flags" >&6; } |
| 7489 | if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then | 8108 | if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then |
| 7490 | 8109 | ||
| 7491 | cat >>confdefs.h <<_ACEOF | 8110 | cat >>confdefs.h <<_ACEOF |
| @@ -7494,8 +8113,8 @@ _ACEOF | |||
| 7494 | 8113 | ||
| 7495 | 8114 | ||
| 7496 | fi | 8115 | fi |
| 7497 | echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5 | 8116 | { echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5 |
| 7498 | echo $ECHO_N "checking for struct ifreq.ifr_hwaddr... $ECHO_C" >&6 | 8117 | echo $ECHO_N "checking for struct ifreq.ifr_hwaddr... $ECHO_C" >&6; } |
| 7499 | if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then | 8118 | if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then |
| 7500 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8119 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7501 | else | 8120 | else |
| @@ -7524,32 +8143,28 @@ return 0; | |||
| 7524 | } | 8143 | } |
| 7525 | _ACEOF | 8144 | _ACEOF |
| 7526 | rm -f conftest.$ac_objext | 8145 | rm -f conftest.$ac_objext |
| 7527 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8146 | if { (ac_try="$ac_compile" |
| 7528 | (eval $ac_compile) 2>conftest.er1 | 8147 | case "(($ac_try" in |
| 8148 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8149 | *) ac_try_echo=$ac_try;; | ||
| 8150 | esac | ||
| 8151 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 8152 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7529 | ac_status=$? | 8153 | ac_status=$? |
| 7530 | grep -v '^ *+' conftest.er1 >conftest.err | 8154 | grep -v '^ *+' conftest.er1 >conftest.err |
| 7531 | rm -f conftest.er1 | 8155 | rm -f conftest.er1 |
| 7532 | cat conftest.err >&5 | 8156 | cat conftest.err >&5 |
| 7533 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8157 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7534 | (exit $ac_status); } && | 8158 | (exit $ac_status); } && { |
| 7535 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 8159 | test -z "$ac_c_werror_flag" || |
| 7536 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8160 | test ! -s conftest.err |
| 7537 | (eval $ac_try) 2>&5 | 8161 | } && test -s conftest.$ac_objext; then |
| 7538 | ac_status=$? | ||
| 7539 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7540 | (exit $ac_status); }; } && | ||
| 7541 | { ac_try='test -s conftest.$ac_objext' | ||
| 7542 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 7543 | (eval $ac_try) 2>&5 | ||
| 7544 | ac_status=$? | ||
| 7545 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7546 | (exit $ac_status); }; }; then | ||
| 7547 | ac_cv_member_struct_ifreq_ifr_hwaddr=yes | 8162 | ac_cv_member_struct_ifreq_ifr_hwaddr=yes |
| 7548 | else | 8163 | else |
| 7549 | echo "$as_me: failed program was:" >&5 | 8164 | echo "$as_me: failed program was:" >&5 |
| 7550 | sed 's/^/| /' conftest.$ac_ext >&5 | 8165 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 7551 | 8166 | ||
| 7552 | cat >conftest.$ac_ext <<_ACEOF | 8167 | cat >conftest.$ac_ext <<_ACEOF |
| 7553 | /* confdefs.h. */ | 8168 | /* confdefs.h. */ |
| 7554 | _ACEOF | 8169 | _ACEOF |
| 7555 | cat confdefs.h >>conftest.$ac_ext | 8170 | cat confdefs.h >>conftest.$ac_ext |
| @@ -7574,39 +8189,37 @@ return 0; | |||
| 7574 | } | 8189 | } |
| 7575 | _ACEOF | 8190 | _ACEOF |
| 7576 | rm -f conftest.$ac_objext | 8191 | rm -f conftest.$ac_objext |
| 7577 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8192 | if { (ac_try="$ac_compile" |
| 7578 | (eval $ac_compile) 2>conftest.er1 | 8193 | case "(($ac_try" in |
| 8194 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8195 | *) ac_try_echo=$ac_try;; | ||
| 8196 | esac | ||
| 8197 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 8198 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7579 | ac_status=$? | 8199 | ac_status=$? |
| 7580 | grep -v '^ *+' conftest.er1 >conftest.err | 8200 | grep -v '^ *+' conftest.er1 >conftest.err |
| 7581 | rm -f conftest.er1 | 8201 | rm -f conftest.er1 |
| 7582 | cat conftest.err >&5 | 8202 | cat conftest.err >&5 |
| 7583 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8203 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7584 | (exit $ac_status); } && | 8204 | (exit $ac_status); } && { |
| 7585 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 8205 | test -z "$ac_c_werror_flag" || |
| 7586 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8206 | test ! -s conftest.err |
| 7587 | (eval $ac_try) 2>&5 | 8207 | } && test -s conftest.$ac_objext; then |
| 7588 | ac_status=$? | ||
| 7589 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7590 | (exit $ac_status); }; } && | ||
| 7591 | { ac_try='test -s conftest.$ac_objext' | ||
| 7592 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 7593 | (eval $ac_try) 2>&5 | ||
| 7594 | ac_status=$? | ||
| 7595 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7596 | (exit $ac_status); }; }; then | ||
| 7597 | ac_cv_member_struct_ifreq_ifr_hwaddr=yes | 8208 | ac_cv_member_struct_ifreq_ifr_hwaddr=yes |
| 7598 | else | 8209 | else |
| 7599 | echo "$as_me: failed program was:" >&5 | 8210 | echo "$as_me: failed program was:" >&5 |
| 7600 | sed 's/^/| /' conftest.$ac_ext >&5 | 8211 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 7601 | 8212 | ||
| 7602 | ac_cv_member_struct_ifreq_ifr_hwaddr=no | 8213 | ac_cv_member_struct_ifreq_ifr_hwaddr=no |
| 7603 | fi | 8214 | fi |
| 7604 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8215 | |
| 8216 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7605 | fi | 8217 | fi |
| 7606 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8218 | |
| 8219 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7607 | fi | 8220 | fi |
| 7608 | echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5 | 8221 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5 |
| 7609 | echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6 | 8222 | echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; } |
| 7610 | if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then | 8223 | if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then |
| 7611 | 8224 | ||
| 7612 | cat >>confdefs.h <<_ACEOF | 8225 | cat >>confdefs.h <<_ACEOF |
| @@ -7615,8 +8228,8 @@ _ACEOF | |||
| 7615 | 8228 | ||
| 7616 | 8229 | ||
| 7617 | fi | 8230 | fi |
| 7618 | echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5 | 8231 | { echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5 |
| 7619 | echo $ECHO_N "checking for struct ifreq.ifr_netmask... $ECHO_C" >&6 | 8232 | echo $ECHO_N "checking for struct ifreq.ifr_netmask... $ECHO_C" >&6; } |
| 7620 | if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then | 8233 | if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then |
| 7621 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8234 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7622 | else | 8235 | else |
| @@ -7645,32 +8258,28 @@ return 0; | |||
| 7645 | } | 8258 | } |
| 7646 | _ACEOF | 8259 | _ACEOF |
| 7647 | rm -f conftest.$ac_objext | 8260 | rm -f conftest.$ac_objext |
| 7648 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8261 | if { (ac_try="$ac_compile" |
| 7649 | (eval $ac_compile) 2>conftest.er1 | 8262 | case "(($ac_try" in |
| 8263 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8264 | *) ac_try_echo=$ac_try;; | ||
| 8265 | esac | ||
| 8266 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 8267 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7650 | ac_status=$? | 8268 | ac_status=$? |
| 7651 | grep -v '^ *+' conftest.er1 >conftest.err | 8269 | grep -v '^ *+' conftest.er1 >conftest.err |
| 7652 | rm -f conftest.er1 | 8270 | rm -f conftest.er1 |
| 7653 | cat conftest.err >&5 | 8271 | cat conftest.err >&5 |
| 7654 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8272 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7655 | (exit $ac_status); } && | 8273 | (exit $ac_status); } && { |
| 7656 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 8274 | test -z "$ac_c_werror_flag" || |
| 7657 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8275 | test ! -s conftest.err |
| 7658 | (eval $ac_try) 2>&5 | 8276 | } && test -s conftest.$ac_objext; then |
| 7659 | ac_status=$? | ||
| 7660 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7661 | (exit $ac_status); }; } && | ||
| 7662 | { ac_try='test -s conftest.$ac_objext' | ||
| 7663 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 7664 | (eval $ac_try) 2>&5 | ||
| 7665 | ac_status=$? | ||
| 7666 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7667 | (exit $ac_status); }; }; then | ||
| 7668 | ac_cv_member_struct_ifreq_ifr_netmask=yes | 8277 | ac_cv_member_struct_ifreq_ifr_netmask=yes |
| 7669 | else | 8278 | else |
| 7670 | echo "$as_me: failed program was:" >&5 | 8279 | echo "$as_me: failed program was:" >&5 |
| 7671 | sed 's/^/| /' conftest.$ac_ext >&5 | 8280 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 7672 | 8281 | ||
| 7673 | cat >conftest.$ac_ext <<_ACEOF | 8282 | cat >conftest.$ac_ext <<_ACEOF |
| 7674 | /* confdefs.h. */ | 8283 | /* confdefs.h. */ |
| 7675 | _ACEOF | 8284 | _ACEOF |
| 7676 | cat confdefs.h >>conftest.$ac_ext | 8285 | cat confdefs.h >>conftest.$ac_ext |
| @@ -7695,39 +8304,37 @@ return 0; | |||
| 7695 | } | 8304 | } |
| 7696 | _ACEOF | 8305 | _ACEOF |
| 7697 | rm -f conftest.$ac_objext | 8306 | rm -f conftest.$ac_objext |
| 7698 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8307 | if { (ac_try="$ac_compile" |
| 7699 | (eval $ac_compile) 2>conftest.er1 | 8308 | case "(($ac_try" in |
| 8309 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8310 | *) ac_try_echo=$ac_try;; | ||
| 8311 | esac | ||
| 8312 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 8313 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7700 | ac_status=$? | 8314 | ac_status=$? |
| 7701 | grep -v '^ *+' conftest.er1 >conftest.err | 8315 | grep -v '^ *+' conftest.er1 >conftest.err |
| 7702 | rm -f conftest.er1 | 8316 | rm -f conftest.er1 |
| 7703 | cat conftest.err >&5 | 8317 | cat conftest.err >&5 |
| 7704 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8318 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7705 | (exit $ac_status); } && | 8319 | (exit $ac_status); } && { |
| 7706 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 8320 | test -z "$ac_c_werror_flag" || |
| 7707 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8321 | test ! -s conftest.err |
| 7708 | (eval $ac_try) 2>&5 | 8322 | } && test -s conftest.$ac_objext; then |
| 7709 | ac_status=$? | ||
| 7710 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7711 | (exit $ac_status); }; } && | ||
| 7712 | { ac_try='test -s conftest.$ac_objext' | ||
| 7713 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 7714 | (eval $ac_try) 2>&5 | ||
| 7715 | ac_status=$? | ||
| 7716 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7717 | (exit $ac_status); }; }; then | ||
| 7718 | ac_cv_member_struct_ifreq_ifr_netmask=yes | 8323 | ac_cv_member_struct_ifreq_ifr_netmask=yes |
| 7719 | else | 8324 | else |
| 7720 | echo "$as_me: failed program was:" >&5 | 8325 | echo "$as_me: failed program was:" >&5 |
| 7721 | sed 's/^/| /' conftest.$ac_ext >&5 | 8326 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 7722 | 8327 | ||
| 7723 | ac_cv_member_struct_ifreq_ifr_netmask=no | 8328 | ac_cv_member_struct_ifreq_ifr_netmask=no |
| 7724 | fi | 8329 | fi |
| 7725 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8330 | |
| 8331 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7726 | fi | 8332 | fi |
| 7727 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8333 | |
| 8334 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7728 | fi | 8335 | fi |
| 7729 | echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5 | 8336 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5 |
| 7730 | echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_netmask" >&6 | 8337 | echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_netmask" >&6; } |
| 7731 | if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then | 8338 | if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then |
| 7732 | 8339 | ||
| 7733 | cat >>confdefs.h <<_ACEOF | 8340 | cat >>confdefs.h <<_ACEOF |
| @@ -7736,8 +8343,8 @@ _ACEOF | |||
| 7736 | 8343 | ||
| 7737 | 8344 | ||
| 7738 | fi | 8345 | fi |
| 7739 | echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5 | 8346 | { echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5 |
| 7740 | echo $ECHO_N "checking for struct ifreq.ifr_broadaddr... $ECHO_C" >&6 | 8347 | echo $ECHO_N "checking for struct ifreq.ifr_broadaddr... $ECHO_C" >&6; } |
| 7741 | if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then | 8348 | if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then |
| 7742 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8349 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7743 | else | 8350 | else |
| @@ -7766,32 +8373,28 @@ return 0; | |||
| 7766 | } | 8373 | } |
| 7767 | _ACEOF | 8374 | _ACEOF |
| 7768 | rm -f conftest.$ac_objext | 8375 | rm -f conftest.$ac_objext |
| 7769 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8376 | if { (ac_try="$ac_compile" |
| 7770 | (eval $ac_compile) 2>conftest.er1 | 8377 | case "(($ac_try" in |
| 8378 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8379 | *) ac_try_echo=$ac_try;; | ||
| 8380 | esac | ||
| 8381 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 8382 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7771 | ac_status=$? | 8383 | ac_status=$? |
| 7772 | grep -v '^ *+' conftest.er1 >conftest.err | 8384 | grep -v '^ *+' conftest.er1 >conftest.err |
| 7773 | rm -f conftest.er1 | 8385 | rm -f conftest.er1 |
| 7774 | cat conftest.err >&5 | 8386 | cat conftest.err >&5 |
| 7775 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8387 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7776 | (exit $ac_status); } && | 8388 | (exit $ac_status); } && { |
| 7777 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 8389 | test -z "$ac_c_werror_flag" || |
| 7778 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8390 | test ! -s conftest.err |
| 7779 | (eval $ac_try) 2>&5 | 8391 | } && test -s conftest.$ac_objext; then |
| 7780 | ac_status=$? | ||
| 7781 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7782 | (exit $ac_status); }; } && | ||
| 7783 | { ac_try='test -s conftest.$ac_objext' | ||
| 7784 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 7785 | (eval $ac_try) 2>&5 | ||
| 7786 | ac_status=$? | ||
| 7787 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7788 | (exit $ac_status); }; }; then | ||
| 7789 | ac_cv_member_struct_ifreq_ifr_broadaddr=yes | 8392 | ac_cv_member_struct_ifreq_ifr_broadaddr=yes |
| 7790 | else | 8393 | else |
| 7791 | echo "$as_me: failed program was:" >&5 | 8394 | echo "$as_me: failed program was:" >&5 |
| 7792 | sed 's/^/| /' conftest.$ac_ext >&5 | 8395 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 7793 | 8396 | ||
| 7794 | cat >conftest.$ac_ext <<_ACEOF | 8397 | cat >conftest.$ac_ext <<_ACEOF |
| 7795 | /* confdefs.h. */ | 8398 | /* confdefs.h. */ |
| 7796 | _ACEOF | 8399 | _ACEOF |
| 7797 | cat confdefs.h >>conftest.$ac_ext | 8400 | cat confdefs.h >>conftest.$ac_ext |
| @@ -7816,39 +8419,37 @@ return 0; | |||
| 7816 | } | 8419 | } |
| 7817 | _ACEOF | 8420 | _ACEOF |
| 7818 | rm -f conftest.$ac_objext | 8421 | rm -f conftest.$ac_objext |
| 7819 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8422 | if { (ac_try="$ac_compile" |
| 7820 | (eval $ac_compile) 2>conftest.er1 | 8423 | case "(($ac_try" in |
| 8424 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8425 | *) ac_try_echo=$ac_try;; | ||
| 8426 | esac | ||
| 8427 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 8428 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7821 | ac_status=$? | 8429 | ac_status=$? |
| 7822 | grep -v '^ *+' conftest.er1 >conftest.err | 8430 | grep -v '^ *+' conftest.er1 >conftest.err |
| 7823 | rm -f conftest.er1 | 8431 | rm -f conftest.er1 |
| 7824 | cat conftest.err >&5 | 8432 | cat conftest.err >&5 |
| 7825 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8433 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7826 | (exit $ac_status); } && | 8434 | (exit $ac_status); } && { |
| 7827 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 8435 | test -z "$ac_c_werror_flag" || |
| 7828 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8436 | test ! -s conftest.err |
| 7829 | (eval $ac_try) 2>&5 | 8437 | } && test -s conftest.$ac_objext; then |
| 7830 | ac_status=$? | ||
| 7831 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7832 | (exit $ac_status); }; } && | ||
| 7833 | { ac_try='test -s conftest.$ac_objext' | ||
| 7834 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 7835 | (eval $ac_try) 2>&5 | ||
| 7836 | ac_status=$? | ||
| 7837 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7838 | (exit $ac_status); }; }; then | ||
| 7839 | ac_cv_member_struct_ifreq_ifr_broadaddr=yes | 8438 | ac_cv_member_struct_ifreq_ifr_broadaddr=yes |
| 7840 | else | 8439 | else |
| 7841 | echo "$as_me: failed program was:" >&5 | 8440 | echo "$as_me: failed program was:" >&5 |
| 7842 | sed 's/^/| /' conftest.$ac_ext >&5 | 8441 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 7843 | 8442 | ||
| 7844 | ac_cv_member_struct_ifreq_ifr_broadaddr=no | 8443 | ac_cv_member_struct_ifreq_ifr_broadaddr=no |
| 7845 | fi | 8444 | fi |
| 7846 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8445 | |
| 8446 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7847 | fi | 8447 | fi |
| 7848 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8448 | |
| 8449 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7849 | fi | 8450 | fi |
| 7850 | echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5 | 8451 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5 |
| 7851 | echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6 | 8452 | echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; } |
| 7852 | if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then | 8453 | if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then |
| 7853 | 8454 | ||
| 7854 | cat >>confdefs.h <<_ACEOF | 8455 | cat >>confdefs.h <<_ACEOF |
| @@ -7857,8 +8458,8 @@ _ACEOF | |||
| 7857 | 8458 | ||
| 7858 | 8459 | ||
| 7859 | fi | 8460 | fi |
| 7860 | echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5 | 8461 | { echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5 |
| 7861 | echo $ECHO_N "checking for struct ifreq.ifr_addr... $ECHO_C" >&6 | 8462 | echo $ECHO_N "checking for struct ifreq.ifr_addr... $ECHO_C" >&6; } |
| 7862 | if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then | 8463 | if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then |
| 7863 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8464 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 7864 | else | 8465 | else |
| @@ -7887,32 +8488,28 @@ return 0; | |||
| 7887 | } | 8488 | } |
| 7888 | _ACEOF | 8489 | _ACEOF |
| 7889 | rm -f conftest.$ac_objext | 8490 | rm -f conftest.$ac_objext |
| 7890 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8491 | if { (ac_try="$ac_compile" |
| 7891 | (eval $ac_compile) 2>conftest.er1 | 8492 | case "(($ac_try" in |
| 8493 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8494 | *) ac_try_echo=$ac_try;; | ||
| 8495 | esac | ||
| 8496 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 8497 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7892 | ac_status=$? | 8498 | ac_status=$? |
| 7893 | grep -v '^ *+' conftest.er1 >conftest.err | 8499 | grep -v '^ *+' conftest.er1 >conftest.err |
| 7894 | rm -f conftest.er1 | 8500 | rm -f conftest.er1 |
| 7895 | cat conftest.err >&5 | 8501 | cat conftest.err >&5 |
| 7896 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8502 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7897 | (exit $ac_status); } && | 8503 | (exit $ac_status); } && { |
| 7898 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 8504 | test -z "$ac_c_werror_flag" || |
| 7899 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8505 | test ! -s conftest.err |
| 7900 | (eval $ac_try) 2>&5 | 8506 | } && test -s conftest.$ac_objext; then |
| 7901 | ac_status=$? | ||
| 7902 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7903 | (exit $ac_status); }; } && | ||
| 7904 | { ac_try='test -s conftest.$ac_objext' | ||
| 7905 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 7906 | (eval $ac_try) 2>&5 | ||
| 7907 | ac_status=$? | ||
| 7908 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7909 | (exit $ac_status); }; }; then | ||
| 7910 | ac_cv_member_struct_ifreq_ifr_addr=yes | 8507 | ac_cv_member_struct_ifreq_ifr_addr=yes |
| 7911 | else | 8508 | else |
| 7912 | echo "$as_me: failed program was:" >&5 | 8509 | echo "$as_me: failed program was:" >&5 |
| 7913 | sed 's/^/| /' conftest.$ac_ext >&5 | 8510 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 7914 | 8511 | ||
| 7915 | cat >conftest.$ac_ext <<_ACEOF | 8512 | cat >conftest.$ac_ext <<_ACEOF |
| 7916 | /* confdefs.h. */ | 8513 | /* confdefs.h. */ |
| 7917 | _ACEOF | 8514 | _ACEOF |
| 7918 | cat confdefs.h >>conftest.$ac_ext | 8515 | cat confdefs.h >>conftest.$ac_ext |
| @@ -7937,39 +8534,37 @@ return 0; | |||
| 7937 | } | 8534 | } |
| 7938 | _ACEOF | 8535 | _ACEOF |
| 7939 | rm -f conftest.$ac_objext | 8536 | rm -f conftest.$ac_objext |
| 7940 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8537 | if { (ac_try="$ac_compile" |
| 7941 | (eval $ac_compile) 2>conftest.er1 | 8538 | case "(($ac_try" in |
| 8539 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8540 | *) ac_try_echo=$ac_try;; | ||
| 8541 | esac | ||
| 8542 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 8543 | (eval "$ac_compile") 2>conftest.er1 | ||
| 7942 | ac_status=$? | 8544 | ac_status=$? |
| 7943 | grep -v '^ *+' conftest.er1 >conftest.err | 8545 | grep -v '^ *+' conftest.er1 >conftest.err |
| 7944 | rm -f conftest.er1 | 8546 | rm -f conftest.er1 |
| 7945 | cat conftest.err >&5 | 8547 | cat conftest.err >&5 |
| 7946 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8548 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 7947 | (exit $ac_status); } && | 8549 | (exit $ac_status); } && { |
| 7948 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 8550 | test -z "$ac_c_werror_flag" || |
| 7949 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8551 | test ! -s conftest.err |
| 7950 | (eval $ac_try) 2>&5 | 8552 | } && test -s conftest.$ac_objext; then |
| 7951 | ac_status=$? | ||
| 7952 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7953 | (exit $ac_status); }; } && | ||
| 7954 | { ac_try='test -s conftest.$ac_objext' | ||
| 7955 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 7956 | (eval $ac_try) 2>&5 | ||
| 7957 | ac_status=$? | ||
| 7958 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 7959 | (exit $ac_status); }; }; then | ||
| 7960 | ac_cv_member_struct_ifreq_ifr_addr=yes | 8553 | ac_cv_member_struct_ifreq_ifr_addr=yes |
| 7961 | else | 8554 | else |
| 7962 | echo "$as_me: failed program was:" >&5 | 8555 | echo "$as_me: failed program was:" >&5 |
| 7963 | sed 's/^/| /' conftest.$ac_ext >&5 | 8556 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 7964 | 8557 | ||
| 7965 | ac_cv_member_struct_ifreq_ifr_addr=no | 8558 | ac_cv_member_struct_ifreq_ifr_addr=no |
| 7966 | fi | 8559 | fi |
| 7967 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8560 | |
| 8561 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7968 | fi | 8562 | fi |
| 7969 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8563 | |
| 8564 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 7970 | fi | 8565 | fi |
| 7971 | echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5 | 8566 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5 |
| 7972 | echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_addr" >&6 | 8567 | echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_addr" >&6; } |
| 7973 | if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then | 8568 | if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then |
| 7974 | 8569 | ||
| 7975 | cat >>confdefs.h <<_ACEOF | 8570 | cat >>confdefs.h <<_ACEOF |
| @@ -7981,11 +8576,11 @@ fi | |||
| 7981 | 8576 | ||
| 7982 | 8577 | ||
| 7983 | 8578 | ||
| 7984 | echo "$as_me:$LINENO: checking for function prototypes" >&5 | 8579 | { echo "$as_me:$LINENO: checking for function prototypes" >&5 |
| 7985 | echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 | 8580 | echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; } |
| 7986 | if test "$ac_cv_prog_cc_stdc" != no; then | 8581 | if test "$ac_cv_prog_cc_c89" != no; then |
| 7987 | echo "$as_me:$LINENO: result: yes" >&5 | 8582 | { echo "$as_me:$LINENO: result: yes" >&5 |
| 7988 | echo "${ECHO_T}yes" >&6 | 8583 | echo "${ECHO_T}yes" >&6; } |
| 7989 | 8584 | ||
| 7990 | cat >>confdefs.h <<\_ACEOF | 8585 | cat >>confdefs.h <<\_ACEOF |
| 7991 | #define PROTOTYPES 1 | 8586 | #define PROTOTYPES 1 |
| @@ -7997,12 +8592,12 @@ cat >>confdefs.h <<\_ACEOF | |||
| 7997 | _ACEOF | 8592 | _ACEOF |
| 7998 | 8593 | ||
| 7999 | else | 8594 | else |
| 8000 | echo "$as_me:$LINENO: result: no" >&5 | 8595 | { echo "$as_me:$LINENO: result: no" >&5 |
| 8001 | echo "${ECHO_T}no" >&6 | 8596 | echo "${ECHO_T}no" >&6; } |
| 8002 | fi | 8597 | fi |
| 8003 | 8598 | ||
| 8004 | echo "$as_me:$LINENO: checking for working volatile" >&5 | 8599 | { echo "$as_me:$LINENO: checking for working volatile" >&5 |
| 8005 | echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 | 8600 | echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; } |
| 8006 | if test "${ac_cv_c_volatile+set}" = set; then | 8601 | if test "${ac_cv_c_volatile+set}" = set; then |
| 8007 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8602 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8008 | else | 8603 | else |
| @@ -8018,43 +8613,41 @@ main () | |||
| 8018 | { | 8613 | { |
| 8019 | 8614 | ||
| 8020 | volatile int x; | 8615 | volatile int x; |
| 8021 | int * volatile y; | 8616 | int * volatile y = (int *) 0; |
| 8617 | return !x && !y; | ||
| 8022 | ; | 8618 | ; |
| 8023 | return 0; | 8619 | return 0; |
| 8024 | } | 8620 | } |
| 8025 | _ACEOF | 8621 | _ACEOF |
| 8026 | rm -f conftest.$ac_objext | 8622 | rm -f conftest.$ac_objext |
| 8027 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8623 | if { (ac_try="$ac_compile" |
| 8028 | (eval $ac_compile) 2>conftest.er1 | 8624 | case "(($ac_try" in |
| 8625 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8626 | *) ac_try_echo=$ac_try;; | ||
| 8627 | esac | ||
| 8628 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 8629 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8029 | ac_status=$? | 8630 | ac_status=$? |
| 8030 | grep -v '^ *+' conftest.er1 >conftest.err | 8631 | grep -v '^ *+' conftest.er1 >conftest.err |
| 8031 | rm -f conftest.er1 | 8632 | rm -f conftest.er1 |
| 8032 | cat conftest.err >&5 | 8633 | cat conftest.err >&5 |
| 8033 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8634 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8034 | (exit $ac_status); } && | 8635 | (exit $ac_status); } && { |
| 8035 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 8636 | test -z "$ac_c_werror_flag" || |
| 8036 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8637 | test ! -s conftest.err |
| 8037 | (eval $ac_try) 2>&5 | 8638 | } && test -s conftest.$ac_objext; then |
| 8038 | ac_status=$? | ||
| 8039 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8040 | (exit $ac_status); }; } && | ||
| 8041 | { ac_try='test -s conftest.$ac_objext' | ||
| 8042 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 8043 | (eval $ac_try) 2>&5 | ||
| 8044 | ac_status=$? | ||
| 8045 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8046 | (exit $ac_status); }; }; then | ||
| 8047 | ac_cv_c_volatile=yes | 8639 | ac_cv_c_volatile=yes |
| 8048 | else | 8640 | else |
| 8049 | echo "$as_me: failed program was:" >&5 | 8641 | echo "$as_me: failed program was:" >&5 |
| 8050 | sed 's/^/| /' conftest.$ac_ext >&5 | 8642 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 8051 | 8643 | ||
| 8052 | ac_cv_c_volatile=no | 8644 | ac_cv_c_volatile=no |
| 8053 | fi | 8645 | fi |
| 8054 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8646 | |
| 8647 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8055 | fi | 8648 | fi |
| 8056 | echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 | 8649 | { echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 |
| 8057 | echo "${ECHO_T}$ac_cv_c_volatile" >&6 | 8650 | echo "${ECHO_T}$ac_cv_c_volatile" >&6; } |
| 8058 | if test $ac_cv_c_volatile = no; then | 8651 | if test $ac_cv_c_volatile = no; then |
| 8059 | 8652 | ||
| 8060 | cat >>confdefs.h <<\_ACEOF | 8653 | cat >>confdefs.h <<\_ACEOF |
| @@ -8063,8 +8656,8 @@ _ACEOF | |||
| 8063 | 8656 | ||
| 8064 | fi | 8657 | fi |
| 8065 | 8658 | ||
| 8066 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | 8659 | { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| 8067 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | 8660 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } |
| 8068 | if test "${ac_cv_c_const+set}" = set; then | 8661 | if test "${ac_cv_c_const+set}" = set; then |
| 8069 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8662 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8070 | else | 8663 | else |
| @@ -8082,10 +8675,10 @@ main () | |||
| 8082 | #ifndef __cplusplus | 8675 | #ifndef __cplusplus |
| 8083 | /* Ultrix mips cc rejects this. */ | 8676 | /* Ultrix mips cc rejects this. */ |
| 8084 | typedef int charset[2]; | 8677 | typedef int charset[2]; |
| 8085 | const charset x; | 8678 | const charset cs; |
| 8086 | /* SunOS 4.1.1 cc rejects this. */ | 8679 | /* SunOS 4.1.1 cc rejects this. */ |
| 8087 | char const *const *ccp; | 8680 | char const *const *pcpcc; |
| 8088 | char **p; | 8681 | char **ppc; |
| 8089 | /* NEC SVR4.0.2 mips cc rejects this. */ | 8682 | /* NEC SVR4.0.2 mips cc rejects this. */ |
| 8090 | struct point {int x, y;}; | 8683 | struct point {int x, y;}; |
| 8091 | static struct point const zero = {0,0}; | 8684 | static struct point const zero = {0,0}; |
| @@ -8094,16 +8687,17 @@ main () | |||
| 8094 | an arm of an if-expression whose if-part is not a constant | 8687 | an arm of an if-expression whose if-part is not a constant |
| 8095 | expression */ | 8688 | expression */ |
| 8096 | const char *g = "string"; | 8689 | const char *g = "string"; |
| 8097 | ccp = &g + (g ? g-g : 0); | 8690 | pcpcc = &g + (g ? g-g : 0); |
| 8098 | /* HPUX 7.0 cc rejects these. */ | 8691 | /* HPUX 7.0 cc rejects these. */ |
| 8099 | ++ccp; | 8692 | ++pcpcc; |
| 8100 | p = (char**) ccp; | 8693 | ppc = (char**) pcpcc; |
| 8101 | ccp = (char const *const *) p; | 8694 | pcpcc = (char const *const *) ppc; |
| 8102 | { /* SCO 3.2v4 cc rejects this. */ | 8695 | { /* SCO 3.2v4 cc rejects this. */ |
| 8103 | char *t; | 8696 | char *t; |
| 8104 | char const *s = 0 ? (char *) 0 : (char const *) 0; | 8697 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
| 8105 | 8698 | ||
| 8106 | *t++ = 0; | 8699 | *t++ = 0; |
| 8700 | if (s) return 0; | ||
| 8107 | } | 8701 | } |
| 8108 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | 8702 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
| 8109 | int x[] = {25, 17}; | 8703 | int x[] = {25, 17}; |
| @@ -8122,7 +8716,9 @@ main () | |||
| 8122 | } | 8716 | } |
| 8123 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | 8717 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
| 8124 | const int foo = 10; | 8718 | const int foo = 10; |
| 8719 | if (!foo) return 0; | ||
| 8125 | } | 8720 | } |
| 8721 | return !cs[0] && !zero.x; | ||
| 8126 | #endif | 8722 | #endif |
| 8127 | 8723 | ||
| 8128 | ; | 8724 | ; |
| @@ -8130,37 +8726,34 @@ main () | |||
| 8130 | } | 8726 | } |
| 8131 | _ACEOF | 8727 | _ACEOF |
| 8132 | rm -f conftest.$ac_objext | 8728 | rm -f conftest.$ac_objext |
| 8133 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8729 | if { (ac_try="$ac_compile" |
| 8134 | (eval $ac_compile) 2>conftest.er1 | 8730 | case "(($ac_try" in |
| 8731 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8732 | *) ac_try_echo=$ac_try;; | ||
| 8733 | esac | ||
| 8734 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 8735 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8135 | ac_status=$? | 8736 | ac_status=$? |
| 8136 | grep -v '^ *+' conftest.er1 >conftest.err | 8737 | grep -v '^ *+' conftest.er1 >conftest.err |
| 8137 | rm -f conftest.er1 | 8738 | rm -f conftest.er1 |
| 8138 | cat conftest.err >&5 | 8739 | cat conftest.err >&5 |
| 8139 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8740 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8140 | (exit $ac_status); } && | 8741 | (exit $ac_status); } && { |
| 8141 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 8742 | test -z "$ac_c_werror_flag" || |
| 8142 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8743 | test ! -s conftest.err |
| 8143 | (eval $ac_try) 2>&5 | 8744 | } && test -s conftest.$ac_objext; then |
| 8144 | ac_status=$? | ||
| 8145 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8146 | (exit $ac_status); }; } && | ||
| 8147 | { ac_try='test -s conftest.$ac_objext' | ||
| 8148 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 8149 | (eval $ac_try) 2>&5 | ||
| 8150 | ac_status=$? | ||
| 8151 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8152 | (exit $ac_status); }; }; then | ||
| 8153 | ac_cv_c_const=yes | 8745 | ac_cv_c_const=yes |
| 8154 | else | 8746 | else |
| 8155 | echo "$as_me: failed program was:" >&5 | 8747 | echo "$as_me: failed program was:" >&5 |
| 8156 | sed 's/^/| /' conftest.$ac_ext >&5 | 8748 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 8157 | 8749 | ||
| 8158 | ac_cv_c_const=no | 8750 | ac_cv_c_const=no |
| 8159 | fi | 8751 | fi |
| 8160 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8752 | |
| 8753 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8161 | fi | 8754 | fi |
| 8162 | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | 8755 | { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
| 8163 | echo "${ECHO_T}$ac_cv_c_const" >&6 | 8756 | echo "${ECHO_T}$ac_cv_c_const" >&6; } |
| 8164 | if test $ac_cv_c_const = no; then | 8757 | if test $ac_cv_c_const = no; then |
| 8165 | 8758 | ||
| 8166 | cat >>confdefs.h <<\_ACEOF | 8759 | cat >>confdefs.h <<\_ACEOF |
| @@ -8169,8 +8762,8 @@ _ACEOF | |||
| 8169 | 8762 | ||
| 8170 | fi | 8763 | fi |
| 8171 | 8764 | ||
| 8172 | echo "$as_me:$LINENO: checking for void * support" >&5 | 8765 | { echo "$as_me:$LINENO: checking for void * support" >&5 |
| 8173 | echo $ECHO_N "checking for void * support... $ECHO_C" >&6 | 8766 | echo $ECHO_N "checking for void * support... $ECHO_C" >&6; } |
| 8174 | if test "${emacs_cv_void_star+set}" = set; then | 8767 | if test "${emacs_cv_void_star+set}" = set; then |
| 8175 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8768 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8176 | else | 8769 | else |
| @@ -8190,37 +8783,34 @@ void * foo; | |||
| 8190 | } | 8783 | } |
| 8191 | _ACEOF | 8784 | _ACEOF |
| 8192 | rm -f conftest.$ac_objext | 8785 | rm -f conftest.$ac_objext |
| 8193 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8786 | if { (ac_try="$ac_compile" |
| 8194 | (eval $ac_compile) 2>conftest.er1 | 8787 | case "(($ac_try" in |
| 8788 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 8789 | *) ac_try_echo=$ac_try;; | ||
| 8790 | esac | ||
| 8791 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 8792 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8195 | ac_status=$? | 8793 | ac_status=$? |
| 8196 | grep -v '^ *+' conftest.er1 >conftest.err | 8794 | grep -v '^ *+' conftest.er1 >conftest.err |
| 8197 | rm -f conftest.er1 | 8795 | rm -f conftest.er1 |
| 8198 | cat conftest.err >&5 | 8796 | cat conftest.err >&5 |
| 8199 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8797 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8200 | (exit $ac_status); } && | 8798 | (exit $ac_status); } && { |
| 8201 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 8799 | test -z "$ac_c_werror_flag" || |
| 8202 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8800 | test ! -s conftest.err |
| 8203 | (eval $ac_try) 2>&5 | 8801 | } && test -s conftest.$ac_objext; then |
| 8204 | ac_status=$? | ||
| 8205 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8206 | (exit $ac_status); }; } && | ||
| 8207 | { ac_try='test -s conftest.$ac_objext' | ||
| 8208 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 8209 | (eval $ac_try) 2>&5 | ||
| 8210 | ac_status=$? | ||
| 8211 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8212 | (exit $ac_status); }; }; then | ||
| 8213 | emacs_cv_void_star=yes | 8802 | emacs_cv_void_star=yes |
| 8214 | else | 8803 | else |
| 8215 | echo "$as_me: failed program was:" >&5 | 8804 | echo "$as_me: failed program was:" >&5 |
| 8216 | sed 's/^/| /' conftest.$ac_ext >&5 | 8805 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 8217 | 8806 | ||
| 8218 | emacs_cv_void_star=no | 8807 | emacs_cv_void_star=no |
| 8219 | fi | 8808 | fi |
| 8220 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8809 | |
| 8810 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 8221 | fi | 8811 | fi |
| 8222 | echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 | 8812 | { echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 |
| 8223 | echo "${ECHO_T}$emacs_cv_void_star" >&6 | 8813 | echo "${ECHO_T}$emacs_cv_void_star" >&6; } |
| 8224 | if test $emacs_cv_void_star = yes; then | 8814 | if test $emacs_cv_void_star = yes; then |
| 8225 | cat >>confdefs.h <<\_ACEOF | 8815 | cat >>confdefs.h <<\_ACEOF |
| 8226 | #define POINTER_TYPE void | 8816 | #define POINTER_TYPE void |
| @@ -8237,38 +8827,39 @@ fi | |||
| 8237 | 8827 | ||
| 8238 | 8828 | ||
| 8239 | 8829 | ||
| 8240 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 8830 | { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 8241 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 | 8831 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } |
| 8242 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` | 8832 | set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 8243 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | 8833 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
| 8244 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8834 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8245 | else | 8835 | else |
| 8246 | cat >conftest.make <<\_ACEOF | 8836 | cat >conftest.make <<\_ACEOF |
| 8837 | SHELL = /bin/sh | ||
| 8247 | all: | 8838 | all: |
| 8248 | @echo 'ac_maketemp="$(MAKE)"' | 8839 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
| 8249 | _ACEOF | 8840 | _ACEOF |
| 8250 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 8841 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
| 8251 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` | 8842 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 8252 | if test -n "$ac_maketemp"; then | 8843 | *@@@%%%=?*=@@@%%%*) |
| 8253 | eval ac_cv_prog_make_${ac_make}_set=yes | 8844 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 8254 | else | 8845 | *) |
| 8255 | eval ac_cv_prog_make_${ac_make}_set=no | 8846 | eval ac_cv_prog_make_${ac_make}_set=no;; |
| 8256 | fi | 8847 | esac |
| 8257 | rm -f conftest.make | 8848 | rm -f conftest.make |
| 8258 | fi | 8849 | fi |
| 8259 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 8850 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 8260 | echo "$as_me:$LINENO: result: yes" >&5 | 8851 | { echo "$as_me:$LINENO: result: yes" >&5 |
| 8261 | echo "${ECHO_T}yes" >&6 | 8852 | echo "${ECHO_T}yes" >&6; } |
| 8262 | SET_MAKE= | 8853 | SET_MAKE= |
| 8263 | else | 8854 | else |
| 8264 | echo "$as_me:$LINENO: result: no" >&5 | 8855 | { echo "$as_me:$LINENO: result: no" >&5 |
| 8265 | echo "${ECHO_T}no" >&6 | 8856 | echo "${ECHO_T}no" >&6; } |
| 8266 | SET_MAKE="MAKE=${MAKE-make}" | 8857 | SET_MAKE="MAKE=${MAKE-make}" |
| 8267 | fi | 8858 | fi |
| 8268 | 8859 | ||
| 8269 | 8860 | ||
| 8270 | echo "$as_me:$LINENO: checking for long file names" >&5 | 8861 | { echo "$as_me:$LINENO: checking for long file names" >&5 |
| 8271 | echo $ECHO_N "checking for long file names... $ECHO_C" >&6 | 8862 | echo $ECHO_N "checking for long file names... $ECHO_C" >&6; } |
| 8272 | if test "${ac_cv_sys_long_file_names+set}" = set; then | 8863 | if test "${ac_cv_sys_long_file_names+set}" = set; then |
| 8273 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8864 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8274 | else | 8865 | else |
| @@ -8277,37 +8868,30 @@ else | |||
| 8277 | # . the current directory, where building will happen | 8868 | # . the current directory, where building will happen |
| 8278 | # $prefix/lib where we will be installing things | 8869 | # $prefix/lib where we will be installing things |
| 8279 | # $exec_prefix/lib likewise | 8870 | # $exec_prefix/lib likewise |
| 8280 | # eval it to expand exec_prefix. | ||
| 8281 | # $TMPDIR if set, where it might want to write temporary files | 8871 | # $TMPDIR if set, where it might want to write temporary files |
| 8282 | # if $TMPDIR is not set: | ||
| 8283 | # /tmp where it might want to write temporary files | 8872 | # /tmp where it might want to write temporary files |
| 8284 | # /var/tmp likewise | 8873 | # /var/tmp likewise |
| 8285 | # /usr/tmp likewise | 8874 | # /usr/tmp likewise |
| 8286 | if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then | 8875 | for ac_dir in . "$TMPDIR" /tmp /var/tmp /usr/tmp "$prefix/lib" "$exec_prefix/lib"; do |
| 8287 | ac_tmpdirs=$TMPDIR | 8876 | # Skip $TMPDIR if it is empty or bogus, and skip $exec_prefix/lib |
| 8288 | else | 8877 | # in the usual case where exec_prefix is '${prefix}'. |
| 8289 | ac_tmpdirs='/tmp /var/tmp /usr/tmp' | 8878 | case $ac_dir in #( |
| 8290 | fi | 8879 | . | /* | ?:[\\/]*) ;; #( |
| 8291 | for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do | 8880 | *) continue;; |
| 8292 | test -d $ac_dir || continue | 8881 | esac |
| 8293 | test -w $ac_dir || continue # It is less confusing to not echo anything here. | 8882 | test -w "$ac_dir/." || continue # It is less confusing to not echo anything here. |
| 8294 | ac_xdir=$ac_dir/cf$$ | 8883 | ac_xdir=$ac_dir/cf$$ |
| 8295 | (umask 077 && mkdir $ac_xdir 2>/dev/null) || continue | 8884 | (umask 077 && mkdir "$ac_xdir" 2>/dev/null) || continue |
| 8296 | ac_tf1=$ac_xdir/conftest9012345 | 8885 | ac_tf1=$ac_xdir/conftest9012345 |
| 8297 | ac_tf2=$ac_xdir/conftest9012346 | 8886 | ac_tf2=$ac_xdir/conftest9012346 |
| 8298 | (echo 1 >$ac_tf1) 2>/dev/null | 8887 | touch "$ac_tf1" 2>/dev/null && test -f "$ac_tf1" && test ! -f "$ac_tf2" || |
| 8299 | (echo 2 >$ac_tf2) 2>/dev/null | ||
| 8300 | ac_val=`cat $ac_tf1 2>/dev/null` | ||
| 8301 | if test ! -f $ac_tf1 || test "$ac_val" != 1; then | ||
| 8302 | ac_cv_sys_long_file_names=no | 8888 | ac_cv_sys_long_file_names=no |
| 8303 | rm -rf $ac_xdir 2>/dev/null | 8889 | rm -f -r "$ac_xdir" 2>/dev/null |
| 8304 | break | 8890 | test $ac_cv_sys_long_file_names = no && break |
| 8305 | fi | ||
| 8306 | rm -rf $ac_xdir 2>/dev/null | ||
| 8307 | done | 8891 | done |
| 8308 | fi | 8892 | fi |
| 8309 | echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 | 8893 | { echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 |
| 8310 | echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 | 8894 | echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6; } |
| 8311 | if test $ac_cv_sys_long_file_names = yes; then | 8895 | if test $ac_cv_sys_long_file_names = yes; then |
| 8312 | 8896 | ||
| 8313 | cat >>confdefs.h <<\_ACEOF | 8897 | cat >>confdefs.h <<\_ACEOF |
| @@ -8319,45 +8903,49 @@ fi | |||
| 8319 | 8903 | ||
| 8320 | #### Choose a window system. | 8904 | #### Choose a window system. |
| 8321 | 8905 | ||
| 8322 | echo "$as_me:$LINENO: checking for X" >&5 | 8906 | { echo "$as_me:$LINENO: checking for X" >&5 |
| 8323 | echo $ECHO_N "checking for X... $ECHO_C" >&6 | 8907 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
| 8324 | 8908 | ||
| 8325 | ac_path_x_has_been_run=yes | ||
| 8326 | 8909 | ||
| 8327 | # Check whether --with-x or --without-x was given. | 8910 | # Check whether --with-x was given. |
| 8328 | if test "${with_x+set}" = set; then | 8911 | if test "${with_x+set}" = set; then |
| 8329 | withval="$with_x" | 8912 | withval=$with_x; |
| 8913 | fi | ||
| 8330 | 8914 | ||
| 8331 | fi; | ||
| 8332 | # $have_x is `yes', `no', `disabled', or empty when we do not yet know. | 8915 | # $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
| 8333 | if test "x$with_x" = xno; then | 8916 | if test "x$with_x" = xno; then |
| 8334 | # The user explicitly disabled X. | 8917 | # The user explicitly disabled X. |
| 8335 | have_x=disabled | 8918 | have_x=disabled |
| 8336 | else | 8919 | else |
| 8337 | if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then | 8920 | case $x_includes,$x_libraries in #( |
| 8338 | # Both variables are already set. | 8921 | *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 |
| 8339 | have_x=yes | 8922 | echo "$as_me: error: Cannot use X directory names containing '" >&2;} |
| 8340 | else | 8923 | { (exit 1); exit 1; }; };; #( |
| 8341 | if test "${ac_cv_have_x+set}" = set; then | 8924 | *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then |
| 8342 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8925 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8343 | else | 8926 | else |
| 8344 | # One or both of the vars are not set, and there is no cached value. | 8927 | # One or both of the vars are not set, and there is no cached value. |
| 8345 | ac_x_includes=no ac_x_libraries=no | 8928 | ac_x_includes=no ac_x_libraries=no |
| 8346 | rm -fr conftest.dir | 8929 | rm -f -r conftest.dir |
| 8347 | if mkdir conftest.dir; then | 8930 | if mkdir conftest.dir; then |
| 8348 | cd conftest.dir | 8931 | cd conftest.dir |
| 8349 | # Make sure to not put "make" in the Imakefile rules, since we grep it out. | ||
| 8350 | cat >Imakefile <<'_ACEOF' | 8932 | cat >Imakefile <<'_ACEOF' |
| 8351 | acfindx: | 8933 | incroot: |
| 8352 | @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' | 8934 | @echo incroot='${INCROOT}' |
| 8353 | _ACEOF | 8935 | usrlibdir: |
| 8354 | if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then | 8936 | @echo usrlibdir='${USRLIBDIR}' |
| 8937 | libdir: | ||
| 8938 | @echo libdir='${LIBDIR}' | ||
| 8939 | _ACEOF | ||
| 8940 | if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then | ||
| 8355 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 8941 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
| 8356 | eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` | 8942 | for ac_var in incroot usrlibdir libdir; do |
| 8943 | eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" | ||
| 8944 | done | ||
| 8357 | # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. | 8945 | # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
| 8358 | for ac_extension in a so sl; do | 8946 | for ac_extension in a so sl; do |
| 8359 | if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && | 8947 | if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && |
| 8360 | test -f $ac_im_libdir/libX11.$ac_extension; then | 8948 | test -f "$ac_im_libdir/libX11.$ac_extension"; then |
| 8361 | ac_im_usrlibdir=$ac_im_libdir; break | 8949 | ac_im_usrlibdir=$ac_im_libdir; break |
| 8362 | fi | 8950 | fi |
| 8363 | done | 8951 | done |
| @@ -8365,7 +8953,7 @@ _ACEOF | |||
| 8365 | # bogus both because they are the default anyway, and because | 8953 | # bogus both because they are the default anyway, and because |
| 8366 | # using them would break gcc on systems where it needs fixed includes. | 8954 | # using them would break gcc on systems where it needs fixed includes. |
| 8367 | case $ac_im_incroot in | 8955 | case $ac_im_incroot in |
| 8368 | /usr/include) ;; | 8956 | /usr/include) ac_x_includes= ;; |
| 8369 | *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; | 8957 | *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
| 8370 | esac | 8958 | esac |
| 8371 | case $ac_im_usrlibdir in | 8959 | case $ac_im_usrlibdir in |
| @@ -8374,7 +8962,7 @@ _ACEOF | |||
| 8374 | esac | 8962 | esac |
| 8375 | fi | 8963 | fi |
| 8376 | cd .. | 8964 | cd .. |
| 8377 | rm -fr conftest.dir | 8965 | rm -f -r conftest.dir |
| 8378 | fi | 8966 | fi |
| 8379 | 8967 | ||
| 8380 | # Standard set of common directories for X headers. | 8968 | # Standard set of common directories for X headers. |
| @@ -8415,7 +9003,7 @@ ac_x_header_dirs=' | |||
| 8415 | /usr/openwin/share/include' | 9003 | /usr/openwin/share/include' |
| 8416 | 9004 | ||
| 8417 | if test "$ac_x_includes" = no; then | 9005 | if test "$ac_x_includes" = no; then |
| 8418 | # Guess where to find include files, by looking for a specified header file. | 9006 | # Guess where to find include files, by looking for Xlib.h. |
| 8419 | # First, try using that file with no special directory specified. | 9007 | # First, try using that file with no special directory specified. |
| 8420 | cat >conftest.$ac_ext <<_ACEOF | 9008 | cat >conftest.$ac_ext <<_ACEOF |
| 8421 | /* confdefs.h. */ | 9009 | /* confdefs.h. */ |
| @@ -8425,24 +9013,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 8425 | /* end confdefs.h. */ | 9013 | /* end confdefs.h. */ |
| 8426 | #include <X11/Xlib.h> | 9014 | #include <X11/Xlib.h> |
| 8427 | _ACEOF | 9015 | _ACEOF |
| 8428 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 9016 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 8429 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 9017 | case "(($ac_try" in |
| 9018 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9019 | *) ac_try_echo=$ac_try;; | ||
| 9020 | esac | ||
| 9021 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 9022 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 8430 | ac_status=$? | 9023 | ac_status=$? |
| 8431 | grep -v '^ *+' conftest.er1 >conftest.err | 9024 | grep -v '^ *+' conftest.er1 >conftest.err |
| 8432 | rm -f conftest.er1 | 9025 | rm -f conftest.er1 |
| 8433 | cat conftest.err >&5 | 9026 | cat conftest.err >&5 |
| 8434 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9027 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8435 | (exit $ac_status); } >/dev/null; then | 9028 | (exit $ac_status); } >/dev/null && { |
| 8436 | if test -s conftest.err; then | 9029 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 8437 | ac_cpp_err=$ac_c_preproc_warn_flag | 9030 | test ! -s conftest.err |
| 8438 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 9031 | }; then |
| 8439 | else | ||
| 8440 | ac_cpp_err= | ||
| 8441 | fi | ||
| 8442 | else | ||
| 8443 | ac_cpp_err=yes | ||
| 8444 | fi | ||
| 8445 | if test -z "$ac_cpp_err"; then | ||
| 8446 | # We can compile using X headers with no special include directory. | 9032 | # We can compile using X headers with no special include directory. |
| 8447 | ac_x_includes= | 9033 | ac_x_includes= |
| 8448 | else | 9034 | else |
| @@ -8456,6 +9042,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 8456 | fi | 9042 | fi |
| 8457 | done | 9043 | done |
| 8458 | fi | 9044 | fi |
| 9045 | |||
| 8459 | rm -f conftest.err conftest.$ac_ext | 9046 | rm -f conftest.err conftest.$ac_ext |
| 8460 | fi # $ac_x_includes = no | 9047 | fi # $ac_x_includes = no |
| 8461 | 9048 | ||
| @@ -8481,26 +9068,23 @@ XrmInitialize () | |||
| 8481 | } | 9068 | } |
| 8482 | _ACEOF | 9069 | _ACEOF |
| 8483 | rm -f conftest.$ac_objext conftest$ac_exeext | 9070 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 8484 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9071 | if { (ac_try="$ac_link" |
| 8485 | (eval $ac_link) 2>conftest.er1 | 9072 | case "(($ac_try" in |
| 9073 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9074 | *) ac_try_echo=$ac_try;; | ||
| 9075 | esac | ||
| 9076 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 9077 | (eval "$ac_link") 2>conftest.er1 | ||
| 8486 | ac_status=$? | 9078 | ac_status=$? |
| 8487 | grep -v '^ *+' conftest.er1 >conftest.err | 9079 | grep -v '^ *+' conftest.er1 >conftest.err |
| 8488 | rm -f conftest.er1 | 9080 | rm -f conftest.er1 |
| 8489 | cat conftest.err >&5 | 9081 | cat conftest.err >&5 |
| 8490 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9082 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8491 | (exit $ac_status); } && | 9083 | (exit $ac_status); } && { |
| 8492 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 9084 | test -z "$ac_c_werror_flag" || |
| 8493 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9085 | test ! -s conftest.err |
| 8494 | (eval $ac_try) 2>&5 | 9086 | } && test -s conftest$ac_exeext && |
| 8495 | ac_status=$? | 9087 | $as_test_x conftest$ac_exeext; then |
| 8496 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8497 | (exit $ac_status); }; } && | ||
| 8498 | { ac_try='test -s conftest$ac_exeext' | ||
| 8499 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 8500 | (eval $ac_try) 2>&5 | ||
| 8501 | ac_status=$? | ||
| 8502 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8503 | (exit $ac_status); }; }; then | ||
| 8504 | LIBS=$ac_save_LIBS | 9088 | LIBS=$ac_save_LIBS |
| 8505 | # We can link X programs with no special library path. | 9089 | # We can link X programs with no special library path. |
| 8506 | ac_x_libraries= | 9090 | ac_x_libraries= |
| @@ -8508,53 +9092,54 @@ else | |||
| 8508 | echo "$as_me: failed program was:" >&5 | 9092 | echo "$as_me: failed program was:" >&5 |
| 8509 | sed 's/^/| /' conftest.$ac_ext >&5 | 9093 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 8510 | 9094 | ||
| 8511 | LIBS=$ac_save_LIBS | 9095 | LIBS=$ac_save_LIBS |
| 8512 | for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` | 9096 | for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
| 8513 | do | 9097 | do |
| 8514 | # Don't even attempt the hair of trying to link an X program! | 9098 | # Don't even attempt the hair of trying to link an X program! |
| 8515 | for ac_extension in a so sl; do | 9099 | for ac_extension in a so sl; do |
| 8516 | if test -r $ac_dir/libX11.$ac_extension; then | 9100 | if test -r "$ac_dir/libX11.$ac_extension"; then |
| 8517 | ac_x_libraries=$ac_dir | 9101 | ac_x_libraries=$ac_dir |
| 8518 | break 2 | 9102 | break 2 |
| 8519 | fi | 9103 | fi |
| 8520 | done | 9104 | done |
| 8521 | done | 9105 | done |
| 8522 | fi | 9106 | fi |
| 8523 | rm -f conftest.err conftest.$ac_objext \ | 9107 | |
| 9108 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 8524 | conftest$ac_exeext conftest.$ac_ext | 9109 | conftest$ac_exeext conftest.$ac_ext |
| 8525 | fi # $ac_x_libraries = no | 9110 | fi # $ac_x_libraries = no |
| 8526 | 9111 | ||
| 8527 | if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then | 9112 | case $ac_x_includes,$ac_x_libraries in #( |
| 8528 | # Didn't find X anywhere. Cache the known absence of X. | 9113 | no,* | *,no | *\'*) |
| 8529 | ac_cv_have_x="have_x=no" | 9114 | # Didn't find X, or a directory has "'" in its name. |
| 8530 | else | 9115 | ac_cv_have_x="have_x=no";; #( |
| 8531 | # Record where we found X for the cache. | 9116 | *) |
| 8532 | ac_cv_have_x="have_x=yes \ | 9117 | # Record where we found X for the cache. |
| 8533 | ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" | 9118 | ac_cv_have_x="have_x=yes\ |
| 8534 | fi | 9119 | ac_x_includes='$ac_x_includes'\ |
| 9120 | ac_x_libraries='$ac_x_libraries'" | ||
| 9121 | esac | ||
| 8535 | fi | 9122 | fi |
| 8536 | 9123 | ;; #( | |
| 8537 | fi | 9124 | *) have_x=yes;; |
| 9125 | esac | ||
| 8538 | eval "$ac_cv_have_x" | 9126 | eval "$ac_cv_have_x" |
| 8539 | fi # $with_x != no | 9127 | fi # $with_x != no |
| 8540 | 9128 | ||
| 8541 | if test "$have_x" != yes; then | 9129 | if test "$have_x" != yes; then |
| 8542 | echo "$as_me:$LINENO: result: $have_x" >&5 | 9130 | { echo "$as_me:$LINENO: result: $have_x" >&5 |
| 8543 | echo "${ECHO_T}$have_x" >&6 | 9131 | echo "${ECHO_T}$have_x" >&6; } |
| 8544 | no_x=yes | 9132 | no_x=yes |
| 8545 | else | 9133 | else |
| 8546 | # If each of the values was on the command line, it overrides each guess. | 9134 | # If each of the values was on the command line, it overrides each guess. |
| 8547 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes | 9135 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
| 8548 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries | 9136 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
| 8549 | # Update the cache value to reflect the command line values. | 9137 | # Update the cache value to reflect the command line values. |
| 8550 | ac_cv_have_x="have_x=yes \ | 9138 | ac_cv_have_x="have_x=yes\ |
| 8551 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" | 9139 | ac_x_includes='$x_includes'\ |
| 8552 | # It might be that x_includes is empty (headers are found in the | 9140 | ac_x_libraries='$x_libraries'" |
| 8553 | # standard search path. Then output the corresponding message | 9141 | { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
| 8554 | ac_out_x_includes=$x_includes | 9142 | echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; } |
| 8555 | test "x$x_includes" = x && ac_out_x_includes="in standard search path" | ||
| 8556 | echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5 | ||
| 8557 | echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 | ||
| 8558 | fi | 9143 | fi |
| 8559 | 9144 | ||
| 8560 | if test "$no_x" = yes; then | 9145 | if test "$no_x" = yes; then |
| @@ -8563,11 +9148,18 @@ else | |||
| 8563 | window_system=x11 | 9148 | window_system=x11 |
| 8564 | fi | 9149 | fi |
| 8565 | 9150 | ||
| 8566 | if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then | 9151 | if test "${x_libraries}" != NONE; then |
| 8567 | LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"` | 9152 | if test -n "${x_libraries}"; then |
| 8568 | LD_SWITCH_X_SITE_AUX=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"` | 9153 | LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"` |
| 9154 | LD_SWITCH_X_SITE_AUX=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"` | ||
| 9155 | fi | ||
| 8569 | x_default_search_path="" | 9156 | x_default_search_path="" |
| 8570 | for x_library in `echo ${x_libraries} | sed -e "s/:/ /g"`; do | 9157 | x_search_path=${x_libraries} |
| 9158 | if test -z "${x_search_path}"; then | ||
| 9159 | x_search_path=/usr/lib | ||
| 9160 | fi | ||
| 9161 | for x_library in `echo ${x_search_path}: | \ | ||
| 9162 | sed -e "s/:/ /g" -e p -e "s:/lib[^ /]* :/share :g"`; do | ||
| 8571 | x_search_path="\ | 9163 | x_search_path="\ |
| 8572 | ${x_library}/X11/%L/%T/%N%C%S:\ | 9164 | ${x_library}/X11/%L/%T/%N%C%S:\ |
| 8573 | ${x_library}/X11/%l/%T/%N%C%S:\ | 9165 | ${x_library}/X11/%l/%T/%N%C%S:\ |
| @@ -8607,17 +9199,17 @@ fi | |||
| 8607 | HAVE_CARBON=no | 9199 | HAVE_CARBON=no |
| 8608 | if test "${with_carbon}" != no; then | 9200 | if test "${with_carbon}" != no; then |
| 8609 | if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then | 9201 | if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then |
| 8610 | echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 | 9202 | { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 |
| 8611 | echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 | 9203 | echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; } |
| 8612 | if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then | 9204 | if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then |
| 8613 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9205 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8614 | fi | 9206 | fi |
| 8615 | echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 | 9207 | { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 |
| 8616 | echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 | 9208 | echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; } |
| 8617 | else | 9209 | else |
| 8618 | # Is the header compilable? | 9210 | # Is the header compilable? |
| 8619 | echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5 | 9211 | { echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5 |
| 8620 | echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6 | 9212 | echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6; } |
| 8621 | cat >conftest.$ac_ext <<_ACEOF | 9213 | cat >conftest.$ac_ext <<_ACEOF |
| 8622 | /* confdefs.h. */ | 9214 | /* confdefs.h. */ |
| 8623 | _ACEOF | 9215 | _ACEOF |
| @@ -8628,40 +9220,37 @@ $ac_includes_default | |||
| 8628 | #include <Carbon/Carbon.h> | 9220 | #include <Carbon/Carbon.h> |
| 8629 | _ACEOF | 9221 | _ACEOF |
| 8630 | rm -f conftest.$ac_objext | 9222 | rm -f conftest.$ac_objext |
| 8631 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 9223 | if { (ac_try="$ac_compile" |
| 8632 | (eval $ac_compile) 2>conftest.er1 | 9224 | case "(($ac_try" in |
| 9225 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9226 | *) ac_try_echo=$ac_try;; | ||
| 9227 | esac | ||
| 9228 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 9229 | (eval "$ac_compile") 2>conftest.er1 | ||
| 8633 | ac_status=$? | 9230 | ac_status=$? |
| 8634 | grep -v '^ *+' conftest.er1 >conftest.err | 9231 | grep -v '^ *+' conftest.er1 >conftest.err |
| 8635 | rm -f conftest.er1 | 9232 | rm -f conftest.er1 |
| 8636 | cat conftest.err >&5 | 9233 | cat conftest.err >&5 |
| 8637 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9234 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8638 | (exit $ac_status); } && | 9235 | (exit $ac_status); } && { |
| 8639 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 9236 | test -z "$ac_c_werror_flag" || |
| 8640 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9237 | test ! -s conftest.err |
| 8641 | (eval $ac_try) 2>&5 | 9238 | } && test -s conftest.$ac_objext; then |
| 8642 | ac_status=$? | ||
| 8643 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8644 | (exit $ac_status); }; } && | ||
| 8645 | { ac_try='test -s conftest.$ac_objext' | ||
| 8646 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 8647 | (eval $ac_try) 2>&5 | ||
| 8648 | ac_status=$? | ||
| 8649 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8650 | (exit $ac_status); }; }; then | ||
| 8651 | ac_header_compiler=yes | 9239 | ac_header_compiler=yes |
| 8652 | else | 9240 | else |
| 8653 | echo "$as_me: failed program was:" >&5 | 9241 | echo "$as_me: failed program was:" >&5 |
| 8654 | sed 's/^/| /' conftest.$ac_ext >&5 | 9242 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 8655 | 9243 | ||
| 8656 | ac_header_compiler=no | 9244 | ac_header_compiler=no |
| 8657 | fi | 9245 | fi |
| 8658 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 9246 | |
| 8659 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 9247 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 8660 | echo "${ECHO_T}$ac_header_compiler" >&6 | 9248 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 9249 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 8661 | 9250 | ||
| 8662 | # Is the header present? | 9251 | # Is the header present? |
| 8663 | echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5 | 9252 | { echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5 |
| 8664 | echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6 | 9253 | echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6; } |
| 8665 | cat >conftest.$ac_ext <<_ACEOF | 9254 | cat >conftest.$ac_ext <<_ACEOF |
| 8666 | /* confdefs.h. */ | 9255 | /* confdefs.h. */ |
| 8667 | _ACEOF | 9256 | _ACEOF |
| @@ -8670,24 +9259,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 8670 | /* end confdefs.h. */ | 9259 | /* end confdefs.h. */ |
| 8671 | #include <Carbon/Carbon.h> | 9260 | #include <Carbon/Carbon.h> |
| 8672 | _ACEOF | 9261 | _ACEOF |
| 8673 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 9262 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 8674 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 9263 | case "(($ac_try" in |
| 9264 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9265 | *) ac_try_echo=$ac_try;; | ||
| 9266 | esac | ||
| 9267 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 9268 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 8675 | ac_status=$? | 9269 | ac_status=$? |
| 8676 | grep -v '^ *+' conftest.er1 >conftest.err | 9270 | grep -v '^ *+' conftest.er1 >conftest.err |
| 8677 | rm -f conftest.er1 | 9271 | rm -f conftest.er1 |
| 8678 | cat conftest.err >&5 | 9272 | cat conftest.err >&5 |
| 8679 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8680 | (exit $ac_status); } >/dev/null; then | 9274 | (exit $ac_status); } >/dev/null && { |
| 8681 | if test -s conftest.err; then | 9275 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 8682 | ac_cpp_err=$ac_c_preproc_warn_flag | 9276 | test ! -s conftest.err |
| 8683 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 9277 | }; then |
| 8684 | else | ||
| 8685 | ac_cpp_err= | ||
| 8686 | fi | ||
| 8687 | else | ||
| 8688 | ac_cpp_err=yes | ||
| 8689 | fi | ||
| 8690 | if test -z "$ac_cpp_err"; then | ||
| 8691 | ac_header_preproc=yes | 9278 | ac_header_preproc=yes |
| 8692 | else | 9279 | else |
| 8693 | echo "$as_me: failed program was:" >&5 | 9280 | echo "$as_me: failed program was:" >&5 |
| @@ -8695,9 +9282,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 8695 | 9282 | ||
| 8696 | ac_header_preproc=no | 9283 | ac_header_preproc=no |
| 8697 | fi | 9284 | fi |
| 9285 | |||
| 8698 | rm -f conftest.err conftest.$ac_ext | 9286 | rm -f conftest.err conftest.$ac_ext |
| 8699 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 9287 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 8700 | echo "${ECHO_T}$ac_header_preproc" >&6 | 9288 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 8701 | 9289 | ||
| 8702 | # So? What about this header? | 9290 | # So? What about this header? |
| 8703 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 9291 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -8721,25 +9309,18 @@ echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Comp | |||
| 8721 | echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;} | 9309 | echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;} |
| 8722 | { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5 | 9310 | { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5 |
| 8723 | echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;} | 9311 | echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;} |
| 8724 | ( | 9312 | |
| 8725 | cat <<\_ASBOX | ||
| 8726 | ## ------------------------------------------ ## | ||
| 8727 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 8728 | ## ------------------------------------------ ## | ||
| 8729 | _ASBOX | ||
| 8730 | ) | | ||
| 8731 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 8732 | ;; | 9313 | ;; |
| 8733 | esac | 9314 | esac |
| 8734 | echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 | 9315 | { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 |
| 8735 | echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 | 9316 | echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; } |
| 8736 | if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then | 9317 | if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then |
| 8737 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9318 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8738 | else | 9319 | else |
| 8739 | ac_cv_header_Carbon_Carbon_h=$ac_header_preproc | 9320 | ac_cv_header_Carbon_Carbon_h=$ac_header_preproc |
| 8740 | fi | 9321 | fi |
| 8741 | echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 | 9322 | { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 |
| 8742 | echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 | 9323 | echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; } |
| 8743 | 9324 | ||
| 8744 | fi | 9325 | fi |
| 8745 | if test $ac_cv_header_Carbon_Carbon_h = yes; then | 9326 | if test $ac_cv_header_Carbon_Carbon_h = yes; then |
| @@ -8807,8 +9388,8 @@ UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`" | |||
| 8807 | # Assume not, until told otherwise. | 9388 | # Assume not, until told otherwise. |
| 8808 | GNU_MALLOC=yes | 9389 | GNU_MALLOC=yes |
| 8809 | doug_lea_malloc=yes | 9390 | doug_lea_malloc=yes |
| 8810 | echo "$as_me:$LINENO: checking for malloc_get_state" >&5 | 9391 | { echo "$as_me:$LINENO: checking for malloc_get_state" >&5 |
| 8811 | echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6 | 9392 | echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6; } |
| 8812 | if test "${ac_cv_func_malloc_get_state+set}" = set; then | 9393 | if test "${ac_cv_func_malloc_get_state+set}" = set; then |
| 8813 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9394 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8814 | else | 9395 | else |
| @@ -8835,75 +9416,67 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 8835 | 9416 | ||
| 8836 | #undef malloc_get_state | 9417 | #undef malloc_get_state |
| 8837 | 9418 | ||
| 8838 | /* Override any gcc2 internal prototype to avoid an error. */ | 9419 | /* Override any GCC internal prototype to avoid an error. |
| 9420 | Use char because int might match the return type of a GCC | ||
| 9421 | builtin and then its argument prototype would still apply. */ | ||
| 8839 | #ifdef __cplusplus | 9422 | #ifdef __cplusplus |
| 8840 | extern "C" | 9423 | extern "C" |
| 8841 | { | ||
| 8842 | #endif | 9424 | #endif |
| 8843 | /* We use char because int might match the return type of a gcc2 | ||
| 8844 | builtin and then its argument prototype would still apply. */ | ||
| 8845 | char malloc_get_state (); | 9425 | char malloc_get_state (); |
| 8846 | /* The GNU C library defines this for functions which it implements | 9426 | /* The GNU C library defines this for functions which it implements |
| 8847 | to always fail with ENOSYS. Some functions are actually named | 9427 | to always fail with ENOSYS. Some functions are actually named |
| 8848 | something starting with __ and the normal name is an alias. */ | 9428 | something starting with __ and the normal name is an alias. */ |
| 8849 | #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state) | 9429 | #if defined __stub_malloc_get_state || defined __stub___malloc_get_state |
| 8850 | choke me | 9430 | choke me |
| 8851 | #else | ||
| 8852 | char (*f) () = malloc_get_state; | ||
| 8853 | #endif | ||
| 8854 | #ifdef __cplusplus | ||
| 8855 | } | ||
| 8856 | #endif | 9431 | #endif |
| 8857 | 9432 | ||
| 8858 | int | 9433 | int |
| 8859 | main () | 9434 | main () |
| 8860 | { | 9435 | { |
| 8861 | return f != malloc_get_state; | 9436 | return malloc_get_state (); |
| 8862 | ; | 9437 | ; |
| 8863 | return 0; | 9438 | return 0; |
| 8864 | } | 9439 | } |
| 8865 | _ACEOF | 9440 | _ACEOF |
| 8866 | rm -f conftest.$ac_objext conftest$ac_exeext | 9441 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 8867 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9442 | if { (ac_try="$ac_link" |
| 8868 | (eval $ac_link) 2>conftest.er1 | 9443 | case "(($ac_try" in |
| 9444 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9445 | *) ac_try_echo=$ac_try;; | ||
| 9446 | esac | ||
| 9447 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 9448 | (eval "$ac_link") 2>conftest.er1 | ||
| 8869 | ac_status=$? | 9449 | ac_status=$? |
| 8870 | grep -v '^ *+' conftest.er1 >conftest.err | 9450 | grep -v '^ *+' conftest.er1 >conftest.err |
| 8871 | rm -f conftest.er1 | 9451 | rm -f conftest.er1 |
| 8872 | cat conftest.err >&5 | 9452 | cat conftest.err >&5 |
| 8873 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9453 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8874 | (exit $ac_status); } && | 9454 | (exit $ac_status); } && { |
| 8875 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 9455 | test -z "$ac_c_werror_flag" || |
| 8876 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9456 | test ! -s conftest.err |
| 8877 | (eval $ac_try) 2>&5 | 9457 | } && test -s conftest$ac_exeext && |
| 8878 | ac_status=$? | 9458 | $as_test_x conftest$ac_exeext; then |
| 8879 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8880 | (exit $ac_status); }; } && | ||
| 8881 | { ac_try='test -s conftest$ac_exeext' | ||
| 8882 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 8883 | (eval $ac_try) 2>&5 | ||
| 8884 | ac_status=$? | ||
| 8885 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8886 | (exit $ac_status); }; }; then | ||
| 8887 | ac_cv_func_malloc_get_state=yes | 9459 | ac_cv_func_malloc_get_state=yes |
| 8888 | else | 9460 | else |
| 8889 | echo "$as_me: failed program was:" >&5 | 9461 | echo "$as_me: failed program was:" >&5 |
| 8890 | sed 's/^/| /' conftest.$ac_ext >&5 | 9462 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 8891 | 9463 | ||
| 8892 | ac_cv_func_malloc_get_state=no | 9464 | ac_cv_func_malloc_get_state=no |
| 8893 | fi | 9465 | fi |
| 8894 | rm -f conftest.err conftest.$ac_objext \ | 9466 | |
| 9467 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 8895 | conftest$ac_exeext conftest.$ac_ext | 9468 | conftest$ac_exeext conftest.$ac_ext |
| 8896 | fi | 9469 | fi |
| 8897 | echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5 | 9470 | { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5 |
| 8898 | echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6 | 9471 | echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6; } |
| 8899 | if test $ac_cv_func_malloc_get_state = yes; then | 9472 | if test $ac_cv_func_malloc_get_state = yes; then |
| 8900 | : | 9473 | : |
| 8901 | else | 9474 | else |
| 8902 | doug_lea_malloc=no | 9475 | doug_lea_malloc=no |
| 8903 | fi | 9476 | fi |
| 8904 | 9477 | ||
| 8905 | echo "$as_me:$LINENO: checking for malloc_set_state" >&5 | 9478 | { echo "$as_me:$LINENO: checking for malloc_set_state" >&5 |
| 8906 | echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6 | 9479 | echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6; } |
| 8907 | if test "${ac_cv_func_malloc_set_state+set}" = set; then | 9480 | if test "${ac_cv_func_malloc_set_state+set}" = set; then |
| 8908 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9481 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 8909 | else | 9482 | else |
| @@ -8930,75 +9503,67 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 8930 | 9503 | ||
| 8931 | #undef malloc_set_state | 9504 | #undef malloc_set_state |
| 8932 | 9505 | ||
| 8933 | /* Override any gcc2 internal prototype to avoid an error. */ | 9506 | /* Override any GCC internal prototype to avoid an error. |
| 9507 | Use char because int might match the return type of a GCC | ||
| 9508 | builtin and then its argument prototype would still apply. */ | ||
| 8934 | #ifdef __cplusplus | 9509 | #ifdef __cplusplus |
| 8935 | extern "C" | 9510 | extern "C" |
| 8936 | { | ||
| 8937 | #endif | 9511 | #endif |
| 8938 | /* We use char because int might match the return type of a gcc2 | ||
| 8939 | builtin and then its argument prototype would still apply. */ | ||
| 8940 | char malloc_set_state (); | 9512 | char malloc_set_state (); |
| 8941 | /* The GNU C library defines this for functions which it implements | 9513 | /* The GNU C library defines this for functions which it implements |
| 8942 | to always fail with ENOSYS. Some functions are actually named | 9514 | to always fail with ENOSYS. Some functions are actually named |
| 8943 | something starting with __ and the normal name is an alias. */ | 9515 | something starting with __ and the normal name is an alias. */ |
| 8944 | #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state) | 9516 | #if defined __stub_malloc_set_state || defined __stub___malloc_set_state |
| 8945 | choke me | 9517 | choke me |
| 8946 | #else | ||
| 8947 | char (*f) () = malloc_set_state; | ||
| 8948 | #endif | ||
| 8949 | #ifdef __cplusplus | ||
| 8950 | } | ||
| 8951 | #endif | 9518 | #endif |
| 8952 | 9519 | ||
| 8953 | int | 9520 | int |
| 8954 | main () | 9521 | main () |
| 8955 | { | 9522 | { |
| 8956 | return f != malloc_set_state; | 9523 | return malloc_set_state (); |
| 8957 | ; | 9524 | ; |
| 8958 | return 0; | 9525 | return 0; |
| 8959 | } | 9526 | } |
| 8960 | _ACEOF | 9527 | _ACEOF |
| 8961 | rm -f conftest.$ac_objext conftest$ac_exeext | 9528 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 8962 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9529 | if { (ac_try="$ac_link" |
| 8963 | (eval $ac_link) 2>conftest.er1 | 9530 | case "(($ac_try" in |
| 9531 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9532 | *) ac_try_echo=$ac_try;; | ||
| 9533 | esac | ||
| 9534 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 9535 | (eval "$ac_link") 2>conftest.er1 | ||
| 8964 | ac_status=$? | 9536 | ac_status=$? |
| 8965 | grep -v '^ *+' conftest.er1 >conftest.err | 9537 | grep -v '^ *+' conftest.er1 >conftest.err |
| 8966 | rm -f conftest.er1 | 9538 | rm -f conftest.er1 |
| 8967 | cat conftest.err >&5 | 9539 | cat conftest.err >&5 |
| 8968 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9540 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 8969 | (exit $ac_status); } && | 9541 | (exit $ac_status); } && { |
| 8970 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 9542 | test -z "$ac_c_werror_flag" || |
| 8971 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9543 | test ! -s conftest.err |
| 8972 | (eval $ac_try) 2>&5 | 9544 | } && test -s conftest$ac_exeext && |
| 8973 | ac_status=$? | 9545 | $as_test_x conftest$ac_exeext; then |
| 8974 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8975 | (exit $ac_status); }; } && | ||
| 8976 | { ac_try='test -s conftest$ac_exeext' | ||
| 8977 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 8978 | (eval $ac_try) 2>&5 | ||
| 8979 | ac_status=$? | ||
| 8980 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8981 | (exit $ac_status); }; }; then | ||
| 8982 | ac_cv_func_malloc_set_state=yes | 9546 | ac_cv_func_malloc_set_state=yes |
| 8983 | else | 9547 | else |
| 8984 | echo "$as_me: failed program was:" >&5 | 9548 | echo "$as_me: failed program was:" >&5 |
| 8985 | sed 's/^/| /' conftest.$ac_ext >&5 | 9549 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 8986 | 9550 | ||
| 8987 | ac_cv_func_malloc_set_state=no | 9551 | ac_cv_func_malloc_set_state=no |
| 8988 | fi | 9552 | fi |
| 8989 | rm -f conftest.err conftest.$ac_objext \ | 9553 | |
| 9554 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 8990 | conftest$ac_exeext conftest.$ac_ext | 9555 | conftest$ac_exeext conftest.$ac_ext |
| 8991 | fi | 9556 | fi |
| 8992 | echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5 | 9557 | { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5 |
| 8993 | echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6 | 9558 | echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6; } |
| 8994 | if test $ac_cv_func_malloc_set_state = yes; then | 9559 | if test $ac_cv_func_malloc_set_state = yes; then |
| 8995 | : | 9560 | : |
| 8996 | else | 9561 | else |
| 8997 | doug_lea_malloc=no | 9562 | doug_lea_malloc=no |
| 8998 | fi | 9563 | fi |
| 8999 | 9564 | ||
| 9000 | echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 | 9565 | { echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 |
| 9001 | echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6 | 9566 | echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6; } |
| 9002 | if test "${emacs_cv_var___after_morecore_hook+set}" = set; then | 9567 | if test "${emacs_cv_var___after_morecore_hook+set}" = set; then |
| 9003 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9568 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9004 | else | 9569 | else |
| @@ -9018,38 +9583,36 @@ __after_morecore_hook = 0 | |||
| 9018 | } | 9583 | } |
| 9019 | _ACEOF | 9584 | _ACEOF |
| 9020 | rm -f conftest.$ac_objext conftest$ac_exeext | 9585 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 9021 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9586 | if { (ac_try="$ac_link" |
| 9022 | (eval $ac_link) 2>conftest.er1 | 9587 | case "(($ac_try" in |
| 9588 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9589 | *) ac_try_echo=$ac_try;; | ||
| 9590 | esac | ||
| 9591 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 9592 | (eval "$ac_link") 2>conftest.er1 | ||
| 9023 | ac_status=$? | 9593 | ac_status=$? |
| 9024 | grep -v '^ *+' conftest.er1 >conftest.err | 9594 | grep -v '^ *+' conftest.er1 >conftest.err |
| 9025 | rm -f conftest.er1 | 9595 | rm -f conftest.er1 |
| 9026 | cat conftest.err >&5 | 9596 | cat conftest.err >&5 |
| 9027 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9597 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9028 | (exit $ac_status); } && | 9598 | (exit $ac_status); } && { |
| 9029 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 9599 | test -z "$ac_c_werror_flag" || |
| 9030 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9600 | test ! -s conftest.err |
| 9031 | (eval $ac_try) 2>&5 | 9601 | } && test -s conftest$ac_exeext && |
| 9032 | ac_status=$? | 9602 | $as_test_x conftest$ac_exeext; then |
| 9033 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9034 | (exit $ac_status); }; } && | ||
| 9035 | { ac_try='test -s conftest$ac_exeext' | ||
| 9036 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 9037 | (eval $ac_try) 2>&5 | ||
| 9038 | ac_status=$? | ||
| 9039 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9040 | (exit $ac_status); }; }; then | ||
| 9041 | emacs_cv_var___after_morecore_hook=yes | 9603 | emacs_cv_var___after_morecore_hook=yes |
| 9042 | else | 9604 | else |
| 9043 | echo "$as_me: failed program was:" >&5 | 9605 | echo "$as_me: failed program was:" >&5 |
| 9044 | sed 's/^/| /' conftest.$ac_ext >&5 | 9606 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 9045 | 9607 | ||
| 9046 | emacs_cv_var___after_morecore_hook=no | 9608 | emacs_cv_var___after_morecore_hook=no |
| 9047 | fi | 9609 | fi |
| 9048 | rm -f conftest.err conftest.$ac_objext \ | 9610 | |
| 9611 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 9049 | conftest$ac_exeext conftest.$ac_ext | 9612 | conftest$ac_exeext conftest.$ac_ext |
| 9050 | fi | 9613 | fi |
| 9051 | echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5 | 9614 | { echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5 |
| 9052 | echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6 | 9615 | echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6; } |
| 9053 | if test $emacs_cv_var___after_morecore_hook = no; then | 9616 | if test $emacs_cv_var___after_morecore_hook = no; then |
| 9054 | doug_lea_malloc=no | 9617 | doug_lea_malloc=no |
| 9055 | fi | 9618 | fi |
| @@ -9080,18 +9643,19 @@ fi | |||
| 9080 | for ac_header in stdlib.h unistd.h | 9643 | for ac_header in stdlib.h unistd.h |
| 9081 | do | 9644 | do |
| 9082 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 9645 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 9083 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 9646 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 9084 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 9647 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 9085 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 9648 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 9086 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 9649 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 9087 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9650 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9088 | fi | 9651 | fi |
| 9089 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 9652 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 9090 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 9653 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 9654 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 9091 | else | 9655 | else |
| 9092 | # Is the header compilable? | 9656 | # Is the header compilable? |
| 9093 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 9657 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 9094 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 9658 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 9095 | cat >conftest.$ac_ext <<_ACEOF | 9659 | cat >conftest.$ac_ext <<_ACEOF |
| 9096 | /* confdefs.h. */ | 9660 | /* confdefs.h. */ |
| 9097 | _ACEOF | 9661 | _ACEOF |
| @@ -9102,40 +9666,37 @@ $ac_includes_default | |||
| 9102 | #include <$ac_header> | 9666 | #include <$ac_header> |
| 9103 | _ACEOF | 9667 | _ACEOF |
| 9104 | rm -f conftest.$ac_objext | 9668 | rm -f conftest.$ac_objext |
| 9105 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 9669 | if { (ac_try="$ac_compile" |
| 9106 | (eval $ac_compile) 2>conftest.er1 | 9670 | case "(($ac_try" in |
| 9671 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9672 | *) ac_try_echo=$ac_try;; | ||
| 9673 | esac | ||
| 9674 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 9675 | (eval "$ac_compile") 2>conftest.er1 | ||
| 9107 | ac_status=$? | 9676 | ac_status=$? |
| 9108 | grep -v '^ *+' conftest.er1 >conftest.err | 9677 | grep -v '^ *+' conftest.er1 >conftest.err |
| 9109 | rm -f conftest.er1 | 9678 | rm -f conftest.er1 |
| 9110 | cat conftest.err >&5 | 9679 | cat conftest.err >&5 |
| 9111 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9680 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9112 | (exit $ac_status); } && | 9681 | (exit $ac_status); } && { |
| 9113 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 9682 | test -z "$ac_c_werror_flag" || |
| 9114 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9683 | test ! -s conftest.err |
| 9115 | (eval $ac_try) 2>&5 | 9684 | } && test -s conftest.$ac_objext; then |
| 9116 | ac_status=$? | ||
| 9117 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9118 | (exit $ac_status); }; } && | ||
| 9119 | { ac_try='test -s conftest.$ac_objext' | ||
| 9120 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 9121 | (eval $ac_try) 2>&5 | ||
| 9122 | ac_status=$? | ||
| 9123 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9124 | (exit $ac_status); }; }; then | ||
| 9125 | ac_header_compiler=yes | 9685 | ac_header_compiler=yes |
| 9126 | else | 9686 | else |
| 9127 | echo "$as_me: failed program was:" >&5 | 9687 | echo "$as_me: failed program was:" >&5 |
| 9128 | sed 's/^/| /' conftest.$ac_ext >&5 | 9688 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 9129 | 9689 | ||
| 9130 | ac_header_compiler=no | 9690 | ac_header_compiler=no |
| 9131 | fi | 9691 | fi |
| 9132 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 9692 | |
| 9133 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 9693 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9134 | echo "${ECHO_T}$ac_header_compiler" >&6 | 9694 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 9695 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 9135 | 9696 | ||
| 9136 | # Is the header present? | 9697 | # Is the header present? |
| 9137 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 9698 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 9138 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 9699 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 9139 | cat >conftest.$ac_ext <<_ACEOF | 9700 | cat >conftest.$ac_ext <<_ACEOF |
| 9140 | /* confdefs.h. */ | 9701 | /* confdefs.h. */ |
| 9141 | _ACEOF | 9702 | _ACEOF |
| @@ -9144,24 +9705,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 9144 | /* end confdefs.h. */ | 9705 | /* end confdefs.h. */ |
| 9145 | #include <$ac_header> | 9706 | #include <$ac_header> |
| 9146 | _ACEOF | 9707 | _ACEOF |
| 9147 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 9708 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 9148 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 9709 | case "(($ac_try" in |
| 9710 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9711 | *) ac_try_echo=$ac_try;; | ||
| 9712 | esac | ||
| 9713 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 9714 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 9149 | ac_status=$? | 9715 | ac_status=$? |
| 9150 | grep -v '^ *+' conftest.er1 >conftest.err | 9716 | grep -v '^ *+' conftest.er1 >conftest.err |
| 9151 | rm -f conftest.er1 | 9717 | rm -f conftest.er1 |
| 9152 | cat conftest.err >&5 | 9718 | cat conftest.err >&5 |
| 9153 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9719 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9154 | (exit $ac_status); } >/dev/null; then | 9720 | (exit $ac_status); } >/dev/null && { |
| 9155 | if test -s conftest.err; then | 9721 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 9156 | ac_cpp_err=$ac_c_preproc_warn_flag | 9722 | test ! -s conftest.err |
| 9157 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 9723 | }; then |
| 9158 | else | ||
| 9159 | ac_cpp_err= | ||
| 9160 | fi | ||
| 9161 | else | ||
| 9162 | ac_cpp_err=yes | ||
| 9163 | fi | ||
| 9164 | if test -z "$ac_cpp_err"; then | ||
| 9165 | ac_header_preproc=yes | 9724 | ac_header_preproc=yes |
| 9166 | else | 9725 | else |
| 9167 | echo "$as_me: failed program was:" >&5 | 9726 | echo "$as_me: failed program was:" >&5 |
| @@ -9169,9 +9728,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 9169 | 9728 | ||
| 9170 | ac_header_preproc=no | 9729 | ac_header_preproc=no |
| 9171 | fi | 9730 | fi |
| 9731 | |||
| 9172 | rm -f conftest.err conftest.$ac_ext | 9732 | rm -f conftest.err conftest.$ac_ext |
| 9173 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 9733 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 9174 | echo "${ECHO_T}$ac_header_preproc" >&6 | 9734 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 9175 | 9735 | ||
| 9176 | # So? What about this header? | 9736 | # So? What about this header? |
| 9177 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 9737 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -9195,25 +9755,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 9195 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 9755 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 9196 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 9756 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 9197 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 9757 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 9198 | ( | 9758 | |
| 9199 | cat <<\_ASBOX | ||
| 9200 | ## ------------------------------------------ ## | ||
| 9201 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 9202 | ## ------------------------------------------ ## | ||
| 9203 | _ASBOX | ||
| 9204 | ) | | ||
| 9205 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 9206 | ;; | 9759 | ;; |
| 9207 | esac | 9760 | esac |
| 9208 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 9761 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 9209 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 9762 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 9210 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 9763 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 9211 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9764 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9212 | else | 9765 | else |
| 9213 | eval "$as_ac_Header=\$ac_header_preproc" | 9766 | eval "$as_ac_Header=\$ac_header_preproc" |
| 9214 | fi | 9767 | fi |
| 9215 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 9768 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 9216 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 9769 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 9770 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 9217 | 9771 | ||
| 9218 | fi | 9772 | fi |
| 9219 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 9773 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| @@ -9229,9 +9783,9 @@ done | |||
| 9229 | for ac_func in getpagesize | 9783 | for ac_func in getpagesize |
| 9230 | do | 9784 | do |
| 9231 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 9785 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 9232 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 9786 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 9233 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 9787 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 9234 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 9788 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 9235 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9789 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9236 | else | 9790 | else |
| 9237 | cat >conftest.$ac_ext <<_ACEOF | 9791 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -9257,67 +9811,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 9257 | 9811 | ||
| 9258 | #undef $ac_func | 9812 | #undef $ac_func |
| 9259 | 9813 | ||
| 9260 | /* Override any gcc2 internal prototype to avoid an error. */ | 9814 | /* Override any GCC internal prototype to avoid an error. |
| 9815 | Use char because int might match the return type of a GCC | ||
| 9816 | builtin and then its argument prototype would still apply. */ | ||
| 9261 | #ifdef __cplusplus | 9817 | #ifdef __cplusplus |
| 9262 | extern "C" | 9818 | extern "C" |
| 9263 | { | ||
| 9264 | #endif | 9819 | #endif |
| 9265 | /* We use char because int might match the return type of a gcc2 | ||
| 9266 | builtin and then its argument prototype would still apply. */ | ||
| 9267 | char $ac_func (); | 9820 | char $ac_func (); |
| 9268 | /* The GNU C library defines this for functions which it implements | 9821 | /* The GNU C library defines this for functions which it implements |
| 9269 | to always fail with ENOSYS. Some functions are actually named | 9822 | to always fail with ENOSYS. Some functions are actually named |
| 9270 | something starting with __ and the normal name is an alias. */ | 9823 | something starting with __ and the normal name is an alias. */ |
| 9271 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 9824 | #if defined __stub_$ac_func || defined __stub___$ac_func |
| 9272 | choke me | 9825 | choke me |
| 9273 | #else | ||
| 9274 | char (*f) () = $ac_func; | ||
| 9275 | #endif | ||
| 9276 | #ifdef __cplusplus | ||
| 9277 | } | ||
| 9278 | #endif | 9826 | #endif |
| 9279 | 9827 | ||
| 9280 | int | 9828 | int |
| 9281 | main () | 9829 | main () |
| 9282 | { | 9830 | { |
| 9283 | return f != $ac_func; | 9831 | return $ac_func (); |
| 9284 | ; | 9832 | ; |
| 9285 | return 0; | 9833 | return 0; |
| 9286 | } | 9834 | } |
| 9287 | _ACEOF | 9835 | _ACEOF |
| 9288 | rm -f conftest.$ac_objext conftest$ac_exeext | 9836 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 9289 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 9837 | if { (ac_try="$ac_link" |
| 9290 | (eval $ac_link) 2>conftest.er1 | 9838 | case "(($ac_try" in |
| 9839 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 9840 | *) ac_try_echo=$ac_try;; | ||
| 9841 | esac | ||
| 9842 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 9843 | (eval "$ac_link") 2>conftest.er1 | ||
| 9291 | ac_status=$? | 9844 | ac_status=$? |
| 9292 | grep -v '^ *+' conftest.er1 >conftest.err | 9845 | grep -v '^ *+' conftest.er1 >conftest.err |
| 9293 | rm -f conftest.er1 | 9846 | rm -f conftest.er1 |
| 9294 | cat conftest.err >&5 | 9847 | cat conftest.err >&5 |
| 9295 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9848 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9296 | (exit $ac_status); } && | 9849 | (exit $ac_status); } && { |
| 9297 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 9850 | test -z "$ac_c_werror_flag" || |
| 9298 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9851 | test ! -s conftest.err |
| 9299 | (eval $ac_try) 2>&5 | 9852 | } && test -s conftest$ac_exeext && |
| 9300 | ac_status=$? | 9853 | $as_test_x conftest$ac_exeext; then |
| 9301 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9302 | (exit $ac_status); }; } && | ||
| 9303 | { ac_try='test -s conftest$ac_exeext' | ||
| 9304 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 9305 | (eval $ac_try) 2>&5 | ||
| 9306 | ac_status=$? | ||
| 9307 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9308 | (exit $ac_status); }; }; then | ||
| 9309 | eval "$as_ac_var=yes" | 9854 | eval "$as_ac_var=yes" |
| 9310 | else | 9855 | else |
| 9311 | echo "$as_me: failed program was:" >&5 | 9856 | echo "$as_me: failed program was:" >&5 |
| 9312 | sed 's/^/| /' conftest.$ac_ext >&5 | 9857 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 9313 | 9858 | ||
| 9314 | eval "$as_ac_var=no" | 9859 | eval "$as_ac_var=no" |
| 9315 | fi | 9860 | fi |
| 9316 | rm -f conftest.err conftest.$ac_objext \ | 9861 | |
| 9862 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 9317 | conftest$ac_exeext conftest.$ac_ext | 9863 | conftest$ac_exeext conftest.$ac_ext |
| 9318 | fi | 9864 | fi |
| 9319 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 9865 | ac_res=`eval echo '${'$as_ac_var'}'` |
| 9320 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 9866 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 9867 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 9321 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 9868 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 9322 | cat >>confdefs.h <<_ACEOF | 9869 | cat >>confdefs.h <<_ACEOF |
| 9323 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 9870 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| @@ -9326,8 +9873,8 @@ _ACEOF | |||
| 9326 | fi | 9873 | fi |
| 9327 | done | 9874 | done |
| 9328 | 9875 | ||
| 9329 | echo "$as_me:$LINENO: checking for working mmap" >&5 | 9876 | { echo "$as_me:$LINENO: checking for working mmap" >&5 |
| 9330 | echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 | 9877 | echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; } |
| 9331 | if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then | 9878 | if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then |
| 9332 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9879 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9333 | else | 9880 | else |
| @@ -9369,21 +9916,21 @@ $ac_includes_default | |||
| 9369 | #include <fcntl.h> | 9916 | #include <fcntl.h> |
| 9370 | #include <sys/mman.h> | 9917 | #include <sys/mman.h> |
| 9371 | 9918 | ||
| 9372 | #if !STDC_HEADERS && !HAVE_STDLIB_H | 9919 | #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H |
| 9373 | char *malloc (); | 9920 | char *malloc (); |
| 9374 | #endif | 9921 | #endif |
| 9375 | 9922 | ||
| 9376 | /* This mess was copied from the GNU getpagesize.h. */ | 9923 | /* This mess was copied from the GNU getpagesize.h. */ |
| 9377 | #if !HAVE_GETPAGESIZE | 9924 | #ifndef HAVE_GETPAGESIZE |
| 9378 | /* Assume that all systems that can run configure have sys/param.h. */ | 9925 | /* Assume that all systems that can run configure have sys/param.h. */ |
| 9379 | # if !HAVE_SYS_PARAM_H | 9926 | # ifndef HAVE_SYS_PARAM_H |
| 9380 | # define HAVE_SYS_PARAM_H 1 | 9927 | # define HAVE_SYS_PARAM_H 1 |
| 9381 | # endif | 9928 | # endif |
| 9382 | 9929 | ||
| 9383 | # ifdef _SC_PAGESIZE | 9930 | # ifdef _SC_PAGESIZE |
| 9384 | # define getpagesize() sysconf(_SC_PAGESIZE) | 9931 | # define getpagesize() sysconf(_SC_PAGESIZE) |
| 9385 | # else /* no _SC_PAGESIZE */ | 9932 | # else /* no _SC_PAGESIZE */ |
| 9386 | # if HAVE_SYS_PARAM_H | 9933 | # ifdef HAVE_SYS_PARAM_H |
| 9387 | # include <sys/param.h> | 9934 | # include <sys/param.h> |
| 9388 | # ifdef EXEC_PAGESIZE | 9935 | # ifdef EXEC_PAGESIZE |
| 9389 | # define getpagesize() EXEC_PAGESIZE | 9936 | # define getpagesize() EXEC_PAGESIZE |
| @@ -9422,15 +9969,15 @@ main () | |||
| 9422 | /* First, make a file with some known garbage in it. */ | 9969 | /* First, make a file with some known garbage in it. */ |
| 9423 | data = (char *) malloc (pagesize); | 9970 | data = (char *) malloc (pagesize); |
| 9424 | if (!data) | 9971 | if (!data) |
| 9425 | exit (1); | 9972 | return 1; |
| 9426 | for (i = 0; i < pagesize; ++i) | 9973 | for (i = 0; i < pagesize; ++i) |
| 9427 | *(data + i) = rand (); | 9974 | *(data + i) = rand (); |
| 9428 | umask (0); | 9975 | umask (0); |
| 9429 | fd = creat ("conftest.mmap", 0600); | 9976 | fd = creat ("conftest.mmap", 0600); |
| 9430 | if (fd < 0) | 9977 | if (fd < 0) |
| 9431 | exit (1); | 9978 | return 1; |
| 9432 | if (write (fd, data, pagesize) != pagesize) | 9979 | if (write (fd, data, pagesize) != pagesize) |
| 9433 | exit (1); | 9980 | return 1; |
| 9434 | close (fd); | 9981 | close (fd); |
| 9435 | 9982 | ||
| 9436 | /* Next, try to mmap the file at a fixed address which already has | 9983 | /* Next, try to mmap the file at a fixed address which already has |
| @@ -9438,17 +9985,17 @@ main () | |||
| 9438 | we see the same garbage. */ | 9985 | we see the same garbage. */ |
| 9439 | fd = open ("conftest.mmap", O_RDWR); | 9986 | fd = open ("conftest.mmap", O_RDWR); |
| 9440 | if (fd < 0) | 9987 | if (fd < 0) |
| 9441 | exit (1); | 9988 | return 1; |
| 9442 | data2 = (char *) malloc (2 * pagesize); | 9989 | data2 = (char *) malloc (2 * pagesize); |
| 9443 | if (!data2) | 9990 | if (!data2) |
| 9444 | exit (1); | 9991 | return 1; |
| 9445 | data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1); | 9992 | data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1); |
| 9446 | if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, | 9993 | if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, |
| 9447 | MAP_PRIVATE | MAP_FIXED, fd, 0L)) | 9994 | MAP_PRIVATE | MAP_FIXED, fd, 0L)) |
| 9448 | exit (1); | 9995 | return 1; |
| 9449 | for (i = 0; i < pagesize; ++i) | 9996 | for (i = 0; i < pagesize; ++i) |
| 9450 | if (*(data + i) != *(data2 + i)) | 9997 | if (*(data + i) != *(data2 + i)) |
| 9451 | exit (1); | 9998 | return 1; |
| 9452 | 9999 | ||
| 9453 | /* Finally, make sure that changes to the mapped area do not | 10000 | /* Finally, make sure that changes to the mapped area do not |
| 9454 | percolate back to the file as seen by read(). (This is a bug on | 10001 | percolate back to the file as seen by read(). (This is a bug on |
| @@ -9457,24 +10004,33 @@ main () | |||
| 9457 | *(data2 + i) = *(data2 + i) + 1; | 10004 | *(data2 + i) = *(data2 + i) + 1; |
| 9458 | data3 = (char *) malloc (pagesize); | 10005 | data3 = (char *) malloc (pagesize); |
| 9459 | if (!data3) | 10006 | if (!data3) |
| 9460 | exit (1); | 10007 | return 1; |
| 9461 | if (read (fd, data3, pagesize) != pagesize) | 10008 | if (read (fd, data3, pagesize) != pagesize) |
| 9462 | exit (1); | 10009 | return 1; |
| 9463 | for (i = 0; i < pagesize; ++i) | 10010 | for (i = 0; i < pagesize; ++i) |
| 9464 | if (*(data + i) != *(data3 + i)) | 10011 | if (*(data + i) != *(data3 + i)) |
| 9465 | exit (1); | 10012 | return 1; |
| 9466 | close (fd); | 10013 | close (fd); |
| 9467 | exit (0); | 10014 | return 0; |
| 9468 | } | 10015 | } |
| 9469 | _ACEOF | 10016 | _ACEOF |
| 9470 | rm -f conftest$ac_exeext | 10017 | rm -f conftest$ac_exeext |
| 9471 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10018 | if { (ac_try="$ac_link" |
| 9472 | (eval $ac_link) 2>&5 | 10019 | case "(($ac_try" in |
| 10020 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10021 | *) ac_try_echo=$ac_try;; | ||
| 10022 | esac | ||
| 10023 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 10024 | (eval "$ac_link") 2>&5 | ||
| 9473 | ac_status=$? | 10025 | ac_status=$? |
| 9474 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10026 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9475 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 10027 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 9476 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10028 | { (case "(($ac_try" in |
| 9477 | (eval $ac_try) 2>&5 | 10029 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 10030 | *) ac_try_echo=$ac_try;; | ||
| 10031 | esac | ||
| 10032 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 10033 | (eval "$ac_try") 2>&5 | ||
| 9478 | ac_status=$? | 10034 | ac_status=$? |
| 9479 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10035 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9480 | (exit $ac_status); }; }; then | 10036 | (exit $ac_status); }; }; then |
| @@ -9487,11 +10043,13 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 9487 | ( exit $ac_status ) | 10043 | ( exit $ac_status ) |
| 9488 | ac_cv_func_mmap_fixed_mapped=no | 10044 | ac_cv_func_mmap_fixed_mapped=no |
| 9489 | fi | 10045 | fi |
| 9490 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 10046 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 9491 | fi | 10047 | fi |
| 10048 | |||
| 10049 | |||
| 9492 | fi | 10050 | fi |
| 9493 | echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 | 10051 | { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 |
| 9494 | echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 | 10052 | echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; } |
| 9495 | if test $ac_cv_func_mmap_fixed_mapped = yes; then | 10053 | if test $ac_cv_func_mmap_fixed_mapped = yes; then |
| 9496 | 10054 | ||
| 9497 | cat >>confdefs.h <<\_ACEOF | 10055 | cat >>confdefs.h <<\_ACEOF |
| @@ -9508,8 +10066,8 @@ fi | |||
| 9508 | LIBS="$libsrc_libs $LIBS" | 10066 | LIBS="$libsrc_libs $LIBS" |
| 9509 | 10067 | ||
| 9510 | 10068 | ||
| 9511 | echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 | 10069 | { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 |
| 9512 | echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 | 10070 | echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; } |
| 9513 | if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then | 10071 | if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then |
| 9514 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10072 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9515 | else | 10073 | else |
| @@ -9522,55 +10080,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 9522 | cat >>conftest.$ac_ext <<_ACEOF | 10080 | cat >>conftest.$ac_ext <<_ACEOF |
| 9523 | /* end confdefs.h. */ | 10081 | /* end confdefs.h. */ |
| 9524 | 10082 | ||
| 9525 | /* Override any gcc2 internal prototype to avoid an error. */ | 10083 | /* Override any GCC internal prototype to avoid an error. |
| 10084 | Use char because int might match the return type of a GCC | ||
| 10085 | builtin and then its argument prototype would still apply. */ | ||
| 9526 | #ifdef __cplusplus | 10086 | #ifdef __cplusplus |
| 9527 | extern "C" | 10087 | extern "C" |
| 9528 | #endif | 10088 | #endif |
| 9529 | /* We use char because int might match the return type of a gcc2 | ||
| 9530 | builtin and then its argument prototype would still apply. */ | ||
| 9531 | char dnet_ntoa (); | 10089 | char dnet_ntoa (); |
| 9532 | int | 10090 | int |
| 9533 | main () | 10091 | main () |
| 9534 | { | 10092 | { |
| 9535 | dnet_ntoa (); | 10093 | return dnet_ntoa (); |
| 9536 | ; | 10094 | ; |
| 9537 | return 0; | 10095 | return 0; |
| 9538 | } | 10096 | } |
| 9539 | _ACEOF | 10097 | _ACEOF |
| 9540 | rm -f conftest.$ac_objext conftest$ac_exeext | 10098 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 9541 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10099 | if { (ac_try="$ac_link" |
| 9542 | (eval $ac_link) 2>conftest.er1 | 10100 | case "(($ac_try" in |
| 10101 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10102 | *) ac_try_echo=$ac_try;; | ||
| 10103 | esac | ||
| 10104 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 10105 | (eval "$ac_link") 2>conftest.er1 | ||
| 9543 | ac_status=$? | 10106 | ac_status=$? |
| 9544 | grep -v '^ *+' conftest.er1 >conftest.err | 10107 | grep -v '^ *+' conftest.er1 >conftest.err |
| 9545 | rm -f conftest.er1 | 10108 | rm -f conftest.er1 |
| 9546 | cat conftest.err >&5 | 10109 | cat conftest.err >&5 |
| 9547 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10110 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9548 | (exit $ac_status); } && | 10111 | (exit $ac_status); } && { |
| 9549 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 10112 | test -z "$ac_c_werror_flag" || |
| 9550 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10113 | test ! -s conftest.err |
| 9551 | (eval $ac_try) 2>&5 | 10114 | } && test -s conftest$ac_exeext && |
| 9552 | ac_status=$? | 10115 | $as_test_x conftest$ac_exeext; then |
| 9553 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9554 | (exit $ac_status); }; } && | ||
| 9555 | { ac_try='test -s conftest$ac_exeext' | ||
| 9556 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 9557 | (eval $ac_try) 2>&5 | ||
| 9558 | ac_status=$? | ||
| 9559 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9560 | (exit $ac_status); }; }; then | ||
| 9561 | ac_cv_lib_dnet_dnet_ntoa=yes | 10116 | ac_cv_lib_dnet_dnet_ntoa=yes |
| 9562 | else | 10117 | else |
| 9563 | echo "$as_me: failed program was:" >&5 | 10118 | echo "$as_me: failed program was:" >&5 |
| 9564 | sed 's/^/| /' conftest.$ac_ext >&5 | 10119 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 9565 | 10120 | ||
| 9566 | ac_cv_lib_dnet_dnet_ntoa=no | 10121 | ac_cv_lib_dnet_dnet_ntoa=no |
| 9567 | fi | 10122 | fi |
| 9568 | rm -f conftest.err conftest.$ac_objext \ | 10123 | |
| 10124 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 9569 | conftest$ac_exeext conftest.$ac_ext | 10125 | conftest$ac_exeext conftest.$ac_ext |
| 9570 | LIBS=$ac_check_lib_save_LIBS | 10126 | LIBS=$ac_check_lib_save_LIBS |
| 9571 | fi | 10127 | fi |
| 9572 | echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 | 10128 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
| 9573 | echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 | 10129 | echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
| 9574 | if test $ac_cv_lib_dnet_dnet_ntoa = yes; then | 10130 | if test $ac_cv_lib_dnet_dnet_ntoa = yes; then |
| 9575 | cat >>confdefs.h <<_ACEOF | 10131 | cat >>confdefs.h <<_ACEOF |
| 9576 | #define HAVE_LIBDNET 1 | 10132 | #define HAVE_LIBDNET 1 |
| @@ -9581,8 +10137,8 @@ _ACEOF | |||
| 9581 | fi | 10137 | fi |
| 9582 | 10138 | ||
| 9583 | 10139 | ||
| 9584 | echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 | 10140 | { echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 |
| 9585 | echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 | 10141 | echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6; } |
| 9586 | if test "${ac_cv_lib_Xbsd_main+set}" = set; then | 10142 | if test "${ac_cv_lib_Xbsd_main+set}" = set; then |
| 9587 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10143 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9588 | else | 10144 | else |
| @@ -9599,53 +10155,51 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 9599 | int | 10155 | int |
| 9600 | main () | 10156 | main () |
| 9601 | { | 10157 | { |
| 9602 | main (); | 10158 | return main (); |
| 9603 | ; | 10159 | ; |
| 9604 | return 0; | 10160 | return 0; |
| 9605 | } | 10161 | } |
| 9606 | _ACEOF | 10162 | _ACEOF |
| 9607 | rm -f conftest.$ac_objext conftest$ac_exeext | 10163 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 9608 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10164 | if { (ac_try="$ac_link" |
| 9609 | (eval $ac_link) 2>conftest.er1 | 10165 | case "(($ac_try" in |
| 10166 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10167 | *) ac_try_echo=$ac_try;; | ||
| 10168 | esac | ||
| 10169 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 10170 | (eval "$ac_link") 2>conftest.er1 | ||
| 9610 | ac_status=$? | 10171 | ac_status=$? |
| 9611 | grep -v '^ *+' conftest.er1 >conftest.err | 10172 | grep -v '^ *+' conftest.er1 >conftest.err |
| 9612 | rm -f conftest.er1 | 10173 | rm -f conftest.er1 |
| 9613 | cat conftest.err >&5 | 10174 | cat conftest.err >&5 |
| 9614 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10175 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9615 | (exit $ac_status); } && | 10176 | (exit $ac_status); } && { |
| 9616 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 10177 | test -z "$ac_c_werror_flag" || |
| 9617 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10178 | test ! -s conftest.err |
| 9618 | (eval $ac_try) 2>&5 | 10179 | } && test -s conftest$ac_exeext && |
| 9619 | ac_status=$? | 10180 | $as_test_x conftest$ac_exeext; then |
| 9620 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9621 | (exit $ac_status); }; } && | ||
| 9622 | { ac_try='test -s conftest$ac_exeext' | ||
| 9623 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 9624 | (eval $ac_try) 2>&5 | ||
| 9625 | ac_status=$? | ||
| 9626 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9627 | (exit $ac_status); }; }; then | ||
| 9628 | ac_cv_lib_Xbsd_main=yes | 10181 | ac_cv_lib_Xbsd_main=yes |
| 9629 | else | 10182 | else |
| 9630 | echo "$as_me: failed program was:" >&5 | 10183 | echo "$as_me: failed program was:" >&5 |
| 9631 | sed 's/^/| /' conftest.$ac_ext >&5 | 10184 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 9632 | 10185 | ||
| 9633 | ac_cv_lib_Xbsd_main=no | 10186 | ac_cv_lib_Xbsd_main=no |
| 9634 | fi | 10187 | fi |
| 9635 | rm -f conftest.err conftest.$ac_objext \ | 10188 | |
| 10189 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 9636 | conftest$ac_exeext conftest.$ac_ext | 10190 | conftest$ac_exeext conftest.$ac_ext |
| 9637 | LIBS=$ac_check_lib_save_LIBS | 10191 | LIBS=$ac_check_lib_save_LIBS |
| 9638 | fi | 10192 | fi |
| 9639 | echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 | 10193 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 |
| 9640 | echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 | 10194 | echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6; } |
| 9641 | if test $ac_cv_lib_Xbsd_main = yes; then | 10195 | if test $ac_cv_lib_Xbsd_main = yes; then |
| 9642 | LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" | 10196 | LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" |
| 9643 | fi | 10197 | fi |
| 9644 | 10198 | ||
| 9645 | 10199 | ||
| 9646 | 10200 | ||
| 9647 | echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5 | 10201 | { echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5 |
| 9648 | echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6 | 10202 | echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6; } |
| 9649 | if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then | 10203 | if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then |
| 9650 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10204 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9651 | else | 10205 | else |
| @@ -9658,55 +10212,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 9658 | cat >>conftest.$ac_ext <<_ACEOF | 10212 | cat >>conftest.$ac_ext <<_ACEOF |
| 9659 | /* end confdefs.h. */ | 10213 | /* end confdefs.h. */ |
| 9660 | 10214 | ||
| 9661 | /* Override any gcc2 internal prototype to avoid an error. */ | 10215 | /* Override any GCC internal prototype to avoid an error. |
| 10216 | Use char because int might match the return type of a GCC | ||
| 10217 | builtin and then its argument prototype would still apply. */ | ||
| 9662 | #ifdef __cplusplus | 10218 | #ifdef __cplusplus |
| 9663 | extern "C" | 10219 | extern "C" |
| 9664 | #endif | 10220 | #endif |
| 9665 | /* We use char because int might match the return type of a gcc2 | ||
| 9666 | builtin and then its argument prototype would still apply. */ | ||
| 9667 | char cma_open (); | 10221 | char cma_open (); |
| 9668 | int | 10222 | int |
| 9669 | main () | 10223 | main () |
| 9670 | { | 10224 | { |
| 9671 | cma_open (); | 10225 | return cma_open (); |
| 9672 | ; | 10226 | ; |
| 9673 | return 0; | 10227 | return 0; |
| 9674 | } | 10228 | } |
| 9675 | _ACEOF | 10229 | _ACEOF |
| 9676 | rm -f conftest.$ac_objext conftest$ac_exeext | 10230 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 9677 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10231 | if { (ac_try="$ac_link" |
| 9678 | (eval $ac_link) 2>conftest.er1 | 10232 | case "(($ac_try" in |
| 10233 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10234 | *) ac_try_echo=$ac_try;; | ||
| 10235 | esac | ||
| 10236 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 10237 | (eval "$ac_link") 2>conftest.er1 | ||
| 9679 | ac_status=$? | 10238 | ac_status=$? |
| 9680 | grep -v '^ *+' conftest.er1 >conftest.err | 10239 | grep -v '^ *+' conftest.er1 >conftest.err |
| 9681 | rm -f conftest.er1 | 10240 | rm -f conftest.er1 |
| 9682 | cat conftest.err >&5 | 10241 | cat conftest.err >&5 |
| 9683 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10242 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9684 | (exit $ac_status); } && | 10243 | (exit $ac_status); } && { |
| 9685 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 10244 | test -z "$ac_c_werror_flag" || |
| 9686 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10245 | test ! -s conftest.err |
| 9687 | (eval $ac_try) 2>&5 | 10246 | } && test -s conftest$ac_exeext && |
| 9688 | ac_status=$? | 10247 | $as_test_x conftest$ac_exeext; then |
| 9689 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9690 | (exit $ac_status); }; } && | ||
| 9691 | { ac_try='test -s conftest$ac_exeext' | ||
| 9692 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 9693 | (eval $ac_try) 2>&5 | ||
| 9694 | ac_status=$? | ||
| 9695 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9696 | (exit $ac_status); }; }; then | ||
| 9697 | ac_cv_lib_pthreads_cma_open=yes | 10248 | ac_cv_lib_pthreads_cma_open=yes |
| 9698 | else | 10249 | else |
| 9699 | echo "$as_me: failed program was:" >&5 | 10250 | echo "$as_me: failed program was:" >&5 |
| 9700 | sed 's/^/| /' conftest.$ac_ext >&5 | 10251 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 9701 | 10252 | ||
| 9702 | ac_cv_lib_pthreads_cma_open=no | 10253 | ac_cv_lib_pthreads_cma_open=no |
| 9703 | fi | 10254 | fi |
| 9704 | rm -f conftest.err conftest.$ac_objext \ | 10255 | |
| 10256 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 9705 | conftest$ac_exeext conftest.$ac_ext | 10257 | conftest$ac_exeext conftest.$ac_ext |
| 9706 | LIBS=$ac_check_lib_save_LIBS | 10258 | LIBS=$ac_check_lib_save_LIBS |
| 9707 | fi | 10259 | fi |
| 9708 | echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 | 10260 | { echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 |
| 9709 | echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6 | 10261 | echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6; } |
| 9710 | if test $ac_cv_lib_pthreads_cma_open = yes; then | 10262 | if test $ac_cv_lib_pthreads_cma_open = yes; then |
| 9711 | cat >>confdefs.h <<_ACEOF | 10263 | cat >>confdefs.h <<_ACEOF |
| 9712 | #define HAVE_LIBPTHREADS 1 | 10264 | #define HAVE_LIBPTHREADS 1 |
| @@ -9717,22 +10269,22 @@ _ACEOF | |||
| 9717 | fi | 10269 | fi |
| 9718 | 10270 | ||
| 9719 | 10271 | ||
| 9720 | echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5 | 10272 | { echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5 |
| 9721 | echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6 | 10273 | echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6; } |
| 9722 | if test -d /usr/X386/include; then | 10274 | if test -d /usr/X386/include; then |
| 9723 | HAVE_XFREE386=yes | 10275 | HAVE_XFREE386=yes |
| 9724 | : ${C_SWITCH_X_SITE="-I/usr/X386/include"} | 10276 | : ${C_SWITCH_X_SITE="-I/usr/X386/include"} |
| 9725 | else | 10277 | else |
| 9726 | HAVE_XFREE386=no | 10278 | HAVE_XFREE386=no |
| 9727 | fi | 10279 | fi |
| 9728 | echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5 | 10280 | { echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5 |
| 9729 | echo "${ECHO_T}$HAVE_XFREE386" >&6 | 10281 | echo "${ECHO_T}$HAVE_XFREE386" >&6; } |
| 9730 | 10282 | ||
| 9731 | 10283 | ||
| 9732 | case ${host_os} in | 10284 | case ${host_os} in |
| 9733 | aix*) | 10285 | aix*) |
| 9734 | echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 | 10286 | { echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 |
| 9735 | echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6 | 10287 | echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6; } |
| 9736 | if test "${gdb_cv_bigtoc+set}" = set; then | 10288 | if test "${gdb_cv_bigtoc+set}" = set; then |
| 9737 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10289 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 9738 | else | 10290 | else |
| @@ -9759,39 +10311,37 @@ int i; | |||
| 9759 | } | 10311 | } |
| 9760 | _ACEOF | 10312 | _ACEOF |
| 9761 | rm -f conftest.$ac_objext conftest$ac_exeext | 10313 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 9762 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10314 | if { (ac_try="$ac_link" |
| 9763 | (eval $ac_link) 2>conftest.er1 | 10315 | case "(($ac_try" in |
| 10316 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10317 | *) ac_try_echo=$ac_try;; | ||
| 10318 | esac | ||
| 10319 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 10320 | (eval "$ac_link") 2>conftest.er1 | ||
| 9764 | ac_status=$? | 10321 | ac_status=$? |
| 9765 | grep -v '^ *+' conftest.er1 >conftest.err | 10322 | grep -v '^ *+' conftest.er1 >conftest.err |
| 9766 | rm -f conftest.er1 | 10323 | rm -f conftest.er1 |
| 9767 | cat conftest.err >&5 | 10324 | cat conftest.err >&5 |
| 9768 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10325 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9769 | (exit $ac_status); } && | 10326 | (exit $ac_status); } && { |
| 9770 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 10327 | test -z "$ac_c_werror_flag" || |
| 9771 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10328 | test ! -s conftest.err |
| 9772 | (eval $ac_try) 2>&5 | 10329 | } && test -s conftest$ac_exeext && |
| 9773 | ac_status=$? | 10330 | $as_test_x conftest$ac_exeext; then |
| 9774 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9775 | (exit $ac_status); }; } && | ||
| 9776 | { ac_try='test -s conftest$ac_exeext' | ||
| 9777 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 9778 | (eval $ac_try) 2>&5 | ||
| 9779 | ac_status=$? | ||
| 9780 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9781 | (exit $ac_status); }; }; then | ||
| 9782 | : | 10331 | : |
| 9783 | else | 10332 | else |
| 9784 | echo "$as_me: failed program was:" >&5 | 10333 | echo "$as_me: failed program was:" >&5 |
| 9785 | sed 's/^/| /' conftest.$ac_ext >&5 | 10334 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 9786 | 10335 | ||
| 9787 | gdb_cv_bigtoc= | 10336 | gdb_cv_bigtoc= |
| 9788 | fi | 10337 | fi |
| 9789 | rm -f conftest.err conftest.$ac_objext \ | 10338 | |
| 10339 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 9790 | conftest$ac_exeext conftest.$ac_ext | 10340 | conftest$ac_exeext conftest.$ac_ext |
| 9791 | 10341 | ||
| 9792 | fi | 10342 | fi |
| 9793 | echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5 | 10343 | { echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5 |
| 9794 | echo "${ECHO_T}$gdb_cv_bigtoc" >&6 | 10344 | echo "${ECHO_T}$gdb_cv_bigtoc" >&6; } |
| 9795 | ;; | 10345 | ;; |
| 9796 | esac | 10346 | esac |
| 9797 | 10347 | ||
| @@ -9818,8 +10368,8 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 9818 | fi | 10368 | fi |
| 9819 | 10369 | ||
| 9820 | if test "${opsys}" = "gnu-linux"; then | 10370 | if test "${opsys}" = "gnu-linux"; then |
| 9821 | echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 | 10371 | { echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 |
| 9822 | echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 | 10372 | echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6; } |
| 9823 | cat >conftest.$ac_ext <<_ACEOF | 10373 | cat >conftest.$ac_ext <<_ACEOF |
| 9824 | /* confdefs.h. */ | 10374 | /* confdefs.h. */ |
| 9825 | _ACEOF | 10375 | _ACEOF |
| @@ -9836,34 +10386,32 @@ XOpenDisplay ("foo"); | |||
| 9836 | } | 10386 | } |
| 9837 | _ACEOF | 10387 | _ACEOF |
| 9838 | rm -f conftest.$ac_objext conftest$ac_exeext | 10388 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 9839 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10389 | if { (ac_try="$ac_link" |
| 9840 | (eval $ac_link) 2>conftest.er1 | 10390 | case "(($ac_try" in |
| 10391 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10392 | *) ac_try_echo=$ac_try;; | ||
| 10393 | esac | ||
| 10394 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 10395 | (eval "$ac_link") 2>conftest.er1 | ||
| 9841 | ac_status=$? | 10396 | ac_status=$? |
| 9842 | grep -v '^ *+' conftest.er1 >conftest.err | 10397 | grep -v '^ *+' conftest.er1 >conftest.err |
| 9843 | rm -f conftest.er1 | 10398 | rm -f conftest.er1 |
| 9844 | cat conftest.err >&5 | 10399 | cat conftest.err >&5 |
| 9845 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10400 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9846 | (exit $ac_status); } && | 10401 | (exit $ac_status); } && { |
| 9847 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 10402 | test -z "$ac_c_werror_flag" || |
| 9848 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10403 | test ! -s conftest.err |
| 9849 | (eval $ac_try) 2>&5 | 10404 | } && test -s conftest$ac_exeext && |
| 9850 | ac_status=$? | 10405 | $as_test_x conftest$ac_exeext; then |
| 9851 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9852 | (exit $ac_status); }; } && | ||
| 9853 | { ac_try='test -s conftest$ac_exeext' | ||
| 9854 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 9855 | (eval $ac_try) 2>&5 | ||
| 9856 | ac_status=$? | ||
| 9857 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9858 | (exit $ac_status); }; }; then | ||
| 9859 | xlinux_first_failure=no | 10406 | xlinux_first_failure=no |
| 9860 | else | 10407 | else |
| 9861 | echo "$as_me: failed program was:" >&5 | 10408 | echo "$as_me: failed program was:" >&5 |
| 9862 | sed 's/^/| /' conftest.$ac_ext >&5 | 10409 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 9863 | 10410 | ||
| 9864 | xlinux_first_failure=yes | 10411 | xlinux_first_failure=yes |
| 9865 | fi | 10412 | fi |
| 9866 | rm -f conftest.err conftest.$ac_objext \ | 10413 | |
| 10414 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 9867 | conftest$ac_exeext conftest.$ac_ext | 10415 | conftest$ac_exeext conftest.$ac_ext |
| 9868 | if test "${xlinux_first_failure}" = "yes"; then | 10416 | if test "${xlinux_first_failure}" = "yes"; then |
| 9869 | OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" | 10417 | OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" |
| @@ -9890,34 +10438,32 @@ XOpenDisplay ("foo"); | |||
| 9890 | } | 10438 | } |
| 9891 | _ACEOF | 10439 | _ACEOF |
| 9892 | rm -f conftest.$ac_objext conftest$ac_exeext | 10440 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 9893 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10441 | if { (ac_try="$ac_link" |
| 9894 | (eval $ac_link) 2>conftest.er1 | 10442 | case "(($ac_try" in |
| 10443 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10444 | *) ac_try_echo=$ac_try;; | ||
| 10445 | esac | ||
| 10446 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 10447 | (eval "$ac_link") 2>conftest.er1 | ||
| 9895 | ac_status=$? | 10448 | ac_status=$? |
| 9896 | grep -v '^ *+' conftest.er1 >conftest.err | 10449 | grep -v '^ *+' conftest.er1 >conftest.err |
| 9897 | rm -f conftest.er1 | 10450 | rm -f conftest.er1 |
| 9898 | cat conftest.err >&5 | 10451 | cat conftest.err >&5 |
| 9899 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10452 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9900 | (exit $ac_status); } && | 10453 | (exit $ac_status); } && { |
| 9901 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 10454 | test -z "$ac_c_werror_flag" || |
| 9902 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10455 | test ! -s conftest.err |
| 9903 | (eval $ac_try) 2>&5 | 10456 | } && test -s conftest$ac_exeext && |
| 9904 | ac_status=$? | 10457 | $as_test_x conftest$ac_exeext; then |
| 9905 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9906 | (exit $ac_status); }; } && | ||
| 9907 | { ac_try='test -s conftest$ac_exeext' | ||
| 9908 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 9909 | (eval $ac_try) 2>&5 | ||
| 9910 | ac_status=$? | ||
| 9911 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9912 | (exit $ac_status); }; }; then | ||
| 9913 | xlinux_second_failure=no | 10458 | xlinux_second_failure=no |
| 9914 | else | 10459 | else |
| 9915 | echo "$as_me: failed program was:" >&5 | 10460 | echo "$as_me: failed program was:" >&5 |
| 9916 | sed 's/^/| /' conftest.$ac_ext >&5 | 10461 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 9917 | 10462 | ||
| 9918 | xlinux_second_failure=yes | 10463 | xlinux_second_failure=yes |
| 9919 | fi | 10464 | fi |
| 9920 | rm -f conftest.err conftest.$ac_objext \ | 10465 | |
| 10466 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 9921 | conftest$ac_exeext conftest.$ac_ext | 10467 | conftest$ac_exeext conftest.$ac_ext |
| 9922 | if test "${xlinux_second_failure}" = "yes"; then | 10468 | if test "${xlinux_second_failure}" = "yes"; then |
| 9923 | # If we get the same failure with -b, there is no use adding -b. | 10469 | # If we get the same failure with -b, there is no use adding -b. |
| @@ -9926,22 +10472,22 @@ rm -f conftest.err conftest.$ac_objext \ | |||
| 9926 | C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" | 10472 | C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" |
| 9927 | CPPFLAGS="$OLD_CPPFLAGS" | 10473 | CPPFLAGS="$OLD_CPPFLAGS" |
| 9928 | LIBS="$OLD_LIBS" | 10474 | LIBS="$OLD_LIBS" |
| 9929 | echo "$as_me:$LINENO: result: no" >&5 | 10475 | { echo "$as_me:$LINENO: result: no" >&5 |
| 9930 | echo "${ECHO_T}no" >&6 | 10476 | echo "${ECHO_T}no" >&6; } |
| 9931 | else | 10477 | else |
| 9932 | echo "$as_me:$LINENO: result: yes" >&5 | 10478 | { echo "$as_me:$LINENO: result: yes" >&5 |
| 9933 | echo "${ECHO_T}yes" >&6 | 10479 | echo "${ECHO_T}yes" >&6; } |
| 9934 | fi | 10480 | fi |
| 9935 | else | 10481 | else |
| 9936 | echo "$as_me:$LINENO: result: no" >&5 | 10482 | { echo "$as_me:$LINENO: result: no" >&5 |
| 9937 | echo "${ECHO_T}no" >&6 | 10483 | echo "${ECHO_T}no" >&6; } |
| 9938 | fi | 10484 | fi |
| 9939 | fi | 10485 | fi |
| 9940 | 10486 | ||
| 9941 | # Reportedly, some broken Solaris systems have XKBlib.h but are missing | 10487 | # Reportedly, some broken Solaris systems have XKBlib.h but are missing |
| 9942 | # header files included from there. | 10488 | # header files included from there. |
| 9943 | echo "$as_me:$LINENO: checking for Xkb" >&5 | 10489 | { echo "$as_me:$LINENO: checking for Xkb" >&5 |
| 9944 | echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 | 10490 | echo $ECHO_N "checking for Xkb... $ECHO_C" >&6; } |
| 9945 | cat >conftest.$ac_ext <<_ACEOF | 10491 | cat >conftest.$ac_ext <<_ACEOF |
| 9946 | /* confdefs.h. */ | 10492 | /* confdefs.h. */ |
| 9947 | _ACEOF | 10493 | _ACEOF |
| @@ -9959,37 +10505,35 @@ XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd); | |||
| 9959 | } | 10505 | } |
| 9960 | _ACEOF | 10506 | _ACEOF |
| 9961 | rm -f conftest.$ac_objext conftest$ac_exeext | 10507 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 9962 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10508 | if { (ac_try="$ac_link" |
| 9963 | (eval $ac_link) 2>conftest.er1 | 10509 | case "(($ac_try" in |
| 10510 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10511 | *) ac_try_echo=$ac_try;; | ||
| 10512 | esac | ||
| 10513 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 10514 | (eval "$ac_link") 2>conftest.er1 | ||
| 9964 | ac_status=$? | 10515 | ac_status=$? |
| 9965 | grep -v '^ *+' conftest.er1 >conftest.err | 10516 | grep -v '^ *+' conftest.er1 >conftest.err |
| 9966 | rm -f conftest.er1 | 10517 | rm -f conftest.er1 |
| 9967 | cat conftest.err >&5 | 10518 | cat conftest.err >&5 |
| 9968 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10519 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9969 | (exit $ac_status); } && | 10520 | (exit $ac_status); } && { |
| 9970 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 10521 | test -z "$ac_c_werror_flag" || |
| 9971 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10522 | test ! -s conftest.err |
| 9972 | (eval $ac_try) 2>&5 | 10523 | } && test -s conftest$ac_exeext && |
| 9973 | ac_status=$? | 10524 | $as_test_x conftest$ac_exeext; then |
| 9974 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9975 | (exit $ac_status); }; } && | ||
| 9976 | { ac_try='test -s conftest$ac_exeext' | ||
| 9977 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 9978 | (eval $ac_try) 2>&5 | ||
| 9979 | ac_status=$? | ||
| 9980 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 9981 | (exit $ac_status); }; }; then | ||
| 9982 | emacs_xkb=yes | 10525 | emacs_xkb=yes |
| 9983 | else | 10526 | else |
| 9984 | echo "$as_me: failed program was:" >&5 | 10527 | echo "$as_me: failed program was:" >&5 |
| 9985 | sed 's/^/| /' conftest.$ac_ext >&5 | 10528 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 9986 | 10529 | ||
| 9987 | emacs_xkb=no | 10530 | emacs_xkb=no |
| 9988 | fi | 10531 | fi |
| 9989 | rm -f conftest.err conftest.$ac_objext \ | 10532 | |
| 10533 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 9990 | conftest$ac_exeext conftest.$ac_ext | 10534 | conftest$ac_exeext conftest.$ac_ext |
| 9991 | echo "$as_me:$LINENO: result: $emacs_xkb" >&5 | 10535 | { echo "$as_me:$LINENO: result: $emacs_xkb" >&5 |
| 9992 | echo "${ECHO_T}$emacs_xkb" >&6 | 10536 | echo "${ECHO_T}$emacs_xkb" >&6; } |
| 9993 | if test $emacs_xkb = yes; then | 10537 | if test $emacs_xkb = yes; then |
| 9994 | 10538 | ||
| 9995 | cat >>confdefs.h <<\_ACEOF | 10539 | cat >>confdefs.h <<\_ACEOF |
| @@ -10006,9 +10550,9 @@ for ac_func in XrmSetDatabase XScreenResourceString \ | |||
| 10006 | XScreenNumberOfScreen XSetWMProtocols | 10550 | XScreenNumberOfScreen XSetWMProtocols |
| 10007 | do | 10551 | do |
| 10008 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10552 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 10009 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 10553 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 10010 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 10554 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 10011 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 10555 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10012 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10556 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10013 | else | 10557 | else |
| 10014 | cat >conftest.$ac_ext <<_ACEOF | 10558 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -10034,67 +10578,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 10034 | 10578 | ||
| 10035 | #undef $ac_func | 10579 | #undef $ac_func |
| 10036 | 10580 | ||
| 10037 | /* Override any gcc2 internal prototype to avoid an error. */ | 10581 | /* Override any GCC internal prototype to avoid an error. |
| 10582 | Use char because int might match the return type of a GCC | ||
| 10583 | builtin and then its argument prototype would still apply. */ | ||
| 10038 | #ifdef __cplusplus | 10584 | #ifdef __cplusplus |
| 10039 | extern "C" | 10585 | extern "C" |
| 10040 | { | ||
| 10041 | #endif | 10586 | #endif |
| 10042 | /* We use char because int might match the return type of a gcc2 | ||
| 10043 | builtin and then its argument prototype would still apply. */ | ||
| 10044 | char $ac_func (); | 10587 | char $ac_func (); |
| 10045 | /* The GNU C library defines this for functions which it implements | 10588 | /* The GNU C library defines this for functions which it implements |
| 10046 | to always fail with ENOSYS. Some functions are actually named | 10589 | to always fail with ENOSYS. Some functions are actually named |
| 10047 | something starting with __ and the normal name is an alias. */ | 10590 | something starting with __ and the normal name is an alias. */ |
| 10048 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 10591 | #if defined __stub_$ac_func || defined __stub___$ac_func |
| 10049 | choke me | 10592 | choke me |
| 10050 | #else | ||
| 10051 | char (*f) () = $ac_func; | ||
| 10052 | #endif | ||
| 10053 | #ifdef __cplusplus | ||
| 10054 | } | ||
| 10055 | #endif | 10593 | #endif |
| 10056 | 10594 | ||
| 10057 | int | 10595 | int |
| 10058 | main () | 10596 | main () |
| 10059 | { | 10597 | { |
| 10060 | return f != $ac_func; | 10598 | return $ac_func (); |
| 10061 | ; | 10599 | ; |
| 10062 | return 0; | 10600 | return 0; |
| 10063 | } | 10601 | } |
| 10064 | _ACEOF | 10602 | _ACEOF |
| 10065 | rm -f conftest.$ac_objext conftest$ac_exeext | 10603 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 10066 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10604 | if { (ac_try="$ac_link" |
| 10067 | (eval $ac_link) 2>conftest.er1 | 10605 | case "(($ac_try" in |
| 10606 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10607 | *) ac_try_echo=$ac_try;; | ||
| 10608 | esac | ||
| 10609 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 10610 | (eval "$ac_link") 2>conftest.er1 | ||
| 10068 | ac_status=$? | 10611 | ac_status=$? |
| 10069 | grep -v '^ *+' conftest.er1 >conftest.err | 10612 | grep -v '^ *+' conftest.er1 >conftest.err |
| 10070 | rm -f conftest.er1 | 10613 | rm -f conftest.er1 |
| 10071 | cat conftest.err >&5 | 10614 | cat conftest.err >&5 |
| 10072 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10615 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10073 | (exit $ac_status); } && | 10616 | (exit $ac_status); } && { |
| 10074 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 10617 | test -z "$ac_c_werror_flag" || |
| 10075 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10618 | test ! -s conftest.err |
| 10076 | (eval $ac_try) 2>&5 | 10619 | } && test -s conftest$ac_exeext && |
| 10077 | ac_status=$? | 10620 | $as_test_x conftest$ac_exeext; then |
| 10078 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10079 | (exit $ac_status); }; } && | ||
| 10080 | { ac_try='test -s conftest$ac_exeext' | ||
| 10081 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 10082 | (eval $ac_try) 2>&5 | ||
| 10083 | ac_status=$? | ||
| 10084 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10085 | (exit $ac_status); }; }; then | ||
| 10086 | eval "$as_ac_var=yes" | 10621 | eval "$as_ac_var=yes" |
| 10087 | else | 10622 | else |
| 10088 | echo "$as_me: failed program was:" >&5 | 10623 | echo "$as_me: failed program was:" >&5 |
| 10089 | sed 's/^/| /' conftest.$ac_ext >&5 | 10624 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 10090 | 10625 | ||
| 10091 | eval "$as_ac_var=no" | 10626 | eval "$as_ac_var=no" |
| 10092 | fi | 10627 | fi |
| 10093 | rm -f conftest.err conftest.$ac_objext \ | 10628 | |
| 10629 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10094 | conftest$ac_exeext conftest.$ac_ext | 10630 | conftest$ac_exeext conftest.$ac_ext |
| 10095 | fi | 10631 | fi |
| 10096 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 10632 | ac_res=`eval echo '${'$as_ac_var'}'` |
| 10097 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 10633 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 10634 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 10098 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 10635 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 10099 | cat >>confdefs.h <<_ACEOF | 10636 | cat >>confdefs.h <<_ACEOF |
| 10100 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10637 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| @@ -10106,8 +10643,8 @@ done | |||
| 10106 | fi | 10643 | fi |
| 10107 | 10644 | ||
| 10108 | if test "${window_system}" = "x11"; then | 10645 | if test "${window_system}" = "x11"; then |
| 10109 | echo "$as_me:$LINENO: checking X11 version 6" >&5 | 10646 | { echo "$as_me:$LINENO: checking X11 version 6" >&5 |
| 10110 | echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 | 10647 | echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6; } |
| 10111 | if test "${emacs_cv_x11_version_6+set}" = set; then | 10648 | if test "${emacs_cv_x11_version_6+set}" = set; then |
| 10112 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10649 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10113 | else | 10650 | else |
| @@ -10130,54 +10667,52 @@ fail; | |||
| 10130 | } | 10667 | } |
| 10131 | _ACEOF | 10668 | _ACEOF |
| 10132 | rm -f conftest.$ac_objext conftest$ac_exeext | 10669 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 10133 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10670 | if { (ac_try="$ac_link" |
| 10134 | (eval $ac_link) 2>conftest.er1 | 10671 | case "(($ac_try" in |
| 10672 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10673 | *) ac_try_echo=$ac_try;; | ||
| 10674 | esac | ||
| 10675 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 10676 | (eval "$ac_link") 2>conftest.er1 | ||
| 10135 | ac_status=$? | 10677 | ac_status=$? |
| 10136 | grep -v '^ *+' conftest.er1 >conftest.err | 10678 | grep -v '^ *+' conftest.er1 >conftest.err |
| 10137 | rm -f conftest.er1 | 10679 | rm -f conftest.er1 |
| 10138 | cat conftest.err >&5 | 10680 | cat conftest.err >&5 |
| 10139 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10681 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10140 | (exit $ac_status); } && | 10682 | (exit $ac_status); } && { |
| 10141 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 10683 | test -z "$ac_c_werror_flag" || |
| 10142 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10684 | test ! -s conftest.err |
| 10143 | (eval $ac_try) 2>&5 | 10685 | } && test -s conftest$ac_exeext && |
| 10144 | ac_status=$? | 10686 | $as_test_x conftest$ac_exeext; then |
| 10145 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10146 | (exit $ac_status); }; } && | ||
| 10147 | { ac_try='test -s conftest$ac_exeext' | ||
| 10148 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 10149 | (eval $ac_try) 2>&5 | ||
| 10150 | ac_status=$? | ||
| 10151 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10152 | (exit $ac_status); }; }; then | ||
| 10153 | emacs_cv_x11_version_6=yes | 10687 | emacs_cv_x11_version_6=yes |
| 10154 | else | 10688 | else |
| 10155 | echo "$as_me: failed program was:" >&5 | 10689 | echo "$as_me: failed program was:" >&5 |
| 10156 | sed 's/^/| /' conftest.$ac_ext >&5 | 10690 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 10157 | 10691 | ||
| 10158 | emacs_cv_x11_version_6=no | 10692 | emacs_cv_x11_version_6=no |
| 10159 | fi | 10693 | fi |
| 10160 | rm -f conftest.err conftest.$ac_objext \ | 10694 | |
| 10695 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10161 | conftest$ac_exeext conftest.$ac_ext | 10696 | conftest$ac_exeext conftest.$ac_ext |
| 10162 | fi | 10697 | fi |
| 10163 | 10698 | ||
| 10164 | if test $emacs_cv_x11_version_6 = yes; then | 10699 | if test $emacs_cv_x11_version_6 = yes; then |
| 10165 | echo "$as_me:$LINENO: result: 6 or newer" >&5 | 10700 | { echo "$as_me:$LINENO: result: 6 or newer" >&5 |
| 10166 | echo "${ECHO_T}6 or newer" >&6 | 10701 | echo "${ECHO_T}6 or newer" >&6; } |
| 10167 | 10702 | ||
| 10168 | cat >>confdefs.h <<\_ACEOF | 10703 | cat >>confdefs.h <<\_ACEOF |
| 10169 | #define HAVE_X11R6 1 | 10704 | #define HAVE_X11R6 1 |
| 10170 | _ACEOF | 10705 | _ACEOF |
| 10171 | 10706 | ||
| 10172 | else | 10707 | else |
| 10173 | echo "$as_me:$LINENO: result: before 6" >&5 | 10708 | { echo "$as_me:$LINENO: result: before 6" >&5 |
| 10174 | echo "${ECHO_T}before 6" >&6 | 10709 | echo "${ECHO_T}before 6" >&6; } |
| 10175 | fi | 10710 | fi |
| 10176 | fi | 10711 | fi |
| 10177 | 10712 | ||
| 10178 | if test "${window_system}" = "x11"; then | 10713 | if test "${window_system}" = "x11"; then |
| 10179 | echo "$as_me:$LINENO: checking X11 version 5" >&5 | 10714 | { echo "$as_me:$LINENO: checking X11 version 5" >&5 |
| 10180 | echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 | 10715 | echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6; } |
| 10181 | if test "${emacs_cv_x11_version_5+set}" = set; then | 10716 | if test "${emacs_cv_x11_version_5+set}" = set; then |
| 10182 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10717 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10183 | else | 10718 | else |
| @@ -10200,40 +10735,38 @@ fail; | |||
| 10200 | } | 10735 | } |
| 10201 | _ACEOF | 10736 | _ACEOF |
| 10202 | rm -f conftest.$ac_objext conftest$ac_exeext | 10737 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 10203 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10738 | if { (ac_try="$ac_link" |
| 10204 | (eval $ac_link) 2>conftest.er1 | 10739 | case "(($ac_try" in |
| 10740 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10741 | *) ac_try_echo=$ac_try;; | ||
| 10742 | esac | ||
| 10743 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 10744 | (eval "$ac_link") 2>conftest.er1 | ||
| 10205 | ac_status=$? | 10745 | ac_status=$? |
| 10206 | grep -v '^ *+' conftest.er1 >conftest.err | 10746 | grep -v '^ *+' conftest.er1 >conftest.err |
| 10207 | rm -f conftest.er1 | 10747 | rm -f conftest.er1 |
| 10208 | cat conftest.err >&5 | 10748 | cat conftest.err >&5 |
| 10209 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10749 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10210 | (exit $ac_status); } && | 10750 | (exit $ac_status); } && { |
| 10211 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 10751 | test -z "$ac_c_werror_flag" || |
| 10212 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10752 | test ! -s conftest.err |
| 10213 | (eval $ac_try) 2>&5 | 10753 | } && test -s conftest$ac_exeext && |
| 10214 | ac_status=$? | 10754 | $as_test_x conftest$ac_exeext; then |
| 10215 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10216 | (exit $ac_status); }; } && | ||
| 10217 | { ac_try='test -s conftest$ac_exeext' | ||
| 10218 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 10219 | (eval $ac_try) 2>&5 | ||
| 10220 | ac_status=$? | ||
| 10221 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10222 | (exit $ac_status); }; }; then | ||
| 10223 | emacs_cv_x11_version_5=yes | 10755 | emacs_cv_x11_version_5=yes |
| 10224 | else | 10756 | else |
| 10225 | echo "$as_me: failed program was:" >&5 | 10757 | echo "$as_me: failed program was:" >&5 |
| 10226 | sed 's/^/| /' conftest.$ac_ext >&5 | 10758 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 10227 | 10759 | ||
| 10228 | emacs_cv_x11_version_5=no | 10760 | emacs_cv_x11_version_5=no |
| 10229 | fi | 10761 | fi |
| 10230 | rm -f conftest.err conftest.$ac_objext \ | 10762 | |
| 10763 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10231 | conftest$ac_exeext conftest.$ac_ext | 10764 | conftest$ac_exeext conftest.$ac_ext |
| 10232 | fi | 10765 | fi |
| 10233 | 10766 | ||
| 10234 | if test $emacs_cv_x11_version_5 = yes; then | 10767 | if test $emacs_cv_x11_version_5 = yes; then |
| 10235 | echo "$as_me:$LINENO: result: 5 or newer" >&5 | 10768 | { echo "$as_me:$LINENO: result: 5 or newer" >&5 |
| 10236 | echo "${ECHO_T}5 or newer" >&6 | 10769 | echo "${ECHO_T}5 or newer" >&6; } |
| 10237 | HAVE_X11R5=yes | 10770 | HAVE_X11R5=yes |
| 10238 | 10771 | ||
| 10239 | cat >>confdefs.h <<\_ACEOF | 10772 | cat >>confdefs.h <<\_ACEOF |
| @@ -10242,8 +10775,8 @@ _ACEOF | |||
| 10242 | 10775 | ||
| 10243 | else | 10776 | else |
| 10244 | HAVE_X11R5=no | 10777 | HAVE_X11R5=no |
| 10245 | echo "$as_me:$LINENO: result: before 5" >&5 | 10778 | { echo "$as_me:$LINENO: result: before 5" >&5 |
| 10246 | echo "${ECHO_T}before 5" >&6 | 10779 | echo "${ECHO_T}before 5" >&6; } |
| 10247 | fi | 10780 | fi |
| 10248 | fi | 10781 | fi |
| 10249 | 10782 | ||
| @@ -10267,8 +10800,8 @@ echo "$as_me: error: Conflicting options, --with-gtk is incompatible with --with | |||
| 10267 | if test -z "$PKG_CONFIG"; then | 10800 | if test -z "$PKG_CONFIG"; then |
| 10268 | # Extract the first word of "pkg-config", so it can be a program name with args. | 10801 | # Extract the first word of "pkg-config", so it can be a program name with args. |
| 10269 | set dummy pkg-config; ac_word=$2 | 10802 | set dummy pkg-config; ac_word=$2 |
| 10270 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 10803 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 10271 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 10804 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 10272 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 10805 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
| 10273 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10806 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10274 | else | 10807 | else |
| @@ -10283,28 +10816,29 @@ do | |||
| 10283 | IFS=$as_save_IFS | 10816 | IFS=$as_save_IFS |
| 10284 | test -z "$as_dir" && as_dir=. | 10817 | test -z "$as_dir" && as_dir=. |
| 10285 | for ac_exec_ext in '' $ac_executable_extensions; do | 10818 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 10286 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 10819 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 10287 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 10820 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
| 10288 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 10821 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 10289 | break 2 | 10822 | break 2 |
| 10290 | fi | 10823 | fi |
| 10291 | done | 10824 | done |
| 10292 | done | 10825 | done |
| 10826 | IFS=$as_save_IFS | ||
| 10293 | 10827 | ||
| 10294 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 10828 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
| 10295 | ;; | 10829 | ;; |
| 10296 | esac | 10830 | esac |
| 10297 | fi | 10831 | fi |
| 10298 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 10832 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
| 10299 | |||
| 10300 | if test -n "$PKG_CONFIG"; then | 10833 | if test -n "$PKG_CONFIG"; then |
| 10301 | echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 10834 | { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
| 10302 | echo "${ECHO_T}$PKG_CONFIG" >&6 | 10835 | echo "${ECHO_T}$PKG_CONFIG" >&6; } |
| 10303 | else | 10836 | else |
| 10304 | echo "$as_me:$LINENO: result: no" >&5 | 10837 | { echo "$as_me:$LINENO: result: no" >&5 |
| 10305 | echo "${ECHO_T}no" >&6 | 10838 | echo "${ECHO_T}no" >&6; } |
| 10306 | fi | 10839 | fi |
| 10307 | 10840 | ||
| 10841 | |||
| 10308 | fi | 10842 | fi |
| 10309 | 10843 | ||
| 10310 | if test "$PKG_CONFIG" = "no" ; then | 10844 | if test "$PKG_CONFIG" = "no" ; then |
| @@ -10316,28 +10850,28 @@ echo "$as_me: error: | |||
| 10316 | else | 10850 | else |
| 10317 | PKG_CONFIG_MIN_VERSION=0.9.0 | 10851 | PKG_CONFIG_MIN_VERSION=0.9.0 |
| 10318 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 10852 | if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
| 10319 | echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 | 10853 | { echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 |
| 10320 | echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6 | 10854 | echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6; } |
| 10321 | 10855 | ||
| 10322 | if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then | 10856 | if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then |
| 10323 | echo "$as_me:$LINENO: result: yes" >&5 | 10857 | { echo "$as_me:$LINENO: result: yes" >&5 |
| 10324 | echo "${ECHO_T}yes" >&6 | 10858 | echo "${ECHO_T}yes" >&6; } |
| 10325 | succeeded=yes | 10859 | succeeded=yes |
| 10326 | 10860 | ||
| 10327 | echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 | 10861 | { echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 |
| 10328 | echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6 | 10862 | echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6; } |
| 10329 | GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"` | 10863 | GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"` |
| 10330 | echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 | 10864 | { echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 |
| 10331 | echo "${ECHO_T}$GTK_CFLAGS" >&6 | 10865 | echo "${ECHO_T}$GTK_CFLAGS" >&6; } |
| 10332 | 10866 | ||
| 10333 | echo "$as_me:$LINENO: checking GTK_LIBS" >&5 | 10867 | { echo "$as_me:$LINENO: checking GTK_LIBS" >&5 |
| 10334 | echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6 | 10868 | echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6; } |
| 10335 | GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"` | 10869 | GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"` |
| 10336 | echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 | 10870 | { echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 |
| 10337 | echo "${ECHO_T}$GTK_LIBS" >&6 | 10871 | echo "${ECHO_T}$GTK_LIBS" >&6; } |
| 10338 | else | 10872 | else |
| 10339 | echo "$as_me:$LINENO: result: no" >&5 | 10873 | { echo "$as_me:$LINENO: result: no" >&5 |
| 10340 | echo "${ECHO_T}no" >&6 | 10874 | echo "${ECHO_T}no" >&6; } |
| 10341 | GTK_CFLAGS="" | 10875 | GTK_CFLAGS="" |
| 10342 | GTK_LIBS="" | 10876 | GTK_LIBS="" |
| 10343 | ## If we have a custom action on failure, don't print errors, but | 10877 | ## If we have a custom action on failure, don't print errors, but |
| @@ -10386,9 +10920,9 @@ _ACEOF | |||
| 10386 | for ac_func in gtk_file_selection_new | 10920 | for ac_func in gtk_file_selection_new |
| 10387 | do | 10921 | do |
| 10388 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10922 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 10389 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 10923 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 10390 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 10924 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 10391 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 10925 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10392 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10926 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10393 | else | 10927 | else |
| 10394 | cat >conftest.$ac_ext <<_ACEOF | 10928 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -10414,67 +10948,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 10414 | 10948 | ||
| 10415 | #undef $ac_func | 10949 | #undef $ac_func |
| 10416 | 10950 | ||
| 10417 | /* Override any gcc2 internal prototype to avoid an error. */ | 10951 | /* Override any GCC internal prototype to avoid an error. |
| 10952 | Use char because int might match the return type of a GCC | ||
| 10953 | builtin and then its argument prototype would still apply. */ | ||
| 10418 | #ifdef __cplusplus | 10954 | #ifdef __cplusplus |
| 10419 | extern "C" | 10955 | extern "C" |
| 10420 | { | ||
| 10421 | #endif | 10956 | #endif |
| 10422 | /* We use char because int might match the return type of a gcc2 | ||
| 10423 | builtin and then its argument prototype would still apply. */ | ||
| 10424 | char $ac_func (); | 10957 | char $ac_func (); |
| 10425 | /* The GNU C library defines this for functions which it implements | 10958 | /* The GNU C library defines this for functions which it implements |
| 10426 | to always fail with ENOSYS. Some functions are actually named | 10959 | to always fail with ENOSYS. Some functions are actually named |
| 10427 | something starting with __ and the normal name is an alias. */ | 10960 | something starting with __ and the normal name is an alias. */ |
| 10428 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 10961 | #if defined __stub_$ac_func || defined __stub___$ac_func |
| 10429 | choke me | 10962 | choke me |
| 10430 | #else | ||
| 10431 | char (*f) () = $ac_func; | ||
| 10432 | #endif | ||
| 10433 | #ifdef __cplusplus | ||
| 10434 | } | ||
| 10435 | #endif | 10963 | #endif |
| 10436 | 10964 | ||
| 10437 | int | 10965 | int |
| 10438 | main () | 10966 | main () |
| 10439 | { | 10967 | { |
| 10440 | return f != $ac_func; | 10968 | return $ac_func (); |
| 10441 | ; | 10969 | ; |
| 10442 | return 0; | 10970 | return 0; |
| 10443 | } | 10971 | } |
| 10444 | _ACEOF | 10972 | _ACEOF |
| 10445 | rm -f conftest.$ac_objext conftest$ac_exeext | 10973 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 10446 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10974 | if { (ac_try="$ac_link" |
| 10447 | (eval $ac_link) 2>conftest.er1 | 10975 | case "(($ac_try" in |
| 10976 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 10977 | *) ac_try_echo=$ac_try;; | ||
| 10978 | esac | ||
| 10979 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 10980 | (eval "$ac_link") 2>conftest.er1 | ||
| 10448 | ac_status=$? | 10981 | ac_status=$? |
| 10449 | grep -v '^ *+' conftest.er1 >conftest.err | 10982 | grep -v '^ *+' conftest.er1 >conftest.err |
| 10450 | rm -f conftest.er1 | 10983 | rm -f conftest.er1 |
| 10451 | cat conftest.err >&5 | 10984 | cat conftest.err >&5 |
| 10452 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10985 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10453 | (exit $ac_status); } && | 10986 | (exit $ac_status); } && { |
| 10454 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 10987 | test -z "$ac_c_werror_flag" || |
| 10455 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10988 | test ! -s conftest.err |
| 10456 | (eval $ac_try) 2>&5 | 10989 | } && test -s conftest$ac_exeext && |
| 10457 | ac_status=$? | 10990 | $as_test_x conftest$ac_exeext; then |
| 10458 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10459 | (exit $ac_status); }; } && | ||
| 10460 | { ac_try='test -s conftest$ac_exeext' | ||
| 10461 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 10462 | (eval $ac_try) 2>&5 | ||
| 10463 | ac_status=$? | ||
| 10464 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10465 | (exit $ac_status); }; }; then | ||
| 10466 | eval "$as_ac_var=yes" | 10991 | eval "$as_ac_var=yes" |
| 10467 | else | 10992 | else |
| 10468 | echo "$as_me: failed program was:" >&5 | 10993 | echo "$as_me: failed program was:" >&5 |
| 10469 | sed 's/^/| /' conftest.$ac_ext >&5 | 10994 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 10470 | 10995 | ||
| 10471 | eval "$as_ac_var=no" | 10996 | eval "$as_ac_var=no" |
| 10472 | fi | 10997 | fi |
| 10473 | rm -f conftest.err conftest.$ac_objext \ | 10998 | |
| 10999 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10474 | conftest$ac_exeext conftest.$ac_ext | 11000 | conftest$ac_exeext conftest.$ac_ext |
| 10475 | fi | 11001 | fi |
| 10476 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 11002 | ac_res=`eval echo '${'$as_ac_var'}'` |
| 10477 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 11003 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 11004 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 10478 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 11005 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 10479 | cat >>confdefs.h <<_ACEOF | 11006 | cat >>confdefs.h <<_ACEOF |
| 10480 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11007 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| @@ -10489,9 +11016,9 @@ done | |||
| 10489 | for ac_func in gtk_file_chooser_dialog_new | 11016 | for ac_func in gtk_file_chooser_dialog_new |
| 10490 | do | 11017 | do |
| 10491 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11018 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 10492 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11019 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 10493 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 11020 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 10494 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 11021 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10495 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11022 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10496 | else | 11023 | else |
| 10497 | cat >conftest.$ac_ext <<_ACEOF | 11024 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -10517,67 +11044,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 10517 | 11044 | ||
| 10518 | #undef $ac_func | 11045 | #undef $ac_func |
| 10519 | 11046 | ||
| 10520 | /* Override any gcc2 internal prototype to avoid an error. */ | 11047 | /* Override any GCC internal prototype to avoid an error. |
| 11048 | Use char because int might match the return type of a GCC | ||
| 11049 | builtin and then its argument prototype would still apply. */ | ||
| 10521 | #ifdef __cplusplus | 11050 | #ifdef __cplusplus |
| 10522 | extern "C" | 11051 | extern "C" |
| 10523 | { | ||
| 10524 | #endif | 11052 | #endif |
| 10525 | /* We use char because int might match the return type of a gcc2 | ||
| 10526 | builtin and then its argument prototype would still apply. */ | ||
| 10527 | char $ac_func (); | 11053 | char $ac_func (); |
| 10528 | /* The GNU C library defines this for functions which it implements | 11054 | /* The GNU C library defines this for functions which it implements |
| 10529 | to always fail with ENOSYS. Some functions are actually named | 11055 | to always fail with ENOSYS. Some functions are actually named |
| 10530 | something starting with __ and the normal name is an alias. */ | 11056 | something starting with __ and the normal name is an alias. */ |
| 10531 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 11057 | #if defined __stub_$ac_func || defined __stub___$ac_func |
| 10532 | choke me | 11058 | choke me |
| 10533 | #else | ||
| 10534 | char (*f) () = $ac_func; | ||
| 10535 | #endif | ||
| 10536 | #ifdef __cplusplus | ||
| 10537 | } | ||
| 10538 | #endif | 11059 | #endif |
| 10539 | 11060 | ||
| 10540 | int | 11061 | int |
| 10541 | main () | 11062 | main () |
| 10542 | { | 11063 | { |
| 10543 | return f != $ac_func; | 11064 | return $ac_func (); |
| 10544 | ; | 11065 | ; |
| 10545 | return 0; | 11066 | return 0; |
| 10546 | } | 11067 | } |
| 10547 | _ACEOF | 11068 | _ACEOF |
| 10548 | rm -f conftest.$ac_objext conftest$ac_exeext | 11069 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 10549 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11070 | if { (ac_try="$ac_link" |
| 10550 | (eval $ac_link) 2>conftest.er1 | 11071 | case "(($ac_try" in |
| 11072 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11073 | *) ac_try_echo=$ac_try;; | ||
| 11074 | esac | ||
| 11075 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 11076 | (eval "$ac_link") 2>conftest.er1 | ||
| 10551 | ac_status=$? | 11077 | ac_status=$? |
| 10552 | grep -v '^ *+' conftest.er1 >conftest.err | 11078 | grep -v '^ *+' conftest.er1 >conftest.err |
| 10553 | rm -f conftest.er1 | 11079 | rm -f conftest.er1 |
| 10554 | cat conftest.err >&5 | 11080 | cat conftest.err >&5 |
| 10555 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11081 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10556 | (exit $ac_status); } && | 11082 | (exit $ac_status); } && { |
| 10557 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11083 | test -z "$ac_c_werror_flag" || |
| 10558 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11084 | test ! -s conftest.err |
| 10559 | (eval $ac_try) 2>&5 | 11085 | } && test -s conftest$ac_exeext && |
| 10560 | ac_status=$? | 11086 | $as_test_x conftest$ac_exeext; then |
| 10561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10562 | (exit $ac_status); }; } && | ||
| 10563 | { ac_try='test -s conftest$ac_exeext' | ||
| 10564 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 10565 | (eval $ac_try) 2>&5 | ||
| 10566 | ac_status=$? | ||
| 10567 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10568 | (exit $ac_status); }; }; then | ||
| 10569 | eval "$as_ac_var=yes" | 11087 | eval "$as_ac_var=yes" |
| 10570 | else | 11088 | else |
| 10571 | echo "$as_me: failed program was:" >&5 | 11089 | echo "$as_me: failed program was:" >&5 |
| 10572 | sed 's/^/| /' conftest.$ac_ext >&5 | 11090 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 10573 | 11091 | ||
| 10574 | eval "$as_ac_var=no" | 11092 | eval "$as_ac_var=no" |
| 10575 | fi | 11093 | fi |
| 10576 | rm -f conftest.err conftest.$ac_objext \ | 11094 | |
| 11095 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10577 | conftest$ac_exeext conftest.$ac_ext | 11096 | conftest$ac_exeext conftest.$ac_ext |
| 10578 | fi | 11097 | fi |
| 10579 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 11098 | ac_res=`eval echo '${'$as_ac_var'}'` |
| 10580 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 11099 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 11100 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 10581 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 11101 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 10582 | cat >>confdefs.h <<_ACEOF | 11102 | cat >>confdefs.h <<_ACEOF |
| 10583 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11103 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| @@ -10602,18 +11122,19 @@ _ACEOF | |||
| 10602 | for ac_header in pthread.h | 11122 | for ac_header in pthread.h |
| 10603 | do | 11123 | do |
| 10604 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 11124 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 10605 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11125 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10606 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 11126 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10607 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11127 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 10608 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11128 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10609 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11129 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10610 | fi | 11130 | fi |
| 10611 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11131 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 10612 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11132 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 11133 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 10613 | else | 11134 | else |
| 10614 | # Is the header compilable? | 11135 | # Is the header compilable? |
| 10615 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 11136 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 10616 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 11137 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 10617 | cat >conftest.$ac_ext <<_ACEOF | 11138 | cat >conftest.$ac_ext <<_ACEOF |
| 10618 | /* confdefs.h. */ | 11139 | /* confdefs.h. */ |
| 10619 | _ACEOF | 11140 | _ACEOF |
| @@ -10624,40 +11145,37 @@ $ac_includes_default | |||
| 10624 | #include <$ac_header> | 11145 | #include <$ac_header> |
| 10625 | _ACEOF | 11146 | _ACEOF |
| 10626 | rm -f conftest.$ac_objext | 11147 | rm -f conftest.$ac_objext |
| 10627 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11148 | if { (ac_try="$ac_compile" |
| 10628 | (eval $ac_compile) 2>conftest.er1 | 11149 | case "(($ac_try" in |
| 11150 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11151 | *) ac_try_echo=$ac_try;; | ||
| 11152 | esac | ||
| 11153 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 11154 | (eval "$ac_compile") 2>conftest.er1 | ||
| 10629 | ac_status=$? | 11155 | ac_status=$? |
| 10630 | grep -v '^ *+' conftest.er1 >conftest.err | 11156 | grep -v '^ *+' conftest.er1 >conftest.err |
| 10631 | rm -f conftest.er1 | 11157 | rm -f conftest.er1 |
| 10632 | cat conftest.err >&5 | 11158 | cat conftest.err >&5 |
| 10633 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11159 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10634 | (exit $ac_status); } && | 11160 | (exit $ac_status); } && { |
| 10635 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11161 | test -z "$ac_c_werror_flag" || |
| 10636 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11162 | test ! -s conftest.err |
| 10637 | (eval $ac_try) 2>&5 | 11163 | } && test -s conftest.$ac_objext; then |
| 10638 | ac_status=$? | ||
| 10639 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10640 | (exit $ac_status); }; } && | ||
| 10641 | { ac_try='test -s conftest.$ac_objext' | ||
| 10642 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 10643 | (eval $ac_try) 2>&5 | ||
| 10644 | ac_status=$? | ||
| 10645 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10646 | (exit $ac_status); }; }; then | ||
| 10647 | ac_header_compiler=yes | 11164 | ac_header_compiler=yes |
| 10648 | else | 11165 | else |
| 10649 | echo "$as_me: failed program was:" >&5 | 11166 | echo "$as_me: failed program was:" >&5 |
| 10650 | sed 's/^/| /' conftest.$ac_ext >&5 | 11167 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 10651 | 11168 | ||
| 10652 | ac_header_compiler=no | 11169 | ac_header_compiler=no |
| 10653 | fi | 11170 | fi |
| 10654 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 11171 | |
| 10655 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 11172 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10656 | echo "${ECHO_T}$ac_header_compiler" >&6 | 11173 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 11174 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 10657 | 11175 | ||
| 10658 | # Is the header present? | 11176 | # Is the header present? |
| 10659 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 11177 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 10660 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 11178 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 10661 | cat >conftest.$ac_ext <<_ACEOF | 11179 | cat >conftest.$ac_ext <<_ACEOF |
| 10662 | /* confdefs.h. */ | 11180 | /* confdefs.h. */ |
| 10663 | _ACEOF | 11181 | _ACEOF |
| @@ -10666,24 +11184,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 10666 | /* end confdefs.h. */ | 11184 | /* end confdefs.h. */ |
| 10667 | #include <$ac_header> | 11185 | #include <$ac_header> |
| 10668 | _ACEOF | 11186 | _ACEOF |
| 10669 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 11187 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 10670 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11188 | case "(($ac_try" in |
| 11189 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11190 | *) ac_try_echo=$ac_try;; | ||
| 11191 | esac | ||
| 11192 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 11193 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 10671 | ac_status=$? | 11194 | ac_status=$? |
| 10672 | grep -v '^ *+' conftest.er1 >conftest.err | 11195 | grep -v '^ *+' conftest.er1 >conftest.err |
| 10673 | rm -f conftest.er1 | 11196 | rm -f conftest.er1 |
| 10674 | cat conftest.err >&5 | 11197 | cat conftest.err >&5 |
| 10675 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11198 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10676 | (exit $ac_status); } >/dev/null; then | 11199 | (exit $ac_status); } >/dev/null && { |
| 10677 | if test -s conftest.err; then | 11200 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 10678 | ac_cpp_err=$ac_c_preproc_warn_flag | 11201 | test ! -s conftest.err |
| 10679 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 11202 | }; then |
| 10680 | else | ||
| 10681 | ac_cpp_err= | ||
| 10682 | fi | ||
| 10683 | else | ||
| 10684 | ac_cpp_err=yes | ||
| 10685 | fi | ||
| 10686 | if test -z "$ac_cpp_err"; then | ||
| 10687 | ac_header_preproc=yes | 11203 | ac_header_preproc=yes |
| 10688 | else | 11204 | else |
| 10689 | echo "$as_me: failed program was:" >&5 | 11205 | echo "$as_me: failed program was:" >&5 |
| @@ -10691,9 +11207,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 10691 | 11207 | ||
| 10692 | ac_header_preproc=no | 11208 | ac_header_preproc=no |
| 10693 | fi | 11209 | fi |
| 11210 | |||
| 10694 | rm -f conftest.err conftest.$ac_ext | 11211 | rm -f conftest.err conftest.$ac_ext |
| 10695 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 11212 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 10696 | echo "${ECHO_T}$ac_header_preproc" >&6 | 11213 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 10697 | 11214 | ||
| 10698 | # So? What about this header? | 11215 | # So? What about this header? |
| 10699 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 11216 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -10717,25 +11234,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 10717 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 11234 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 10718 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 11235 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 10719 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 11236 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 10720 | ( | 11237 | |
| 10721 | cat <<\_ASBOX | ||
| 10722 | ## ------------------------------------------ ## | ||
| 10723 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 10724 | ## ------------------------------------------ ## | ||
| 10725 | _ASBOX | ||
| 10726 | ) | | ||
| 10727 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 10728 | ;; | 11238 | ;; |
| 10729 | esac | 11239 | esac |
| 10730 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 11240 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 10731 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 11241 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 10732 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 11242 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 10733 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11243 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10734 | else | 11244 | else |
| 10735 | eval "$as_ac_Header=\$ac_header_preproc" | 11245 | eval "$as_ac_Header=\$ac_header_preproc" |
| 10736 | fi | 11246 | fi |
| 10737 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 11247 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 10738 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 11248 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 11249 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 10739 | 11250 | ||
| 10740 | fi | 11251 | fi |
| 10741 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 11252 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| @@ -10748,8 +11259,8 @@ fi | |||
| 10748 | done | 11259 | done |
| 10749 | 11260 | ||
| 10750 | if test "$ac_cv_header_pthread_h"; then | 11261 | if test "$ac_cv_header_pthread_h"; then |
| 10751 | echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5 | 11262 | { echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5 |
| 10752 | echo $ECHO_N "checking for pthread_self in -lpthread... $ECHO_C" >&6 | 11263 | echo $ECHO_N "checking for pthread_self in -lpthread... $ECHO_C" >&6; } |
| 10753 | if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then | 11264 | if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then |
| 10754 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11265 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10755 | else | 11266 | else |
| @@ -10762,55 +11273,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 10762 | cat >>conftest.$ac_ext <<_ACEOF | 11273 | cat >>conftest.$ac_ext <<_ACEOF |
| 10763 | /* end confdefs.h. */ | 11274 | /* end confdefs.h. */ |
| 10764 | 11275 | ||
| 10765 | /* Override any gcc2 internal prototype to avoid an error. */ | 11276 | /* Override any GCC internal prototype to avoid an error. |
| 11277 | Use char because int might match the return type of a GCC | ||
| 11278 | builtin and then its argument prototype would still apply. */ | ||
| 10766 | #ifdef __cplusplus | 11279 | #ifdef __cplusplus |
| 10767 | extern "C" | 11280 | extern "C" |
| 10768 | #endif | 11281 | #endif |
| 10769 | /* We use char because int might match the return type of a gcc2 | ||
| 10770 | builtin and then its argument prototype would still apply. */ | ||
| 10771 | char pthread_self (); | 11282 | char pthread_self (); |
| 10772 | int | 11283 | int |
| 10773 | main () | 11284 | main () |
| 10774 | { | 11285 | { |
| 10775 | pthread_self (); | 11286 | return pthread_self (); |
| 10776 | ; | 11287 | ; |
| 10777 | return 0; | 11288 | return 0; |
| 10778 | } | 11289 | } |
| 10779 | _ACEOF | 11290 | _ACEOF |
| 10780 | rm -f conftest.$ac_objext conftest$ac_exeext | 11291 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 10781 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11292 | if { (ac_try="$ac_link" |
| 10782 | (eval $ac_link) 2>conftest.er1 | 11293 | case "(($ac_try" in |
| 11294 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11295 | *) ac_try_echo=$ac_try;; | ||
| 11296 | esac | ||
| 11297 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 11298 | (eval "$ac_link") 2>conftest.er1 | ||
| 10783 | ac_status=$? | 11299 | ac_status=$? |
| 10784 | grep -v '^ *+' conftest.er1 >conftest.err | 11300 | grep -v '^ *+' conftest.er1 >conftest.err |
| 10785 | rm -f conftest.er1 | 11301 | rm -f conftest.er1 |
| 10786 | cat conftest.err >&5 | 11302 | cat conftest.err >&5 |
| 10787 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11303 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10788 | (exit $ac_status); } && | 11304 | (exit $ac_status); } && { |
| 10789 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11305 | test -z "$ac_c_werror_flag" || |
| 10790 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11306 | test ! -s conftest.err |
| 10791 | (eval $ac_try) 2>&5 | 11307 | } && test -s conftest$ac_exeext && |
| 10792 | ac_status=$? | 11308 | $as_test_x conftest$ac_exeext; then |
| 10793 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10794 | (exit $ac_status); }; } && | ||
| 10795 | { ac_try='test -s conftest$ac_exeext' | ||
| 10796 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 10797 | (eval $ac_try) 2>&5 | ||
| 10798 | ac_status=$? | ||
| 10799 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10800 | (exit $ac_status); }; }; then | ||
| 10801 | ac_cv_lib_pthread_pthread_self=yes | 11309 | ac_cv_lib_pthread_pthread_self=yes |
| 10802 | else | 11310 | else |
| 10803 | echo "$as_me: failed program was:" >&5 | 11311 | echo "$as_me: failed program was:" >&5 |
| 10804 | sed 's/^/| /' conftest.$ac_ext >&5 | 11312 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 10805 | 11313 | ||
| 10806 | ac_cv_lib_pthread_pthread_self=no | 11314 | ac_cv_lib_pthread_pthread_self=no |
| 10807 | fi | 11315 | fi |
| 10808 | rm -f conftest.err conftest.$ac_objext \ | 11316 | |
| 11317 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10809 | conftest$ac_exeext conftest.$ac_ext | 11318 | conftest$ac_exeext conftest.$ac_ext |
| 10810 | LIBS=$ac_check_lib_save_LIBS | 11319 | LIBS=$ac_check_lib_save_LIBS |
| 10811 | fi | 11320 | fi |
| 10812 | echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5 | 11321 | { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5 |
| 10813 | echo "${ECHO_T}$ac_cv_lib_pthread_pthread_self" >&6 | 11322 | echo "${ECHO_T}$ac_cv_lib_pthread_pthread_self" >&6; } |
| 10814 | if test $ac_cv_lib_pthread_pthread_self = yes; then | 11323 | if test $ac_cv_lib_pthread_pthread_self = yes; then |
| 10815 | HAVE_GTK_AND_PTHREAD=yes | 11324 | HAVE_GTK_AND_PTHREAD=yes |
| 10816 | fi | 11325 | fi |
| @@ -10829,8 +11338,8 @@ fi | |||
| 10829 | 11338 | ||
| 10830 | if test x"${USE_X_TOOLKIT}" = xmaybe; then | 11339 | if test x"${USE_X_TOOLKIT}" = xmaybe; then |
| 10831 | if test x"${HAVE_X11R5}" = xyes; then | 11340 | if test x"${HAVE_X11R5}" = xyes; then |
| 10832 | echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5 | 11341 | { echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5 |
| 10833 | echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 | 11342 | echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6; } |
| 10834 | if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then | 11343 | if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then |
| 10835 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11344 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10836 | else | 11345 | else |
| @@ -10852,44 +11361,42 @@ main () | |||
| 10852 | } | 11361 | } |
| 10853 | _ACEOF | 11362 | _ACEOF |
| 10854 | rm -f conftest.$ac_objext conftest$ac_exeext | 11363 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 10855 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11364 | if { (ac_try="$ac_link" |
| 10856 | (eval $ac_link) 2>conftest.er1 | 11365 | case "(($ac_try" in |
| 11366 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11367 | *) ac_try_echo=$ac_try;; | ||
| 11368 | esac | ||
| 11369 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 11370 | (eval "$ac_link") 2>conftest.er1 | ||
| 10857 | ac_status=$? | 11371 | ac_status=$? |
| 10858 | grep -v '^ *+' conftest.er1 >conftest.err | 11372 | grep -v '^ *+' conftest.er1 >conftest.err |
| 10859 | rm -f conftest.er1 | 11373 | rm -f conftest.er1 |
| 10860 | cat conftest.err >&5 | 11374 | cat conftest.err >&5 |
| 10861 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11375 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10862 | (exit $ac_status); } && | 11376 | (exit $ac_status); } && { |
| 10863 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11377 | test -z "$ac_c_werror_flag" || |
| 10864 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11378 | test ! -s conftest.err |
| 10865 | (eval $ac_try) 2>&5 | 11379 | } && test -s conftest$ac_exeext && |
| 10866 | ac_status=$? | 11380 | $as_test_x conftest$ac_exeext; then |
| 10867 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10868 | (exit $ac_status); }; } && | ||
| 10869 | { ac_try='test -s conftest$ac_exeext' | ||
| 10870 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 10871 | (eval $ac_try) 2>&5 | ||
| 10872 | ac_status=$? | ||
| 10873 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10874 | (exit $ac_status); }; }; then | ||
| 10875 | emacs_cv_x11_version_5_with_xaw=yes | 11381 | emacs_cv_x11_version_5_with_xaw=yes |
| 10876 | else | 11382 | else |
| 10877 | echo "$as_me: failed program was:" >&5 | 11383 | echo "$as_me: failed program was:" >&5 |
| 10878 | sed 's/^/| /' conftest.$ac_ext >&5 | 11384 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 10879 | 11385 | ||
| 10880 | emacs_cv_x11_version_5_with_xaw=no | 11386 | emacs_cv_x11_version_5_with_xaw=no |
| 10881 | fi | 11387 | fi |
| 10882 | rm -f conftest.err conftest.$ac_objext \ | 11388 | |
| 11389 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10883 | conftest$ac_exeext conftest.$ac_ext | 11390 | conftest$ac_exeext conftest.$ac_ext |
| 10884 | fi | 11391 | fi |
| 10885 | 11392 | ||
| 10886 | if test $emacs_cv_x11_version_5_with_xaw = yes; then | 11393 | if test $emacs_cv_x11_version_5_with_xaw = yes; then |
| 10887 | echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5 | 11394 | { echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5 |
| 10888 | echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 | 11395 | echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6; } |
| 10889 | USE_X_TOOLKIT=LUCID | 11396 | USE_X_TOOLKIT=LUCID |
| 10890 | else | 11397 | else |
| 10891 | echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5 | 11398 | { echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5 |
| 10892 | echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 | 11399 | echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6; } |
| 10893 | USE_X_TOOLKIT=none | 11400 | USE_X_TOOLKIT=none |
| 10894 | fi | 11401 | fi |
| 10895 | else | 11402 | else |
| @@ -10900,8 +11407,8 @@ fi | |||
| 10900 | X_TOOLKIT_TYPE=$USE_X_TOOLKIT | 11407 | X_TOOLKIT_TYPE=$USE_X_TOOLKIT |
| 10901 | 11408 | ||
| 10902 | if test "${USE_X_TOOLKIT}" != "none"; then | 11409 | if test "${USE_X_TOOLKIT}" != "none"; then |
| 10903 | echo "$as_me:$LINENO: checking X11 toolkit version" >&5 | 11410 | { echo "$as_me:$LINENO: checking X11 toolkit version" >&5 |
| 10904 | echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 | 11411 | echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6; } |
| 10905 | if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then | 11412 | if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then |
| 10906 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11413 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10907 | else | 11414 | else |
| @@ -10924,49 +11431,47 @@ fail; | |||
| 10924 | } | 11431 | } |
| 10925 | _ACEOF | 11432 | _ACEOF |
| 10926 | rm -f conftest.$ac_objext conftest$ac_exeext | 11433 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 10927 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11434 | if { (ac_try="$ac_link" |
| 10928 | (eval $ac_link) 2>conftest.er1 | 11435 | case "(($ac_try" in |
| 11436 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11437 | *) ac_try_echo=$ac_try;; | ||
| 11438 | esac | ||
| 11439 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 11440 | (eval "$ac_link") 2>conftest.er1 | ||
| 10929 | ac_status=$? | 11441 | ac_status=$? |
| 10930 | grep -v '^ *+' conftest.er1 >conftest.err | 11442 | grep -v '^ *+' conftest.er1 >conftest.err |
| 10931 | rm -f conftest.er1 | 11443 | rm -f conftest.er1 |
| 10932 | cat conftest.err >&5 | 11444 | cat conftest.err >&5 |
| 10933 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11445 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 10934 | (exit $ac_status); } && | 11446 | (exit $ac_status); } && { |
| 10935 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11447 | test -z "$ac_c_werror_flag" || |
| 10936 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11448 | test ! -s conftest.err |
| 10937 | (eval $ac_try) 2>&5 | 11449 | } && test -s conftest$ac_exeext && |
| 10938 | ac_status=$? | 11450 | $as_test_x conftest$ac_exeext; then |
| 10939 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10940 | (exit $ac_status); }; } && | ||
| 10941 | { ac_try='test -s conftest$ac_exeext' | ||
| 10942 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 10943 | (eval $ac_try) 2>&5 | ||
| 10944 | ac_status=$? | ||
| 10945 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 10946 | (exit $ac_status); }; }; then | ||
| 10947 | emacs_cv_x11_toolkit_version_6=yes | 11451 | emacs_cv_x11_toolkit_version_6=yes |
| 10948 | else | 11452 | else |
| 10949 | echo "$as_me: failed program was:" >&5 | 11453 | echo "$as_me: failed program was:" >&5 |
| 10950 | sed 's/^/| /' conftest.$ac_ext >&5 | 11454 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 10951 | 11455 | ||
| 10952 | emacs_cv_x11_toolkit_version_6=no | 11456 | emacs_cv_x11_toolkit_version_6=no |
| 10953 | fi | 11457 | fi |
| 10954 | rm -f conftest.err conftest.$ac_objext \ | 11458 | |
| 11459 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 10955 | conftest$ac_exeext conftest.$ac_ext | 11460 | conftest$ac_exeext conftest.$ac_ext |
| 10956 | fi | 11461 | fi |
| 10957 | 11462 | ||
| 10958 | HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 | 11463 | HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 |
| 10959 | if test $emacs_cv_x11_toolkit_version_6 = yes; then | 11464 | if test $emacs_cv_x11_toolkit_version_6 = yes; then |
| 10960 | echo "$as_me:$LINENO: result: 6 or newer" >&5 | 11465 | { echo "$as_me:$LINENO: result: 6 or newer" >&5 |
| 10961 | echo "${ECHO_T}6 or newer" >&6 | 11466 | echo "${ECHO_T}6 or newer" >&6; } |
| 10962 | 11467 | ||
| 10963 | cat >>confdefs.h <<\_ACEOF | 11468 | cat >>confdefs.h <<\_ACEOF |
| 10964 | #define HAVE_X11XTR6 1 | 11469 | #define HAVE_X11XTR6 1 |
| 10965 | _ACEOF | 11470 | _ACEOF |
| 10966 | 11471 | ||
| 10967 | else | 11472 | else |
| 10968 | echo "$as_me:$LINENO: result: before 6" >&5 | 11473 | { echo "$as_me:$LINENO: result: before 6" >&5 |
| 10969 | echo "${ECHO_T}before 6" >&6 | 11474 | echo "${ECHO_T}before 6" >&6; } |
| 10970 | fi | 11475 | fi |
| 10971 | 11476 | ||
| 10972 | OLDLIBS="$LIBS" | 11477 | OLDLIBS="$LIBS" |
| @@ -10976,8 +11481,8 @@ echo "${ECHO_T}before 6" >&6 | |||
| 10976 | LIBS="-lXt $LIBS" | 11481 | LIBS="-lXt $LIBS" |
| 10977 | fi | 11482 | fi |
| 10978 | 11483 | ||
| 10979 | echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5 | 11484 | { echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5 |
| 10980 | echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 | 11485 | echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6; } |
| 10981 | if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then | 11486 | if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then |
| 10982 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11487 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 10983 | else | 11488 | else |
| @@ -10990,55 +11495,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 10990 | cat >>conftest.$ac_ext <<_ACEOF | 11495 | cat >>conftest.$ac_ext <<_ACEOF |
| 10991 | /* end confdefs.h. */ | 11496 | /* end confdefs.h. */ |
| 10992 | 11497 | ||
| 10993 | /* Override any gcc2 internal prototype to avoid an error. */ | 11498 | /* Override any GCC internal prototype to avoid an error. |
| 11499 | Use char because int might match the return type of a GCC | ||
| 11500 | builtin and then its argument prototype would still apply. */ | ||
| 10994 | #ifdef __cplusplus | 11501 | #ifdef __cplusplus |
| 10995 | extern "C" | 11502 | extern "C" |
| 10996 | #endif | 11503 | #endif |
| 10997 | /* We use char because int might match the return type of a gcc2 | ||
| 10998 | builtin and then its argument prototype would still apply. */ | ||
| 10999 | char XmuConvertStandardSelection (); | 11504 | char XmuConvertStandardSelection (); |
| 11000 | int | 11505 | int |
| 11001 | main () | 11506 | main () |
| 11002 | { | 11507 | { |
| 11003 | XmuConvertStandardSelection (); | 11508 | return XmuConvertStandardSelection (); |
| 11004 | ; | 11509 | ; |
| 11005 | return 0; | 11510 | return 0; |
| 11006 | } | 11511 | } |
| 11007 | _ACEOF | 11512 | _ACEOF |
| 11008 | rm -f conftest.$ac_objext conftest$ac_exeext | 11513 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 11009 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11514 | if { (ac_try="$ac_link" |
| 11010 | (eval $ac_link) 2>conftest.er1 | 11515 | case "(($ac_try" in |
| 11516 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11517 | *) ac_try_echo=$ac_try;; | ||
| 11518 | esac | ||
| 11519 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 11520 | (eval "$ac_link") 2>conftest.er1 | ||
| 11011 | ac_status=$? | 11521 | ac_status=$? |
| 11012 | grep -v '^ *+' conftest.er1 >conftest.err | 11522 | grep -v '^ *+' conftest.er1 >conftest.err |
| 11013 | rm -f conftest.er1 | 11523 | rm -f conftest.er1 |
| 11014 | cat conftest.err >&5 | 11524 | cat conftest.err >&5 |
| 11015 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11525 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11016 | (exit $ac_status); } && | 11526 | (exit $ac_status); } && { |
| 11017 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11527 | test -z "$ac_c_werror_flag" || |
| 11018 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11528 | test ! -s conftest.err |
| 11019 | (eval $ac_try) 2>&5 | 11529 | } && test -s conftest$ac_exeext && |
| 11020 | ac_status=$? | 11530 | $as_test_x conftest$ac_exeext; then |
| 11021 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11022 | (exit $ac_status); }; } && | ||
| 11023 | { ac_try='test -s conftest$ac_exeext' | ||
| 11024 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11025 | (eval $ac_try) 2>&5 | ||
| 11026 | ac_status=$? | ||
| 11027 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11028 | (exit $ac_status); }; }; then | ||
| 11029 | ac_cv_lib_Xmu_XmuConvertStandardSelection=yes | 11531 | ac_cv_lib_Xmu_XmuConvertStandardSelection=yes |
| 11030 | else | 11532 | else |
| 11031 | echo "$as_me: failed program was:" >&5 | 11533 | echo "$as_me: failed program was:" >&5 |
| 11032 | sed 's/^/| /' conftest.$ac_ext >&5 | 11534 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 11033 | 11535 | ||
| 11034 | ac_cv_lib_Xmu_XmuConvertStandardSelection=no | 11536 | ac_cv_lib_Xmu_XmuConvertStandardSelection=no |
| 11035 | fi | 11537 | fi |
| 11036 | rm -f conftest.err conftest.$ac_objext \ | 11538 | |
| 11539 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11037 | conftest$ac_exeext conftest.$ac_ext | 11540 | conftest$ac_exeext conftest.$ac_ext |
| 11038 | LIBS=$ac_check_lib_save_LIBS | 11541 | LIBS=$ac_check_lib_save_LIBS |
| 11039 | fi | 11542 | fi |
| 11040 | echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 | 11543 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 |
| 11041 | echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 | 11544 | echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } |
| 11042 | if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then | 11545 | if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then |
| 11043 | cat >>confdefs.h <<_ACEOF | 11546 | cat >>confdefs.h <<_ACEOF |
| 11044 | #define HAVE_LIBXMU 1 | 11547 | #define HAVE_LIBXMU 1 |
| @@ -11055,8 +11558,8 @@ fi | |||
| 11055 | if test "${HAVE_X11}" = "yes"; then | 11558 | if test "${HAVE_X11}" = "yes"; then |
| 11056 | if test "${USE_X_TOOLKIT}" != "none"; then | 11559 | if test "${USE_X_TOOLKIT}" != "none"; then |
| 11057 | 11560 | ||
| 11058 | echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 | 11561 | { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 |
| 11059 | echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 | 11562 | echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; } |
| 11060 | if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then | 11563 | if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then |
| 11061 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11564 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11062 | else | 11565 | else |
| @@ -11069,55 +11572,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 11069 | cat >>conftest.$ac_ext <<_ACEOF | 11572 | cat >>conftest.$ac_ext <<_ACEOF |
| 11070 | /* end confdefs.h. */ | 11573 | /* end confdefs.h. */ |
| 11071 | 11574 | ||
| 11072 | /* Override any gcc2 internal prototype to avoid an error. */ | 11575 | /* Override any GCC internal prototype to avoid an error. |
| 11576 | Use char because int might match the return type of a GCC | ||
| 11577 | builtin and then its argument prototype would still apply. */ | ||
| 11073 | #ifdef __cplusplus | 11578 | #ifdef __cplusplus |
| 11074 | extern "C" | 11579 | extern "C" |
| 11075 | #endif | 11580 | #endif |
| 11076 | /* We use char because int might match the return type of a gcc2 | ||
| 11077 | builtin and then its argument prototype would still apply. */ | ||
| 11078 | char XShapeQueryExtension (); | 11581 | char XShapeQueryExtension (); |
| 11079 | int | 11582 | int |
| 11080 | main () | 11583 | main () |
| 11081 | { | 11584 | { |
| 11082 | XShapeQueryExtension (); | 11585 | return XShapeQueryExtension (); |
| 11083 | ; | 11586 | ; |
| 11084 | return 0; | 11587 | return 0; |
| 11085 | } | 11588 | } |
| 11086 | _ACEOF | 11589 | _ACEOF |
| 11087 | rm -f conftest.$ac_objext conftest$ac_exeext | 11590 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 11088 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11591 | if { (ac_try="$ac_link" |
| 11089 | (eval $ac_link) 2>conftest.er1 | 11592 | case "(($ac_try" in |
| 11593 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11594 | *) ac_try_echo=$ac_try;; | ||
| 11595 | esac | ||
| 11596 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 11597 | (eval "$ac_link") 2>conftest.er1 | ||
| 11090 | ac_status=$? | 11598 | ac_status=$? |
| 11091 | grep -v '^ *+' conftest.er1 >conftest.err | 11599 | grep -v '^ *+' conftest.er1 >conftest.err |
| 11092 | rm -f conftest.er1 | 11600 | rm -f conftest.er1 |
| 11093 | cat conftest.err >&5 | 11601 | cat conftest.err >&5 |
| 11094 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11602 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11095 | (exit $ac_status); } && | 11603 | (exit $ac_status); } && { |
| 11096 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11604 | test -z "$ac_c_werror_flag" || |
| 11097 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11605 | test ! -s conftest.err |
| 11098 | (eval $ac_try) 2>&5 | 11606 | } && test -s conftest$ac_exeext && |
| 11099 | ac_status=$? | 11607 | $as_test_x conftest$ac_exeext; then |
| 11100 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11101 | (exit $ac_status); }; } && | ||
| 11102 | { ac_try='test -s conftest$ac_exeext' | ||
| 11103 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11104 | (eval $ac_try) 2>&5 | ||
| 11105 | ac_status=$? | ||
| 11106 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11107 | (exit $ac_status); }; }; then | ||
| 11108 | ac_cv_lib_Xext_XShapeQueryExtension=yes | 11608 | ac_cv_lib_Xext_XShapeQueryExtension=yes |
| 11109 | else | 11609 | else |
| 11110 | echo "$as_me: failed program was:" >&5 | 11610 | echo "$as_me: failed program was:" >&5 |
| 11111 | sed 's/^/| /' conftest.$ac_ext >&5 | 11611 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 11112 | 11612 | ||
| 11113 | ac_cv_lib_Xext_XShapeQueryExtension=no | 11613 | ac_cv_lib_Xext_XShapeQueryExtension=no |
| 11114 | fi | 11614 | fi |
| 11115 | rm -f conftest.err conftest.$ac_objext \ | 11615 | |
| 11616 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11116 | conftest$ac_exeext conftest.$ac_ext | 11617 | conftest$ac_exeext conftest.$ac_ext |
| 11117 | LIBS=$ac_check_lib_save_LIBS | 11618 | LIBS=$ac_check_lib_save_LIBS |
| 11118 | fi | 11619 | fi |
| 11119 | echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 | 11620 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 |
| 11120 | echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 | 11621 | echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } |
| 11121 | if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then | 11622 | if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then |
| 11122 | cat >>confdefs.h <<_ACEOF | 11623 | cat >>confdefs.h <<_ACEOF |
| 11123 | #define HAVE_LIBXEXT 1 | 11624 | #define HAVE_LIBXEXT 1 |
| @@ -11131,8 +11632,8 @@ fi | |||
| 11131 | fi | 11632 | fi |
| 11132 | 11633 | ||
| 11133 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 11634 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
| 11134 | echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 | 11635 | { echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 |
| 11135 | echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 | 11636 | echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6; } |
| 11136 | if test "${emacs_cv_motif_version_2_1+set}" = set; then | 11637 | if test "${emacs_cv_motif_version_2_1+set}" = set; then |
| 11137 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11638 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11138 | else | 11639 | else |
| @@ -11156,37 +11657,34 @@ Motif version prior to 2.1. | |||
| 11156 | } | 11657 | } |
| 11157 | _ACEOF | 11658 | _ACEOF |
| 11158 | rm -f conftest.$ac_objext | 11659 | rm -f conftest.$ac_objext |
| 11159 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11660 | if { (ac_try="$ac_compile" |
| 11160 | (eval $ac_compile) 2>conftest.er1 | 11661 | case "(($ac_try" in |
| 11662 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11663 | *) ac_try_echo=$ac_try;; | ||
| 11664 | esac | ||
| 11665 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 11666 | (eval "$ac_compile") 2>conftest.er1 | ||
| 11161 | ac_status=$? | 11667 | ac_status=$? |
| 11162 | grep -v '^ *+' conftest.er1 >conftest.err | 11668 | grep -v '^ *+' conftest.er1 >conftest.err |
| 11163 | rm -f conftest.er1 | 11669 | rm -f conftest.er1 |
| 11164 | cat conftest.err >&5 | 11670 | cat conftest.err >&5 |
| 11165 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11671 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11166 | (exit $ac_status); } && | 11672 | (exit $ac_status); } && { |
| 11167 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11673 | test -z "$ac_c_werror_flag" || |
| 11168 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11674 | test ! -s conftest.err |
| 11169 | (eval $ac_try) 2>&5 | 11675 | } && test -s conftest.$ac_objext; then |
| 11170 | ac_status=$? | ||
| 11171 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11172 | (exit $ac_status); }; } && | ||
| 11173 | { ac_try='test -s conftest.$ac_objext' | ||
| 11174 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11175 | (eval $ac_try) 2>&5 | ||
| 11176 | ac_status=$? | ||
| 11177 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11178 | (exit $ac_status); }; }; then | ||
| 11179 | emacs_cv_motif_version_2_1=yes | 11676 | emacs_cv_motif_version_2_1=yes |
| 11180 | else | 11677 | else |
| 11181 | echo "$as_me: failed program was:" >&5 | 11678 | echo "$as_me: failed program was:" >&5 |
| 11182 | sed 's/^/| /' conftest.$ac_ext >&5 | 11679 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 11183 | 11680 | ||
| 11184 | emacs_cv_motif_version_2_1=no | 11681 | emacs_cv_motif_version_2_1=no |
| 11185 | fi | 11682 | fi |
| 11186 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 11683 | |
| 11684 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 11187 | fi | 11685 | fi |
| 11188 | echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 | 11686 | { echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 |
| 11189 | echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 | 11687 | echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6; } |
| 11190 | HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 | 11688 | HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 |
| 11191 | if test $emacs_cv_motif_version_2_1 = yes; then | 11689 | if test $emacs_cv_motif_version_2_1 = yes; then |
| 11192 | HAVE_LIBXP=no | 11690 | HAVE_LIBXP=no |
| @@ -11195,8 +11693,8 @@ cat >>confdefs.h <<\_ACEOF | |||
| 11195 | #define HAVE_MOTIF_2_1 1 | 11693 | #define HAVE_MOTIF_2_1 1 |
| 11196 | _ACEOF | 11694 | _ACEOF |
| 11197 | 11695 | ||
| 11198 | echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 | 11696 | { echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 |
| 11199 | echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 | 11697 | echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6; } |
| 11200 | if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then | 11698 | if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then |
| 11201 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11699 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11202 | else | 11700 | else |
| @@ -11209,55 +11707,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 11209 | cat >>conftest.$ac_ext <<_ACEOF | 11707 | cat >>conftest.$ac_ext <<_ACEOF |
| 11210 | /* end confdefs.h. */ | 11708 | /* end confdefs.h. */ |
| 11211 | 11709 | ||
| 11212 | /* Override any gcc2 internal prototype to avoid an error. */ | 11710 | /* Override any GCC internal prototype to avoid an error. |
| 11711 | Use char because int might match the return type of a GCC | ||
| 11712 | builtin and then its argument prototype would still apply. */ | ||
| 11213 | #ifdef __cplusplus | 11713 | #ifdef __cplusplus |
| 11214 | extern "C" | 11714 | extern "C" |
| 11215 | #endif | 11715 | #endif |
| 11216 | /* We use char because int might match the return type of a gcc2 | ||
| 11217 | builtin and then its argument prototype would still apply. */ | ||
| 11218 | char XpCreateContext (); | 11716 | char XpCreateContext (); |
| 11219 | int | 11717 | int |
| 11220 | main () | 11718 | main () |
| 11221 | { | 11719 | { |
| 11222 | XpCreateContext (); | 11720 | return XpCreateContext (); |
| 11223 | ; | 11721 | ; |
| 11224 | return 0; | 11722 | return 0; |
| 11225 | } | 11723 | } |
| 11226 | _ACEOF | 11724 | _ACEOF |
| 11227 | rm -f conftest.$ac_objext conftest$ac_exeext | 11725 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 11228 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11726 | if { (ac_try="$ac_link" |
| 11229 | (eval $ac_link) 2>conftest.er1 | 11727 | case "(($ac_try" in |
| 11728 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11729 | *) ac_try_echo=$ac_try;; | ||
| 11730 | esac | ||
| 11731 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 11732 | (eval "$ac_link") 2>conftest.er1 | ||
| 11230 | ac_status=$? | 11733 | ac_status=$? |
| 11231 | grep -v '^ *+' conftest.er1 >conftest.err | 11734 | grep -v '^ *+' conftest.er1 >conftest.err |
| 11232 | rm -f conftest.er1 | 11735 | rm -f conftest.er1 |
| 11233 | cat conftest.err >&5 | 11736 | cat conftest.err >&5 |
| 11234 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11737 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11235 | (exit $ac_status); } && | 11738 | (exit $ac_status); } && { |
| 11236 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11739 | test -z "$ac_c_werror_flag" || |
| 11237 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11740 | test ! -s conftest.err |
| 11238 | (eval $ac_try) 2>&5 | 11741 | } && test -s conftest$ac_exeext && |
| 11239 | ac_status=$? | 11742 | $as_test_x conftest$ac_exeext; then |
| 11240 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11241 | (exit $ac_status); }; } && | ||
| 11242 | { ac_try='test -s conftest$ac_exeext' | ||
| 11243 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11244 | (eval $ac_try) 2>&5 | ||
| 11245 | ac_status=$? | ||
| 11246 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11247 | (exit $ac_status); }; }; then | ||
| 11248 | ac_cv_lib_Xp_XpCreateContext=yes | 11743 | ac_cv_lib_Xp_XpCreateContext=yes |
| 11249 | else | 11744 | else |
| 11250 | echo "$as_me: failed program was:" >&5 | 11745 | echo "$as_me: failed program was:" >&5 |
| 11251 | sed 's/^/| /' conftest.$ac_ext >&5 | 11746 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 11252 | 11747 | ||
| 11253 | ac_cv_lib_Xp_XpCreateContext=no | 11748 | ac_cv_lib_Xp_XpCreateContext=no |
| 11254 | fi | 11749 | fi |
| 11255 | rm -f conftest.err conftest.$ac_objext \ | 11750 | |
| 11751 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11256 | conftest$ac_exeext conftest.$ac_ext | 11752 | conftest$ac_exeext conftest.$ac_ext |
| 11257 | LIBS=$ac_check_lib_save_LIBS | 11753 | LIBS=$ac_check_lib_save_LIBS |
| 11258 | fi | 11754 | fi |
| 11259 | echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 | 11755 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 |
| 11260 | echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 | 11756 | echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6; } |
| 11261 | if test $ac_cv_lib_Xp_XpCreateContext = yes; then | 11757 | if test $ac_cv_lib_Xp_XpCreateContext = yes; then |
| 11262 | HAVE_LIBXP=yes | 11758 | HAVE_LIBXP=yes |
| 11263 | fi | 11759 | fi |
| @@ -11270,8 +11766,8 @@ _ACEOF | |||
| 11270 | 11766 | ||
| 11271 | fi | 11767 | fi |
| 11272 | else | 11768 | else |
| 11273 | echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5 | 11769 | { echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5 |
| 11274 | echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6 | 11770 | echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6; } |
| 11275 | if test "${emacs_cv_lesstif+set}" = set; then | 11771 | if test "${emacs_cv_lesstif+set}" = set; then |
| 11276 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11772 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11277 | else | 11773 | else |
| @@ -11298,37 +11794,34 @@ int x = 5; | |||
| 11298 | } | 11794 | } |
| 11299 | _ACEOF | 11795 | _ACEOF |
| 11300 | rm -f conftest.$ac_objext | 11796 | rm -f conftest.$ac_objext |
| 11301 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11797 | if { (ac_try="$ac_compile" |
| 11302 | (eval $ac_compile) 2>conftest.er1 | 11798 | case "(($ac_try" in |
| 11799 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11800 | *) ac_try_echo=$ac_try;; | ||
| 11801 | esac | ||
| 11802 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 11803 | (eval "$ac_compile") 2>conftest.er1 | ||
| 11303 | ac_status=$? | 11804 | ac_status=$? |
| 11304 | grep -v '^ *+' conftest.er1 >conftest.err | 11805 | grep -v '^ *+' conftest.er1 >conftest.err |
| 11305 | rm -f conftest.er1 | 11806 | rm -f conftest.er1 |
| 11306 | cat conftest.err >&5 | 11807 | cat conftest.err >&5 |
| 11307 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11808 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11308 | (exit $ac_status); } && | 11809 | (exit $ac_status); } && { |
| 11309 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11810 | test -z "$ac_c_werror_flag" || |
| 11310 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11811 | test ! -s conftest.err |
| 11311 | (eval $ac_try) 2>&5 | 11812 | } && test -s conftest.$ac_objext; then |
| 11312 | ac_status=$? | ||
| 11313 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11314 | (exit $ac_status); }; } && | ||
| 11315 | { ac_try='test -s conftest.$ac_objext' | ||
| 11316 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11317 | (eval $ac_try) 2>&5 | ||
| 11318 | ac_status=$? | ||
| 11319 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11320 | (exit $ac_status); }; }; then | ||
| 11321 | emacs_cv_lesstif=yes | 11813 | emacs_cv_lesstif=yes |
| 11322 | else | 11814 | else |
| 11323 | echo "$as_me: failed program was:" >&5 | 11815 | echo "$as_me: failed program was:" >&5 |
| 11324 | sed 's/^/| /' conftest.$ac_ext >&5 | 11816 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 11325 | 11817 | ||
| 11326 | emacs_cv_lesstif=no | 11818 | emacs_cv_lesstif=no |
| 11327 | fi | 11819 | fi |
| 11328 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 11820 | |
| 11821 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 11329 | fi | 11822 | fi |
| 11330 | echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5 | 11823 | { echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5 |
| 11331 | echo "${ECHO_T}$emacs_cv_lesstif" >&6 | 11824 | echo "${ECHO_T}$emacs_cv_lesstif" >&6; } |
| 11332 | if test $emacs_cv_lesstif = yes; then | 11825 | if test $emacs_cv_lesstif = yes; then |
| 11333 | # Make sure this -I option remains in CPPFLAGS after it is set | 11826 | # Make sure this -I option remains in CPPFLAGS after it is set |
| 11334 | # back to REAL_CPPFLAGS. | 11827 | # back to REAL_CPPFLAGS. |
| @@ -11348,8 +11841,8 @@ fi | |||
| 11348 | HAVE_XAW3D=no | 11841 | HAVE_XAW3D=no |
| 11349 | if test "${HAVE_X11}" = "yes"; then | 11842 | if test "${HAVE_X11}" = "yes"; then |
| 11350 | if test "${USE_X_TOOLKIT}" != "none" && test "${with_toolkit_scroll_bars}" != "no"; then | 11843 | if test "${USE_X_TOOLKIT}" != "none" && test "${with_toolkit_scroll_bars}" != "no"; then |
| 11351 | echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5 | 11844 | { echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5 |
| 11352 | echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 | 11845 | echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6; } |
| 11353 | if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then | 11846 | if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then |
| 11354 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11847 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11355 | else | 11848 | else |
| @@ -11361,24 +11854,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 11361 | /* end confdefs.h. */ | 11854 | /* end confdefs.h. */ |
| 11362 | #include <X11/Xaw3d/Scrollbar.h> | 11855 | #include <X11/Xaw3d/Scrollbar.h> |
| 11363 | _ACEOF | 11856 | _ACEOF |
| 11364 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 11857 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 11365 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 11858 | case "(($ac_try" in |
| 11859 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11860 | *) ac_try_echo=$ac_try;; | ||
| 11861 | esac | ||
| 11862 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 11863 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 11366 | ac_status=$? | 11864 | ac_status=$? |
| 11367 | grep -v '^ *+' conftest.er1 >conftest.err | 11865 | grep -v '^ *+' conftest.er1 >conftest.err |
| 11368 | rm -f conftest.er1 | 11866 | rm -f conftest.er1 |
| 11369 | cat conftest.err >&5 | 11867 | cat conftest.err >&5 |
| 11370 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11868 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11371 | (exit $ac_status); } >/dev/null; then | 11869 | (exit $ac_status); } >/dev/null && { |
| 11372 | if test -s conftest.err; then | 11870 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 11373 | ac_cpp_err=$ac_c_preproc_warn_flag | 11871 | test ! -s conftest.err |
| 11374 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 11872 | }; then |
| 11375 | else | ||
| 11376 | ac_cpp_err= | ||
| 11377 | fi | ||
| 11378 | else | ||
| 11379 | ac_cpp_err=yes | ||
| 11380 | fi | ||
| 11381 | if test -z "$ac_cpp_err"; then | ||
| 11382 | ac_cv_header_X11_Xaw3d_Scrollbar_h=yes | 11873 | ac_cv_header_X11_Xaw3d_Scrollbar_h=yes |
| 11383 | else | 11874 | else |
| 11384 | echo "$as_me: failed program was:" >&5 | 11875 | echo "$as_me: failed program was:" >&5 |
| @@ -11386,13 +11877,14 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 11386 | 11877 | ||
| 11387 | ac_cv_header_X11_Xaw3d_Scrollbar_h=no | 11878 | ac_cv_header_X11_Xaw3d_Scrollbar_h=no |
| 11388 | fi | 11879 | fi |
| 11880 | |||
| 11389 | rm -f conftest.err conftest.$ac_ext | 11881 | rm -f conftest.err conftest.$ac_ext |
| 11390 | fi | 11882 | fi |
| 11391 | echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 | 11883 | { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 |
| 11392 | echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 | 11884 | echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6; } |
| 11393 | if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then | 11885 | if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then |
| 11394 | echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5 | 11886 | { echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5 |
| 11395 | echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 | 11887 | echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6; } |
| 11396 | if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then | 11888 | if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then |
| 11397 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11889 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11398 | else | 11890 | else |
| @@ -11405,55 +11897,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 11405 | cat >>conftest.$ac_ext <<_ACEOF | 11897 | cat >>conftest.$ac_ext <<_ACEOF |
| 11406 | /* end confdefs.h. */ | 11898 | /* end confdefs.h. */ |
| 11407 | 11899 | ||
| 11408 | /* Override any gcc2 internal prototype to avoid an error. */ | 11900 | /* Override any GCC internal prototype to avoid an error. |
| 11901 | Use char because int might match the return type of a GCC | ||
| 11902 | builtin and then its argument prototype would still apply. */ | ||
| 11409 | #ifdef __cplusplus | 11903 | #ifdef __cplusplus |
| 11410 | extern "C" | 11904 | extern "C" |
| 11411 | #endif | 11905 | #endif |
| 11412 | /* We use char because int might match the return type of a gcc2 | ||
| 11413 | builtin and then its argument prototype would still apply. */ | ||
| 11414 | char XawScrollbarSetThumb (); | 11906 | char XawScrollbarSetThumb (); |
| 11415 | int | 11907 | int |
| 11416 | main () | 11908 | main () |
| 11417 | { | 11909 | { |
| 11418 | XawScrollbarSetThumb (); | 11910 | return XawScrollbarSetThumb (); |
| 11419 | ; | 11911 | ; |
| 11420 | return 0; | 11912 | return 0; |
| 11421 | } | 11913 | } |
| 11422 | _ACEOF | 11914 | _ACEOF |
| 11423 | rm -f conftest.$ac_objext conftest$ac_exeext | 11915 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 11424 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11916 | if { (ac_try="$ac_link" |
| 11425 | (eval $ac_link) 2>conftest.er1 | 11917 | case "(($ac_try" in |
| 11918 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 11919 | *) ac_try_echo=$ac_try;; | ||
| 11920 | esac | ||
| 11921 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 11922 | (eval "$ac_link") 2>conftest.er1 | ||
| 11426 | ac_status=$? | 11923 | ac_status=$? |
| 11427 | grep -v '^ *+' conftest.er1 >conftest.err | 11924 | grep -v '^ *+' conftest.er1 >conftest.err |
| 11428 | rm -f conftest.er1 | 11925 | rm -f conftest.er1 |
| 11429 | cat conftest.err >&5 | 11926 | cat conftest.err >&5 |
| 11430 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11927 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11431 | (exit $ac_status); } && | 11928 | (exit $ac_status); } && { |
| 11432 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 11929 | test -z "$ac_c_werror_flag" || |
| 11433 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11930 | test ! -s conftest.err |
| 11434 | (eval $ac_try) 2>&5 | 11931 | } && test -s conftest$ac_exeext && |
| 11435 | ac_status=$? | 11932 | $as_test_x conftest$ac_exeext; then |
| 11436 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11437 | (exit $ac_status); }; } && | ||
| 11438 | { ac_try='test -s conftest$ac_exeext' | ||
| 11439 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11440 | (eval $ac_try) 2>&5 | ||
| 11441 | ac_status=$? | ||
| 11442 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11443 | (exit $ac_status); }; }; then | ||
| 11444 | ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes | 11933 | ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes |
| 11445 | else | 11934 | else |
| 11446 | echo "$as_me: failed program was:" >&5 | 11935 | echo "$as_me: failed program was:" >&5 |
| 11447 | sed 's/^/| /' conftest.$ac_ext >&5 | 11936 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 11448 | 11937 | ||
| 11449 | ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no | 11938 | ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no |
| 11450 | fi | 11939 | fi |
| 11451 | rm -f conftest.err conftest.$ac_objext \ | 11940 | |
| 11941 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11452 | conftest$ac_exeext conftest.$ac_ext | 11942 | conftest$ac_exeext conftest.$ac_ext |
| 11453 | LIBS=$ac_check_lib_save_LIBS | 11943 | LIBS=$ac_check_lib_save_LIBS |
| 11454 | fi | 11944 | fi |
| 11455 | echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 | 11945 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 |
| 11456 | echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 | 11946 | echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6; } |
| 11457 | if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then | 11947 | if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then |
| 11458 | HAVE_XAW3D=yes | 11948 | HAVE_XAW3D=yes |
| 11459 | fi | 11949 | fi |
| @@ -11523,26 +12013,22 @@ XIMProc callback; | |||
| 11523 | } | 12013 | } |
| 11524 | _ACEOF | 12014 | _ACEOF |
| 11525 | rm -f conftest.$ac_objext | 12015 | rm -f conftest.$ac_objext |
| 11526 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 12016 | if { (ac_try="$ac_compile" |
| 11527 | (eval $ac_compile) 2>conftest.er1 | 12017 | case "(($ac_try" in |
| 12018 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12019 | *) ac_try_echo=$ac_try;; | ||
| 12020 | esac | ||
| 12021 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 12022 | (eval "$ac_compile") 2>conftest.er1 | ||
| 11528 | ac_status=$? | 12023 | ac_status=$? |
| 11529 | grep -v '^ *+' conftest.er1 >conftest.err | 12024 | grep -v '^ *+' conftest.er1 >conftest.err |
| 11530 | rm -f conftest.er1 | 12025 | rm -f conftest.er1 |
| 11531 | cat conftest.err >&5 | 12026 | cat conftest.err >&5 |
| 11532 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12027 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11533 | (exit $ac_status); } && | 12028 | (exit $ac_status); } && { |
| 11534 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 12029 | test -z "$ac_c_werror_flag" || |
| 11535 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12030 | test ! -s conftest.err |
| 11536 | (eval $ac_try) 2>&5 | 12031 | } && test -s conftest.$ac_objext; then |
| 11537 | ac_status=$? | ||
| 11538 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11539 | (exit $ac_status); }; } && | ||
| 11540 | { ac_try='test -s conftest.$ac_objext' | ||
| 11541 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11542 | (eval $ac_try) 2>&5 | ||
| 11543 | ac_status=$? | ||
| 11544 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11545 | (exit $ac_status); }; }; then | ||
| 11546 | HAVE_XIM=yes | 12032 | HAVE_XIM=yes |
| 11547 | 12033 | ||
| 11548 | cat >>confdefs.h <<\_ACEOF | 12034 | cat >>confdefs.h <<\_ACEOF |
| @@ -11553,9 +12039,10 @@ else | |||
| 11553 | echo "$as_me: failed program was:" >&5 | 12039 | echo "$as_me: failed program was:" >&5 |
| 11554 | sed 's/^/| /' conftest.$ac_ext >&5 | 12040 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 11555 | 12041 | ||
| 11556 | HAVE_XIM=no | 12042 | HAVE_XIM=no |
| 11557 | fi | 12043 | fi |
| 11558 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 12044 | |
| 12045 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 11559 | 12046 | ||
| 11560 | 12047 | ||
| 11561 | if test "${with_xim}" != "no"; then | 12048 | if test "${with_xim}" != "no"; then |
| @@ -11603,33 +12090,31 @@ extern Bool XRegisterIMInstantiateCallback(Display*, XrmDatabase, char*, | |||
| 11603 | } | 12090 | } |
| 11604 | _ACEOF | 12091 | _ACEOF |
| 11605 | rm -f conftest.$ac_objext | 12092 | rm -f conftest.$ac_objext |
| 11606 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 12093 | if { (ac_try="$ac_compile" |
| 11607 | (eval $ac_compile) 2>conftest.er1 | 12094 | case "(($ac_try" in |
| 12095 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12096 | *) ac_try_echo=$ac_try;; | ||
| 12097 | esac | ||
| 12098 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 12099 | (eval "$ac_compile") 2>conftest.er1 | ||
| 11608 | ac_status=$? | 12100 | ac_status=$? |
| 11609 | grep -v '^ *+' conftest.er1 >conftest.err | 12101 | grep -v '^ *+' conftest.er1 >conftest.err |
| 11610 | rm -f conftest.er1 | 12102 | rm -f conftest.er1 |
| 11611 | cat conftest.err >&5 | 12103 | cat conftest.err >&5 |
| 11612 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12104 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11613 | (exit $ac_status); } && | 12105 | (exit $ac_status); } && { |
| 11614 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 12106 | test -z "$ac_c_werror_flag" || |
| 11615 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12107 | test ! -s conftest.err |
| 11616 | (eval $ac_try) 2>&5 | 12108 | } && test -s conftest.$ac_objext; then |
| 11617 | ac_status=$? | ||
| 11618 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11619 | (exit $ac_status); }; } && | ||
| 11620 | { ac_try='test -s conftest.$ac_objext' | ||
| 11621 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11622 | (eval $ac_try) 2>&5 | ||
| 11623 | ac_status=$? | ||
| 11624 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11625 | (exit $ac_status); }; }; then | ||
| 11626 | emacs_cv_arg6_star=yes | 12109 | emacs_cv_arg6_star=yes |
| 11627 | else | 12110 | else |
| 11628 | echo "$as_me: failed program was:" >&5 | 12111 | echo "$as_me: failed program was:" >&5 |
| 11629 | sed 's/^/| /' conftest.$ac_ext >&5 | 12112 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 11630 | 12113 | ||
| 12114 | |||
| 11631 | fi | 12115 | fi |
| 11632 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 12116 | |
| 12117 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 11633 | 12118 | ||
| 11634 | if test "$emacs_cv_arg6_star" = yes; then | 12119 | if test "$emacs_cv_arg6_star" = yes; then |
| 11635 | cat >>confdefs.h <<\_ACEOF | 12120 | cat >>confdefs.h <<\_ACEOF |
| @@ -11650,17 +12135,17 @@ HAVE_XPM=no | |||
| 11650 | if test "${HAVE_X11}" = "yes"; then | 12135 | if test "${HAVE_X11}" = "yes"; then |
| 11651 | if test "${with_xpm}" != "no"; then | 12136 | if test "${with_xpm}" != "no"; then |
| 11652 | if test "${ac_cv_header_X11_xpm_h+set}" = set; then | 12137 | if test "${ac_cv_header_X11_xpm_h+set}" = set; then |
| 11653 | echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 | 12138 | { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 |
| 11654 | echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 | 12139 | echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; } |
| 11655 | if test "${ac_cv_header_X11_xpm_h+set}" = set; then | 12140 | if test "${ac_cv_header_X11_xpm_h+set}" = set; then |
| 11656 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12141 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11657 | fi | 12142 | fi |
| 11658 | echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 | 12143 | { echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 |
| 11659 | echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 | 12144 | echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; } |
| 11660 | else | 12145 | else |
| 11661 | # Is the header compilable? | 12146 | # Is the header compilable? |
| 11662 | echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5 | 12147 | { echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5 |
| 11663 | echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6 | 12148 | echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6; } |
| 11664 | cat >conftest.$ac_ext <<_ACEOF | 12149 | cat >conftest.$ac_ext <<_ACEOF |
| 11665 | /* confdefs.h. */ | 12150 | /* confdefs.h. */ |
| 11666 | _ACEOF | 12151 | _ACEOF |
| @@ -11671,40 +12156,37 @@ $ac_includes_default | |||
| 11671 | #include <X11/xpm.h> | 12156 | #include <X11/xpm.h> |
| 11672 | _ACEOF | 12157 | _ACEOF |
| 11673 | rm -f conftest.$ac_objext | 12158 | rm -f conftest.$ac_objext |
| 11674 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 12159 | if { (ac_try="$ac_compile" |
| 11675 | (eval $ac_compile) 2>conftest.er1 | 12160 | case "(($ac_try" in |
| 12161 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12162 | *) ac_try_echo=$ac_try;; | ||
| 12163 | esac | ||
| 12164 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 12165 | (eval "$ac_compile") 2>conftest.er1 | ||
| 11676 | ac_status=$? | 12166 | ac_status=$? |
| 11677 | grep -v '^ *+' conftest.er1 >conftest.err | 12167 | grep -v '^ *+' conftest.er1 >conftest.err |
| 11678 | rm -f conftest.er1 | 12168 | rm -f conftest.er1 |
| 11679 | cat conftest.err >&5 | 12169 | cat conftest.err >&5 |
| 11680 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12170 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11681 | (exit $ac_status); } && | 12171 | (exit $ac_status); } && { |
| 11682 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 12172 | test -z "$ac_c_werror_flag" || |
| 11683 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12173 | test ! -s conftest.err |
| 11684 | (eval $ac_try) 2>&5 | 12174 | } && test -s conftest.$ac_objext; then |
| 11685 | ac_status=$? | ||
| 11686 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11687 | (exit $ac_status); }; } && | ||
| 11688 | { ac_try='test -s conftest.$ac_objext' | ||
| 11689 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11690 | (eval $ac_try) 2>&5 | ||
| 11691 | ac_status=$? | ||
| 11692 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11693 | (exit $ac_status); }; }; then | ||
| 11694 | ac_header_compiler=yes | 12175 | ac_header_compiler=yes |
| 11695 | else | 12176 | else |
| 11696 | echo "$as_me: failed program was:" >&5 | 12177 | echo "$as_me: failed program was:" >&5 |
| 11697 | sed 's/^/| /' conftest.$ac_ext >&5 | 12178 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 11698 | 12179 | ||
| 11699 | ac_header_compiler=no | 12180 | ac_header_compiler=no |
| 11700 | fi | 12181 | fi |
| 11701 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 12182 | |
| 11702 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 12183 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11703 | echo "${ECHO_T}$ac_header_compiler" >&6 | 12184 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 12185 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 11704 | 12186 | ||
| 11705 | # Is the header present? | 12187 | # Is the header present? |
| 11706 | echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5 | 12188 | { echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5 |
| 11707 | echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6 | 12189 | echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6; } |
| 11708 | cat >conftest.$ac_ext <<_ACEOF | 12190 | cat >conftest.$ac_ext <<_ACEOF |
| 11709 | /* confdefs.h. */ | 12191 | /* confdefs.h. */ |
| 11710 | _ACEOF | 12192 | _ACEOF |
| @@ -11713,24 +12195,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 11713 | /* end confdefs.h. */ | 12195 | /* end confdefs.h. */ |
| 11714 | #include <X11/xpm.h> | 12196 | #include <X11/xpm.h> |
| 11715 | _ACEOF | 12197 | _ACEOF |
| 11716 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 12198 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 11717 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 12199 | case "(($ac_try" in |
| 12200 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12201 | *) ac_try_echo=$ac_try;; | ||
| 12202 | esac | ||
| 12203 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 12204 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 11718 | ac_status=$? | 12205 | ac_status=$? |
| 11719 | grep -v '^ *+' conftest.er1 >conftest.err | 12206 | grep -v '^ *+' conftest.er1 >conftest.err |
| 11720 | rm -f conftest.er1 | 12207 | rm -f conftest.er1 |
| 11721 | cat conftest.err >&5 | 12208 | cat conftest.err >&5 |
| 11722 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12209 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11723 | (exit $ac_status); } >/dev/null; then | 12210 | (exit $ac_status); } >/dev/null && { |
| 11724 | if test -s conftest.err; then | 12211 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 11725 | ac_cpp_err=$ac_c_preproc_warn_flag | 12212 | test ! -s conftest.err |
| 11726 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 12213 | }; then |
| 11727 | else | ||
| 11728 | ac_cpp_err= | ||
| 11729 | fi | ||
| 11730 | else | ||
| 11731 | ac_cpp_err=yes | ||
| 11732 | fi | ||
| 11733 | if test -z "$ac_cpp_err"; then | ||
| 11734 | ac_header_preproc=yes | 12214 | ac_header_preproc=yes |
| 11735 | else | 12215 | else |
| 11736 | echo "$as_me: failed program was:" >&5 | 12216 | echo "$as_me: failed program was:" >&5 |
| @@ -11738,9 +12218,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 11738 | 12218 | ||
| 11739 | ac_header_preproc=no | 12219 | ac_header_preproc=no |
| 11740 | fi | 12220 | fi |
| 12221 | |||
| 11741 | rm -f conftest.err conftest.$ac_ext | 12222 | rm -f conftest.err conftest.$ac_ext |
| 11742 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 12223 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 11743 | echo "${ECHO_T}$ac_header_preproc" >&6 | 12224 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 11744 | 12225 | ||
| 11745 | # So? What about this header? | 12226 | # So? What about this header? |
| 11746 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 12227 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -11764,30 +12245,23 @@ echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\" | |||
| 11764 | echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;} | 12245 | echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;} |
| 11765 | { echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5 | 12246 | { echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5 |
| 11766 | echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;} | 12247 | echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;} |
| 11767 | ( | 12248 | |
| 11768 | cat <<\_ASBOX | ||
| 11769 | ## ------------------------------------------ ## | ||
| 11770 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 11771 | ## ------------------------------------------ ## | ||
| 11772 | _ASBOX | ||
| 11773 | ) | | ||
| 11774 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 11775 | ;; | 12249 | ;; |
| 11776 | esac | 12250 | esac |
| 11777 | echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 | 12251 | { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 |
| 11778 | echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 | 12252 | echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; } |
| 11779 | if test "${ac_cv_header_X11_xpm_h+set}" = set; then | 12253 | if test "${ac_cv_header_X11_xpm_h+set}" = set; then |
| 11780 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12254 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11781 | else | 12255 | else |
| 11782 | ac_cv_header_X11_xpm_h=$ac_header_preproc | 12256 | ac_cv_header_X11_xpm_h=$ac_header_preproc |
| 11783 | fi | 12257 | fi |
| 11784 | echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 | 12258 | { echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 |
| 11785 | echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 | 12259 | echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; } |
| 11786 | 12260 | ||
| 11787 | fi | 12261 | fi |
| 11788 | if test $ac_cv_header_X11_xpm_h = yes; then | 12262 | if test $ac_cv_header_X11_xpm_h = yes; then |
| 11789 | echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5 | 12263 | { echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5 |
| 11790 | echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 | 12264 | echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6; } |
| 11791 | if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then | 12265 | if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then |
| 11792 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12266 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11793 | else | 12267 | else |
| @@ -11800,55 +12274,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 11800 | cat >>conftest.$ac_ext <<_ACEOF | 12274 | cat >>conftest.$ac_ext <<_ACEOF |
| 11801 | /* end confdefs.h. */ | 12275 | /* end confdefs.h. */ |
| 11802 | 12276 | ||
| 11803 | /* Override any gcc2 internal prototype to avoid an error. */ | 12277 | /* Override any GCC internal prototype to avoid an error. |
| 12278 | Use char because int might match the return type of a GCC | ||
| 12279 | builtin and then its argument prototype would still apply. */ | ||
| 11804 | #ifdef __cplusplus | 12280 | #ifdef __cplusplus |
| 11805 | extern "C" | 12281 | extern "C" |
| 11806 | #endif | 12282 | #endif |
| 11807 | /* We use char because int might match the return type of a gcc2 | ||
| 11808 | builtin and then its argument prototype would still apply. */ | ||
| 11809 | char XpmReadFileToPixmap (); | 12283 | char XpmReadFileToPixmap (); |
| 11810 | int | 12284 | int |
| 11811 | main () | 12285 | main () |
| 11812 | { | 12286 | { |
| 11813 | XpmReadFileToPixmap (); | 12287 | return XpmReadFileToPixmap (); |
| 11814 | ; | 12288 | ; |
| 11815 | return 0; | 12289 | return 0; |
| 11816 | } | 12290 | } |
| 11817 | _ACEOF | 12291 | _ACEOF |
| 11818 | rm -f conftest.$ac_objext conftest$ac_exeext | 12292 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 11819 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 12293 | if { (ac_try="$ac_link" |
| 11820 | (eval $ac_link) 2>conftest.er1 | 12294 | case "(($ac_try" in |
| 12295 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12296 | *) ac_try_echo=$ac_try;; | ||
| 12297 | esac | ||
| 12298 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 12299 | (eval "$ac_link") 2>conftest.er1 | ||
| 11821 | ac_status=$? | 12300 | ac_status=$? |
| 11822 | grep -v '^ *+' conftest.er1 >conftest.err | 12301 | grep -v '^ *+' conftest.er1 >conftest.err |
| 11823 | rm -f conftest.er1 | 12302 | rm -f conftest.er1 |
| 11824 | cat conftest.err >&5 | 12303 | cat conftest.err >&5 |
| 11825 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12304 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11826 | (exit $ac_status); } && | 12305 | (exit $ac_status); } && { |
| 11827 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 12306 | test -z "$ac_c_werror_flag" || |
| 11828 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12307 | test ! -s conftest.err |
| 11829 | (eval $ac_try) 2>&5 | 12308 | } && test -s conftest$ac_exeext && |
| 11830 | ac_status=$? | 12309 | $as_test_x conftest$ac_exeext; then |
| 11831 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11832 | (exit $ac_status); }; } && | ||
| 11833 | { ac_try='test -s conftest$ac_exeext' | ||
| 11834 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11835 | (eval $ac_try) 2>&5 | ||
| 11836 | ac_status=$? | ||
| 11837 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11838 | (exit $ac_status); }; }; then | ||
| 11839 | ac_cv_lib_Xpm_XpmReadFileToPixmap=yes | 12310 | ac_cv_lib_Xpm_XpmReadFileToPixmap=yes |
| 11840 | else | 12311 | else |
| 11841 | echo "$as_me: failed program was:" >&5 | 12312 | echo "$as_me: failed program was:" >&5 |
| 11842 | sed 's/^/| /' conftest.$ac_ext >&5 | 12313 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 11843 | 12314 | ||
| 11844 | ac_cv_lib_Xpm_XpmReadFileToPixmap=no | 12315 | ac_cv_lib_Xpm_XpmReadFileToPixmap=no |
| 11845 | fi | 12316 | fi |
| 11846 | rm -f conftest.err conftest.$ac_objext \ | 12317 | |
| 12318 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 11847 | conftest$ac_exeext conftest.$ac_ext | 12319 | conftest$ac_exeext conftest.$ac_ext |
| 11848 | LIBS=$ac_check_lib_save_LIBS | 12320 | LIBS=$ac_check_lib_save_LIBS |
| 11849 | fi | 12321 | fi |
| 11850 | echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 | 12322 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 |
| 11851 | echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 | 12323 | echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } |
| 11852 | if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then | 12324 | if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then |
| 11853 | HAVE_XPM=yes | 12325 | HAVE_XPM=yes |
| 11854 | fi | 12326 | fi |
| @@ -11857,8 +12329,8 @@ fi | |||
| 11857 | 12329 | ||
| 11858 | 12330 | ||
| 11859 | if test "${HAVE_XPM}" = "yes"; then | 12331 | if test "${HAVE_XPM}" = "yes"; then |
| 11860 | echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 | 12332 | { echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 |
| 11861 | echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 | 12333 | echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6; } |
| 11862 | cat >conftest.$ac_ext <<_ACEOF | 12334 | cat >conftest.$ac_ext <<_ACEOF |
| 11863 | /* confdefs.h. */ | 12335 | /* confdefs.h. */ |
| 11864 | _ACEOF | 12336 | _ACEOF |
| @@ -11881,11 +12353,11 @@ rm -f conftest* | |||
| 11881 | 12353 | ||
| 11882 | 12354 | ||
| 11883 | if test "${HAVE_XPM}" = "yes"; then | 12355 | if test "${HAVE_XPM}" = "yes"; then |
| 11884 | echo "$as_me:$LINENO: result: yes" >&5 | 12356 | { echo "$as_me:$LINENO: result: yes" >&5 |
| 11885 | echo "${ECHO_T}yes" >&6 | 12357 | echo "${ECHO_T}yes" >&6; } |
| 11886 | else | 12358 | else |
| 11887 | echo "$as_me:$LINENO: result: no" >&5 | 12359 | { echo "$as_me:$LINENO: result: no" >&5 |
| 11888 | echo "${ECHO_T}no" >&6 | 12360 | echo "${ECHO_T}no" >&6; } |
| 11889 | fi | 12361 | fi |
| 11890 | fi | 12362 | fi |
| 11891 | fi | 12363 | fi |
| @@ -11904,17 +12376,17 @@ HAVE_JPEG=no | |||
| 11904 | if test "${HAVE_X11}" = "yes"; then | 12376 | if test "${HAVE_X11}" = "yes"; then |
| 11905 | if test "${with_jpeg}" != "no"; then | 12377 | if test "${with_jpeg}" != "no"; then |
| 11906 | if test "${ac_cv_header_jerror_h+set}" = set; then | 12378 | if test "${ac_cv_header_jerror_h+set}" = set; then |
| 11907 | echo "$as_me:$LINENO: checking for jerror.h" >&5 | 12379 | { echo "$as_me:$LINENO: checking for jerror.h" >&5 |
| 11908 | echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 | 12380 | echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6; } |
| 11909 | if test "${ac_cv_header_jerror_h+set}" = set; then | 12381 | if test "${ac_cv_header_jerror_h+set}" = set; then |
| 11910 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12382 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 11911 | fi | 12383 | fi |
| 11912 | echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 | 12384 | { echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 |
| 11913 | echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 | 12385 | echo "${ECHO_T}$ac_cv_header_jerror_h" >&6; } |
| 11914 | else | 12386 | else |
| 11915 | # Is the header compilable? | 12387 | # Is the header compilable? |
| 11916 | echo "$as_me:$LINENO: checking jerror.h usability" >&5 | 12388 | { echo "$as_me:$LINENO: checking jerror.h usability" >&5 |
| 11917 | echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6 | 12389 | echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6; } |
| 11918 | cat >conftest.$ac_ext <<_ACEOF | 12390 | cat >conftest.$ac_ext <<_ACEOF |
| 11919 | /* confdefs.h. */ | 12391 | /* confdefs.h. */ |
| 11920 | _ACEOF | 12392 | _ACEOF |
| @@ -11925,40 +12397,37 @@ $ac_includes_default | |||
| 11925 | #include <jerror.h> | 12397 | #include <jerror.h> |
| 11926 | _ACEOF | 12398 | _ACEOF |
| 11927 | rm -f conftest.$ac_objext | 12399 | rm -f conftest.$ac_objext |
| 11928 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 12400 | if { (ac_try="$ac_compile" |
| 11929 | (eval $ac_compile) 2>conftest.er1 | 12401 | case "(($ac_try" in |
| 12402 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12403 | *) ac_try_echo=$ac_try;; | ||
| 12404 | esac | ||
| 12405 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 12406 | (eval "$ac_compile") 2>conftest.er1 | ||
| 11930 | ac_status=$? | 12407 | ac_status=$? |
| 11931 | grep -v '^ *+' conftest.er1 >conftest.err | 12408 | grep -v '^ *+' conftest.er1 >conftest.err |
| 11932 | rm -f conftest.er1 | 12409 | rm -f conftest.er1 |
| 11933 | cat conftest.err >&5 | 12410 | cat conftest.err >&5 |
| 11934 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12411 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11935 | (exit $ac_status); } && | 12412 | (exit $ac_status); } && { |
| 11936 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 12413 | test -z "$ac_c_werror_flag" || |
| 11937 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12414 | test ! -s conftest.err |
| 11938 | (eval $ac_try) 2>&5 | 12415 | } && test -s conftest.$ac_objext; then |
| 11939 | ac_status=$? | ||
| 11940 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11941 | (exit $ac_status); }; } && | ||
| 11942 | { ac_try='test -s conftest.$ac_objext' | ||
| 11943 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 11944 | (eval $ac_try) 2>&5 | ||
| 11945 | ac_status=$? | ||
| 11946 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 11947 | (exit $ac_status); }; }; then | ||
| 11948 | ac_header_compiler=yes | 12416 | ac_header_compiler=yes |
| 11949 | else | 12417 | else |
| 11950 | echo "$as_me: failed program was:" >&5 | 12418 | echo "$as_me: failed program was:" >&5 |
| 11951 | sed 's/^/| /' conftest.$ac_ext >&5 | 12419 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 11952 | 12420 | ||
| 11953 | ac_header_compiler=no | 12421 | ac_header_compiler=no |
| 11954 | fi | 12422 | fi |
| 11955 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 12423 | |
| 11956 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 12424 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 11957 | echo "${ECHO_T}$ac_header_compiler" >&6 | 12425 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 12426 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 11958 | 12427 | ||
| 11959 | # Is the header present? | 12428 | # Is the header present? |
| 11960 | echo "$as_me:$LINENO: checking jerror.h presence" >&5 | 12429 | { echo "$as_me:$LINENO: checking jerror.h presence" >&5 |
| 11961 | echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6 | 12430 | echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6; } |
| 11962 | cat >conftest.$ac_ext <<_ACEOF | 12431 | cat >conftest.$ac_ext <<_ACEOF |
| 11963 | /* confdefs.h. */ | 12432 | /* confdefs.h. */ |
| 11964 | _ACEOF | 12433 | _ACEOF |
| @@ -11967,24 +12436,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 11967 | /* end confdefs.h. */ | 12436 | /* end confdefs.h. */ |
| 11968 | #include <jerror.h> | 12437 | #include <jerror.h> |
| 11969 | _ACEOF | 12438 | _ACEOF |
| 11970 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 12439 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 11971 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 12440 | case "(($ac_try" in |
| 12441 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12442 | *) ac_try_echo=$ac_try;; | ||
| 12443 | esac | ||
| 12444 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 12445 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 11972 | ac_status=$? | 12446 | ac_status=$? |
| 11973 | grep -v '^ *+' conftest.er1 >conftest.err | 12447 | grep -v '^ *+' conftest.er1 >conftest.err |
| 11974 | rm -f conftest.er1 | 12448 | rm -f conftest.er1 |
| 11975 | cat conftest.err >&5 | 12449 | cat conftest.err >&5 |
| 11976 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12450 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 11977 | (exit $ac_status); } >/dev/null; then | 12451 | (exit $ac_status); } >/dev/null && { |
| 11978 | if test -s conftest.err; then | 12452 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 11979 | ac_cpp_err=$ac_c_preproc_warn_flag | 12453 | test ! -s conftest.err |
| 11980 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 12454 | }; then |
| 11981 | else | ||
| 11982 | ac_cpp_err= | ||
| 11983 | fi | ||
| 11984 | else | ||
| 11985 | ac_cpp_err=yes | ||
| 11986 | fi | ||
| 11987 | if test -z "$ac_cpp_err"; then | ||
| 11988 | ac_header_preproc=yes | 12455 | ac_header_preproc=yes |
| 11989 | else | 12456 | else |
| 11990 | echo "$as_me: failed program was:" >&5 | 12457 | echo "$as_me: failed program was:" >&5 |
| @@ -11992,9 +12459,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 11992 | 12459 | ||
| 11993 | ac_header_preproc=no | 12460 | ac_header_preproc=no |
| 11994 | fi | 12461 | fi |
| 12462 | |||
| 11995 | rm -f conftest.err conftest.$ac_ext | 12463 | rm -f conftest.err conftest.$ac_ext |
| 11996 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 12464 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 11997 | echo "${ECHO_T}$ac_header_preproc" >&6 | 12465 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 11998 | 12466 | ||
| 11999 | # So? What about this header? | 12467 | # So? What about this header? |
| 12000 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 12468 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -12018,30 +12486,23 @@ echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" | |||
| 12018 | echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;} | 12486 | echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;} |
| 12019 | { echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5 | 12487 | { echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5 |
| 12020 | echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;} | 12488 | echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;} |
| 12021 | ( | 12489 | |
| 12022 | cat <<\_ASBOX | ||
| 12023 | ## ------------------------------------------ ## | ||
| 12024 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 12025 | ## ------------------------------------------ ## | ||
| 12026 | _ASBOX | ||
| 12027 | ) | | ||
| 12028 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 12029 | ;; | 12490 | ;; |
| 12030 | esac | 12491 | esac |
| 12031 | echo "$as_me:$LINENO: checking for jerror.h" >&5 | 12492 | { echo "$as_me:$LINENO: checking for jerror.h" >&5 |
| 12032 | echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 | 12493 | echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6; } |
| 12033 | if test "${ac_cv_header_jerror_h+set}" = set; then | 12494 | if test "${ac_cv_header_jerror_h+set}" = set; then |
| 12034 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12495 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12035 | else | 12496 | else |
| 12036 | ac_cv_header_jerror_h=$ac_header_preproc | 12497 | ac_cv_header_jerror_h=$ac_header_preproc |
| 12037 | fi | 12498 | fi |
| 12038 | echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 | 12499 | { echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 |
| 12039 | echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 | 12500 | echo "${ECHO_T}$ac_cv_header_jerror_h" >&6; } |
| 12040 | 12501 | ||
| 12041 | fi | 12502 | fi |
| 12042 | if test $ac_cv_header_jerror_h = yes; then | 12503 | if test $ac_cv_header_jerror_h = yes; then |
| 12043 | echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5 | 12504 | { echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5 |
| 12044 | echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 | 12505 | echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6; } |
| 12045 | if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then | 12506 | if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then |
| 12046 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12507 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12047 | else | 12508 | else |
| @@ -12054,55 +12515,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 12054 | cat >>conftest.$ac_ext <<_ACEOF | 12515 | cat >>conftest.$ac_ext <<_ACEOF |
| 12055 | /* end confdefs.h. */ | 12516 | /* end confdefs.h. */ |
| 12056 | 12517 | ||
| 12057 | /* Override any gcc2 internal prototype to avoid an error. */ | 12518 | /* Override any GCC internal prototype to avoid an error. |
| 12519 | Use char because int might match the return type of a GCC | ||
| 12520 | builtin and then its argument prototype would still apply. */ | ||
| 12058 | #ifdef __cplusplus | 12521 | #ifdef __cplusplus |
| 12059 | extern "C" | 12522 | extern "C" |
| 12060 | #endif | 12523 | #endif |
| 12061 | /* We use char because int might match the return type of a gcc2 | ||
| 12062 | builtin and then its argument prototype would still apply. */ | ||
| 12063 | char jpeg_destroy_compress (); | 12524 | char jpeg_destroy_compress (); |
| 12064 | int | 12525 | int |
| 12065 | main () | 12526 | main () |
| 12066 | { | 12527 | { |
| 12067 | jpeg_destroy_compress (); | 12528 | return jpeg_destroy_compress (); |
| 12068 | ; | 12529 | ; |
| 12069 | return 0; | 12530 | return 0; |
| 12070 | } | 12531 | } |
| 12071 | _ACEOF | 12532 | _ACEOF |
| 12072 | rm -f conftest.$ac_objext conftest$ac_exeext | 12533 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 12073 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 12534 | if { (ac_try="$ac_link" |
| 12074 | (eval $ac_link) 2>conftest.er1 | 12535 | case "(($ac_try" in |
| 12536 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12537 | *) ac_try_echo=$ac_try;; | ||
| 12538 | esac | ||
| 12539 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 12540 | (eval "$ac_link") 2>conftest.er1 | ||
| 12075 | ac_status=$? | 12541 | ac_status=$? |
| 12076 | grep -v '^ *+' conftest.er1 >conftest.err | 12542 | grep -v '^ *+' conftest.er1 >conftest.err |
| 12077 | rm -f conftest.er1 | 12543 | rm -f conftest.er1 |
| 12078 | cat conftest.err >&5 | 12544 | cat conftest.err >&5 |
| 12079 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12545 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12080 | (exit $ac_status); } && | 12546 | (exit $ac_status); } && { |
| 12081 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 12547 | test -z "$ac_c_werror_flag" || |
| 12082 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12548 | test ! -s conftest.err |
| 12083 | (eval $ac_try) 2>&5 | 12549 | } && test -s conftest$ac_exeext && |
| 12084 | ac_status=$? | 12550 | $as_test_x conftest$ac_exeext; then |
| 12085 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12086 | (exit $ac_status); }; } && | ||
| 12087 | { ac_try='test -s conftest$ac_exeext' | ||
| 12088 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 12089 | (eval $ac_try) 2>&5 | ||
| 12090 | ac_status=$? | ||
| 12091 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12092 | (exit $ac_status); }; }; then | ||
| 12093 | ac_cv_lib_jpeg_jpeg_destroy_compress=yes | 12551 | ac_cv_lib_jpeg_jpeg_destroy_compress=yes |
| 12094 | else | 12552 | else |
| 12095 | echo "$as_me: failed program was:" >&5 | 12553 | echo "$as_me: failed program was:" >&5 |
| 12096 | sed 's/^/| /' conftest.$ac_ext >&5 | 12554 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 12097 | 12555 | ||
| 12098 | ac_cv_lib_jpeg_jpeg_destroy_compress=no | 12556 | ac_cv_lib_jpeg_jpeg_destroy_compress=no |
| 12099 | fi | 12557 | fi |
| 12100 | rm -f conftest.err conftest.$ac_objext \ | 12558 | |
| 12559 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12101 | conftest$ac_exeext conftest.$ac_ext | 12560 | conftest$ac_exeext conftest.$ac_ext |
| 12102 | LIBS=$ac_check_lib_save_LIBS | 12561 | LIBS=$ac_check_lib_save_LIBS |
| 12103 | fi | 12562 | fi |
| 12104 | echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 | 12563 | { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 |
| 12105 | echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 | 12564 | echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } |
| 12106 | if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then | 12565 | if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then |
| 12107 | HAVE_JPEG=yes | 12566 | HAVE_JPEG=yes |
| 12108 | fi | 12567 | fi |
| @@ -12155,18 +12614,19 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 12155 | for ac_header in png.h libpng/png.h | 12614 | for ac_header in png.h libpng/png.h |
| 12156 | do | 12615 | do |
| 12157 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12616 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 12158 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 12617 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 12159 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 12618 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 12160 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 12619 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 12161 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 12620 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 12162 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12621 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12163 | fi | 12622 | fi |
| 12164 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 12623 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 12165 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 12624 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 12625 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 12166 | else | 12626 | else |
| 12167 | # Is the header compilable? | 12627 | # Is the header compilable? |
| 12168 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 12628 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 12169 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 12629 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 12170 | cat >conftest.$ac_ext <<_ACEOF | 12630 | cat >conftest.$ac_ext <<_ACEOF |
| 12171 | /* confdefs.h. */ | 12631 | /* confdefs.h. */ |
| 12172 | _ACEOF | 12632 | _ACEOF |
| @@ -12177,40 +12637,37 @@ $ac_includes_default | |||
| 12177 | #include <$ac_header> | 12637 | #include <$ac_header> |
| 12178 | _ACEOF | 12638 | _ACEOF |
| 12179 | rm -f conftest.$ac_objext | 12639 | rm -f conftest.$ac_objext |
| 12180 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 12640 | if { (ac_try="$ac_compile" |
| 12181 | (eval $ac_compile) 2>conftest.er1 | 12641 | case "(($ac_try" in |
| 12642 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12643 | *) ac_try_echo=$ac_try;; | ||
| 12644 | esac | ||
| 12645 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 12646 | (eval "$ac_compile") 2>conftest.er1 | ||
| 12182 | ac_status=$? | 12647 | ac_status=$? |
| 12183 | grep -v '^ *+' conftest.er1 >conftest.err | 12648 | grep -v '^ *+' conftest.er1 >conftest.err |
| 12184 | rm -f conftest.er1 | 12649 | rm -f conftest.er1 |
| 12185 | cat conftest.err >&5 | 12650 | cat conftest.err >&5 |
| 12186 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12651 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12187 | (exit $ac_status); } && | 12652 | (exit $ac_status); } && { |
| 12188 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 12653 | test -z "$ac_c_werror_flag" || |
| 12189 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12654 | test ! -s conftest.err |
| 12190 | (eval $ac_try) 2>&5 | 12655 | } && test -s conftest.$ac_objext; then |
| 12191 | ac_status=$? | ||
| 12192 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12193 | (exit $ac_status); }; } && | ||
| 12194 | { ac_try='test -s conftest.$ac_objext' | ||
| 12195 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 12196 | (eval $ac_try) 2>&5 | ||
| 12197 | ac_status=$? | ||
| 12198 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12199 | (exit $ac_status); }; }; then | ||
| 12200 | ac_header_compiler=yes | 12656 | ac_header_compiler=yes |
| 12201 | else | 12657 | else |
| 12202 | echo "$as_me: failed program was:" >&5 | 12658 | echo "$as_me: failed program was:" >&5 |
| 12203 | sed 's/^/| /' conftest.$ac_ext >&5 | 12659 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 12204 | 12660 | ||
| 12205 | ac_header_compiler=no | 12661 | ac_header_compiler=no |
| 12206 | fi | 12662 | fi |
| 12207 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 12663 | |
| 12208 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 12664 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12209 | echo "${ECHO_T}$ac_header_compiler" >&6 | 12665 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 12666 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 12210 | 12667 | ||
| 12211 | # Is the header present? | 12668 | # Is the header present? |
| 12212 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 12669 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 12213 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 12670 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 12214 | cat >conftest.$ac_ext <<_ACEOF | 12671 | cat >conftest.$ac_ext <<_ACEOF |
| 12215 | /* confdefs.h. */ | 12672 | /* confdefs.h. */ |
| 12216 | _ACEOF | 12673 | _ACEOF |
| @@ -12219,24 +12676,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 12219 | /* end confdefs.h. */ | 12676 | /* end confdefs.h. */ |
| 12220 | #include <$ac_header> | 12677 | #include <$ac_header> |
| 12221 | _ACEOF | 12678 | _ACEOF |
| 12222 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 12679 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 12223 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 12680 | case "(($ac_try" in |
| 12681 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12682 | *) ac_try_echo=$ac_try;; | ||
| 12683 | esac | ||
| 12684 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 12685 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 12224 | ac_status=$? | 12686 | ac_status=$? |
| 12225 | grep -v '^ *+' conftest.er1 >conftest.err | 12687 | grep -v '^ *+' conftest.er1 >conftest.err |
| 12226 | rm -f conftest.er1 | 12688 | rm -f conftest.er1 |
| 12227 | cat conftest.err >&5 | 12689 | cat conftest.err >&5 |
| 12228 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12690 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12229 | (exit $ac_status); } >/dev/null; then | 12691 | (exit $ac_status); } >/dev/null && { |
| 12230 | if test -s conftest.err; then | 12692 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 12231 | ac_cpp_err=$ac_c_preproc_warn_flag | 12693 | test ! -s conftest.err |
| 12232 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 12694 | }; then |
| 12233 | else | ||
| 12234 | ac_cpp_err= | ||
| 12235 | fi | ||
| 12236 | else | ||
| 12237 | ac_cpp_err=yes | ||
| 12238 | fi | ||
| 12239 | if test -z "$ac_cpp_err"; then | ||
| 12240 | ac_header_preproc=yes | 12695 | ac_header_preproc=yes |
| 12241 | else | 12696 | else |
| 12242 | echo "$as_me: failed program was:" >&5 | 12697 | echo "$as_me: failed program was:" >&5 |
| @@ -12244,9 +12699,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 12244 | 12699 | ||
| 12245 | ac_header_preproc=no | 12700 | ac_header_preproc=no |
| 12246 | fi | 12701 | fi |
| 12702 | |||
| 12247 | rm -f conftest.err conftest.$ac_ext | 12703 | rm -f conftest.err conftest.$ac_ext |
| 12248 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 12704 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 12249 | echo "${ECHO_T}$ac_header_preproc" >&6 | 12705 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 12250 | 12706 | ||
| 12251 | # So? What about this header? | 12707 | # So? What about this header? |
| 12252 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 12708 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -12270,25 +12726,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 12270 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 12726 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 12271 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 12727 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 12272 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 12728 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 12273 | ( | 12729 | |
| 12274 | cat <<\_ASBOX | ||
| 12275 | ## ------------------------------------------ ## | ||
| 12276 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 12277 | ## ------------------------------------------ ## | ||
| 12278 | _ASBOX | ||
| 12279 | ) | | ||
| 12280 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 12281 | ;; | 12730 | ;; |
| 12282 | esac | 12731 | esac |
| 12283 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 12732 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 12284 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 12733 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 12285 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 12734 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 12286 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12735 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12287 | else | 12736 | else |
| 12288 | eval "$as_ac_Header=\$ac_header_preproc" | 12737 | eval "$as_ac_Header=\$ac_header_preproc" |
| 12289 | fi | 12738 | fi |
| 12290 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 12739 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 12291 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 12740 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 12741 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 12292 | 12742 | ||
| 12293 | fi | 12743 | fi |
| 12294 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 12744 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| @@ -12301,8 +12751,8 @@ fi | |||
| 12301 | done | 12751 | done |
| 12302 | 12752 | ||
| 12303 | if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then | 12753 | if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then |
| 12304 | echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 | 12754 | { echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 |
| 12305 | echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 | 12755 | echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6; } |
| 12306 | if test "${ac_cv_lib_png_png_get_channels+set}" = set; then | 12756 | if test "${ac_cv_lib_png_png_get_channels+set}" = set; then |
| 12307 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12757 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12308 | else | 12758 | else |
| @@ -12315,55 +12765,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 12315 | cat >>conftest.$ac_ext <<_ACEOF | 12765 | cat >>conftest.$ac_ext <<_ACEOF |
| 12316 | /* end confdefs.h. */ | 12766 | /* end confdefs.h. */ |
| 12317 | 12767 | ||
| 12318 | /* Override any gcc2 internal prototype to avoid an error. */ | 12768 | /* Override any GCC internal prototype to avoid an error. |
| 12769 | Use char because int might match the return type of a GCC | ||
| 12770 | builtin and then its argument prototype would still apply. */ | ||
| 12319 | #ifdef __cplusplus | 12771 | #ifdef __cplusplus |
| 12320 | extern "C" | 12772 | extern "C" |
| 12321 | #endif | 12773 | #endif |
| 12322 | /* We use char because int might match the return type of a gcc2 | ||
| 12323 | builtin and then its argument prototype would still apply. */ | ||
| 12324 | char png_get_channels (); | 12774 | char png_get_channels (); |
| 12325 | int | 12775 | int |
| 12326 | main () | 12776 | main () |
| 12327 | { | 12777 | { |
| 12328 | png_get_channels (); | 12778 | return png_get_channels (); |
| 12329 | ; | 12779 | ; |
| 12330 | return 0; | 12780 | return 0; |
| 12331 | } | 12781 | } |
| 12332 | _ACEOF | 12782 | _ACEOF |
| 12333 | rm -f conftest.$ac_objext conftest$ac_exeext | 12783 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 12334 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 12784 | if { (ac_try="$ac_link" |
| 12335 | (eval $ac_link) 2>conftest.er1 | 12785 | case "(($ac_try" in |
| 12786 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12787 | *) ac_try_echo=$ac_try;; | ||
| 12788 | esac | ||
| 12789 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 12790 | (eval "$ac_link") 2>conftest.er1 | ||
| 12336 | ac_status=$? | 12791 | ac_status=$? |
| 12337 | grep -v '^ *+' conftest.er1 >conftest.err | 12792 | grep -v '^ *+' conftest.er1 >conftest.err |
| 12338 | rm -f conftest.er1 | 12793 | rm -f conftest.er1 |
| 12339 | cat conftest.err >&5 | 12794 | cat conftest.err >&5 |
| 12340 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12341 | (exit $ac_status); } && | 12796 | (exit $ac_status); } && { |
| 12342 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 12797 | test -z "$ac_c_werror_flag" || |
| 12343 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12798 | test ! -s conftest.err |
| 12344 | (eval $ac_try) 2>&5 | 12799 | } && test -s conftest$ac_exeext && |
| 12345 | ac_status=$? | 12800 | $as_test_x conftest$ac_exeext; then |
| 12346 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12347 | (exit $ac_status); }; } && | ||
| 12348 | { ac_try='test -s conftest$ac_exeext' | ||
| 12349 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 12350 | (eval $ac_try) 2>&5 | ||
| 12351 | ac_status=$? | ||
| 12352 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12353 | (exit $ac_status); }; }; then | ||
| 12354 | ac_cv_lib_png_png_get_channels=yes | 12801 | ac_cv_lib_png_png_get_channels=yes |
| 12355 | else | 12802 | else |
| 12356 | echo "$as_me: failed program was:" >&5 | 12803 | echo "$as_me: failed program was:" >&5 |
| 12357 | sed 's/^/| /' conftest.$ac_ext >&5 | 12804 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 12358 | 12805 | ||
| 12359 | ac_cv_lib_png_png_get_channels=no | 12806 | ac_cv_lib_png_png_get_channels=no |
| 12360 | fi | 12807 | fi |
| 12361 | rm -f conftest.err conftest.$ac_objext \ | 12808 | |
| 12809 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12362 | conftest$ac_exeext conftest.$ac_ext | 12810 | conftest$ac_exeext conftest.$ac_ext |
| 12363 | LIBS=$ac_check_lib_save_LIBS | 12811 | LIBS=$ac_check_lib_save_LIBS |
| 12364 | fi | 12812 | fi |
| 12365 | echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 | 12813 | { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 |
| 12366 | echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 | 12814 | echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6; } |
| 12367 | if test $ac_cv_lib_png_png_get_channels = yes; then | 12815 | if test $ac_cv_lib_png_png_get_channels = yes; then |
| 12368 | HAVE_PNG=yes | 12816 | HAVE_PNG=yes |
| 12369 | fi | 12817 | fi |
| @@ -12385,17 +12833,17 @@ HAVE_TIFF=no | |||
| 12385 | if test "${HAVE_X11}" = "yes"; then | 12833 | if test "${HAVE_X11}" = "yes"; then |
| 12386 | if test "${with_tiff}" != "no"; then | 12834 | if test "${with_tiff}" != "no"; then |
| 12387 | if test "${ac_cv_header_tiffio_h+set}" = set; then | 12835 | if test "${ac_cv_header_tiffio_h+set}" = set; then |
| 12388 | echo "$as_me:$LINENO: checking for tiffio.h" >&5 | 12836 | { echo "$as_me:$LINENO: checking for tiffio.h" >&5 |
| 12389 | echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 | 12837 | echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; } |
| 12390 | if test "${ac_cv_header_tiffio_h+set}" = set; then | 12838 | if test "${ac_cv_header_tiffio_h+set}" = set; then |
| 12391 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12839 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12392 | fi | 12840 | fi |
| 12393 | echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 | 12841 | { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 |
| 12394 | echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 | 12842 | echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; } |
| 12395 | else | 12843 | else |
| 12396 | # Is the header compilable? | 12844 | # Is the header compilable? |
| 12397 | echo "$as_me:$LINENO: checking tiffio.h usability" >&5 | 12845 | { echo "$as_me:$LINENO: checking tiffio.h usability" >&5 |
| 12398 | echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6 | 12846 | echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6; } |
| 12399 | cat >conftest.$ac_ext <<_ACEOF | 12847 | cat >conftest.$ac_ext <<_ACEOF |
| 12400 | /* confdefs.h. */ | 12848 | /* confdefs.h. */ |
| 12401 | _ACEOF | 12849 | _ACEOF |
| @@ -12406,40 +12854,37 @@ $ac_includes_default | |||
| 12406 | #include <tiffio.h> | 12854 | #include <tiffio.h> |
| 12407 | _ACEOF | 12855 | _ACEOF |
| 12408 | rm -f conftest.$ac_objext | 12856 | rm -f conftest.$ac_objext |
| 12409 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 12857 | if { (ac_try="$ac_compile" |
| 12410 | (eval $ac_compile) 2>conftest.er1 | 12858 | case "(($ac_try" in |
| 12859 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12860 | *) ac_try_echo=$ac_try;; | ||
| 12861 | esac | ||
| 12862 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 12863 | (eval "$ac_compile") 2>conftest.er1 | ||
| 12411 | ac_status=$? | 12864 | ac_status=$? |
| 12412 | grep -v '^ *+' conftest.er1 >conftest.err | 12865 | grep -v '^ *+' conftest.er1 >conftest.err |
| 12413 | rm -f conftest.er1 | 12866 | rm -f conftest.er1 |
| 12414 | cat conftest.err >&5 | 12867 | cat conftest.err >&5 |
| 12415 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12868 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12416 | (exit $ac_status); } && | 12869 | (exit $ac_status); } && { |
| 12417 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 12870 | test -z "$ac_c_werror_flag" || |
| 12418 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12871 | test ! -s conftest.err |
| 12419 | (eval $ac_try) 2>&5 | 12872 | } && test -s conftest.$ac_objext; then |
| 12420 | ac_status=$? | ||
| 12421 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12422 | (exit $ac_status); }; } && | ||
| 12423 | { ac_try='test -s conftest.$ac_objext' | ||
| 12424 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 12425 | (eval $ac_try) 2>&5 | ||
| 12426 | ac_status=$? | ||
| 12427 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12428 | (exit $ac_status); }; }; then | ||
| 12429 | ac_header_compiler=yes | 12873 | ac_header_compiler=yes |
| 12430 | else | 12874 | else |
| 12431 | echo "$as_me: failed program was:" >&5 | 12875 | echo "$as_me: failed program was:" >&5 |
| 12432 | sed 's/^/| /' conftest.$ac_ext >&5 | 12876 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 12433 | 12877 | ||
| 12434 | ac_header_compiler=no | 12878 | ac_header_compiler=no |
| 12435 | fi | 12879 | fi |
| 12436 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 12880 | |
| 12437 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 12881 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12438 | echo "${ECHO_T}$ac_header_compiler" >&6 | 12882 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 12883 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 12439 | 12884 | ||
| 12440 | # Is the header present? | 12885 | # Is the header present? |
| 12441 | echo "$as_me:$LINENO: checking tiffio.h presence" >&5 | 12886 | { echo "$as_me:$LINENO: checking tiffio.h presence" >&5 |
| 12442 | echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6 | 12887 | echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6; } |
| 12443 | cat >conftest.$ac_ext <<_ACEOF | 12888 | cat >conftest.$ac_ext <<_ACEOF |
| 12444 | /* confdefs.h. */ | 12889 | /* confdefs.h. */ |
| 12445 | _ACEOF | 12890 | _ACEOF |
| @@ -12448,24 +12893,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 12448 | /* end confdefs.h. */ | 12893 | /* end confdefs.h. */ |
| 12449 | #include <tiffio.h> | 12894 | #include <tiffio.h> |
| 12450 | _ACEOF | 12895 | _ACEOF |
| 12451 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 12896 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 12452 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 12897 | case "(($ac_try" in |
| 12898 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12899 | *) ac_try_echo=$ac_try;; | ||
| 12900 | esac | ||
| 12901 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 12902 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 12453 | ac_status=$? | 12903 | ac_status=$? |
| 12454 | grep -v '^ *+' conftest.er1 >conftest.err | 12904 | grep -v '^ *+' conftest.er1 >conftest.err |
| 12455 | rm -f conftest.er1 | 12905 | rm -f conftest.er1 |
| 12456 | cat conftest.err >&5 | 12906 | cat conftest.err >&5 |
| 12457 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12907 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12458 | (exit $ac_status); } >/dev/null; then | 12908 | (exit $ac_status); } >/dev/null && { |
| 12459 | if test -s conftest.err; then | 12909 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 12460 | ac_cpp_err=$ac_c_preproc_warn_flag | 12910 | test ! -s conftest.err |
| 12461 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 12911 | }; then |
| 12462 | else | ||
| 12463 | ac_cpp_err= | ||
| 12464 | fi | ||
| 12465 | else | ||
| 12466 | ac_cpp_err=yes | ||
| 12467 | fi | ||
| 12468 | if test -z "$ac_cpp_err"; then | ||
| 12469 | ac_header_preproc=yes | 12912 | ac_header_preproc=yes |
| 12470 | else | 12913 | else |
| 12471 | echo "$as_me: failed program was:" >&5 | 12914 | echo "$as_me: failed program was:" >&5 |
| @@ -12473,9 +12916,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 12473 | 12916 | ||
| 12474 | ac_header_preproc=no | 12917 | ac_header_preproc=no |
| 12475 | fi | 12918 | fi |
| 12919 | |||
| 12476 | rm -f conftest.err conftest.$ac_ext | 12920 | rm -f conftest.err conftest.$ac_ext |
| 12477 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 12921 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 12478 | echo "${ECHO_T}$ac_header_preproc" >&6 | 12922 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 12479 | 12923 | ||
| 12480 | # So? What about this header? | 12924 | # So? What about this header? |
| 12481 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 12925 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -12499,33 +12943,26 @@ echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" | |||
| 12499 | echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} | 12943 | echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} |
| 12500 | { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5 | 12944 | { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5 |
| 12501 | echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;} | 12945 | echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;} |
| 12502 | ( | 12946 | |
| 12503 | cat <<\_ASBOX | ||
| 12504 | ## ------------------------------------------ ## | ||
| 12505 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 12506 | ## ------------------------------------------ ## | ||
| 12507 | _ASBOX | ||
| 12508 | ) | | ||
| 12509 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 12510 | ;; | 12947 | ;; |
| 12511 | esac | 12948 | esac |
| 12512 | echo "$as_me:$LINENO: checking for tiffio.h" >&5 | 12949 | { echo "$as_me:$LINENO: checking for tiffio.h" >&5 |
| 12513 | echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 | 12950 | echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; } |
| 12514 | if test "${ac_cv_header_tiffio_h+set}" = set; then | 12951 | if test "${ac_cv_header_tiffio_h+set}" = set; then |
| 12515 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12952 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12516 | else | 12953 | else |
| 12517 | ac_cv_header_tiffio_h=$ac_header_preproc | 12954 | ac_cv_header_tiffio_h=$ac_header_preproc |
| 12518 | fi | 12955 | fi |
| 12519 | echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 | 12956 | { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 |
| 12520 | echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 | 12957 | echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; } |
| 12521 | 12958 | ||
| 12522 | fi | 12959 | fi |
| 12523 | if test $ac_cv_header_tiffio_h = yes; then | 12960 | if test $ac_cv_header_tiffio_h = yes; then |
| 12524 | tifflibs="-lz -lm" | 12961 | tifflibs="-lz -lm" |
| 12525 | # At least one tiff package requires the jpeg library. | 12962 | # At least one tiff package requires the jpeg library. |
| 12526 | if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 12963 | if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
| 12527 | echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 | 12964 | { echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 |
| 12528 | echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 | 12965 | echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6; } |
| 12529 | if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then | 12966 | if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then |
| 12530 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12967 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12531 | else | 12968 | else |
| @@ -12538,55 +12975,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 12538 | cat >>conftest.$ac_ext <<_ACEOF | 12975 | cat >>conftest.$ac_ext <<_ACEOF |
| 12539 | /* end confdefs.h. */ | 12976 | /* end confdefs.h. */ |
| 12540 | 12977 | ||
| 12541 | /* Override any gcc2 internal prototype to avoid an error. */ | 12978 | /* Override any GCC internal prototype to avoid an error. |
| 12979 | Use char because int might match the return type of a GCC | ||
| 12980 | builtin and then its argument prototype would still apply. */ | ||
| 12542 | #ifdef __cplusplus | 12981 | #ifdef __cplusplus |
| 12543 | extern "C" | 12982 | extern "C" |
| 12544 | #endif | 12983 | #endif |
| 12545 | /* We use char because int might match the return type of a gcc2 | ||
| 12546 | builtin and then its argument prototype would still apply. */ | ||
| 12547 | char TIFFGetVersion (); | 12984 | char TIFFGetVersion (); |
| 12548 | int | 12985 | int |
| 12549 | main () | 12986 | main () |
| 12550 | { | 12987 | { |
| 12551 | TIFFGetVersion (); | 12988 | return TIFFGetVersion (); |
| 12552 | ; | 12989 | ; |
| 12553 | return 0; | 12990 | return 0; |
| 12554 | } | 12991 | } |
| 12555 | _ACEOF | 12992 | _ACEOF |
| 12556 | rm -f conftest.$ac_objext conftest$ac_exeext | 12993 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 12557 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 12994 | if { (ac_try="$ac_link" |
| 12558 | (eval $ac_link) 2>conftest.er1 | 12995 | case "(($ac_try" in |
| 12996 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 12997 | *) ac_try_echo=$ac_try;; | ||
| 12998 | esac | ||
| 12999 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 13000 | (eval "$ac_link") 2>conftest.er1 | ||
| 12559 | ac_status=$? | 13001 | ac_status=$? |
| 12560 | grep -v '^ *+' conftest.er1 >conftest.err | 13002 | grep -v '^ *+' conftest.er1 >conftest.err |
| 12561 | rm -f conftest.er1 | 13003 | rm -f conftest.er1 |
| 12562 | cat conftest.err >&5 | 13004 | cat conftest.err >&5 |
| 12563 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13005 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12564 | (exit $ac_status); } && | 13006 | (exit $ac_status); } && { |
| 12565 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 13007 | test -z "$ac_c_werror_flag" || |
| 12566 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13008 | test ! -s conftest.err |
| 12567 | (eval $ac_try) 2>&5 | 13009 | } && test -s conftest$ac_exeext && |
| 12568 | ac_status=$? | 13010 | $as_test_x conftest$ac_exeext; then |
| 12569 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12570 | (exit $ac_status); }; } && | ||
| 12571 | { ac_try='test -s conftest$ac_exeext' | ||
| 12572 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 12573 | (eval $ac_try) 2>&5 | ||
| 12574 | ac_status=$? | ||
| 12575 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12576 | (exit $ac_status); }; }; then | ||
| 12577 | ac_cv_lib_tiff_TIFFGetVersion=yes | 13011 | ac_cv_lib_tiff_TIFFGetVersion=yes |
| 12578 | else | 13012 | else |
| 12579 | echo "$as_me: failed program was:" >&5 | 13013 | echo "$as_me: failed program was:" >&5 |
| 12580 | sed 's/^/| /' conftest.$ac_ext >&5 | 13014 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 12581 | 13015 | ||
| 12582 | ac_cv_lib_tiff_TIFFGetVersion=no | 13016 | ac_cv_lib_tiff_TIFFGetVersion=no |
| 12583 | fi | 13017 | fi |
| 12584 | rm -f conftest.err conftest.$ac_objext \ | 13018 | |
| 13019 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12585 | conftest$ac_exeext conftest.$ac_ext | 13020 | conftest$ac_exeext conftest.$ac_ext |
| 12586 | LIBS=$ac_check_lib_save_LIBS | 13021 | LIBS=$ac_check_lib_save_LIBS |
| 12587 | fi | 13022 | fi |
| 12588 | echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 | 13023 | { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 |
| 12589 | echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 | 13024 | echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6; } |
| 12590 | if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then | 13025 | if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then |
| 12591 | HAVE_TIFF=yes | 13026 | HAVE_TIFF=yes |
| 12592 | fi | 13027 | fi |
| @@ -12610,17 +13045,17 @@ HAVE_GIF=no | |||
| 12610 | if test "${HAVE_X11}" = "yes"; then | 13045 | if test "${HAVE_X11}" = "yes"; then |
| 12611 | if test "${with_gif}" != "no"; then | 13046 | if test "${with_gif}" != "no"; then |
| 12612 | if test "${ac_cv_header_gif_lib_h+set}" = set; then | 13047 | if test "${ac_cv_header_gif_lib_h+set}" = set; then |
| 12613 | echo "$as_me:$LINENO: checking for gif_lib.h" >&5 | 13048 | { echo "$as_me:$LINENO: checking for gif_lib.h" >&5 |
| 12614 | echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 | 13049 | echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; } |
| 12615 | if test "${ac_cv_header_gif_lib_h+set}" = set; then | 13050 | if test "${ac_cv_header_gif_lib_h+set}" = set; then |
| 12616 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13051 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12617 | fi | 13052 | fi |
| 12618 | echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 | 13053 | { echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 |
| 12619 | echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 | 13054 | echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6; } |
| 12620 | else | 13055 | else |
| 12621 | # Is the header compilable? | 13056 | # Is the header compilable? |
| 12622 | echo "$as_me:$LINENO: checking gif_lib.h usability" >&5 | 13057 | { echo "$as_me:$LINENO: checking gif_lib.h usability" >&5 |
| 12623 | echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6 | 13058 | echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6; } |
| 12624 | cat >conftest.$ac_ext <<_ACEOF | 13059 | cat >conftest.$ac_ext <<_ACEOF |
| 12625 | /* confdefs.h. */ | 13060 | /* confdefs.h. */ |
| 12626 | _ACEOF | 13061 | _ACEOF |
| @@ -12631,40 +13066,37 @@ $ac_includes_default | |||
| 12631 | #include <gif_lib.h> | 13066 | #include <gif_lib.h> |
| 12632 | _ACEOF | 13067 | _ACEOF |
| 12633 | rm -f conftest.$ac_objext | 13068 | rm -f conftest.$ac_objext |
| 12634 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 13069 | if { (ac_try="$ac_compile" |
| 12635 | (eval $ac_compile) 2>conftest.er1 | 13070 | case "(($ac_try" in |
| 13071 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13072 | *) ac_try_echo=$ac_try;; | ||
| 13073 | esac | ||
| 13074 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 13075 | (eval "$ac_compile") 2>conftest.er1 | ||
| 12636 | ac_status=$? | 13076 | ac_status=$? |
| 12637 | grep -v '^ *+' conftest.er1 >conftest.err | 13077 | grep -v '^ *+' conftest.er1 >conftest.err |
| 12638 | rm -f conftest.er1 | 13078 | rm -f conftest.er1 |
| 12639 | cat conftest.err >&5 | 13079 | cat conftest.err >&5 |
| 12640 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13080 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12641 | (exit $ac_status); } && | 13081 | (exit $ac_status); } && { |
| 12642 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 13082 | test -z "$ac_c_werror_flag" || |
| 12643 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13083 | test ! -s conftest.err |
| 12644 | (eval $ac_try) 2>&5 | 13084 | } && test -s conftest.$ac_objext; then |
| 12645 | ac_status=$? | ||
| 12646 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12647 | (exit $ac_status); }; } && | ||
| 12648 | { ac_try='test -s conftest.$ac_objext' | ||
| 12649 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 12650 | (eval $ac_try) 2>&5 | ||
| 12651 | ac_status=$? | ||
| 12652 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12653 | (exit $ac_status); }; }; then | ||
| 12654 | ac_header_compiler=yes | 13085 | ac_header_compiler=yes |
| 12655 | else | 13086 | else |
| 12656 | echo "$as_me: failed program was:" >&5 | 13087 | echo "$as_me: failed program was:" >&5 |
| 12657 | sed 's/^/| /' conftest.$ac_ext >&5 | 13088 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 12658 | 13089 | ||
| 12659 | ac_header_compiler=no | 13090 | ac_header_compiler=no |
| 12660 | fi | 13091 | fi |
| 12661 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 13092 | |
| 12662 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 13093 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12663 | echo "${ECHO_T}$ac_header_compiler" >&6 | 13094 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 13095 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 12664 | 13096 | ||
| 12665 | # Is the header present? | 13097 | # Is the header present? |
| 12666 | echo "$as_me:$LINENO: checking gif_lib.h presence" >&5 | 13098 | { echo "$as_me:$LINENO: checking gif_lib.h presence" >&5 |
| 12667 | echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6 | 13099 | echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6; } |
| 12668 | cat >conftest.$ac_ext <<_ACEOF | 13100 | cat >conftest.$ac_ext <<_ACEOF |
| 12669 | /* confdefs.h. */ | 13101 | /* confdefs.h. */ |
| 12670 | _ACEOF | 13102 | _ACEOF |
| @@ -12673,24 +13105,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 12673 | /* end confdefs.h. */ | 13105 | /* end confdefs.h. */ |
| 12674 | #include <gif_lib.h> | 13106 | #include <gif_lib.h> |
| 12675 | _ACEOF | 13107 | _ACEOF |
| 12676 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 13108 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 12677 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 13109 | case "(($ac_try" in |
| 13110 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13111 | *) ac_try_echo=$ac_try;; | ||
| 13112 | esac | ||
| 13113 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 13114 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 12678 | ac_status=$? | 13115 | ac_status=$? |
| 12679 | grep -v '^ *+' conftest.er1 >conftest.err | 13116 | grep -v '^ *+' conftest.er1 >conftest.err |
| 12680 | rm -f conftest.er1 | 13117 | rm -f conftest.er1 |
| 12681 | cat conftest.err >&5 | 13118 | cat conftest.err >&5 |
| 12682 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12683 | (exit $ac_status); } >/dev/null; then | 13120 | (exit $ac_status); } >/dev/null && { |
| 12684 | if test -s conftest.err; then | 13121 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 12685 | ac_cpp_err=$ac_c_preproc_warn_flag | 13122 | test ! -s conftest.err |
| 12686 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 13123 | }; then |
| 12687 | else | ||
| 12688 | ac_cpp_err= | ||
| 12689 | fi | ||
| 12690 | else | ||
| 12691 | ac_cpp_err=yes | ||
| 12692 | fi | ||
| 12693 | if test -z "$ac_cpp_err"; then | ||
| 12694 | ac_header_preproc=yes | 13124 | ac_header_preproc=yes |
| 12695 | else | 13125 | else |
| 12696 | echo "$as_me: failed program was:" >&5 | 13126 | echo "$as_me: failed program was:" >&5 |
| @@ -12698,9 +13128,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 12698 | 13128 | ||
| 12699 | ac_header_preproc=no | 13129 | ac_header_preproc=no |
| 12700 | fi | 13130 | fi |
| 13131 | |||
| 12701 | rm -f conftest.err conftest.$ac_ext | 13132 | rm -f conftest.err conftest.$ac_ext |
| 12702 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 13133 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 12703 | echo "${ECHO_T}$ac_header_preproc" >&6 | 13134 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 12704 | 13135 | ||
| 12705 | # So? What about this header? | 13136 | # So? What about this header? |
| 12706 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 13137 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -12724,32 +13155,25 @@ echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\" | |||
| 12724 | echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;} | 13155 | echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;} |
| 12725 | { echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5 | 13156 | { echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5 |
| 12726 | echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;} | 13157 | echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;} |
| 12727 | ( | 13158 | |
| 12728 | cat <<\_ASBOX | ||
| 12729 | ## ------------------------------------------ ## | ||
| 12730 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 12731 | ## ------------------------------------------ ## | ||
| 12732 | _ASBOX | ||
| 12733 | ) | | ||
| 12734 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 12735 | ;; | 13159 | ;; |
| 12736 | esac | 13160 | esac |
| 12737 | echo "$as_me:$LINENO: checking for gif_lib.h" >&5 | 13161 | { echo "$as_me:$LINENO: checking for gif_lib.h" >&5 |
| 12738 | echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 | 13162 | echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; } |
| 12739 | if test "${ac_cv_header_gif_lib_h+set}" = set; then | 13163 | if test "${ac_cv_header_gif_lib_h+set}" = set; then |
| 12740 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13164 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12741 | else | 13165 | else |
| 12742 | ac_cv_header_gif_lib_h=$ac_header_preproc | 13166 | ac_cv_header_gif_lib_h=$ac_header_preproc |
| 12743 | fi | 13167 | fi |
| 12744 | echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 | 13168 | { echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 |
| 12745 | echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 | 13169 | echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6; } |
| 12746 | 13170 | ||
| 12747 | fi | 13171 | fi |
| 12748 | if test $ac_cv_header_gif_lib_h = yes; then | 13172 | if test $ac_cv_header_gif_lib_h = yes; then |
| 12749 | # EGifPutExtensionLast only exists from version libungif-4.1.0b1. | 13173 | # EGifPutExtensionLast only exists from version libungif-4.1.0b1. |
| 12750 | # Earlier versions can crash Emacs. | 13174 | # Earlier versions can crash Emacs. |
| 12751 | echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 | 13175 | { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 |
| 12752 | echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6 | 13176 | echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6; } |
| 12753 | if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then | 13177 | if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then |
| 12754 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13178 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12755 | else | 13179 | else |
| @@ -12762,55 +13186,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 12762 | cat >>conftest.$ac_ext <<_ACEOF | 13186 | cat >>conftest.$ac_ext <<_ACEOF |
| 12763 | /* end confdefs.h. */ | 13187 | /* end confdefs.h. */ |
| 12764 | 13188 | ||
| 12765 | /* Override any gcc2 internal prototype to avoid an error. */ | 13189 | /* Override any GCC internal prototype to avoid an error. |
| 13190 | Use char because int might match the return type of a GCC | ||
| 13191 | builtin and then its argument prototype would still apply. */ | ||
| 12766 | #ifdef __cplusplus | 13192 | #ifdef __cplusplus |
| 12767 | extern "C" | 13193 | extern "C" |
| 12768 | #endif | 13194 | #endif |
| 12769 | /* We use char because int might match the return type of a gcc2 | ||
| 12770 | builtin and then its argument prototype would still apply. */ | ||
| 12771 | char EGifPutExtensionLast (); | 13195 | char EGifPutExtensionLast (); |
| 12772 | int | 13196 | int |
| 12773 | main () | 13197 | main () |
| 12774 | { | 13198 | { |
| 12775 | EGifPutExtensionLast (); | 13199 | return EGifPutExtensionLast (); |
| 12776 | ; | 13200 | ; |
| 12777 | return 0; | 13201 | return 0; |
| 12778 | } | 13202 | } |
| 12779 | _ACEOF | 13203 | _ACEOF |
| 12780 | rm -f conftest.$ac_objext conftest$ac_exeext | 13204 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 12781 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13205 | if { (ac_try="$ac_link" |
| 12782 | (eval $ac_link) 2>conftest.er1 | 13206 | case "(($ac_try" in |
| 13207 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13208 | *) ac_try_echo=$ac_try;; | ||
| 13209 | esac | ||
| 13210 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 13211 | (eval "$ac_link") 2>conftest.er1 | ||
| 12783 | ac_status=$? | 13212 | ac_status=$? |
| 12784 | grep -v '^ *+' conftest.er1 >conftest.err | 13213 | grep -v '^ *+' conftest.er1 >conftest.err |
| 12785 | rm -f conftest.er1 | 13214 | rm -f conftest.er1 |
| 12786 | cat conftest.err >&5 | 13215 | cat conftest.err >&5 |
| 12787 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12788 | (exit $ac_status); } && | 13217 | (exit $ac_status); } && { |
| 12789 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 13218 | test -z "$ac_c_werror_flag" || |
| 12790 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13219 | test ! -s conftest.err |
| 12791 | (eval $ac_try) 2>&5 | 13220 | } && test -s conftest$ac_exeext && |
| 12792 | ac_status=$? | 13221 | $as_test_x conftest$ac_exeext; then |
| 12793 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12794 | (exit $ac_status); }; } && | ||
| 12795 | { ac_try='test -s conftest$ac_exeext' | ||
| 12796 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 12797 | (eval $ac_try) 2>&5 | ||
| 12798 | ac_status=$? | ||
| 12799 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12800 | (exit $ac_status); }; }; then | ||
| 12801 | ac_cv_lib_ungif_EGifPutExtensionLast=yes | 13222 | ac_cv_lib_ungif_EGifPutExtensionLast=yes |
| 12802 | else | 13223 | else |
| 12803 | echo "$as_me: failed program was:" >&5 | 13224 | echo "$as_me: failed program was:" >&5 |
| 12804 | sed 's/^/| /' conftest.$ac_ext >&5 | 13225 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 12805 | 13226 | ||
| 12806 | ac_cv_lib_ungif_EGifPutExtensionLast=no | 13227 | ac_cv_lib_ungif_EGifPutExtensionLast=no |
| 12807 | fi | 13228 | fi |
| 12808 | rm -f conftest.err conftest.$ac_objext \ | 13229 | |
| 13230 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 12809 | conftest$ac_exeext conftest.$ac_ext | 13231 | conftest$ac_exeext conftest.$ac_ext |
| 12810 | LIBS=$ac_check_lib_save_LIBS | 13232 | LIBS=$ac_check_lib_save_LIBS |
| 12811 | fi | 13233 | fi |
| 12812 | echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 | 13234 | { echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 |
| 12813 | echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6 | 13235 | echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } |
| 12814 | if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then | 13236 | if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then |
| 12815 | HAVE_GIF=yes | 13237 | HAVE_GIF=yes |
| 12816 | fi | 13238 | fi |
| @@ -12830,17 +13252,17 @@ _ACEOF | |||
| 12830 | fi | 13252 | fi |
| 12831 | 13253 | ||
| 12832 | if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | 13254 | if test "${ac_cv_header_malloc_malloc_h+set}" = set; then |
| 12833 | echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 | 13255 | { echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 |
| 12834 | echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6 | 13256 | echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6; } |
| 12835 | if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | 13257 | if test "${ac_cv_header_malloc_malloc_h+set}" = set; then |
| 12836 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13258 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12837 | fi | 13259 | fi |
| 12838 | echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 | 13260 | { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 |
| 12839 | echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6 | 13261 | echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6; } |
| 12840 | else | 13262 | else |
| 12841 | # Is the header compilable? | 13263 | # Is the header compilable? |
| 12842 | echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5 | 13264 | { echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5 |
| 12843 | echo $ECHO_N "checking malloc/malloc.h usability... $ECHO_C" >&6 | 13265 | echo $ECHO_N "checking malloc/malloc.h usability... $ECHO_C" >&6; } |
| 12844 | cat >conftest.$ac_ext <<_ACEOF | 13266 | cat >conftest.$ac_ext <<_ACEOF |
| 12845 | /* confdefs.h. */ | 13267 | /* confdefs.h. */ |
| 12846 | _ACEOF | 13268 | _ACEOF |
| @@ -12851,40 +13273,37 @@ $ac_includes_default | |||
| 12851 | #include <malloc/malloc.h> | 13273 | #include <malloc/malloc.h> |
| 12852 | _ACEOF | 13274 | _ACEOF |
| 12853 | rm -f conftest.$ac_objext | 13275 | rm -f conftest.$ac_objext |
| 12854 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 13276 | if { (ac_try="$ac_compile" |
| 12855 | (eval $ac_compile) 2>conftest.er1 | 13277 | case "(($ac_try" in |
| 13278 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13279 | *) ac_try_echo=$ac_try;; | ||
| 13280 | esac | ||
| 13281 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 13282 | (eval "$ac_compile") 2>conftest.er1 | ||
| 12856 | ac_status=$? | 13283 | ac_status=$? |
| 12857 | grep -v '^ *+' conftest.er1 >conftest.err | 13284 | grep -v '^ *+' conftest.er1 >conftest.err |
| 12858 | rm -f conftest.er1 | 13285 | rm -f conftest.er1 |
| 12859 | cat conftest.err >&5 | 13286 | cat conftest.err >&5 |
| 12860 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13287 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12861 | (exit $ac_status); } && | 13288 | (exit $ac_status); } && { |
| 12862 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 13289 | test -z "$ac_c_werror_flag" || |
| 12863 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13290 | test ! -s conftest.err |
| 12864 | (eval $ac_try) 2>&5 | 13291 | } && test -s conftest.$ac_objext; then |
| 12865 | ac_status=$? | ||
| 12866 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12867 | (exit $ac_status); }; } && | ||
| 12868 | { ac_try='test -s conftest.$ac_objext' | ||
| 12869 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 12870 | (eval $ac_try) 2>&5 | ||
| 12871 | ac_status=$? | ||
| 12872 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 12873 | (exit $ac_status); }; }; then | ||
| 12874 | ac_header_compiler=yes | 13292 | ac_header_compiler=yes |
| 12875 | else | 13293 | else |
| 12876 | echo "$as_me: failed program was:" >&5 | 13294 | echo "$as_me: failed program was:" >&5 |
| 12877 | sed 's/^/| /' conftest.$ac_ext >&5 | 13295 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 12878 | 13296 | ||
| 12879 | ac_header_compiler=no | 13297 | ac_header_compiler=no |
| 12880 | fi | 13298 | fi |
| 12881 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 13299 | |
| 12882 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 13300 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 12883 | echo "${ECHO_T}$ac_header_compiler" >&6 | 13301 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 13302 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 12884 | 13303 | ||
| 12885 | # Is the header present? | 13304 | # Is the header present? |
| 12886 | echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5 | 13305 | { echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5 |
| 12887 | echo $ECHO_N "checking malloc/malloc.h presence... $ECHO_C" >&6 | 13306 | echo $ECHO_N "checking malloc/malloc.h presence... $ECHO_C" >&6; } |
| 12888 | cat >conftest.$ac_ext <<_ACEOF | 13307 | cat >conftest.$ac_ext <<_ACEOF |
| 12889 | /* confdefs.h. */ | 13308 | /* confdefs.h. */ |
| 12890 | _ACEOF | 13309 | _ACEOF |
| @@ -12893,24 +13312,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 12893 | /* end confdefs.h. */ | 13312 | /* end confdefs.h. */ |
| 12894 | #include <malloc/malloc.h> | 13313 | #include <malloc/malloc.h> |
| 12895 | _ACEOF | 13314 | _ACEOF |
| 12896 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 13315 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 12897 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 13316 | case "(($ac_try" in |
| 13317 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13318 | *) ac_try_echo=$ac_try;; | ||
| 13319 | esac | ||
| 13320 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 13321 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 12898 | ac_status=$? | 13322 | ac_status=$? |
| 12899 | grep -v '^ *+' conftest.er1 >conftest.err | 13323 | grep -v '^ *+' conftest.er1 >conftest.err |
| 12900 | rm -f conftest.er1 | 13324 | rm -f conftest.er1 |
| 12901 | cat conftest.err >&5 | 13325 | cat conftest.err >&5 |
| 12902 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13326 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 12903 | (exit $ac_status); } >/dev/null; then | 13327 | (exit $ac_status); } >/dev/null && { |
| 12904 | if test -s conftest.err; then | 13328 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 12905 | ac_cpp_err=$ac_c_preproc_warn_flag | 13329 | test ! -s conftest.err |
| 12906 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 13330 | }; then |
| 12907 | else | ||
| 12908 | ac_cpp_err= | ||
| 12909 | fi | ||
| 12910 | else | ||
| 12911 | ac_cpp_err=yes | ||
| 12912 | fi | ||
| 12913 | if test -z "$ac_cpp_err"; then | ||
| 12914 | ac_header_preproc=yes | 13331 | ac_header_preproc=yes |
| 12915 | else | 13332 | else |
| 12916 | echo "$as_me: failed program was:" >&5 | 13333 | echo "$as_me: failed program was:" >&5 |
| @@ -12918,9 +13335,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 12918 | 13335 | ||
| 12919 | ac_header_preproc=no | 13336 | ac_header_preproc=no |
| 12920 | fi | 13337 | fi |
| 13338 | |||
| 12921 | rm -f conftest.err conftest.$ac_ext | 13339 | rm -f conftest.err conftest.$ac_ext |
| 12922 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 13340 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 12923 | echo "${ECHO_T}$ac_header_preproc" >&6 | 13341 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 12924 | 13342 | ||
| 12925 | # So? What about this header? | 13343 | # So? What about this header? |
| 12926 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 13344 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -12944,25 +13362,18 @@ echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Comp | |||
| 12944 | echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;} | 13362 | echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;} |
| 12945 | { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5 | 13363 | { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5 |
| 12946 | echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;} | 13364 | echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;} |
| 12947 | ( | 13365 | |
| 12948 | cat <<\_ASBOX | ||
| 12949 | ## ------------------------------------------ ## | ||
| 12950 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 12951 | ## ------------------------------------------ ## | ||
| 12952 | _ASBOX | ||
| 12953 | ) | | ||
| 12954 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 12955 | ;; | 13366 | ;; |
| 12956 | esac | 13367 | esac |
| 12957 | echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 | 13368 | { echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 |
| 12958 | echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6 | 13369 | echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6; } |
| 12959 | if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | 13370 | if test "${ac_cv_header_malloc_malloc_h+set}" = set; then |
| 12960 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13371 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 12961 | else | 13372 | else |
| 12962 | ac_cv_header_malloc_malloc_h=$ac_header_preproc | 13373 | ac_cv_header_malloc_malloc_h=$ac_header_preproc |
| 12963 | fi | 13374 | fi |
| 12964 | echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 | 13375 | { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 |
| 12965 | echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6 | 13376 | echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6; } |
| 12966 | 13377 | ||
| 12967 | fi | 13378 | fi |
| 12968 | if test $ac_cv_header_malloc_malloc_h = yes; then | 13379 | if test $ac_cv_header_malloc_malloc_h = yes; then |
| @@ -12995,8 +13406,8 @@ _ACEOF | |||
| 12995 | 13406 | ||
| 12996 | tmp_CFLAGS="$CFLAGS" | 13407 | tmp_CFLAGS="$CFLAGS" |
| 12997 | CFLAGS="$CFLAGS -framework Carbon" | 13408 | CFLAGS="$CFLAGS -framework Carbon" |
| 12998 | echo "$as_me:$LINENO: checking for CancelMenuTracking" >&5 | 13409 | { echo "$as_me:$LINENO: checking for CancelMenuTracking" >&5 |
| 12999 | echo $ECHO_N "checking for CancelMenuTracking... $ECHO_C" >&6 | 13410 | echo $ECHO_N "checking for CancelMenuTracking... $ECHO_C" >&6; } |
| 13000 | if test "${ac_cv_func_CancelMenuTracking+set}" = set; then | 13411 | if test "${ac_cv_func_CancelMenuTracking+set}" = set; then |
| 13001 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13412 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13002 | else | 13413 | else |
| @@ -13023,67 +13434,59 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 13023 | 13434 | ||
| 13024 | #undef CancelMenuTracking | 13435 | #undef CancelMenuTracking |
| 13025 | 13436 | ||
| 13026 | /* Override any gcc2 internal prototype to avoid an error. */ | 13437 | /* Override any GCC internal prototype to avoid an error. |
| 13438 | Use char because int might match the return type of a GCC | ||
| 13439 | builtin and then its argument prototype would still apply. */ | ||
| 13027 | #ifdef __cplusplus | 13440 | #ifdef __cplusplus |
| 13028 | extern "C" | 13441 | extern "C" |
| 13029 | { | ||
| 13030 | #endif | 13442 | #endif |
| 13031 | /* We use char because int might match the return type of a gcc2 | ||
| 13032 | builtin and then its argument prototype would still apply. */ | ||
| 13033 | char CancelMenuTracking (); | 13443 | char CancelMenuTracking (); |
| 13034 | /* The GNU C library defines this for functions which it implements | 13444 | /* The GNU C library defines this for functions which it implements |
| 13035 | to always fail with ENOSYS. Some functions are actually named | 13445 | to always fail with ENOSYS. Some functions are actually named |
| 13036 | something starting with __ and the normal name is an alias. */ | 13446 | something starting with __ and the normal name is an alias. */ |
| 13037 | #if defined (__stub_CancelMenuTracking) || defined (__stub___CancelMenuTracking) | 13447 | #if defined __stub_CancelMenuTracking || defined __stub___CancelMenuTracking |
| 13038 | choke me | 13448 | choke me |
| 13039 | #else | ||
| 13040 | char (*f) () = CancelMenuTracking; | ||
| 13041 | #endif | ||
| 13042 | #ifdef __cplusplus | ||
| 13043 | } | ||
| 13044 | #endif | 13449 | #endif |
| 13045 | 13450 | ||
| 13046 | int | 13451 | int |
| 13047 | main () | 13452 | main () |
| 13048 | { | 13453 | { |
| 13049 | return f != CancelMenuTracking; | 13454 | return CancelMenuTracking (); |
| 13050 | ; | 13455 | ; |
| 13051 | return 0; | 13456 | return 0; |
| 13052 | } | 13457 | } |
| 13053 | _ACEOF | 13458 | _ACEOF |
| 13054 | rm -f conftest.$ac_objext conftest$ac_exeext | 13459 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13055 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13460 | if { (ac_try="$ac_link" |
| 13056 | (eval $ac_link) 2>conftest.er1 | 13461 | case "(($ac_try" in |
| 13462 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13463 | *) ac_try_echo=$ac_try;; | ||
| 13464 | esac | ||
| 13465 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 13466 | (eval "$ac_link") 2>conftest.er1 | ||
| 13057 | ac_status=$? | 13467 | ac_status=$? |
| 13058 | grep -v '^ *+' conftest.er1 >conftest.err | 13468 | grep -v '^ *+' conftest.er1 >conftest.err |
| 13059 | rm -f conftest.er1 | 13469 | rm -f conftest.er1 |
| 13060 | cat conftest.err >&5 | 13470 | cat conftest.err >&5 |
| 13061 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13471 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13062 | (exit $ac_status); } && | 13472 | (exit $ac_status); } && { |
| 13063 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 13473 | test -z "$ac_c_werror_flag" || |
| 13064 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13474 | test ! -s conftest.err |
| 13065 | (eval $ac_try) 2>&5 | 13475 | } && test -s conftest$ac_exeext && |
| 13066 | ac_status=$? | 13476 | $as_test_x conftest$ac_exeext; then |
| 13067 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13068 | (exit $ac_status); }; } && | ||
| 13069 | { ac_try='test -s conftest$ac_exeext' | ||
| 13070 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 13071 | (eval $ac_try) 2>&5 | ||
| 13072 | ac_status=$? | ||
| 13073 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13074 | (exit $ac_status); }; }; then | ||
| 13075 | ac_cv_func_CancelMenuTracking=yes | 13477 | ac_cv_func_CancelMenuTracking=yes |
| 13076 | else | 13478 | else |
| 13077 | echo "$as_me: failed program was:" >&5 | 13479 | echo "$as_me: failed program was:" >&5 |
| 13078 | sed 's/^/| /' conftest.$ac_ext >&5 | 13480 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 13079 | 13481 | ||
| 13080 | ac_cv_func_CancelMenuTracking=no | 13482 | ac_cv_func_CancelMenuTracking=no |
| 13081 | fi | 13483 | fi |
| 13082 | rm -f conftest.err conftest.$ac_objext \ | 13484 | |
| 13485 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13083 | conftest$ac_exeext conftest.$ac_ext | 13486 | conftest$ac_exeext conftest.$ac_ext |
| 13084 | fi | 13487 | fi |
| 13085 | echo "$as_me:$LINENO: result: $ac_cv_func_CancelMenuTracking" >&5 | 13488 | { echo "$as_me:$LINENO: result: $ac_cv_func_CancelMenuTracking" >&5 |
| 13086 | echo "${ECHO_T}$ac_cv_func_CancelMenuTracking" >&6 | 13489 | echo "${ECHO_T}$ac_cv_func_CancelMenuTracking" >&6; } |
| 13087 | if test $ac_cv_func_CancelMenuTracking = yes; then | 13490 | if test $ac_cv_func_CancelMenuTracking = yes; then |
| 13088 | have_cmt=yes | 13491 | have_cmt=yes |
| 13089 | else | 13492 | else |
| @@ -13104,17 +13507,17 @@ fi | |||
| 13104 | HAVE_X_SM=no | 13507 | HAVE_X_SM=no |
| 13105 | if test "${HAVE_X11}" = "yes"; then | 13508 | if test "${HAVE_X11}" = "yes"; then |
| 13106 | if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | 13509 | if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then |
| 13107 | echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 | 13510 | { echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 |
| 13108 | echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6 | 13511 | echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6; } |
| 13109 | if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | 13512 | if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then |
| 13110 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13513 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13111 | fi | 13514 | fi |
| 13112 | echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 | 13515 | { echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 |
| 13113 | echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6 | 13516 | echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6; } |
| 13114 | else | 13517 | else |
| 13115 | # Is the header compilable? | 13518 | # Is the header compilable? |
| 13116 | echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5 | 13519 | { echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5 |
| 13117 | echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6 | 13520 | echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6; } |
| 13118 | cat >conftest.$ac_ext <<_ACEOF | 13521 | cat >conftest.$ac_ext <<_ACEOF |
| 13119 | /* confdefs.h. */ | 13522 | /* confdefs.h. */ |
| 13120 | _ACEOF | 13523 | _ACEOF |
| @@ -13125,40 +13528,37 @@ $ac_includes_default | |||
| 13125 | #include <X11/SM/SMlib.h> | 13528 | #include <X11/SM/SMlib.h> |
| 13126 | _ACEOF | 13529 | _ACEOF |
| 13127 | rm -f conftest.$ac_objext | 13530 | rm -f conftest.$ac_objext |
| 13128 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 13531 | if { (ac_try="$ac_compile" |
| 13129 | (eval $ac_compile) 2>conftest.er1 | 13532 | case "(($ac_try" in |
| 13533 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13534 | *) ac_try_echo=$ac_try;; | ||
| 13535 | esac | ||
| 13536 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 13537 | (eval "$ac_compile") 2>conftest.er1 | ||
| 13130 | ac_status=$? | 13538 | ac_status=$? |
| 13131 | grep -v '^ *+' conftest.er1 >conftest.err | 13539 | grep -v '^ *+' conftest.er1 >conftest.err |
| 13132 | rm -f conftest.er1 | 13540 | rm -f conftest.er1 |
| 13133 | cat conftest.err >&5 | 13541 | cat conftest.err >&5 |
| 13134 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13542 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13135 | (exit $ac_status); } && | 13543 | (exit $ac_status); } && { |
| 13136 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 13544 | test -z "$ac_c_werror_flag" || |
| 13137 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13545 | test ! -s conftest.err |
| 13138 | (eval $ac_try) 2>&5 | 13546 | } && test -s conftest.$ac_objext; then |
| 13139 | ac_status=$? | ||
| 13140 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13141 | (exit $ac_status); }; } && | ||
| 13142 | { ac_try='test -s conftest.$ac_objext' | ||
| 13143 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 13144 | (eval $ac_try) 2>&5 | ||
| 13145 | ac_status=$? | ||
| 13146 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13147 | (exit $ac_status); }; }; then | ||
| 13148 | ac_header_compiler=yes | 13547 | ac_header_compiler=yes |
| 13149 | else | 13548 | else |
| 13150 | echo "$as_me: failed program was:" >&5 | 13549 | echo "$as_me: failed program was:" >&5 |
| 13151 | sed 's/^/| /' conftest.$ac_ext >&5 | 13550 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 13152 | 13551 | ||
| 13153 | ac_header_compiler=no | 13552 | ac_header_compiler=no |
| 13154 | fi | 13553 | fi |
| 13155 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 13554 | |
| 13156 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 13555 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 13157 | echo "${ECHO_T}$ac_header_compiler" >&6 | 13556 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 13557 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 13158 | 13558 | ||
| 13159 | # Is the header present? | 13559 | # Is the header present? |
| 13160 | echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5 | 13560 | { echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5 |
| 13161 | echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6 | 13561 | echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6; } |
| 13162 | cat >conftest.$ac_ext <<_ACEOF | 13562 | cat >conftest.$ac_ext <<_ACEOF |
| 13163 | /* confdefs.h. */ | 13563 | /* confdefs.h. */ |
| 13164 | _ACEOF | 13564 | _ACEOF |
| @@ -13167,24 +13567,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 13167 | /* end confdefs.h. */ | 13567 | /* end confdefs.h. */ |
| 13168 | #include <X11/SM/SMlib.h> | 13568 | #include <X11/SM/SMlib.h> |
| 13169 | _ACEOF | 13569 | _ACEOF |
| 13170 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 13570 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 13171 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 13571 | case "(($ac_try" in |
| 13572 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13573 | *) ac_try_echo=$ac_try;; | ||
| 13574 | esac | ||
| 13575 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 13576 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 13172 | ac_status=$? | 13577 | ac_status=$? |
| 13173 | grep -v '^ *+' conftest.er1 >conftest.err | 13578 | grep -v '^ *+' conftest.er1 >conftest.err |
| 13174 | rm -f conftest.er1 | 13579 | rm -f conftest.er1 |
| 13175 | cat conftest.err >&5 | 13580 | cat conftest.err >&5 |
| 13176 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13581 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13177 | (exit $ac_status); } >/dev/null; then | 13582 | (exit $ac_status); } >/dev/null && { |
| 13178 | if test -s conftest.err; then | 13583 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 13179 | ac_cpp_err=$ac_c_preproc_warn_flag | 13584 | test ! -s conftest.err |
| 13180 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 13585 | }; then |
| 13181 | else | ||
| 13182 | ac_cpp_err= | ||
| 13183 | fi | ||
| 13184 | else | ||
| 13185 | ac_cpp_err=yes | ||
| 13186 | fi | ||
| 13187 | if test -z "$ac_cpp_err"; then | ||
| 13188 | ac_header_preproc=yes | 13586 | ac_header_preproc=yes |
| 13189 | else | 13587 | else |
| 13190 | echo "$as_me: failed program was:" >&5 | 13588 | echo "$as_me: failed program was:" >&5 |
| @@ -13192,9 +13590,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 13192 | 13590 | ||
| 13193 | ac_header_preproc=no | 13591 | ac_header_preproc=no |
| 13194 | fi | 13592 | fi |
| 13593 | |||
| 13195 | rm -f conftest.err conftest.$ac_ext | 13594 | rm -f conftest.err conftest.$ac_ext |
| 13196 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 13595 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 13197 | echo "${ECHO_T}$ac_header_preproc" >&6 | 13596 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 13198 | 13597 | ||
| 13199 | # So? What about this header? | 13598 | # So? What about this header? |
| 13200 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 13599 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -13218,30 +13617,23 @@ echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compi | |||
| 13218 | echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;} | 13617 | echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;} |
| 13219 | { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5 | 13618 | { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5 |
| 13220 | echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;} | 13619 | echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;} |
| 13221 | ( | 13620 | |
| 13222 | cat <<\_ASBOX | ||
| 13223 | ## ------------------------------------------ ## | ||
| 13224 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 13225 | ## ------------------------------------------ ## | ||
| 13226 | _ASBOX | ||
| 13227 | ) | | ||
| 13228 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 13229 | ;; | 13621 | ;; |
| 13230 | esac | 13622 | esac |
| 13231 | echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 | 13623 | { echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 |
| 13232 | echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6 | 13624 | echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6; } |
| 13233 | if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | 13625 | if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then |
| 13234 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13626 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13235 | else | 13627 | else |
| 13236 | ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc | 13628 | ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc |
| 13237 | fi | 13629 | fi |
| 13238 | echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 | 13630 | { echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 |
| 13239 | echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6 | 13631 | echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6; } |
| 13240 | 13632 | ||
| 13241 | fi | 13633 | fi |
| 13242 | if test $ac_cv_header_X11_SM_SMlib_h = yes; then | 13634 | if test $ac_cv_header_X11_SM_SMlib_h = yes; then |
| 13243 | echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5 | 13635 | { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5 |
| 13244 | echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6 | 13636 | echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; } |
| 13245 | if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then | 13637 | if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then |
| 13246 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13638 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13247 | else | 13639 | else |
| @@ -13254,55 +13646,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 13254 | cat >>conftest.$ac_ext <<_ACEOF | 13646 | cat >>conftest.$ac_ext <<_ACEOF |
| 13255 | /* end confdefs.h. */ | 13647 | /* end confdefs.h. */ |
| 13256 | 13648 | ||
| 13257 | /* Override any gcc2 internal prototype to avoid an error. */ | 13649 | /* Override any GCC internal prototype to avoid an error. |
| 13650 | Use char because int might match the return type of a GCC | ||
| 13651 | builtin and then its argument prototype would still apply. */ | ||
| 13258 | #ifdef __cplusplus | 13652 | #ifdef __cplusplus |
| 13259 | extern "C" | 13653 | extern "C" |
| 13260 | #endif | 13654 | #endif |
| 13261 | /* We use char because int might match the return type of a gcc2 | ||
| 13262 | builtin and then its argument prototype would still apply. */ | ||
| 13263 | char SmcOpenConnection (); | 13655 | char SmcOpenConnection (); |
| 13264 | int | 13656 | int |
| 13265 | main () | 13657 | main () |
| 13266 | { | 13658 | { |
| 13267 | SmcOpenConnection (); | 13659 | return SmcOpenConnection (); |
| 13268 | ; | 13660 | ; |
| 13269 | return 0; | 13661 | return 0; |
| 13270 | } | 13662 | } |
| 13271 | _ACEOF | 13663 | _ACEOF |
| 13272 | rm -f conftest.$ac_objext conftest$ac_exeext | 13664 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13273 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13665 | if { (ac_try="$ac_link" |
| 13274 | (eval $ac_link) 2>conftest.er1 | 13666 | case "(($ac_try" in |
| 13667 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13668 | *) ac_try_echo=$ac_try;; | ||
| 13669 | esac | ||
| 13670 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 13671 | (eval "$ac_link") 2>conftest.er1 | ||
| 13275 | ac_status=$? | 13672 | ac_status=$? |
| 13276 | grep -v '^ *+' conftest.er1 >conftest.err | 13673 | grep -v '^ *+' conftest.er1 >conftest.err |
| 13277 | rm -f conftest.er1 | 13674 | rm -f conftest.er1 |
| 13278 | cat conftest.err >&5 | 13675 | cat conftest.err >&5 |
| 13279 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13280 | (exit $ac_status); } && | 13677 | (exit $ac_status); } && { |
| 13281 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 13678 | test -z "$ac_c_werror_flag" || |
| 13282 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13679 | test ! -s conftest.err |
| 13283 | (eval $ac_try) 2>&5 | 13680 | } && test -s conftest$ac_exeext && |
| 13284 | ac_status=$? | 13681 | $as_test_x conftest$ac_exeext; then |
| 13285 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13286 | (exit $ac_status); }; } && | ||
| 13287 | { ac_try='test -s conftest$ac_exeext' | ||
| 13288 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 13289 | (eval $ac_try) 2>&5 | ||
| 13290 | ac_status=$? | ||
| 13291 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13292 | (exit $ac_status); }; }; then | ||
| 13293 | ac_cv_lib_SM_SmcOpenConnection=yes | 13682 | ac_cv_lib_SM_SmcOpenConnection=yes |
| 13294 | else | 13683 | else |
| 13295 | echo "$as_me: failed program was:" >&5 | 13684 | echo "$as_me: failed program was:" >&5 |
| 13296 | sed 's/^/| /' conftest.$ac_ext >&5 | 13685 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 13297 | 13686 | ||
| 13298 | ac_cv_lib_SM_SmcOpenConnection=no | 13687 | ac_cv_lib_SM_SmcOpenConnection=no |
| 13299 | fi | 13688 | fi |
| 13300 | rm -f conftest.err conftest.$ac_objext \ | 13689 | |
| 13690 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13301 | conftest$ac_exeext conftest.$ac_ext | 13691 | conftest$ac_exeext conftest.$ac_ext |
| 13302 | LIBS=$ac_check_lib_save_LIBS | 13692 | LIBS=$ac_check_lib_save_LIBS |
| 13303 | fi | 13693 | fi |
| 13304 | echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 | 13694 | { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 |
| 13305 | echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6 | 13695 | echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; } |
| 13306 | if test $ac_cv_lib_SM_SmcOpenConnection = yes; then | 13696 | if test $ac_cv_lib_SM_SmcOpenConnection = yes; then |
| 13307 | HAVE_X_SM=yes | 13697 | HAVE_X_SM=yes |
| 13308 | fi | 13698 | fi |
| @@ -13325,8 +13715,8 @@ _ACEOF | |||
| 13325 | fi | 13715 | fi |
| 13326 | 13716 | ||
| 13327 | # If netdb.h doesn't declare h_errno, we must declare it by hand. | 13717 | # If netdb.h doesn't declare h_errno, we must declare it by hand. |
| 13328 | echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 | 13718 | { echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 |
| 13329 | echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 | 13719 | echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6; } |
| 13330 | if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then | 13720 | if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then |
| 13331 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13721 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13332 | else | 13722 | else |
| @@ -13346,38 +13736,36 @@ return h_errno; | |||
| 13346 | } | 13736 | } |
| 13347 | _ACEOF | 13737 | _ACEOF |
| 13348 | rm -f conftest.$ac_objext conftest$ac_exeext | 13738 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13349 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13739 | if { (ac_try="$ac_link" |
| 13350 | (eval $ac_link) 2>conftest.er1 | 13740 | case "(($ac_try" in |
| 13741 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13742 | *) ac_try_echo=$ac_try;; | ||
| 13743 | esac | ||
| 13744 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 13745 | (eval "$ac_link") 2>conftest.er1 | ||
| 13351 | ac_status=$? | 13746 | ac_status=$? |
| 13352 | grep -v '^ *+' conftest.er1 >conftest.err | 13747 | grep -v '^ *+' conftest.er1 >conftest.err |
| 13353 | rm -f conftest.er1 | 13748 | rm -f conftest.er1 |
| 13354 | cat conftest.err >&5 | 13749 | cat conftest.err >&5 |
| 13355 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13750 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13356 | (exit $ac_status); } && | 13751 | (exit $ac_status); } && { |
| 13357 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 13752 | test -z "$ac_c_werror_flag" || |
| 13358 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13753 | test ! -s conftest.err |
| 13359 | (eval $ac_try) 2>&5 | 13754 | } && test -s conftest$ac_exeext && |
| 13360 | ac_status=$? | 13755 | $as_test_x conftest$ac_exeext; then |
| 13361 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13362 | (exit $ac_status); }; } && | ||
| 13363 | { ac_try='test -s conftest$ac_exeext' | ||
| 13364 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 13365 | (eval $ac_try) 2>&5 | ||
| 13366 | ac_status=$? | ||
| 13367 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13368 | (exit $ac_status); }; }; then | ||
| 13369 | emacs_cv_netdb_declares_h_errno=yes | 13756 | emacs_cv_netdb_declares_h_errno=yes |
| 13370 | else | 13757 | else |
| 13371 | echo "$as_me: failed program was:" >&5 | 13758 | echo "$as_me: failed program was:" >&5 |
| 13372 | sed 's/^/| /' conftest.$ac_ext >&5 | 13759 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 13373 | 13760 | ||
| 13374 | emacs_cv_netdb_declares_h_errno=no | 13761 | emacs_cv_netdb_declares_h_errno=no |
| 13375 | fi | 13762 | fi |
| 13376 | rm -f conftest.err conftest.$ac_objext \ | 13763 | |
| 13764 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13377 | conftest$ac_exeext conftest.$ac_ext | 13765 | conftest$ac_exeext conftest.$ac_ext |
| 13378 | fi | 13766 | fi |
| 13379 | echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 | 13767 | { echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 |
| 13380 | echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 | 13768 | echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6; } |
| 13381 | if test $emacs_cv_netdb_declares_h_errno = yes; then | 13769 | if test $emacs_cv_netdb_declares_h_errno = yes; then |
| 13382 | 13770 | ||
| 13383 | cat >>confdefs.h <<\_ACEOF | 13771 | cat >>confdefs.h <<\_ACEOF |
| @@ -13388,8 +13776,8 @@ fi | |||
| 13388 | 13776 | ||
| 13389 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 13777 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 13390 | # for constant arguments. Useless! | 13778 | # for constant arguments. Useless! |
| 13391 | echo "$as_me:$LINENO: checking for working alloca.h" >&5 | 13779 | { echo "$as_me:$LINENO: checking for working alloca.h" >&5 |
| 13392 | echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 | 13780 | echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; } |
| 13393 | if test "${ac_cv_working_alloca_h+set}" = set; then | 13781 | if test "${ac_cv_working_alloca_h+set}" = set; then |
| 13394 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13782 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13395 | else | 13783 | else |
| @@ -13404,43 +13792,42 @@ int | |||
| 13404 | main () | 13792 | main () |
| 13405 | { | 13793 | { |
| 13406 | char *p = (char *) alloca (2 * sizeof (int)); | 13794 | char *p = (char *) alloca (2 * sizeof (int)); |
| 13795 | if (p) return 0; | ||
| 13407 | ; | 13796 | ; |
| 13408 | return 0; | 13797 | return 0; |
| 13409 | } | 13798 | } |
| 13410 | _ACEOF | 13799 | _ACEOF |
| 13411 | rm -f conftest.$ac_objext conftest$ac_exeext | 13800 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13412 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13801 | if { (ac_try="$ac_link" |
| 13413 | (eval $ac_link) 2>conftest.er1 | 13802 | case "(($ac_try" in |
| 13803 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13804 | *) ac_try_echo=$ac_try;; | ||
| 13805 | esac | ||
| 13806 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 13807 | (eval "$ac_link") 2>conftest.er1 | ||
| 13414 | ac_status=$? | 13808 | ac_status=$? |
| 13415 | grep -v '^ *+' conftest.er1 >conftest.err | 13809 | grep -v '^ *+' conftest.er1 >conftest.err |
| 13416 | rm -f conftest.er1 | 13810 | rm -f conftest.er1 |
| 13417 | cat conftest.err >&5 | 13811 | cat conftest.err >&5 |
| 13418 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13812 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13419 | (exit $ac_status); } && | 13813 | (exit $ac_status); } && { |
| 13420 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 13814 | test -z "$ac_c_werror_flag" || |
| 13421 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13815 | test ! -s conftest.err |
| 13422 | (eval $ac_try) 2>&5 | 13816 | } && test -s conftest$ac_exeext && |
| 13423 | ac_status=$? | 13817 | $as_test_x conftest$ac_exeext; then |
| 13424 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13425 | (exit $ac_status); }; } && | ||
| 13426 | { ac_try='test -s conftest$ac_exeext' | ||
| 13427 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 13428 | (eval $ac_try) 2>&5 | ||
| 13429 | ac_status=$? | ||
| 13430 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13431 | (exit $ac_status); }; }; then | ||
| 13432 | ac_cv_working_alloca_h=yes | 13818 | ac_cv_working_alloca_h=yes |
| 13433 | else | 13819 | else |
| 13434 | echo "$as_me: failed program was:" >&5 | 13820 | echo "$as_me: failed program was:" >&5 |
| 13435 | sed 's/^/| /' conftest.$ac_ext >&5 | 13821 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 13436 | 13822 | ||
| 13437 | ac_cv_working_alloca_h=no | 13823 | ac_cv_working_alloca_h=no |
| 13438 | fi | 13824 | fi |
| 13439 | rm -f conftest.err conftest.$ac_objext \ | 13825 | |
| 13826 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13440 | conftest$ac_exeext conftest.$ac_ext | 13827 | conftest$ac_exeext conftest.$ac_ext |
| 13441 | fi | 13828 | fi |
| 13442 | echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 | 13829 | { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
| 13443 | echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 | 13830 | echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; } |
| 13444 | if test $ac_cv_working_alloca_h = yes; then | 13831 | if test $ac_cv_working_alloca_h = yes; then |
| 13445 | 13832 | ||
| 13446 | cat >>confdefs.h <<\_ACEOF | 13833 | cat >>confdefs.h <<\_ACEOF |
| @@ -13449,8 +13836,8 @@ _ACEOF | |||
| 13449 | 13836 | ||
| 13450 | fi | 13837 | fi |
| 13451 | 13838 | ||
| 13452 | echo "$as_me:$LINENO: checking for alloca" >&5 | 13839 | { echo "$as_me:$LINENO: checking for alloca" >&5 |
| 13453 | echo $ECHO_N "checking for alloca... $ECHO_C" >&6 | 13840 | echo $ECHO_N "checking for alloca... $ECHO_C" >&6; } |
| 13454 | if test "${ac_cv_func_alloca_works+set}" = set; then | 13841 | if test "${ac_cv_func_alloca_works+set}" = set; then |
| 13455 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13842 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13456 | else | 13843 | else |
| @@ -13467,7 +13854,7 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 13467 | # include <malloc.h> | 13854 | # include <malloc.h> |
| 13468 | # define alloca _alloca | 13855 | # define alloca _alloca |
| 13469 | # else | 13856 | # else |
| 13470 | # if HAVE_ALLOCA_H | 13857 | # ifdef HAVE_ALLOCA_H |
| 13471 | # include <alloca.h> | 13858 | # include <alloca.h> |
| 13472 | # else | 13859 | # else |
| 13473 | # ifdef _AIX | 13860 | # ifdef _AIX |
| @@ -13485,43 +13872,42 @@ int | |||
| 13485 | main () | 13872 | main () |
| 13486 | { | 13873 | { |
| 13487 | char *p = (char *) alloca (1); | 13874 | char *p = (char *) alloca (1); |
| 13875 | if (p) return 0; | ||
| 13488 | ; | 13876 | ; |
| 13489 | return 0; | 13877 | return 0; |
| 13490 | } | 13878 | } |
| 13491 | _ACEOF | 13879 | _ACEOF |
| 13492 | rm -f conftest.$ac_objext conftest$ac_exeext | 13880 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13493 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13881 | if { (ac_try="$ac_link" |
| 13494 | (eval $ac_link) 2>conftest.er1 | 13882 | case "(($ac_try" in |
| 13883 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 13884 | *) ac_try_echo=$ac_try;; | ||
| 13885 | esac | ||
| 13886 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 13887 | (eval "$ac_link") 2>conftest.er1 | ||
| 13495 | ac_status=$? | 13888 | ac_status=$? |
| 13496 | grep -v '^ *+' conftest.er1 >conftest.err | 13889 | grep -v '^ *+' conftest.er1 >conftest.err |
| 13497 | rm -f conftest.er1 | 13890 | rm -f conftest.er1 |
| 13498 | cat conftest.err >&5 | 13891 | cat conftest.err >&5 |
| 13499 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13892 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13500 | (exit $ac_status); } && | 13893 | (exit $ac_status); } && { |
| 13501 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 13894 | test -z "$ac_c_werror_flag" || |
| 13502 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13895 | test ! -s conftest.err |
| 13503 | (eval $ac_try) 2>&5 | 13896 | } && test -s conftest$ac_exeext && |
| 13504 | ac_status=$? | 13897 | $as_test_x conftest$ac_exeext; then |
| 13505 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13506 | (exit $ac_status); }; } && | ||
| 13507 | { ac_try='test -s conftest$ac_exeext' | ||
| 13508 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 13509 | (eval $ac_try) 2>&5 | ||
| 13510 | ac_status=$? | ||
| 13511 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13512 | (exit $ac_status); }; }; then | ||
| 13513 | ac_cv_func_alloca_works=yes | 13898 | ac_cv_func_alloca_works=yes |
| 13514 | else | 13899 | else |
| 13515 | echo "$as_me: failed program was:" >&5 | 13900 | echo "$as_me: failed program was:" >&5 |
| 13516 | sed 's/^/| /' conftest.$ac_ext >&5 | 13901 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 13517 | 13902 | ||
| 13518 | ac_cv_func_alloca_works=no | 13903 | ac_cv_func_alloca_works=no |
| 13519 | fi | 13904 | fi |
| 13520 | rm -f conftest.err conftest.$ac_objext \ | 13905 | |
| 13906 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13521 | conftest$ac_exeext conftest.$ac_ext | 13907 | conftest$ac_exeext conftest.$ac_ext |
| 13522 | fi | 13908 | fi |
| 13523 | echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 | 13909 | { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
| 13524 | echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 | 13910 | echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; } |
| 13525 | 13911 | ||
| 13526 | if test $ac_cv_func_alloca_works = yes; then | 13912 | if test $ac_cv_func_alloca_works = yes; then |
| 13527 | 13913 | ||
| @@ -13535,15 +13921,15 @@ else | |||
| 13535 | # contain a buggy version. If you still want to use their alloca, | 13921 | # contain a buggy version. If you still want to use their alloca, |
| 13536 | # use ar to extract alloca.o from them instead of compiling alloca.c. | 13922 | # use ar to extract alloca.o from them instead of compiling alloca.c. |
| 13537 | 13923 | ||
| 13538 | ALLOCA=alloca.$ac_objext | 13924 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext |
| 13539 | 13925 | ||
| 13540 | cat >>confdefs.h <<\_ACEOF | 13926 | cat >>confdefs.h <<\_ACEOF |
| 13541 | #define C_ALLOCA 1 | 13927 | #define C_ALLOCA 1 |
| 13542 | _ACEOF | 13928 | _ACEOF |
| 13543 | 13929 | ||
| 13544 | 13930 | ||
| 13545 | echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 | 13931 | { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 |
| 13546 | echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 | 13932 | echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; } |
| 13547 | if test "${ac_cv_os_cray+set}" = set; then | 13933 | if test "${ac_cv_os_cray+set}" = set; then |
| 13548 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13934 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13549 | else | 13935 | else |
| @@ -13553,7 +13939,7 @@ _ACEOF | |||
| 13553 | cat confdefs.h >>conftest.$ac_ext | 13939 | cat confdefs.h >>conftest.$ac_ext |
| 13554 | cat >>conftest.$ac_ext <<_ACEOF | 13940 | cat >>conftest.$ac_ext <<_ACEOF |
| 13555 | /* end confdefs.h. */ | 13941 | /* end confdefs.h. */ |
| 13556 | #if defined(CRAY) && ! defined(CRAY2) | 13942 | #if defined CRAY && ! defined CRAY2 |
| 13557 | webecray | 13943 | webecray |
| 13558 | #else | 13944 | #else |
| 13559 | wenotbecray | 13945 | wenotbecray |
| @@ -13569,14 +13955,14 @@ fi | |||
| 13569 | rm -f conftest* | 13955 | rm -f conftest* |
| 13570 | 13956 | ||
| 13571 | fi | 13957 | fi |
| 13572 | echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 | 13958 | { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 |
| 13573 | echo "${ECHO_T}$ac_cv_os_cray" >&6 | 13959 | echo "${ECHO_T}$ac_cv_os_cray" >&6; } |
| 13574 | if test $ac_cv_os_cray = yes; then | 13960 | if test $ac_cv_os_cray = yes; then |
| 13575 | for ac_func in _getb67 GETB67 getb67; do | 13961 | for ac_func in _getb67 GETB67 getb67; do |
| 13576 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 13962 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 13577 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 13963 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 13578 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 13964 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 13579 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 13965 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 13580 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13966 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13581 | else | 13967 | else |
| 13582 | cat >conftest.$ac_ext <<_ACEOF | 13968 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -13602,67 +13988,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 13602 | 13988 | ||
| 13603 | #undef $ac_func | 13989 | #undef $ac_func |
| 13604 | 13990 | ||
| 13605 | /* Override any gcc2 internal prototype to avoid an error. */ | 13991 | /* Override any GCC internal prototype to avoid an error. |
| 13992 | Use char because int might match the return type of a GCC | ||
| 13993 | builtin and then its argument prototype would still apply. */ | ||
| 13606 | #ifdef __cplusplus | 13994 | #ifdef __cplusplus |
| 13607 | extern "C" | 13995 | extern "C" |
| 13608 | { | ||
| 13609 | #endif | 13996 | #endif |
| 13610 | /* We use char because int might match the return type of a gcc2 | ||
| 13611 | builtin and then its argument prototype would still apply. */ | ||
| 13612 | char $ac_func (); | 13997 | char $ac_func (); |
| 13613 | /* The GNU C library defines this for functions which it implements | 13998 | /* The GNU C library defines this for functions which it implements |
| 13614 | to always fail with ENOSYS. Some functions are actually named | 13999 | to always fail with ENOSYS. Some functions are actually named |
| 13615 | something starting with __ and the normal name is an alias. */ | 14000 | something starting with __ and the normal name is an alias. */ |
| 13616 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 14001 | #if defined __stub_$ac_func || defined __stub___$ac_func |
| 13617 | choke me | 14002 | choke me |
| 13618 | #else | ||
| 13619 | char (*f) () = $ac_func; | ||
| 13620 | #endif | ||
| 13621 | #ifdef __cplusplus | ||
| 13622 | } | ||
| 13623 | #endif | 14003 | #endif |
| 13624 | 14004 | ||
| 13625 | int | 14005 | int |
| 13626 | main () | 14006 | main () |
| 13627 | { | 14007 | { |
| 13628 | return f != $ac_func; | 14008 | return $ac_func (); |
| 13629 | ; | 14009 | ; |
| 13630 | return 0; | 14010 | return 0; |
| 13631 | } | 14011 | } |
| 13632 | _ACEOF | 14012 | _ACEOF |
| 13633 | rm -f conftest.$ac_objext conftest$ac_exeext | 14013 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13634 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14014 | if { (ac_try="$ac_link" |
| 13635 | (eval $ac_link) 2>conftest.er1 | 14015 | case "(($ac_try" in |
| 14016 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14017 | *) ac_try_echo=$ac_try;; | ||
| 14018 | esac | ||
| 14019 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 14020 | (eval "$ac_link") 2>conftest.er1 | ||
| 13636 | ac_status=$? | 14021 | ac_status=$? |
| 13637 | grep -v '^ *+' conftest.er1 >conftest.err | 14022 | grep -v '^ *+' conftest.er1 >conftest.err |
| 13638 | rm -f conftest.er1 | 14023 | rm -f conftest.er1 |
| 13639 | cat conftest.err >&5 | 14024 | cat conftest.err >&5 |
| 13640 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14025 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13641 | (exit $ac_status); } && | 14026 | (exit $ac_status); } && { |
| 13642 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 14027 | test -z "$ac_c_werror_flag" || |
| 13643 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14028 | test ! -s conftest.err |
| 13644 | (eval $ac_try) 2>&5 | 14029 | } && test -s conftest$ac_exeext && |
| 13645 | ac_status=$? | 14030 | $as_test_x conftest$ac_exeext; then |
| 13646 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13647 | (exit $ac_status); }; } && | ||
| 13648 | { ac_try='test -s conftest$ac_exeext' | ||
| 13649 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 13650 | (eval $ac_try) 2>&5 | ||
| 13651 | ac_status=$? | ||
| 13652 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13653 | (exit $ac_status); }; }; then | ||
| 13654 | eval "$as_ac_var=yes" | 14031 | eval "$as_ac_var=yes" |
| 13655 | else | 14032 | else |
| 13656 | echo "$as_me: failed program was:" >&5 | 14033 | echo "$as_me: failed program was:" >&5 |
| 13657 | sed 's/^/| /' conftest.$ac_ext >&5 | 14034 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 13658 | 14035 | ||
| 13659 | eval "$as_ac_var=no" | 14036 | eval "$as_ac_var=no" |
| 13660 | fi | 14037 | fi |
| 13661 | rm -f conftest.err conftest.$ac_objext \ | 14038 | |
| 14039 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13662 | conftest$ac_exeext conftest.$ac_ext | 14040 | conftest$ac_exeext conftest.$ac_ext |
| 13663 | fi | 14041 | fi |
| 13664 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 14042 | ac_res=`eval echo '${'$as_ac_var'}'` |
| 13665 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 14043 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 14044 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 13666 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 14045 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 13667 | 14046 | ||
| 13668 | cat >>confdefs.h <<_ACEOF | 14047 | cat >>confdefs.h <<_ACEOF |
| @@ -13675,8 +14054,8 @@ fi | |||
| 13675 | done | 14054 | done |
| 13676 | fi | 14055 | fi |
| 13677 | 14056 | ||
| 13678 | echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 | 14057 | { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 |
| 13679 | echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 | 14058 | echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; } |
| 13680 | if test "${ac_cv_c_stack_direction+set}" = set; then | 14059 | if test "${ac_cv_c_stack_direction+set}" = set; then |
| 13681 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14060 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13682 | else | 14061 | else |
| @@ -13689,6 +14068,7 @@ _ACEOF | |||
| 13689 | cat confdefs.h >>conftest.$ac_ext | 14068 | cat confdefs.h >>conftest.$ac_ext |
| 13690 | cat >>conftest.$ac_ext <<_ACEOF | 14069 | cat >>conftest.$ac_ext <<_ACEOF |
| 13691 | /* end confdefs.h. */ | 14070 | /* end confdefs.h. */ |
| 14071 | $ac_includes_default | ||
| 13692 | int | 14072 | int |
| 13693 | find_stack_direction () | 14073 | find_stack_direction () |
| 13694 | { | 14074 | { |
| @@ -13706,17 +14086,26 @@ find_stack_direction () | |||
| 13706 | int | 14086 | int |
| 13707 | main () | 14087 | main () |
| 13708 | { | 14088 | { |
| 13709 | exit (find_stack_direction () < 0); | 14089 | return find_stack_direction () < 0; |
| 13710 | } | 14090 | } |
| 13711 | _ACEOF | 14091 | _ACEOF |
| 13712 | rm -f conftest$ac_exeext | 14092 | rm -f conftest$ac_exeext |
| 13713 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14093 | if { (ac_try="$ac_link" |
| 13714 | (eval $ac_link) 2>&5 | 14094 | case "(($ac_try" in |
| 14095 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14096 | *) ac_try_echo=$ac_try;; | ||
| 14097 | esac | ||
| 14098 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 14099 | (eval "$ac_link") 2>&5 | ||
| 13715 | ac_status=$? | 14100 | ac_status=$? |
| 13716 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14101 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13717 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 14102 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 13718 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14103 | { (case "(($ac_try" in |
| 13719 | (eval $ac_try) 2>&5 | 14104 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 14105 | *) ac_try_echo=$ac_try;; | ||
| 14106 | esac | ||
| 14107 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 14108 | (eval "$ac_try") 2>&5 | ||
| 13720 | ac_status=$? | 14109 | ac_status=$? |
| 13721 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14110 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13722 | (exit $ac_status); }; }; then | 14111 | (exit $ac_status); }; }; then |
| @@ -13729,11 +14118,13 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 13729 | ( exit $ac_status ) | 14118 | ( exit $ac_status ) |
| 13730 | ac_cv_c_stack_direction=-1 | 14119 | ac_cv_c_stack_direction=-1 |
| 13731 | fi | 14120 | fi |
| 13732 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 14121 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 13733 | fi | 14122 | fi |
| 14123 | |||
| 14124 | |||
| 13734 | fi | 14125 | fi |
| 13735 | echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 | 14126 | { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 |
| 13736 | echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 | 14127 | echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; } |
| 13737 | 14128 | ||
| 13738 | cat >>confdefs.h <<_ACEOF | 14129 | cat >>confdefs.h <<_ACEOF |
| 13739 | #define STACK_DIRECTION $ac_cv_c_stack_direction | 14130 | #define STACK_DIRECTION $ac_cv_c_stack_direction |
| @@ -13746,8 +14137,8 @@ fi | |||
| 13746 | # fmod, logb, and frexp are found in -lm on most systems. | 14137 | # fmod, logb, and frexp are found in -lm on most systems. |
| 13747 | # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 14138 | # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
| 13748 | 14139 | ||
| 13749 | echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 | 14140 | { echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 |
| 13750 | echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 | 14141 | echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6; } |
| 13751 | if test "${ac_cv_lib_m_sqrt+set}" = set; then | 14142 | if test "${ac_cv_lib_m_sqrt+set}" = set; then |
| 13752 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14143 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13753 | else | 14144 | else |
| @@ -13760,55 +14151,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 13760 | cat >>conftest.$ac_ext <<_ACEOF | 14151 | cat >>conftest.$ac_ext <<_ACEOF |
| 13761 | /* end confdefs.h. */ | 14152 | /* end confdefs.h. */ |
| 13762 | 14153 | ||
| 13763 | /* Override any gcc2 internal prototype to avoid an error. */ | 14154 | /* Override any GCC internal prototype to avoid an error. |
| 14155 | Use char because int might match the return type of a GCC | ||
| 14156 | builtin and then its argument prototype would still apply. */ | ||
| 13764 | #ifdef __cplusplus | 14157 | #ifdef __cplusplus |
| 13765 | extern "C" | 14158 | extern "C" |
| 13766 | #endif | 14159 | #endif |
| 13767 | /* We use char because int might match the return type of a gcc2 | ||
| 13768 | builtin and then its argument prototype would still apply. */ | ||
| 13769 | char sqrt (); | 14160 | char sqrt (); |
| 13770 | int | 14161 | int |
| 13771 | main () | 14162 | main () |
| 13772 | { | 14163 | { |
| 13773 | sqrt (); | 14164 | return sqrt (); |
| 13774 | ; | 14165 | ; |
| 13775 | return 0; | 14166 | return 0; |
| 13776 | } | 14167 | } |
| 13777 | _ACEOF | 14168 | _ACEOF |
| 13778 | rm -f conftest.$ac_objext conftest$ac_exeext | 14169 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13779 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14170 | if { (ac_try="$ac_link" |
| 13780 | (eval $ac_link) 2>conftest.er1 | 14171 | case "(($ac_try" in |
| 14172 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14173 | *) ac_try_echo=$ac_try;; | ||
| 14174 | esac | ||
| 14175 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 14176 | (eval "$ac_link") 2>conftest.er1 | ||
| 13781 | ac_status=$? | 14177 | ac_status=$? |
| 13782 | grep -v '^ *+' conftest.er1 >conftest.err | 14178 | grep -v '^ *+' conftest.er1 >conftest.err |
| 13783 | rm -f conftest.er1 | 14179 | rm -f conftest.er1 |
| 13784 | cat conftest.err >&5 | 14180 | cat conftest.err >&5 |
| 13785 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14181 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13786 | (exit $ac_status); } && | 14182 | (exit $ac_status); } && { |
| 13787 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 14183 | test -z "$ac_c_werror_flag" || |
| 13788 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14184 | test ! -s conftest.err |
| 13789 | (eval $ac_try) 2>&5 | 14185 | } && test -s conftest$ac_exeext && |
| 13790 | ac_status=$? | 14186 | $as_test_x conftest$ac_exeext; then |
| 13791 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13792 | (exit $ac_status); }; } && | ||
| 13793 | { ac_try='test -s conftest$ac_exeext' | ||
| 13794 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 13795 | (eval $ac_try) 2>&5 | ||
| 13796 | ac_status=$? | ||
| 13797 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13798 | (exit $ac_status); }; }; then | ||
| 13799 | ac_cv_lib_m_sqrt=yes | 14187 | ac_cv_lib_m_sqrt=yes |
| 13800 | else | 14188 | else |
| 13801 | echo "$as_me: failed program was:" >&5 | 14189 | echo "$as_me: failed program was:" >&5 |
| 13802 | sed 's/^/| /' conftest.$ac_ext >&5 | 14190 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 13803 | 14191 | ||
| 13804 | ac_cv_lib_m_sqrt=no | 14192 | ac_cv_lib_m_sqrt=no |
| 13805 | fi | 14193 | fi |
| 13806 | rm -f conftest.err conftest.$ac_objext \ | 14194 | |
| 14195 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13807 | conftest$ac_exeext conftest.$ac_ext | 14196 | conftest$ac_exeext conftest.$ac_ext |
| 13808 | LIBS=$ac_check_lib_save_LIBS | 14197 | LIBS=$ac_check_lib_save_LIBS |
| 13809 | fi | 14198 | fi |
| 13810 | echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 | 14199 | { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 |
| 13811 | echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 | 14200 | echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6; } |
| 13812 | if test $ac_cv_lib_m_sqrt = yes; then | 14201 | if test $ac_cv_lib_m_sqrt = yes; then |
| 13813 | cat >>confdefs.h <<_ACEOF | 14202 | cat >>confdefs.h <<_ACEOF |
| 13814 | #define HAVE_LIBM 1 | 14203 | #define HAVE_LIBM 1 |
| @@ -13822,8 +14211,8 @@ fi | |||
| 13822 | # Check for mail-locking functions in a "mail" library. Probably this should | 14211 | # Check for mail-locking functions in a "mail" library. Probably this should |
| 13823 | # have the same check as for liblockfile below. | 14212 | # have the same check as for liblockfile below. |
| 13824 | 14213 | ||
| 13825 | echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 | 14214 | { echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 |
| 13826 | echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 | 14215 | echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6; } |
| 13827 | if test "${ac_cv_lib_mail_maillock+set}" = set; then | 14216 | if test "${ac_cv_lib_mail_maillock+set}" = set; then |
| 13828 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14217 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13829 | else | 14218 | else |
| @@ -13836,55 +14225,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 13836 | cat >>conftest.$ac_ext <<_ACEOF | 14225 | cat >>conftest.$ac_ext <<_ACEOF |
| 13837 | /* end confdefs.h. */ | 14226 | /* end confdefs.h. */ |
| 13838 | 14227 | ||
| 13839 | /* Override any gcc2 internal prototype to avoid an error. */ | 14228 | /* Override any GCC internal prototype to avoid an error. |
| 14229 | Use char because int might match the return type of a GCC | ||
| 14230 | builtin and then its argument prototype would still apply. */ | ||
| 13840 | #ifdef __cplusplus | 14231 | #ifdef __cplusplus |
| 13841 | extern "C" | 14232 | extern "C" |
| 13842 | #endif | 14233 | #endif |
| 13843 | /* We use char because int might match the return type of a gcc2 | ||
| 13844 | builtin and then its argument prototype would still apply. */ | ||
| 13845 | char maillock (); | 14234 | char maillock (); |
| 13846 | int | 14235 | int |
| 13847 | main () | 14236 | main () |
| 13848 | { | 14237 | { |
| 13849 | maillock (); | 14238 | return maillock (); |
| 13850 | ; | 14239 | ; |
| 13851 | return 0; | 14240 | return 0; |
| 13852 | } | 14241 | } |
| 13853 | _ACEOF | 14242 | _ACEOF |
| 13854 | rm -f conftest.$ac_objext conftest$ac_exeext | 14243 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13855 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14244 | if { (ac_try="$ac_link" |
| 13856 | (eval $ac_link) 2>conftest.er1 | 14245 | case "(($ac_try" in |
| 14246 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14247 | *) ac_try_echo=$ac_try;; | ||
| 14248 | esac | ||
| 14249 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 14250 | (eval "$ac_link") 2>conftest.er1 | ||
| 13857 | ac_status=$? | 14251 | ac_status=$? |
| 13858 | grep -v '^ *+' conftest.er1 >conftest.err | 14252 | grep -v '^ *+' conftest.er1 >conftest.err |
| 13859 | rm -f conftest.er1 | 14253 | rm -f conftest.er1 |
| 13860 | cat conftest.err >&5 | 14254 | cat conftest.err >&5 |
| 13861 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14255 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13862 | (exit $ac_status); } && | 14256 | (exit $ac_status); } && { |
| 13863 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 14257 | test -z "$ac_c_werror_flag" || |
| 13864 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14258 | test ! -s conftest.err |
| 13865 | (eval $ac_try) 2>&5 | 14259 | } && test -s conftest$ac_exeext && |
| 13866 | ac_status=$? | 14260 | $as_test_x conftest$ac_exeext; then |
| 13867 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13868 | (exit $ac_status); }; } && | ||
| 13869 | { ac_try='test -s conftest$ac_exeext' | ||
| 13870 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 13871 | (eval $ac_try) 2>&5 | ||
| 13872 | ac_status=$? | ||
| 13873 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13874 | (exit $ac_status); }; }; then | ||
| 13875 | ac_cv_lib_mail_maillock=yes | 14261 | ac_cv_lib_mail_maillock=yes |
| 13876 | else | 14262 | else |
| 13877 | echo "$as_me: failed program was:" >&5 | 14263 | echo "$as_me: failed program was:" >&5 |
| 13878 | sed 's/^/| /' conftest.$ac_ext >&5 | 14264 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 13879 | 14265 | ||
| 13880 | ac_cv_lib_mail_maillock=no | 14266 | ac_cv_lib_mail_maillock=no |
| 13881 | fi | 14267 | fi |
| 13882 | rm -f conftest.err conftest.$ac_objext \ | 14268 | |
| 14269 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13883 | conftest$ac_exeext conftest.$ac_ext | 14270 | conftest$ac_exeext conftest.$ac_ext |
| 13884 | LIBS=$ac_check_lib_save_LIBS | 14271 | LIBS=$ac_check_lib_save_LIBS |
| 13885 | fi | 14272 | fi |
| 13886 | echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 | 14273 | { echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 |
| 13887 | echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 | 14274 | echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6; } |
| 13888 | if test $ac_cv_lib_mail_maillock = yes; then | 14275 | if test $ac_cv_lib_mail_maillock = yes; then |
| 13889 | cat >>confdefs.h <<_ACEOF | 14276 | cat >>confdefs.h <<_ACEOF |
| 13890 | #define HAVE_LIBMAIL 1 | 14277 | #define HAVE_LIBMAIL 1 |
| @@ -13895,8 +14282,8 @@ _ACEOF | |||
| 13895 | fi | 14282 | fi |
| 13896 | 14283 | ||
| 13897 | 14284 | ||
| 13898 | echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 | 14285 | { echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 |
| 13899 | echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 | 14286 | echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6; } |
| 13900 | if test "${ac_cv_lib_lockfile_maillock+set}" = set; then | 14287 | if test "${ac_cv_lib_lockfile_maillock+set}" = set; then |
| 13901 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14288 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13902 | else | 14289 | else |
| @@ -13909,55 +14296,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 13909 | cat >>conftest.$ac_ext <<_ACEOF | 14296 | cat >>conftest.$ac_ext <<_ACEOF |
| 13910 | /* end confdefs.h. */ | 14297 | /* end confdefs.h. */ |
| 13911 | 14298 | ||
| 13912 | /* Override any gcc2 internal prototype to avoid an error. */ | 14299 | /* Override any GCC internal prototype to avoid an error. |
| 14300 | Use char because int might match the return type of a GCC | ||
| 14301 | builtin and then its argument prototype would still apply. */ | ||
| 13913 | #ifdef __cplusplus | 14302 | #ifdef __cplusplus |
| 13914 | extern "C" | 14303 | extern "C" |
| 13915 | #endif | 14304 | #endif |
| 13916 | /* We use char because int might match the return type of a gcc2 | ||
| 13917 | builtin and then its argument prototype would still apply. */ | ||
| 13918 | char maillock (); | 14305 | char maillock (); |
| 13919 | int | 14306 | int |
| 13920 | main () | 14307 | main () |
| 13921 | { | 14308 | { |
| 13922 | maillock (); | 14309 | return maillock (); |
| 13923 | ; | 14310 | ; |
| 13924 | return 0; | 14311 | return 0; |
| 13925 | } | 14312 | } |
| 13926 | _ACEOF | 14313 | _ACEOF |
| 13927 | rm -f conftest.$ac_objext conftest$ac_exeext | 14314 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 13928 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14315 | if { (ac_try="$ac_link" |
| 13929 | (eval $ac_link) 2>conftest.er1 | 14316 | case "(($ac_try" in |
| 14317 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14318 | *) ac_try_echo=$ac_try;; | ||
| 14319 | esac | ||
| 14320 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 14321 | (eval "$ac_link") 2>conftest.er1 | ||
| 13930 | ac_status=$? | 14322 | ac_status=$? |
| 13931 | grep -v '^ *+' conftest.er1 >conftest.err | 14323 | grep -v '^ *+' conftest.er1 >conftest.err |
| 13932 | rm -f conftest.er1 | 14324 | rm -f conftest.er1 |
| 13933 | cat conftest.err >&5 | 14325 | cat conftest.err >&5 |
| 13934 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14326 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13935 | (exit $ac_status); } && | 14327 | (exit $ac_status); } && { |
| 13936 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 14328 | test -z "$ac_c_werror_flag" || |
| 13937 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14329 | test ! -s conftest.err |
| 13938 | (eval $ac_try) 2>&5 | 14330 | } && test -s conftest$ac_exeext && |
| 13939 | ac_status=$? | 14331 | $as_test_x conftest$ac_exeext; then |
| 13940 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13941 | (exit $ac_status); }; } && | ||
| 13942 | { ac_try='test -s conftest$ac_exeext' | ||
| 13943 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 13944 | (eval $ac_try) 2>&5 | ||
| 13945 | ac_status=$? | ||
| 13946 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 13947 | (exit $ac_status); }; }; then | ||
| 13948 | ac_cv_lib_lockfile_maillock=yes | 14332 | ac_cv_lib_lockfile_maillock=yes |
| 13949 | else | 14333 | else |
| 13950 | echo "$as_me: failed program was:" >&5 | 14334 | echo "$as_me: failed program was:" >&5 |
| 13951 | sed 's/^/| /' conftest.$ac_ext >&5 | 14335 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 13952 | 14336 | ||
| 13953 | ac_cv_lib_lockfile_maillock=no | 14337 | ac_cv_lib_lockfile_maillock=no |
| 13954 | fi | 14338 | fi |
| 13955 | rm -f conftest.err conftest.$ac_objext \ | 14339 | |
| 14340 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 13956 | conftest$ac_exeext conftest.$ac_ext | 14341 | conftest$ac_exeext conftest.$ac_ext |
| 13957 | LIBS=$ac_check_lib_save_LIBS | 14342 | LIBS=$ac_check_lib_save_LIBS |
| 13958 | fi | 14343 | fi |
| 13959 | echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 | 14344 | { echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 |
| 13960 | echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 | 14345 | echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6; } |
| 13961 | if test $ac_cv_lib_lockfile_maillock = yes; then | 14346 | if test $ac_cv_lib_lockfile_maillock = yes; then |
| 13962 | cat >>confdefs.h <<_ACEOF | 14347 | cat >>confdefs.h <<_ACEOF |
| 13963 | #define HAVE_LIBLOCKFILE 1 | 14348 | #define HAVE_LIBLOCKFILE 1 |
| @@ -13973,8 +14358,8 @@ fi | |||
| 13973 | if test "$ac_cv_lib_lockfile_maillock" = no; then | 14358 | if test "$ac_cv_lib_lockfile_maillock" = no; then |
| 13974 | # Extract the first word of "liblockfile.so", so it can be a program name with args. | 14359 | # Extract the first word of "liblockfile.so", so it can be a program name with args. |
| 13975 | set dummy liblockfile.so; ac_word=$2 | 14360 | set dummy liblockfile.so; ac_word=$2 |
| 13976 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 14361 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 13977 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 14362 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
| 13978 | if test "${ac_cv_prog_liblockfile+set}" = set; then | 14363 | if test "${ac_cv_prog_liblockfile+set}" = set; then |
| 13979 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14364 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 13980 | else | 14365 | else |
| @@ -13988,26 +14373,28 @@ do | |||
| 13988 | IFS=$as_save_IFS | 14373 | IFS=$as_save_IFS |
| 13989 | test -z "$as_dir" && as_dir=. | 14374 | test -z "$as_dir" && as_dir=. |
| 13990 | for ac_exec_ext in '' $ac_executable_extensions; do | 14375 | for ac_exec_ext in '' $ac_executable_extensions; do |
| 13991 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 14376 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| 13992 | ac_cv_prog_liblockfile="yes" | 14377 | ac_cv_prog_liblockfile="yes" |
| 13993 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 14378 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 13994 | break 2 | 14379 | break 2 |
| 13995 | fi | 14380 | fi |
| 13996 | done | 14381 | done |
| 13997 | done | 14382 | done |
| 14383 | IFS=$as_save_IFS | ||
| 13998 | 14384 | ||
| 13999 | test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" | 14385 | test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" |
| 14000 | fi | 14386 | fi |
| 14001 | fi | 14387 | fi |
| 14002 | liblockfile=$ac_cv_prog_liblockfile | 14388 | liblockfile=$ac_cv_prog_liblockfile |
| 14003 | if test -n "$liblockfile"; then | 14389 | if test -n "$liblockfile"; then |
| 14004 | echo "$as_me:$LINENO: result: $liblockfile" >&5 | 14390 | { echo "$as_me:$LINENO: result: $liblockfile" >&5 |
| 14005 | echo "${ECHO_T}$liblockfile" >&6 | 14391 | echo "${ECHO_T}$liblockfile" >&6; } |
| 14006 | else | 14392 | else |
| 14007 | echo "$as_me:$LINENO: result: no" >&5 | 14393 | { echo "$as_me:$LINENO: result: no" >&5 |
| 14008 | echo "${ECHO_T}no" >&6 | 14394 | echo "${ECHO_T}no" >&6; } |
| 14009 | fi | 14395 | fi |
| 14010 | 14396 | ||
| 14397 | |||
| 14011 | if test $ac_cv_prog_liblockfile = yes; then | 14398 | if test $ac_cv_prog_liblockfile = yes; then |
| 14012 | { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. | 14399 | { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. |
| 14013 | This probably means that movemail could lose mail. | 14400 | This probably means that movemail could lose mail. |
| @@ -14023,9 +14410,9 @@ fi | |||
| 14023 | for ac_func in touchlock | 14410 | for ac_func in touchlock |
| 14024 | do | 14411 | do |
| 14025 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 14412 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 14026 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 14413 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 14027 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 14414 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 14028 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 14415 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 14029 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14416 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14030 | else | 14417 | else |
| 14031 | cat >conftest.$ac_ext <<_ACEOF | 14418 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -14051,67 +14438,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 14051 | 14438 | ||
| 14052 | #undef $ac_func | 14439 | #undef $ac_func |
| 14053 | 14440 | ||
| 14054 | /* Override any gcc2 internal prototype to avoid an error. */ | 14441 | /* Override any GCC internal prototype to avoid an error. |
| 14442 | Use char because int might match the return type of a GCC | ||
| 14443 | builtin and then its argument prototype would still apply. */ | ||
| 14055 | #ifdef __cplusplus | 14444 | #ifdef __cplusplus |
| 14056 | extern "C" | 14445 | extern "C" |
| 14057 | { | ||
| 14058 | #endif | 14446 | #endif |
| 14059 | /* We use char because int might match the return type of a gcc2 | ||
| 14060 | builtin and then its argument prototype would still apply. */ | ||
| 14061 | char $ac_func (); | 14447 | char $ac_func (); |
| 14062 | /* The GNU C library defines this for functions which it implements | 14448 | /* The GNU C library defines this for functions which it implements |
| 14063 | to always fail with ENOSYS. Some functions are actually named | 14449 | to always fail with ENOSYS. Some functions are actually named |
| 14064 | something starting with __ and the normal name is an alias. */ | 14450 | something starting with __ and the normal name is an alias. */ |
| 14065 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 14451 | #if defined __stub_$ac_func || defined __stub___$ac_func |
| 14066 | choke me | 14452 | choke me |
| 14067 | #else | ||
| 14068 | char (*f) () = $ac_func; | ||
| 14069 | #endif | ||
| 14070 | #ifdef __cplusplus | ||
| 14071 | } | ||
| 14072 | #endif | 14453 | #endif |
| 14073 | 14454 | ||
| 14074 | int | 14455 | int |
| 14075 | main () | 14456 | main () |
| 14076 | { | 14457 | { |
| 14077 | return f != $ac_func; | 14458 | return $ac_func (); |
| 14078 | ; | 14459 | ; |
| 14079 | return 0; | 14460 | return 0; |
| 14080 | } | 14461 | } |
| 14081 | _ACEOF | 14462 | _ACEOF |
| 14082 | rm -f conftest.$ac_objext conftest$ac_exeext | 14463 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 14083 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14464 | if { (ac_try="$ac_link" |
| 14084 | (eval $ac_link) 2>conftest.er1 | 14465 | case "(($ac_try" in |
| 14466 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14467 | *) ac_try_echo=$ac_try;; | ||
| 14468 | esac | ||
| 14469 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 14470 | (eval "$ac_link") 2>conftest.er1 | ||
| 14085 | ac_status=$? | 14471 | ac_status=$? |
| 14086 | grep -v '^ *+' conftest.er1 >conftest.err | 14472 | grep -v '^ *+' conftest.er1 >conftest.err |
| 14087 | rm -f conftest.er1 | 14473 | rm -f conftest.er1 |
| 14088 | cat conftest.err >&5 | 14474 | cat conftest.err >&5 |
| 14089 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14475 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14090 | (exit $ac_status); } && | 14476 | (exit $ac_status); } && { |
| 14091 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 14477 | test -z "$ac_c_werror_flag" || |
| 14092 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14478 | test ! -s conftest.err |
| 14093 | (eval $ac_try) 2>&5 | 14479 | } && test -s conftest$ac_exeext && |
| 14094 | ac_status=$? | 14480 | $as_test_x conftest$ac_exeext; then |
| 14095 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14096 | (exit $ac_status); }; } && | ||
| 14097 | { ac_try='test -s conftest$ac_exeext' | ||
| 14098 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 14099 | (eval $ac_try) 2>&5 | ||
| 14100 | ac_status=$? | ||
| 14101 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14102 | (exit $ac_status); }; }; then | ||
| 14103 | eval "$as_ac_var=yes" | 14481 | eval "$as_ac_var=yes" |
| 14104 | else | 14482 | else |
| 14105 | echo "$as_me: failed program was:" >&5 | 14483 | echo "$as_me: failed program was:" >&5 |
| 14106 | sed 's/^/| /' conftest.$ac_ext >&5 | 14484 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 14107 | 14485 | ||
| 14108 | eval "$as_ac_var=no" | 14486 | eval "$as_ac_var=no" |
| 14109 | fi | 14487 | fi |
| 14110 | rm -f conftest.err conftest.$ac_objext \ | 14488 | |
| 14489 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 14111 | conftest$ac_exeext conftest.$ac_ext | 14490 | conftest$ac_exeext conftest.$ac_ext |
| 14112 | fi | 14491 | fi |
| 14113 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 14492 | ac_res=`eval echo '${'$as_ac_var'}'` |
| 14114 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 14493 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 14494 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 14115 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 14495 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 14116 | cat >>confdefs.h <<_ACEOF | 14496 | cat >>confdefs.h <<_ACEOF |
| 14117 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 14497 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| @@ -14124,18 +14504,19 @@ done | |||
| 14124 | for ac_header in maillock.h | 14504 | for ac_header in maillock.h |
| 14125 | do | 14505 | do |
| 14126 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 14506 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 14127 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 14507 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 14128 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 14508 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 14129 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 14509 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 14130 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 14510 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 14131 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14511 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14132 | fi | 14512 | fi |
| 14133 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 14513 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 14134 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 14514 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 14515 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 14135 | else | 14516 | else |
| 14136 | # Is the header compilable? | 14517 | # Is the header compilable? |
| 14137 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 14518 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 14138 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 14519 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 14139 | cat >conftest.$ac_ext <<_ACEOF | 14520 | cat >conftest.$ac_ext <<_ACEOF |
| 14140 | /* confdefs.h. */ | 14521 | /* confdefs.h. */ |
| 14141 | _ACEOF | 14522 | _ACEOF |
| @@ -14146,40 +14527,37 @@ $ac_includes_default | |||
| 14146 | #include <$ac_header> | 14527 | #include <$ac_header> |
| 14147 | _ACEOF | 14528 | _ACEOF |
| 14148 | rm -f conftest.$ac_objext | 14529 | rm -f conftest.$ac_objext |
| 14149 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 14530 | if { (ac_try="$ac_compile" |
| 14150 | (eval $ac_compile) 2>conftest.er1 | 14531 | case "(($ac_try" in |
| 14532 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14533 | *) ac_try_echo=$ac_try;; | ||
| 14534 | esac | ||
| 14535 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 14536 | (eval "$ac_compile") 2>conftest.er1 | ||
| 14151 | ac_status=$? | 14537 | ac_status=$? |
| 14152 | grep -v '^ *+' conftest.er1 >conftest.err | 14538 | grep -v '^ *+' conftest.er1 >conftest.err |
| 14153 | rm -f conftest.er1 | 14539 | rm -f conftest.er1 |
| 14154 | cat conftest.err >&5 | 14540 | cat conftest.err >&5 |
| 14155 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14541 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14156 | (exit $ac_status); } && | 14542 | (exit $ac_status); } && { |
| 14157 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 14543 | test -z "$ac_c_werror_flag" || |
| 14158 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14544 | test ! -s conftest.err |
| 14159 | (eval $ac_try) 2>&5 | 14545 | } && test -s conftest.$ac_objext; then |
| 14160 | ac_status=$? | ||
| 14161 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14162 | (exit $ac_status); }; } && | ||
| 14163 | { ac_try='test -s conftest.$ac_objext' | ||
| 14164 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 14165 | (eval $ac_try) 2>&5 | ||
| 14166 | ac_status=$? | ||
| 14167 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14168 | (exit $ac_status); }; }; then | ||
| 14169 | ac_header_compiler=yes | 14546 | ac_header_compiler=yes |
| 14170 | else | 14547 | else |
| 14171 | echo "$as_me: failed program was:" >&5 | 14548 | echo "$as_me: failed program was:" >&5 |
| 14172 | sed 's/^/| /' conftest.$ac_ext >&5 | 14549 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 14173 | 14550 | ||
| 14174 | ac_header_compiler=no | 14551 | ac_header_compiler=no |
| 14175 | fi | 14552 | fi |
| 14176 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 14553 | |
| 14177 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 14554 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14178 | echo "${ECHO_T}$ac_header_compiler" >&6 | 14555 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 14556 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 14179 | 14557 | ||
| 14180 | # Is the header present? | 14558 | # Is the header present? |
| 14181 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 14559 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 14182 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 14560 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 14183 | cat >conftest.$ac_ext <<_ACEOF | 14561 | cat >conftest.$ac_ext <<_ACEOF |
| 14184 | /* confdefs.h. */ | 14562 | /* confdefs.h. */ |
| 14185 | _ACEOF | 14563 | _ACEOF |
| @@ -14188,24 +14566,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 14188 | /* end confdefs.h. */ | 14566 | /* end confdefs.h. */ |
| 14189 | #include <$ac_header> | 14567 | #include <$ac_header> |
| 14190 | _ACEOF | 14568 | _ACEOF |
| 14191 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 14569 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 14192 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 14570 | case "(($ac_try" in |
| 14571 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14572 | *) ac_try_echo=$ac_try;; | ||
| 14573 | esac | ||
| 14574 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 14575 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 14193 | ac_status=$? | 14576 | ac_status=$? |
| 14194 | grep -v '^ *+' conftest.er1 >conftest.err | 14577 | grep -v '^ *+' conftest.er1 >conftest.err |
| 14195 | rm -f conftest.er1 | 14578 | rm -f conftest.er1 |
| 14196 | cat conftest.err >&5 | 14579 | cat conftest.err >&5 |
| 14197 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14580 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14198 | (exit $ac_status); } >/dev/null; then | 14581 | (exit $ac_status); } >/dev/null && { |
| 14199 | if test -s conftest.err; then | 14582 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 14200 | ac_cpp_err=$ac_c_preproc_warn_flag | 14583 | test ! -s conftest.err |
| 14201 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 14584 | }; then |
| 14202 | else | ||
| 14203 | ac_cpp_err= | ||
| 14204 | fi | ||
| 14205 | else | ||
| 14206 | ac_cpp_err=yes | ||
| 14207 | fi | ||
| 14208 | if test -z "$ac_cpp_err"; then | ||
| 14209 | ac_header_preproc=yes | 14585 | ac_header_preproc=yes |
| 14210 | else | 14586 | else |
| 14211 | echo "$as_me: failed program was:" >&5 | 14587 | echo "$as_me: failed program was:" >&5 |
| @@ -14213,9 +14589,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 14213 | 14589 | ||
| 14214 | ac_header_preproc=no | 14590 | ac_header_preproc=no |
| 14215 | fi | 14591 | fi |
| 14592 | |||
| 14216 | rm -f conftest.err conftest.$ac_ext | 14593 | rm -f conftest.err conftest.$ac_ext |
| 14217 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 14594 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 14218 | echo "${ECHO_T}$ac_header_preproc" >&6 | 14595 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 14219 | 14596 | ||
| 14220 | # So? What about this header? | 14597 | # So? What about this header? |
| 14221 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 14598 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -14239,25 +14616,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 14239 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 14616 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 14240 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 14617 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 14241 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 14618 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 14242 | ( | 14619 | |
| 14243 | cat <<\_ASBOX | ||
| 14244 | ## ------------------------------------------ ## | ||
| 14245 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 14246 | ## ------------------------------------------ ## | ||
| 14247 | _ASBOX | ||
| 14248 | ) | | ||
| 14249 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 14250 | ;; | 14620 | ;; |
| 14251 | esac | 14621 | esac |
| 14252 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 14622 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 14253 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 14623 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 14254 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 14624 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 14255 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14625 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14256 | else | 14626 | else |
| 14257 | eval "$as_ac_Header=\$ac_header_preproc" | 14627 | eval "$as_ac_Header=\$ac_header_preproc" |
| 14258 | fi | 14628 | fi |
| 14259 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 14629 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 14260 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 14630 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 14631 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 14261 | 14632 | ||
| 14262 | fi | 14633 | fi |
| 14263 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 14634 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| @@ -14349,9 +14720,9 @@ gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \ | |||
| 14349 | memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign | 14720 | memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign |
| 14350 | do | 14721 | do |
| 14351 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 14722 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 14352 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 14723 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 14353 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 14724 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 14354 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 14725 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 14355 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14726 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14356 | else | 14727 | else |
| 14357 | cat >conftest.$ac_ext <<_ACEOF | 14728 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -14377,67 +14748,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 14377 | 14748 | ||
| 14378 | #undef $ac_func | 14749 | #undef $ac_func |
| 14379 | 14750 | ||
| 14380 | /* Override any gcc2 internal prototype to avoid an error. */ | 14751 | /* Override any GCC internal prototype to avoid an error. |
| 14752 | Use char because int might match the return type of a GCC | ||
| 14753 | builtin and then its argument prototype would still apply. */ | ||
| 14381 | #ifdef __cplusplus | 14754 | #ifdef __cplusplus |
| 14382 | extern "C" | 14755 | extern "C" |
| 14383 | { | ||
| 14384 | #endif | 14756 | #endif |
| 14385 | /* We use char because int might match the return type of a gcc2 | ||
| 14386 | builtin and then its argument prototype would still apply. */ | ||
| 14387 | char $ac_func (); | 14757 | char $ac_func (); |
| 14388 | /* The GNU C library defines this for functions which it implements | 14758 | /* The GNU C library defines this for functions which it implements |
| 14389 | to always fail with ENOSYS. Some functions are actually named | 14759 | to always fail with ENOSYS. Some functions are actually named |
| 14390 | something starting with __ and the normal name is an alias. */ | 14760 | something starting with __ and the normal name is an alias. */ |
| 14391 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 14761 | #if defined __stub_$ac_func || defined __stub___$ac_func |
| 14392 | choke me | 14762 | choke me |
| 14393 | #else | ||
| 14394 | char (*f) () = $ac_func; | ||
| 14395 | #endif | ||
| 14396 | #ifdef __cplusplus | ||
| 14397 | } | ||
| 14398 | #endif | 14763 | #endif |
| 14399 | 14764 | ||
| 14400 | int | 14765 | int |
| 14401 | main () | 14766 | main () |
| 14402 | { | 14767 | { |
| 14403 | return f != $ac_func; | 14768 | return $ac_func (); |
| 14404 | ; | 14769 | ; |
| 14405 | return 0; | 14770 | return 0; |
| 14406 | } | 14771 | } |
| 14407 | _ACEOF | 14772 | _ACEOF |
| 14408 | rm -f conftest.$ac_objext conftest$ac_exeext | 14773 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 14409 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14774 | if { (ac_try="$ac_link" |
| 14410 | (eval $ac_link) 2>conftest.er1 | 14775 | case "(($ac_try" in |
| 14776 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14777 | *) ac_try_echo=$ac_try;; | ||
| 14778 | esac | ||
| 14779 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 14780 | (eval "$ac_link") 2>conftest.er1 | ||
| 14411 | ac_status=$? | 14781 | ac_status=$? |
| 14412 | grep -v '^ *+' conftest.er1 >conftest.err | 14782 | grep -v '^ *+' conftest.er1 >conftest.err |
| 14413 | rm -f conftest.er1 | 14783 | rm -f conftest.er1 |
| 14414 | cat conftest.err >&5 | 14784 | cat conftest.err >&5 |
| 14415 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14785 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14416 | (exit $ac_status); } && | 14786 | (exit $ac_status); } && { |
| 14417 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 14787 | test -z "$ac_c_werror_flag" || |
| 14418 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14788 | test ! -s conftest.err |
| 14419 | (eval $ac_try) 2>&5 | 14789 | } && test -s conftest$ac_exeext && |
| 14420 | ac_status=$? | 14790 | $as_test_x conftest$ac_exeext; then |
| 14421 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14422 | (exit $ac_status); }; } && | ||
| 14423 | { ac_try='test -s conftest$ac_exeext' | ||
| 14424 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 14425 | (eval $ac_try) 2>&5 | ||
| 14426 | ac_status=$? | ||
| 14427 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14428 | (exit $ac_status); }; }; then | ||
| 14429 | eval "$as_ac_var=yes" | 14791 | eval "$as_ac_var=yes" |
| 14430 | else | 14792 | else |
| 14431 | echo "$as_me: failed program was:" >&5 | 14793 | echo "$as_me: failed program was:" >&5 |
| 14432 | sed 's/^/| /' conftest.$ac_ext >&5 | 14794 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 14433 | 14795 | ||
| 14434 | eval "$as_ac_var=no" | 14796 | eval "$as_ac_var=no" |
| 14435 | fi | 14797 | fi |
| 14436 | rm -f conftest.err conftest.$ac_objext \ | 14798 | |
| 14799 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 14437 | conftest$ac_exeext conftest.$ac_ext | 14800 | conftest$ac_exeext conftest.$ac_ext |
| 14438 | fi | 14801 | fi |
| 14439 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 14802 | ac_res=`eval echo '${'$as_ac_var'}'` |
| 14440 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 14803 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 14804 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 14441 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 14805 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 14442 | cat >>confdefs.h <<_ACEOF | 14806 | cat >>confdefs.h <<_ACEOF |
| 14443 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 14807 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| @@ -14451,18 +14815,19 @@ done | |||
| 14451 | for ac_header in sys/un.h | 14815 | for ac_header in sys/un.h |
| 14452 | do | 14816 | do |
| 14453 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 14817 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 14454 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 14818 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 14455 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 14819 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 14456 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 14820 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 14457 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 14821 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 14458 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14822 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14459 | fi | 14823 | fi |
| 14460 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 14824 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 14461 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 14825 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 14826 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 14462 | else | 14827 | else |
| 14463 | # Is the header compilable? | 14828 | # Is the header compilable? |
| 14464 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 14829 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 14465 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 14830 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 14466 | cat >conftest.$ac_ext <<_ACEOF | 14831 | cat >conftest.$ac_ext <<_ACEOF |
| 14467 | /* confdefs.h. */ | 14832 | /* confdefs.h. */ |
| 14468 | _ACEOF | 14833 | _ACEOF |
| @@ -14473,40 +14838,37 @@ $ac_includes_default | |||
| 14473 | #include <$ac_header> | 14838 | #include <$ac_header> |
| 14474 | _ACEOF | 14839 | _ACEOF |
| 14475 | rm -f conftest.$ac_objext | 14840 | rm -f conftest.$ac_objext |
| 14476 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 14841 | if { (ac_try="$ac_compile" |
| 14477 | (eval $ac_compile) 2>conftest.er1 | 14842 | case "(($ac_try" in |
| 14843 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14844 | *) ac_try_echo=$ac_try;; | ||
| 14845 | esac | ||
| 14846 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 14847 | (eval "$ac_compile") 2>conftest.er1 | ||
| 14478 | ac_status=$? | 14848 | ac_status=$? |
| 14479 | grep -v '^ *+' conftest.er1 >conftest.err | 14849 | grep -v '^ *+' conftest.er1 >conftest.err |
| 14480 | rm -f conftest.er1 | 14850 | rm -f conftest.er1 |
| 14481 | cat conftest.err >&5 | 14851 | cat conftest.err >&5 |
| 14482 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14852 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14483 | (exit $ac_status); } && | 14853 | (exit $ac_status); } && { |
| 14484 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 14854 | test -z "$ac_c_werror_flag" || |
| 14485 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14855 | test ! -s conftest.err |
| 14486 | (eval $ac_try) 2>&5 | 14856 | } && test -s conftest.$ac_objext; then |
| 14487 | ac_status=$? | ||
| 14488 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14489 | (exit $ac_status); }; } && | ||
| 14490 | { ac_try='test -s conftest.$ac_objext' | ||
| 14491 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 14492 | (eval $ac_try) 2>&5 | ||
| 14493 | ac_status=$? | ||
| 14494 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14495 | (exit $ac_status); }; }; then | ||
| 14496 | ac_header_compiler=yes | 14857 | ac_header_compiler=yes |
| 14497 | else | 14858 | else |
| 14498 | echo "$as_me: failed program was:" >&5 | 14859 | echo "$as_me: failed program was:" >&5 |
| 14499 | sed 's/^/| /' conftest.$ac_ext >&5 | 14860 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 14500 | 14861 | ||
| 14501 | ac_header_compiler=no | 14862 | ac_header_compiler=no |
| 14502 | fi | 14863 | fi |
| 14503 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 14864 | |
| 14504 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 14865 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14505 | echo "${ECHO_T}$ac_header_compiler" >&6 | 14866 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 14867 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 14506 | 14868 | ||
| 14507 | # Is the header present? | 14869 | # Is the header present? |
| 14508 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 14870 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 14509 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 14871 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 14510 | cat >conftest.$ac_ext <<_ACEOF | 14872 | cat >conftest.$ac_ext <<_ACEOF |
| 14511 | /* confdefs.h. */ | 14873 | /* confdefs.h. */ |
| 14512 | _ACEOF | 14874 | _ACEOF |
| @@ -14515,24 +14877,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 14515 | /* end confdefs.h. */ | 14877 | /* end confdefs.h. */ |
| 14516 | #include <$ac_header> | 14878 | #include <$ac_header> |
| 14517 | _ACEOF | 14879 | _ACEOF |
| 14518 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 14880 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 14519 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 14881 | case "(($ac_try" in |
| 14882 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14883 | *) ac_try_echo=$ac_try;; | ||
| 14884 | esac | ||
| 14885 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 14886 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 14520 | ac_status=$? | 14887 | ac_status=$? |
| 14521 | grep -v '^ *+' conftest.er1 >conftest.err | 14888 | grep -v '^ *+' conftest.er1 >conftest.err |
| 14522 | rm -f conftest.er1 | 14889 | rm -f conftest.er1 |
| 14523 | cat conftest.err >&5 | 14890 | cat conftest.err >&5 |
| 14524 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14891 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14525 | (exit $ac_status); } >/dev/null; then | 14892 | (exit $ac_status); } >/dev/null && { |
| 14526 | if test -s conftest.err; then | 14893 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 14527 | ac_cpp_err=$ac_c_preproc_warn_flag | 14894 | test ! -s conftest.err |
| 14528 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 14895 | }; then |
| 14529 | else | ||
| 14530 | ac_cpp_err= | ||
| 14531 | fi | ||
| 14532 | else | ||
| 14533 | ac_cpp_err=yes | ||
| 14534 | fi | ||
| 14535 | if test -z "$ac_cpp_err"; then | ||
| 14536 | ac_header_preproc=yes | 14896 | ac_header_preproc=yes |
| 14537 | else | 14897 | else |
| 14538 | echo "$as_me: failed program was:" >&5 | 14898 | echo "$as_me: failed program was:" >&5 |
| @@ -14540,9 +14900,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 14540 | 14900 | ||
| 14541 | ac_header_preproc=no | 14901 | ac_header_preproc=no |
| 14542 | fi | 14902 | fi |
| 14903 | |||
| 14543 | rm -f conftest.err conftest.$ac_ext | 14904 | rm -f conftest.err conftest.$ac_ext |
| 14544 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 14905 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 14545 | echo "${ECHO_T}$ac_header_preproc" >&6 | 14906 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 14546 | 14907 | ||
| 14547 | # So? What about this header? | 14908 | # So? What about this header? |
| 14548 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 14909 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -14566,25 +14927,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 14566 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 14927 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 14567 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 14928 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 14568 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 14929 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 14569 | ( | 14930 | |
| 14570 | cat <<\_ASBOX | ||
| 14571 | ## ------------------------------------------ ## | ||
| 14572 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 14573 | ## ------------------------------------------ ## | ||
| 14574 | _ASBOX | ||
| 14575 | ) | | ||
| 14576 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 14577 | ;; | 14931 | ;; |
| 14578 | esac | 14932 | esac |
| 14579 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 14933 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 14580 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 14934 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 14581 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 14935 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 14582 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14936 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14583 | else | 14937 | else |
| 14584 | eval "$as_ac_Header=\$ac_header_preproc" | 14938 | eval "$as_ac_Header=\$ac_header_preproc" |
| 14585 | fi | 14939 | fi |
| 14586 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 14940 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 14587 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 14941 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 14942 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 14588 | 14943 | ||
| 14589 | fi | 14944 | fi |
| 14590 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 14945 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| @@ -14600,21 +14955,23 @@ done | |||
| 14600 | 14955 | ||
| 14601 | 14956 | ||
| 14602 | 14957 | ||
| 14603 | for ac_header in stdlib.h sys/time.h unistd.h | 14958 | |
| 14959 | for ac_header in $ac_header_list | ||
| 14604 | do | 14960 | do |
| 14605 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 14961 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 14606 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 14962 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 14607 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 14963 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 14608 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 14964 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 14609 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 14965 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 14610 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14966 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14611 | fi | 14967 | fi |
| 14612 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 14968 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 14613 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 14969 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 14970 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 14614 | else | 14971 | else |
| 14615 | # Is the header compilable? | 14972 | # Is the header compilable? |
| 14616 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 14973 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 14617 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 14974 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 14618 | cat >conftest.$ac_ext <<_ACEOF | 14975 | cat >conftest.$ac_ext <<_ACEOF |
| 14619 | /* confdefs.h. */ | 14976 | /* confdefs.h. */ |
| 14620 | _ACEOF | 14977 | _ACEOF |
| @@ -14625,40 +14982,37 @@ $ac_includes_default | |||
| 14625 | #include <$ac_header> | 14982 | #include <$ac_header> |
| 14626 | _ACEOF | 14983 | _ACEOF |
| 14627 | rm -f conftest.$ac_objext | 14984 | rm -f conftest.$ac_objext |
| 14628 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 14985 | if { (ac_try="$ac_compile" |
| 14629 | (eval $ac_compile) 2>conftest.er1 | 14986 | case "(($ac_try" in |
| 14987 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 14988 | *) ac_try_echo=$ac_try;; | ||
| 14989 | esac | ||
| 14990 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 14991 | (eval "$ac_compile") 2>conftest.er1 | ||
| 14630 | ac_status=$? | 14992 | ac_status=$? |
| 14631 | grep -v '^ *+' conftest.er1 >conftest.err | 14993 | grep -v '^ *+' conftest.er1 >conftest.err |
| 14632 | rm -f conftest.er1 | 14994 | rm -f conftest.er1 |
| 14633 | cat conftest.err >&5 | 14995 | cat conftest.err >&5 |
| 14634 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14996 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14635 | (exit $ac_status); } && | 14997 | (exit $ac_status); } && { |
| 14636 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 14998 | test -z "$ac_c_werror_flag" || |
| 14637 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14999 | test ! -s conftest.err |
| 14638 | (eval $ac_try) 2>&5 | 15000 | } && test -s conftest.$ac_objext; then |
| 14639 | ac_status=$? | ||
| 14640 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14641 | (exit $ac_status); }; } && | ||
| 14642 | { ac_try='test -s conftest.$ac_objext' | ||
| 14643 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 14644 | (eval $ac_try) 2>&5 | ||
| 14645 | ac_status=$? | ||
| 14646 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14647 | (exit $ac_status); }; }; then | ||
| 14648 | ac_header_compiler=yes | 15001 | ac_header_compiler=yes |
| 14649 | else | 15002 | else |
| 14650 | echo "$as_me: failed program was:" >&5 | 15003 | echo "$as_me: failed program was:" >&5 |
| 14651 | sed 's/^/| /' conftest.$ac_ext >&5 | 15004 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 14652 | 15005 | ||
| 14653 | ac_header_compiler=no | 15006 | ac_header_compiler=no |
| 14654 | fi | 15007 | fi |
| 14655 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 15008 | |
| 14656 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 15009 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 14657 | echo "${ECHO_T}$ac_header_compiler" >&6 | 15010 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 15011 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 14658 | 15012 | ||
| 14659 | # Is the header present? | 15013 | # Is the header present? |
| 14660 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 15014 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 14661 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 15015 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 14662 | cat >conftest.$ac_ext <<_ACEOF | 15016 | cat >conftest.$ac_ext <<_ACEOF |
| 14663 | /* confdefs.h. */ | 15017 | /* confdefs.h. */ |
| 14664 | _ACEOF | 15018 | _ACEOF |
| @@ -14667,24 +15021,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 14667 | /* end confdefs.h. */ | 15021 | /* end confdefs.h. */ |
| 14668 | #include <$ac_header> | 15022 | #include <$ac_header> |
| 14669 | _ACEOF | 15023 | _ACEOF |
| 14670 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 15024 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 14671 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 15025 | case "(($ac_try" in |
| 15026 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15027 | *) ac_try_echo=$ac_try;; | ||
| 15028 | esac | ||
| 15029 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 15030 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 14672 | ac_status=$? | 15031 | ac_status=$? |
| 14673 | grep -v '^ *+' conftest.er1 >conftest.err | 15032 | grep -v '^ *+' conftest.er1 >conftest.err |
| 14674 | rm -f conftest.er1 | 15033 | rm -f conftest.er1 |
| 14675 | cat conftest.err >&5 | 15034 | cat conftest.err >&5 |
| 14676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15035 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14677 | (exit $ac_status); } >/dev/null; then | 15036 | (exit $ac_status); } >/dev/null && { |
| 14678 | if test -s conftest.err; then | 15037 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 14679 | ac_cpp_err=$ac_c_preproc_warn_flag | 15038 | test ! -s conftest.err |
| 14680 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 15039 | }; then |
| 14681 | else | ||
| 14682 | ac_cpp_err= | ||
| 14683 | fi | ||
| 14684 | else | ||
| 14685 | ac_cpp_err=yes | ||
| 14686 | fi | ||
| 14687 | if test -z "$ac_cpp_err"; then | ||
| 14688 | ac_header_preproc=yes | 15040 | ac_header_preproc=yes |
| 14689 | else | 15041 | else |
| 14690 | echo "$as_me: failed program was:" >&5 | 15042 | echo "$as_me: failed program was:" >&5 |
| @@ -14692,9 +15044,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 14692 | 15044 | ||
| 14693 | ac_header_preproc=no | 15045 | ac_header_preproc=no |
| 14694 | fi | 15046 | fi |
| 15047 | |||
| 14695 | rm -f conftest.err conftest.$ac_ext | 15048 | rm -f conftest.err conftest.$ac_ext |
| 14696 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 15049 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 14697 | echo "${ECHO_T}$ac_header_preproc" >&6 | 15050 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 14698 | 15051 | ||
| 14699 | # So? What about this header? | 15052 | # So? What about this header? |
| 14700 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 15053 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -14718,25 +15071,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 14718 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 15071 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 14719 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 15072 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 14720 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 15073 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 14721 | ( | 15074 | |
| 14722 | cat <<\_ASBOX | ||
| 14723 | ## ------------------------------------------ ## | ||
| 14724 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 14725 | ## ------------------------------------------ ## | ||
| 14726 | _ASBOX | ||
| 14727 | ) | | ||
| 14728 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 14729 | ;; | 15075 | ;; |
| 14730 | esac | 15076 | esac |
| 14731 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 15077 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 14732 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 15078 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 14733 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 15079 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 14734 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15080 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14735 | else | 15081 | else |
| 14736 | eval "$as_ac_Header=\$ac_header_preproc" | 15082 | eval "$as_ac_Header=\$ac_header_preproc" |
| 14737 | fi | 15083 | fi |
| 14738 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 15084 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 14739 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 15085 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 15086 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 14740 | 15087 | ||
| 14741 | fi | 15088 | fi |
| 14742 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 15089 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| @@ -14749,12 +15096,19 @@ fi | |||
| 14749 | done | 15096 | done |
| 14750 | 15097 | ||
| 14751 | 15098 | ||
| 14752 | for ac_func in alarm | 15099 | |
| 15100 | |||
| 15101 | |||
| 15102 | |||
| 15103 | |||
| 15104 | |||
| 15105 | |||
| 15106 | for ac_func in $ac_func_list | ||
| 14753 | do | 15107 | do |
| 14754 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 15108 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 14755 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 15109 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 14756 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 15110 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 14757 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 15111 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 14758 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15112 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14759 | else | 15113 | else |
| 14760 | cat >conftest.$ac_ext <<_ACEOF | 15114 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -14780,67 +15134,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 14780 | 15134 | ||
| 14781 | #undef $ac_func | 15135 | #undef $ac_func |
| 14782 | 15136 | ||
| 14783 | /* Override any gcc2 internal prototype to avoid an error. */ | 15137 | /* Override any GCC internal prototype to avoid an error. |
| 15138 | Use char because int might match the return type of a GCC | ||
| 15139 | builtin and then its argument prototype would still apply. */ | ||
| 14784 | #ifdef __cplusplus | 15140 | #ifdef __cplusplus |
| 14785 | extern "C" | 15141 | extern "C" |
| 14786 | { | ||
| 14787 | #endif | 15142 | #endif |
| 14788 | /* We use char because int might match the return type of a gcc2 | ||
| 14789 | builtin and then its argument prototype would still apply. */ | ||
| 14790 | char $ac_func (); | 15143 | char $ac_func (); |
| 14791 | /* The GNU C library defines this for functions which it implements | 15144 | /* The GNU C library defines this for functions which it implements |
| 14792 | to always fail with ENOSYS. Some functions are actually named | 15145 | to always fail with ENOSYS. Some functions are actually named |
| 14793 | something starting with __ and the normal name is an alias. */ | 15146 | something starting with __ and the normal name is an alias. */ |
| 14794 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 15147 | #if defined __stub_$ac_func || defined __stub___$ac_func |
| 14795 | choke me | 15148 | choke me |
| 14796 | #else | ||
| 14797 | char (*f) () = $ac_func; | ||
| 14798 | #endif | ||
| 14799 | #ifdef __cplusplus | ||
| 14800 | } | ||
| 14801 | #endif | 15149 | #endif |
| 14802 | 15150 | ||
| 14803 | int | 15151 | int |
| 14804 | main () | 15152 | main () |
| 14805 | { | 15153 | { |
| 14806 | return f != $ac_func; | 15154 | return $ac_func (); |
| 14807 | ; | 15155 | ; |
| 14808 | return 0; | 15156 | return 0; |
| 14809 | } | 15157 | } |
| 14810 | _ACEOF | 15158 | _ACEOF |
| 14811 | rm -f conftest.$ac_objext conftest$ac_exeext | 15159 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 14812 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15160 | if { (ac_try="$ac_link" |
| 14813 | (eval $ac_link) 2>conftest.er1 | 15161 | case "(($ac_try" in |
| 15162 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15163 | *) ac_try_echo=$ac_try;; | ||
| 15164 | esac | ||
| 15165 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 15166 | (eval "$ac_link") 2>conftest.er1 | ||
| 14814 | ac_status=$? | 15167 | ac_status=$? |
| 14815 | grep -v '^ *+' conftest.er1 >conftest.err | 15168 | grep -v '^ *+' conftest.er1 >conftest.err |
| 14816 | rm -f conftest.er1 | 15169 | rm -f conftest.er1 |
| 14817 | cat conftest.err >&5 | 15170 | cat conftest.err >&5 |
| 14818 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15171 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 14819 | (exit $ac_status); } && | 15172 | (exit $ac_status); } && { |
| 14820 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 15173 | test -z "$ac_c_werror_flag" || |
| 14821 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15174 | test ! -s conftest.err |
| 14822 | (eval $ac_try) 2>&5 | 15175 | } && test -s conftest$ac_exeext && |
| 14823 | ac_status=$? | 15176 | $as_test_x conftest$ac_exeext; then |
| 14824 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14825 | (exit $ac_status); }; } && | ||
| 14826 | { ac_try='test -s conftest$ac_exeext' | ||
| 14827 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 14828 | (eval $ac_try) 2>&5 | ||
| 14829 | ac_status=$? | ||
| 14830 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 14831 | (exit $ac_status); }; }; then | ||
| 14832 | eval "$as_ac_var=yes" | 15177 | eval "$as_ac_var=yes" |
| 14833 | else | 15178 | else |
| 14834 | echo "$as_me: failed program was:" >&5 | 15179 | echo "$as_me: failed program was:" >&5 |
| 14835 | sed 's/^/| /' conftest.$ac_ext >&5 | 15180 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 14836 | 15181 | ||
| 14837 | eval "$as_ac_var=no" | 15182 | eval "$as_ac_var=no" |
| 14838 | fi | 15183 | fi |
| 14839 | rm -f conftest.err conftest.$ac_objext \ | 15184 | |
| 15185 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 14840 | conftest$ac_exeext conftest.$ac_ext | 15186 | conftest$ac_exeext conftest.$ac_ext |
| 14841 | fi | 15187 | fi |
| 14842 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 15188 | ac_res=`eval echo '${'$as_ac_var'}'` |
| 14843 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 15189 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 15190 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 14844 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 15191 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 14845 | cat >>confdefs.h <<_ACEOF | 15192 | cat >>confdefs.h <<_ACEOF |
| 14846 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 15193 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| @@ -14849,8 +15196,24 @@ _ACEOF | |||
| 14849 | fi | 15196 | fi |
| 14850 | done | 15197 | done |
| 14851 | 15198 | ||
| 14852 | echo "$as_me:$LINENO: checking for working mktime" >&5 | 15199 | |
| 14853 | echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 | 15200 | |
| 15201 | |||
| 15202 | |||
| 15203 | |||
| 15204 | |||
| 15205 | |||
| 15206 | |||
| 15207 | |||
| 15208 | |||
| 15209 | |||
| 15210 | |||
| 15211 | |||
| 15212 | |||
| 15213 | |||
| 15214 | |||
| 15215 | { echo "$as_me:$LINENO: checking for working mktime" >&5 | ||
| 15216 | echo $ECHO_N "checking for working mktime... $ECHO_C" >&6; } | ||
| 14854 | if test "${ac_cv_func_working_mktime+set}" = set; then | 15217 | if test "${ac_cv_func_working_mktime+set}" = set; then |
| 14855 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15218 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 14856 | else | 15219 | else |
| @@ -14864,26 +15227,24 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 14864 | cat >>conftest.$ac_ext <<_ACEOF | 15227 | cat >>conftest.$ac_ext <<_ACEOF |
| 14865 | /* end confdefs.h. */ | 15228 | /* end confdefs.h. */ |
| 14866 | /* Test program from Paul Eggert and Tony Leneis. */ | 15229 | /* Test program from Paul Eggert and Tony Leneis. */ |
| 14867 | #if TIME_WITH_SYS_TIME | 15230 | #ifdef TIME_WITH_SYS_TIME |
| 14868 | # include <sys/time.h> | 15231 | # include <sys/time.h> |
| 14869 | # include <time.h> | 15232 | # include <time.h> |
| 14870 | #else | 15233 | #else |
| 14871 | # if HAVE_SYS_TIME_H | 15234 | # ifdef HAVE_SYS_TIME_H |
| 14872 | # include <sys/time.h> | 15235 | # include <sys/time.h> |
| 14873 | # else | 15236 | # else |
| 14874 | # include <time.h> | 15237 | # include <time.h> |
| 14875 | # endif | 15238 | # endif |
| 14876 | #endif | 15239 | #endif |
| 14877 | 15240 | ||
| 14878 | #if HAVE_STDLIB_H | 15241 | #include <stdlib.h> |
| 14879 | # include <stdlib.h> | ||
| 14880 | #endif | ||
| 14881 | 15242 | ||
| 14882 | #if HAVE_UNISTD_H | 15243 | #ifdef HAVE_UNISTD_H |
| 14883 | # include <unistd.h> | 15244 | # include <unistd.h> |
| 14884 | #endif | 15245 | #endif |
| 14885 | 15246 | ||
| 14886 | #if !HAVE_ALARM | 15247 | #ifndef HAVE_ALARM |
| 14887 | # define alarm(X) /* empty */ | 15248 | # define alarm(X) /* empty */ |
| 14888 | #endif | 15249 | #endif |
| 14889 | 15250 | ||
| @@ -14900,9 +15261,9 @@ static char *tz_strings[] = { | |||
| 14900 | }; | 15261 | }; |
| 14901 | #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) | 15262 | #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) |
| 14902 | 15263 | ||
| 14903 | /* Fail if mktime fails to convert a date in the spring-forward gap. | 15264 | /* Return 0 if mktime fails to convert a date in the spring-forward gap. |
| 14904 | Based on a problem report from Andreas Jaeger. */ | 15265 | Based on a problem report from Andreas Jaeger. */ |
| 14905 | static void | 15266 | static int |
| 14906 | spring_forward_gap () | 15267 | spring_forward_gap () |
| 14907 | { | 15268 | { |
| 14908 | /* glibc (up to about 1998-10-07) failed this test. */ | 15269 | /* glibc (up to about 1998-10-07) failed this test. */ |
| @@ -14921,29 +15282,27 @@ spring_forward_gap () | |||
| 14921 | tm.tm_min = 0; | 15282 | tm.tm_min = 0; |
| 14922 | tm.tm_sec = 0; | 15283 | tm.tm_sec = 0; |
| 14923 | tm.tm_isdst = -1; | 15284 | tm.tm_isdst = -1; |
| 14924 | if (mktime (&tm) == (time_t)-1) | 15285 | return mktime (&tm) != (time_t) -1; |
| 14925 | exit (1); | ||
| 14926 | } | 15286 | } |
| 14927 | 15287 | ||
| 14928 | static void | 15288 | static int |
| 14929 | mktime_test1 (now) | 15289 | mktime_test1 (now) |
| 14930 | time_t now; | 15290 | time_t now; |
| 14931 | { | 15291 | { |
| 14932 | struct tm *lt; | 15292 | struct tm *lt; |
| 14933 | if ((lt = localtime (&now)) && mktime (lt) != now) | 15293 | return ! (lt = localtime (&now)) || mktime (lt) == now; |
| 14934 | exit (1); | ||
| 14935 | } | 15294 | } |
| 14936 | 15295 | ||
| 14937 | static void | 15296 | static int |
| 14938 | mktime_test (now) | 15297 | mktime_test (now) |
| 14939 | time_t now; | 15298 | time_t now; |
| 14940 | { | 15299 | { |
| 14941 | mktime_test1 (now); | 15300 | return (mktime_test1 (now) |
| 14942 | mktime_test1 ((time_t) (time_t_max - now)); | 15301 | && mktime_test1 ((time_t) (time_t_max - now)) |
| 14943 | mktime_test1 ((time_t) (time_t_min + now)); | 15302 | && mktime_test1 ((time_t) (time_t_min + now))); |
| 14944 | } | 15303 | } |
| 14945 | 15304 | ||
| 14946 | static void | 15305 | static int |
| 14947 | irix_6_4_bug () | 15306 | irix_6_4_bug () |
| 14948 | { | 15307 | { |
| 14949 | /* Based on code from Ariel Faigon. */ | 15308 | /* Based on code from Ariel Faigon. */ |
| @@ -14956,11 +15315,10 @@ irix_6_4_bug () | |||
| 14956 | tm.tm_sec = 0; | 15315 | tm.tm_sec = 0; |
| 14957 | tm.tm_isdst = -1; | 15316 | tm.tm_isdst = -1; |
| 14958 | mktime (&tm); | 15317 | mktime (&tm); |
| 14959 | if (tm.tm_mon != 2 || tm.tm_mday != 31) | 15318 | return tm.tm_mon == 2 && tm.tm_mday == 31; |
| 14960 | exit (1); | ||
| 14961 | } | 15319 | } |
| 14962 | 15320 | ||
| 14963 | static void | 15321 | static int |
| 14964 | bigtime_test (j) | 15322 | bigtime_test (j) |
| 14965 | int j; | 15323 | int j; |
| 14966 | { | 15324 | { |
| @@ -14982,8 +15340,39 @@ bigtime_test (j) | |||
| 14982 | && lt->tm_wday == tm.tm_wday | 15340 | && lt->tm_wday == tm.tm_wday |
| 14983 | && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) | 15341 | && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) |
| 14984 | == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) | 15342 | == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) |
| 14985 | exit (1); | 15343 | return 0; |
| 14986 | } | 15344 | } |
| 15345 | return 1; | ||
| 15346 | } | ||
| 15347 | |||
| 15348 | static int | ||
| 15349 | year_2050_test () | ||
| 15350 | { | ||
| 15351 | /* The correct answer for 2050-02-01 00:00:00 in Pacific time, | ||
| 15352 | ignoring leap seconds. */ | ||
| 15353 | unsigned long int answer = 2527315200UL; | ||
| 15354 | |||
| 15355 | struct tm tm; | ||
| 15356 | time_t t; | ||
| 15357 | tm.tm_year = 2050 - 1900; | ||
| 15358 | tm.tm_mon = 2 - 1; | ||
| 15359 | tm.tm_mday = 1; | ||
| 15360 | tm.tm_hour = tm.tm_min = tm.tm_sec = 0; | ||
| 15361 | tm.tm_isdst = -1; | ||
| 15362 | |||
| 15363 | /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" | ||
| 15364 | instead of "TZ=America/Vancouver" in order to detect the bug even | ||
| 15365 | on systems that don't support the Olson extension, or don't have the | ||
| 15366 | full zoneinfo tables installed. */ | ||
| 15367 | putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); | ||
| 15368 | |||
| 15369 | t = mktime (&tm); | ||
| 15370 | |||
| 15371 | /* Check that the result is either a failure, or close enough | ||
| 15372 | to the correct answer that we can assume the discrepancy is | ||
| 15373 | due to leap seconds. */ | ||
| 15374 | return (t == (time_t) -1 | ||
| 15375 | || (0 < t && answer - 120 <= t && t <= answer + 120)); | ||
| 14987 | } | 15376 | } |
| 14988 | 15377 | ||
| 14989 | int | 15378 | int |
| @@ -15010,28 +15399,39 @@ main () | |||
| 15010 | putenv (tz_strings[i]); | 15399 | putenv (tz_strings[i]); |
| 15011 | 15400 | ||
| 15012 | for (t = 0; t <= time_t_max - delta; t += delta) | 15401 | for (t = 0; t <= time_t_max - delta; t += delta) |
| 15013 | mktime_test (t); | 15402 | if (! mktime_test (t)) |
| 15014 | mktime_test ((time_t) 1); | 15403 | return 1; |
| 15015 | mktime_test ((time_t) (60 * 60)); | 15404 | if (! (mktime_test ((time_t) 1) |
| 15016 | mktime_test ((time_t) (60 * 60 * 24)); | 15405 | && mktime_test ((time_t) (60 * 60)) |
| 15406 | && mktime_test ((time_t) (60 * 60 * 24)))) | ||
| 15407 | return 1; | ||
| 15017 | 15408 | ||
| 15018 | for (j = 1; 0 < j; j *= 2) | 15409 | for (j = 1; 0 < j; j *= 2) |
| 15019 | bigtime_test (j); | 15410 | if (! bigtime_test (j)) |
| 15020 | bigtime_test (j - 1); | 15411 | return 1; |
| 15412 | if (! bigtime_test (j - 1)) | ||
| 15413 | return 1; | ||
| 15021 | } | 15414 | } |
| 15022 | irix_6_4_bug (); | 15415 | return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); |
| 15023 | spring_forward_gap (); | ||
| 15024 | exit (0); | ||
| 15025 | } | 15416 | } |
| 15026 | _ACEOF | 15417 | _ACEOF |
| 15027 | rm -f conftest$ac_exeext | 15418 | rm -f conftest$ac_exeext |
| 15028 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15419 | if { (ac_try="$ac_link" |
| 15029 | (eval $ac_link) 2>&5 | 15420 | case "(($ac_try" in |
| 15421 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15422 | *) ac_try_echo=$ac_try;; | ||
| 15423 | esac | ||
| 15424 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 15425 | (eval "$ac_link") 2>&5 | ||
| 15030 | ac_status=$? | 15426 | ac_status=$? |
| 15031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15427 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15032 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 15428 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 15033 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15429 | { (case "(($ac_try" in |
| 15034 | (eval $ac_try) 2>&5 | 15430 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 15431 | *) ac_try_echo=$ac_try;; | ||
| 15432 | esac | ||
| 15433 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 15434 | (eval "$ac_try") 2>&5 | ||
| 15035 | ac_status=$? | 15435 | ac_status=$? |
| 15036 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15436 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15037 | (exit $ac_status); }; }; then | 15437 | (exit $ac_status); }; }; then |
| @@ -15044,18 +15444,18 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 15044 | ( exit $ac_status ) | 15444 | ( exit $ac_status ) |
| 15045 | ac_cv_func_working_mktime=no | 15445 | ac_cv_func_working_mktime=no |
| 15046 | fi | 15446 | fi |
| 15047 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 15447 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 15048 | fi | 15448 | fi |
| 15449 | |||
| 15450 | |||
| 15049 | fi | 15451 | fi |
| 15050 | echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 | 15452 | { echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 |
| 15051 | echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 | 15453 | echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; } |
| 15052 | if test $ac_cv_func_working_mktime = no; then | 15454 | if test $ac_cv_func_working_mktime = no; then |
| 15053 | case $LIBOBJS in | 15455 | case " $LIBOBJS " in |
| 15054 | "mktime.$ac_objext" | \ | ||
| 15055 | *" mktime.$ac_objext" | \ | ||
| 15056 | "mktime.$ac_objext "* | \ | ||
| 15057 | *" mktime.$ac_objext "* ) ;; | 15456 | *" mktime.$ac_objext "* ) ;; |
| 15058 | *) LIBOBJS="$LIBOBJS mktime.$ac_objext" ;; | 15457 | *) LIBOBJS="$LIBOBJS mktime.$ac_objext" |
| 15458 | ;; | ||
| 15059 | esac | 15459 | esac |
| 15060 | 15460 | ||
| 15061 | fi | 15461 | fi |
| @@ -15079,8 +15479,8 @@ echo "$as_me: error: $srcdir/$ac_config_libobj_dir/getloadavg.c is missing" >&2; | |||
| 15079 | ac_save_LIBS=$LIBS | 15479 | ac_save_LIBS=$LIBS |
| 15080 | 15480 | ||
| 15081 | # Check for getloadavg, but be sure not to touch the cache variable. | 15481 | # Check for getloadavg, but be sure not to touch the cache variable. |
| 15082 | (echo "$as_me:$LINENO: checking for getloadavg" >&5 | 15482 | ({ echo "$as_me:$LINENO: checking for getloadavg" >&5 |
| 15083 | echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 | 15483 | echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6; } |
| 15084 | if test "${ac_cv_func_getloadavg+set}" = set; then | 15484 | if test "${ac_cv_func_getloadavg+set}" = set; then |
| 15085 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15485 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 15086 | else | 15486 | else |
| @@ -15107,67 +15507,59 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 15107 | 15507 | ||
| 15108 | #undef getloadavg | 15508 | #undef getloadavg |
| 15109 | 15509 | ||
| 15110 | /* Override any gcc2 internal prototype to avoid an error. */ | 15510 | /* Override any GCC internal prototype to avoid an error. |
| 15511 | Use char because int might match the return type of a GCC | ||
| 15512 | builtin and then its argument prototype would still apply. */ | ||
| 15111 | #ifdef __cplusplus | 15513 | #ifdef __cplusplus |
| 15112 | extern "C" | 15514 | extern "C" |
| 15113 | { | ||
| 15114 | #endif | 15515 | #endif |
| 15115 | /* We use char because int might match the return type of a gcc2 | ||
| 15116 | builtin and then its argument prototype would still apply. */ | ||
| 15117 | char getloadavg (); | 15516 | char getloadavg (); |
| 15118 | /* The GNU C library defines this for functions which it implements | 15517 | /* The GNU C library defines this for functions which it implements |
| 15119 | to always fail with ENOSYS. Some functions are actually named | 15518 | to always fail with ENOSYS. Some functions are actually named |
| 15120 | something starting with __ and the normal name is an alias. */ | 15519 | something starting with __ and the normal name is an alias. */ |
| 15121 | #if defined (__stub_getloadavg) || defined (__stub___getloadavg) | 15520 | #if defined __stub_getloadavg || defined __stub___getloadavg |
| 15122 | choke me | 15521 | choke me |
| 15123 | #else | ||
| 15124 | char (*f) () = getloadavg; | ||
| 15125 | #endif | ||
| 15126 | #ifdef __cplusplus | ||
| 15127 | } | ||
| 15128 | #endif | 15522 | #endif |
| 15129 | 15523 | ||
| 15130 | int | 15524 | int |
| 15131 | main () | 15525 | main () |
| 15132 | { | 15526 | { |
| 15133 | return f != getloadavg; | 15527 | return getloadavg (); |
| 15134 | ; | 15528 | ; |
| 15135 | return 0; | 15529 | return 0; |
| 15136 | } | 15530 | } |
| 15137 | _ACEOF | 15531 | _ACEOF |
| 15138 | rm -f conftest.$ac_objext conftest$ac_exeext | 15532 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15139 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15533 | if { (ac_try="$ac_link" |
| 15140 | (eval $ac_link) 2>conftest.er1 | 15534 | case "(($ac_try" in |
| 15535 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15536 | *) ac_try_echo=$ac_try;; | ||
| 15537 | esac | ||
| 15538 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 15539 | (eval "$ac_link") 2>conftest.er1 | ||
| 15141 | ac_status=$? | 15540 | ac_status=$? |
| 15142 | grep -v '^ *+' conftest.er1 >conftest.err | 15541 | grep -v '^ *+' conftest.er1 >conftest.err |
| 15143 | rm -f conftest.er1 | 15542 | rm -f conftest.er1 |
| 15144 | cat conftest.err >&5 | 15543 | cat conftest.err >&5 |
| 15145 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15544 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15146 | (exit $ac_status); } && | 15545 | (exit $ac_status); } && { |
| 15147 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 15546 | test -z "$ac_c_werror_flag" || |
| 15148 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15547 | test ! -s conftest.err |
| 15149 | (eval $ac_try) 2>&5 | 15548 | } && test -s conftest$ac_exeext && |
| 15150 | ac_status=$? | 15549 | $as_test_x conftest$ac_exeext; then |
| 15151 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15152 | (exit $ac_status); }; } && | ||
| 15153 | { ac_try='test -s conftest$ac_exeext' | ||
| 15154 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 15155 | (eval $ac_try) 2>&5 | ||
| 15156 | ac_status=$? | ||
| 15157 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15158 | (exit $ac_status); }; }; then | ||
| 15159 | ac_cv_func_getloadavg=yes | 15550 | ac_cv_func_getloadavg=yes |
| 15160 | else | 15551 | else |
| 15161 | echo "$as_me: failed program was:" >&5 | 15552 | echo "$as_me: failed program was:" >&5 |
| 15162 | sed 's/^/| /' conftest.$ac_ext >&5 | 15553 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 15163 | 15554 | ||
| 15164 | ac_cv_func_getloadavg=no | 15555 | ac_cv_func_getloadavg=no |
| 15165 | fi | 15556 | fi |
| 15166 | rm -f conftest.err conftest.$ac_objext \ | 15557 | |
| 15558 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15167 | conftest$ac_exeext conftest.$ac_ext | 15559 | conftest$ac_exeext conftest.$ac_ext |
| 15168 | fi | 15560 | fi |
| 15169 | echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 | 15561 | { echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 |
| 15170 | echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 | 15562 | echo "${ECHO_T}$ac_cv_func_getloadavg" >&6; } |
| 15171 | if test $ac_cv_func_getloadavg = yes; then | 15563 | if test $ac_cv_func_getloadavg = yes; then |
| 15172 | exit 0 | 15564 | exit 0 |
| 15173 | else | 15565 | else |
| @@ -15180,9 +15572,9 @@ fi | |||
| 15180 | for ac_func in pstat_getdynamic | 15572 | for ac_func in pstat_getdynamic |
| 15181 | do | 15573 | do |
| 15182 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 15574 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 15183 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 15575 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 15184 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 15576 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 15185 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 15577 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 15186 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15578 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 15187 | else | 15579 | else |
| 15188 | cat >conftest.$ac_ext <<_ACEOF | 15580 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -15208,67 +15600,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 15208 | 15600 | ||
| 15209 | #undef $ac_func | 15601 | #undef $ac_func |
| 15210 | 15602 | ||
| 15211 | /* Override any gcc2 internal prototype to avoid an error. */ | 15603 | /* Override any GCC internal prototype to avoid an error. |
| 15604 | Use char because int might match the return type of a GCC | ||
| 15605 | builtin and then its argument prototype would still apply. */ | ||
| 15212 | #ifdef __cplusplus | 15606 | #ifdef __cplusplus |
| 15213 | extern "C" | 15607 | extern "C" |
| 15214 | { | ||
| 15215 | #endif | 15608 | #endif |
| 15216 | /* We use char because int might match the return type of a gcc2 | ||
| 15217 | builtin and then its argument prototype would still apply. */ | ||
| 15218 | char $ac_func (); | 15609 | char $ac_func (); |
| 15219 | /* The GNU C library defines this for functions which it implements | 15610 | /* The GNU C library defines this for functions which it implements |
| 15220 | to always fail with ENOSYS. Some functions are actually named | 15611 | to always fail with ENOSYS. Some functions are actually named |
| 15221 | something starting with __ and the normal name is an alias. */ | 15612 | something starting with __ and the normal name is an alias. */ |
| 15222 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 15613 | #if defined __stub_$ac_func || defined __stub___$ac_func |
| 15223 | choke me | 15614 | choke me |
| 15224 | #else | ||
| 15225 | char (*f) () = $ac_func; | ||
| 15226 | #endif | ||
| 15227 | #ifdef __cplusplus | ||
| 15228 | } | ||
| 15229 | #endif | 15615 | #endif |
| 15230 | 15616 | ||
| 15231 | int | 15617 | int |
| 15232 | main () | 15618 | main () |
| 15233 | { | 15619 | { |
| 15234 | return f != $ac_func; | 15620 | return $ac_func (); |
| 15235 | ; | 15621 | ; |
| 15236 | return 0; | 15622 | return 0; |
| 15237 | } | 15623 | } |
| 15238 | _ACEOF | 15624 | _ACEOF |
| 15239 | rm -f conftest.$ac_objext conftest$ac_exeext | 15625 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15240 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15626 | if { (ac_try="$ac_link" |
| 15241 | (eval $ac_link) 2>conftest.er1 | 15627 | case "(($ac_try" in |
| 15628 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15629 | *) ac_try_echo=$ac_try;; | ||
| 15630 | esac | ||
| 15631 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 15632 | (eval "$ac_link") 2>conftest.er1 | ||
| 15242 | ac_status=$? | 15633 | ac_status=$? |
| 15243 | grep -v '^ *+' conftest.er1 >conftest.err | 15634 | grep -v '^ *+' conftest.er1 >conftest.err |
| 15244 | rm -f conftest.er1 | 15635 | rm -f conftest.er1 |
| 15245 | cat conftest.err >&5 | 15636 | cat conftest.err >&5 |
| 15246 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15637 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15247 | (exit $ac_status); } && | 15638 | (exit $ac_status); } && { |
| 15248 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 15639 | test -z "$ac_c_werror_flag" || |
| 15249 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15640 | test ! -s conftest.err |
| 15250 | (eval $ac_try) 2>&5 | 15641 | } && test -s conftest$ac_exeext && |
| 15251 | ac_status=$? | 15642 | $as_test_x conftest$ac_exeext; then |
| 15252 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15253 | (exit $ac_status); }; } && | ||
| 15254 | { ac_try='test -s conftest$ac_exeext' | ||
| 15255 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 15256 | (eval $ac_try) 2>&5 | ||
| 15257 | ac_status=$? | ||
| 15258 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15259 | (exit $ac_status); }; }; then | ||
| 15260 | eval "$as_ac_var=yes" | 15643 | eval "$as_ac_var=yes" |
| 15261 | else | 15644 | else |
| 15262 | echo "$as_me: failed program was:" >&5 | 15645 | echo "$as_me: failed program was:" >&5 |
| 15263 | sed 's/^/| /' conftest.$ac_ext >&5 | 15646 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 15264 | 15647 | ||
| 15265 | eval "$as_ac_var=no" | 15648 | eval "$as_ac_var=no" |
| 15266 | fi | 15649 | fi |
| 15267 | rm -f conftest.err conftest.$ac_objext \ | 15650 | |
| 15651 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15268 | conftest$ac_exeext conftest.$ac_ext | 15652 | conftest$ac_exeext conftest.$ac_ext |
| 15269 | fi | 15653 | fi |
| 15270 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 15654 | ac_res=`eval echo '${'$as_ac_var'}'` |
| 15271 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 15655 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 15656 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 15272 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 15657 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 15273 | cat >>confdefs.h <<_ACEOF | 15658 | cat >>confdefs.h <<_ACEOF |
| 15274 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 15659 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| @@ -15280,8 +15665,8 @@ done | |||
| 15280 | 15665 | ||
| 15281 | # Solaris has libkstat which does not require root. | 15666 | # Solaris has libkstat which does not require root. |
| 15282 | 15667 | ||
| 15283 | echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 | 15668 | { echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 |
| 15284 | echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 | 15669 | echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6; } |
| 15285 | if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then | 15670 | if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then |
| 15286 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15671 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 15287 | else | 15672 | else |
| @@ -15294,55 +15679,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 15294 | cat >>conftest.$ac_ext <<_ACEOF | 15679 | cat >>conftest.$ac_ext <<_ACEOF |
| 15295 | /* end confdefs.h. */ | 15680 | /* end confdefs.h. */ |
| 15296 | 15681 | ||
| 15297 | /* Override any gcc2 internal prototype to avoid an error. */ | 15682 | /* Override any GCC internal prototype to avoid an error. |
| 15683 | Use char because int might match the return type of a GCC | ||
| 15684 | builtin and then its argument prototype would still apply. */ | ||
| 15298 | #ifdef __cplusplus | 15685 | #ifdef __cplusplus |
| 15299 | extern "C" | 15686 | extern "C" |
| 15300 | #endif | 15687 | #endif |
| 15301 | /* We use char because int might match the return type of a gcc2 | ||
| 15302 | builtin and then its argument prototype would still apply. */ | ||
| 15303 | char kstat_open (); | 15688 | char kstat_open (); |
| 15304 | int | 15689 | int |
| 15305 | main () | 15690 | main () |
| 15306 | { | 15691 | { |
| 15307 | kstat_open (); | 15692 | return kstat_open (); |
| 15308 | ; | 15693 | ; |
| 15309 | return 0; | 15694 | return 0; |
| 15310 | } | 15695 | } |
| 15311 | _ACEOF | 15696 | _ACEOF |
| 15312 | rm -f conftest.$ac_objext conftest$ac_exeext | 15697 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15313 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15698 | if { (ac_try="$ac_link" |
| 15314 | (eval $ac_link) 2>conftest.er1 | 15699 | case "(($ac_try" in |
| 15700 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15701 | *) ac_try_echo=$ac_try;; | ||
| 15702 | esac | ||
| 15703 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 15704 | (eval "$ac_link") 2>conftest.er1 | ||
| 15315 | ac_status=$? | 15705 | ac_status=$? |
| 15316 | grep -v '^ *+' conftest.er1 >conftest.err | 15706 | grep -v '^ *+' conftest.er1 >conftest.err |
| 15317 | rm -f conftest.er1 | 15707 | rm -f conftest.er1 |
| 15318 | cat conftest.err >&5 | 15708 | cat conftest.err >&5 |
| 15319 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15709 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15320 | (exit $ac_status); } && | 15710 | (exit $ac_status); } && { |
| 15321 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 15711 | test -z "$ac_c_werror_flag" || |
| 15322 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15712 | test ! -s conftest.err |
| 15323 | (eval $ac_try) 2>&5 | 15713 | } && test -s conftest$ac_exeext && |
| 15324 | ac_status=$? | 15714 | $as_test_x conftest$ac_exeext; then |
| 15325 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15326 | (exit $ac_status); }; } && | ||
| 15327 | { ac_try='test -s conftest$ac_exeext' | ||
| 15328 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 15329 | (eval $ac_try) 2>&5 | ||
| 15330 | ac_status=$? | ||
| 15331 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15332 | (exit $ac_status); }; }; then | ||
| 15333 | ac_cv_lib_kstat_kstat_open=yes | 15715 | ac_cv_lib_kstat_kstat_open=yes |
| 15334 | else | 15716 | else |
| 15335 | echo "$as_me: failed program was:" >&5 | 15717 | echo "$as_me: failed program was:" >&5 |
| 15336 | sed 's/^/| /' conftest.$ac_ext >&5 | 15718 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 15337 | 15719 | ||
| 15338 | ac_cv_lib_kstat_kstat_open=no | 15720 | ac_cv_lib_kstat_kstat_open=no |
| 15339 | fi | 15721 | fi |
| 15340 | rm -f conftest.err conftest.$ac_objext \ | 15722 | |
| 15723 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15341 | conftest$ac_exeext conftest.$ac_ext | 15724 | conftest$ac_exeext conftest.$ac_ext |
| 15342 | LIBS=$ac_check_lib_save_LIBS | 15725 | LIBS=$ac_check_lib_save_LIBS |
| 15343 | fi | 15726 | fi |
| 15344 | echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 | 15727 | { echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 |
| 15345 | echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 | 15728 | echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6; } |
| 15346 | if test $ac_cv_lib_kstat_kstat_open = yes; then | 15729 | if test $ac_cv_lib_kstat_kstat_open = yes; then |
| 15347 | cat >>confdefs.h <<_ACEOF | 15730 | cat >>confdefs.h <<_ACEOF |
| 15348 | #define HAVE_LIBKSTAT 1 | 15731 | #define HAVE_LIBKSTAT 1 |
| @@ -15359,8 +15742,8 @@ test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes | |||
| 15359 | # to get the right answer into the cache. | 15742 | # to get the right answer into the cache. |
| 15360 | # For kstat on solaris, we need libelf to force the definition of SVR4 below. | 15743 | # For kstat on solaris, we need libelf to force the definition of SVR4 below. |
| 15361 | if test $ac_have_func = no; then | 15744 | if test $ac_have_func = no; then |
| 15362 | echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 | 15745 | { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 |
| 15363 | echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 | 15746 | echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; } |
| 15364 | if test "${ac_cv_lib_elf_elf_begin+set}" = set; then | 15747 | if test "${ac_cv_lib_elf_elf_begin+set}" = set; then |
| 15365 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15748 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 15366 | else | 15749 | else |
| @@ -15373,63 +15756,61 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 15373 | cat >>conftest.$ac_ext <<_ACEOF | 15756 | cat >>conftest.$ac_ext <<_ACEOF |
| 15374 | /* end confdefs.h. */ | 15757 | /* end confdefs.h. */ |
| 15375 | 15758 | ||
| 15376 | /* Override any gcc2 internal prototype to avoid an error. */ | 15759 | /* Override any GCC internal prototype to avoid an error. |
| 15760 | Use char because int might match the return type of a GCC | ||
| 15761 | builtin and then its argument prototype would still apply. */ | ||
| 15377 | #ifdef __cplusplus | 15762 | #ifdef __cplusplus |
| 15378 | extern "C" | 15763 | extern "C" |
| 15379 | #endif | 15764 | #endif |
| 15380 | /* We use char because int might match the return type of a gcc2 | ||
| 15381 | builtin and then its argument prototype would still apply. */ | ||
| 15382 | char elf_begin (); | 15765 | char elf_begin (); |
| 15383 | int | 15766 | int |
| 15384 | main () | 15767 | main () |
| 15385 | { | 15768 | { |
| 15386 | elf_begin (); | 15769 | return elf_begin (); |
| 15387 | ; | 15770 | ; |
| 15388 | return 0; | 15771 | return 0; |
| 15389 | } | 15772 | } |
| 15390 | _ACEOF | 15773 | _ACEOF |
| 15391 | rm -f conftest.$ac_objext conftest$ac_exeext | 15774 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15392 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15775 | if { (ac_try="$ac_link" |
| 15393 | (eval $ac_link) 2>conftest.er1 | 15776 | case "(($ac_try" in |
| 15777 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15778 | *) ac_try_echo=$ac_try;; | ||
| 15779 | esac | ||
| 15780 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 15781 | (eval "$ac_link") 2>conftest.er1 | ||
| 15394 | ac_status=$? | 15782 | ac_status=$? |
| 15395 | grep -v '^ *+' conftest.er1 >conftest.err | 15783 | grep -v '^ *+' conftest.er1 >conftest.err |
| 15396 | rm -f conftest.er1 | 15784 | rm -f conftest.er1 |
| 15397 | cat conftest.err >&5 | 15785 | cat conftest.err >&5 |
| 15398 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15786 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15399 | (exit $ac_status); } && | 15787 | (exit $ac_status); } && { |
| 15400 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 15788 | test -z "$ac_c_werror_flag" || |
| 15401 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15789 | test ! -s conftest.err |
| 15402 | (eval $ac_try) 2>&5 | 15790 | } && test -s conftest$ac_exeext && |
| 15403 | ac_status=$? | 15791 | $as_test_x conftest$ac_exeext; then |
| 15404 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15405 | (exit $ac_status); }; } && | ||
| 15406 | { ac_try='test -s conftest$ac_exeext' | ||
| 15407 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 15408 | (eval $ac_try) 2>&5 | ||
| 15409 | ac_status=$? | ||
| 15410 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15411 | (exit $ac_status); }; }; then | ||
| 15412 | ac_cv_lib_elf_elf_begin=yes | 15792 | ac_cv_lib_elf_elf_begin=yes |
| 15413 | else | 15793 | else |
| 15414 | echo "$as_me: failed program was:" >&5 | 15794 | echo "$as_me: failed program was:" >&5 |
| 15415 | sed 's/^/| /' conftest.$ac_ext >&5 | 15795 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 15416 | 15796 | ||
| 15417 | ac_cv_lib_elf_elf_begin=no | 15797 | ac_cv_lib_elf_elf_begin=no |
| 15418 | fi | 15798 | fi |
| 15419 | rm -f conftest.err conftest.$ac_objext \ | 15799 | |
| 15800 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15420 | conftest$ac_exeext conftest.$ac_ext | 15801 | conftest$ac_exeext conftest.$ac_ext |
| 15421 | LIBS=$ac_check_lib_save_LIBS | 15802 | LIBS=$ac_check_lib_save_LIBS |
| 15422 | fi | 15803 | fi |
| 15423 | echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 | 15804 | { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 |
| 15424 | echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 | 15805 | echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; } |
| 15425 | if test $ac_cv_lib_elf_elf_begin = yes; then | 15806 | if test $ac_cv_lib_elf_elf_begin = yes; then |
| 15426 | LIBS="-lelf $LIBS" | 15807 | LIBS="-lelf $LIBS" |
| 15427 | fi | 15808 | fi |
| 15428 | 15809 | ||
| 15429 | fi | 15810 | fi |
| 15430 | if test $ac_have_func = no; then | 15811 | if test $ac_have_func = no; then |
| 15431 | echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 | 15812 | { echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 |
| 15432 | echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 | 15813 | echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6; } |
| 15433 | if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then | 15814 | if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then |
| 15434 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15815 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 15435 | else | 15816 | else |
| @@ -15442,62 +15823,60 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 15442 | cat >>conftest.$ac_ext <<_ACEOF | 15823 | cat >>conftest.$ac_ext <<_ACEOF |
| 15443 | /* end confdefs.h. */ | 15824 | /* end confdefs.h. */ |
| 15444 | 15825 | ||
| 15445 | /* Override any gcc2 internal prototype to avoid an error. */ | 15826 | /* Override any GCC internal prototype to avoid an error. |
| 15827 | Use char because int might match the return type of a GCC | ||
| 15828 | builtin and then its argument prototype would still apply. */ | ||
| 15446 | #ifdef __cplusplus | 15829 | #ifdef __cplusplus |
| 15447 | extern "C" | 15830 | extern "C" |
| 15448 | #endif | 15831 | #endif |
| 15449 | /* We use char because int might match the return type of a gcc2 | ||
| 15450 | builtin and then its argument prototype would still apply. */ | ||
| 15451 | char kvm_open (); | 15832 | char kvm_open (); |
| 15452 | int | 15833 | int |
| 15453 | main () | 15834 | main () |
| 15454 | { | 15835 | { |
| 15455 | kvm_open (); | 15836 | return kvm_open (); |
| 15456 | ; | 15837 | ; |
| 15457 | return 0; | 15838 | return 0; |
| 15458 | } | 15839 | } |
| 15459 | _ACEOF | 15840 | _ACEOF |
| 15460 | rm -f conftest.$ac_objext conftest$ac_exeext | 15841 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15461 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15842 | if { (ac_try="$ac_link" |
| 15462 | (eval $ac_link) 2>conftest.er1 | 15843 | case "(($ac_try" in |
| 15844 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15845 | *) ac_try_echo=$ac_try;; | ||
| 15846 | esac | ||
| 15847 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 15848 | (eval "$ac_link") 2>conftest.er1 | ||
| 15463 | ac_status=$? | 15849 | ac_status=$? |
| 15464 | grep -v '^ *+' conftest.er1 >conftest.err | 15850 | grep -v '^ *+' conftest.er1 >conftest.err |
| 15465 | rm -f conftest.er1 | 15851 | rm -f conftest.er1 |
| 15466 | cat conftest.err >&5 | 15852 | cat conftest.err >&5 |
| 15467 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15853 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15468 | (exit $ac_status); } && | 15854 | (exit $ac_status); } && { |
| 15469 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 15855 | test -z "$ac_c_werror_flag" || |
| 15470 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15856 | test ! -s conftest.err |
| 15471 | (eval $ac_try) 2>&5 | 15857 | } && test -s conftest$ac_exeext && |
| 15472 | ac_status=$? | 15858 | $as_test_x conftest$ac_exeext; then |
| 15473 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15474 | (exit $ac_status); }; } && | ||
| 15475 | { ac_try='test -s conftest$ac_exeext' | ||
| 15476 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 15477 | (eval $ac_try) 2>&5 | ||
| 15478 | ac_status=$? | ||
| 15479 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15480 | (exit $ac_status); }; }; then | ||
| 15481 | ac_cv_lib_kvm_kvm_open=yes | 15859 | ac_cv_lib_kvm_kvm_open=yes |
| 15482 | else | 15860 | else |
| 15483 | echo "$as_me: failed program was:" >&5 | 15861 | echo "$as_me: failed program was:" >&5 |
| 15484 | sed 's/^/| /' conftest.$ac_ext >&5 | 15862 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 15485 | 15863 | ||
| 15486 | ac_cv_lib_kvm_kvm_open=no | 15864 | ac_cv_lib_kvm_kvm_open=no |
| 15487 | fi | 15865 | fi |
| 15488 | rm -f conftest.err conftest.$ac_objext \ | 15866 | |
| 15867 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15489 | conftest$ac_exeext conftest.$ac_ext | 15868 | conftest$ac_exeext conftest.$ac_ext |
| 15490 | LIBS=$ac_check_lib_save_LIBS | 15869 | LIBS=$ac_check_lib_save_LIBS |
| 15491 | fi | 15870 | fi |
| 15492 | echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 | 15871 | { echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 |
| 15493 | echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 | 15872 | echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6; } |
| 15494 | if test $ac_cv_lib_kvm_kvm_open = yes; then | 15873 | if test $ac_cv_lib_kvm_kvm_open = yes; then |
| 15495 | LIBS="-lkvm $LIBS" | 15874 | LIBS="-lkvm $LIBS" |
| 15496 | fi | 15875 | fi |
| 15497 | 15876 | ||
| 15498 | # Check for the 4.4BSD definition of getloadavg. | 15877 | # Check for the 4.4BSD definition of getloadavg. |
| 15499 | echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 | 15878 | { echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 |
| 15500 | echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 | 15879 | echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6; } |
| 15501 | if test "${ac_cv_lib_util_getloadavg+set}" = set; then | 15880 | if test "${ac_cv_lib_util_getloadavg+set}" = set; then |
| 15502 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15881 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 15503 | else | 15882 | else |
| @@ -15510,55 +15889,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 15510 | cat >>conftest.$ac_ext <<_ACEOF | 15889 | cat >>conftest.$ac_ext <<_ACEOF |
| 15511 | /* end confdefs.h. */ | 15890 | /* end confdefs.h. */ |
| 15512 | 15891 | ||
| 15513 | /* Override any gcc2 internal prototype to avoid an error. */ | 15892 | /* Override any GCC internal prototype to avoid an error. |
| 15893 | Use char because int might match the return type of a GCC | ||
| 15894 | builtin and then its argument prototype would still apply. */ | ||
| 15514 | #ifdef __cplusplus | 15895 | #ifdef __cplusplus |
| 15515 | extern "C" | 15896 | extern "C" |
| 15516 | #endif | 15897 | #endif |
| 15517 | /* We use char because int might match the return type of a gcc2 | ||
| 15518 | builtin and then its argument prototype would still apply. */ | ||
| 15519 | char getloadavg (); | 15898 | char getloadavg (); |
| 15520 | int | 15899 | int |
| 15521 | main () | 15900 | main () |
| 15522 | { | 15901 | { |
| 15523 | getloadavg (); | 15902 | return getloadavg (); |
| 15524 | ; | 15903 | ; |
| 15525 | return 0; | 15904 | return 0; |
| 15526 | } | 15905 | } |
| 15527 | _ACEOF | 15906 | _ACEOF |
| 15528 | rm -f conftest.$ac_objext conftest$ac_exeext | 15907 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15529 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15908 | if { (ac_try="$ac_link" |
| 15530 | (eval $ac_link) 2>conftest.er1 | 15909 | case "(($ac_try" in |
| 15910 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15911 | *) ac_try_echo=$ac_try;; | ||
| 15912 | esac | ||
| 15913 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 15914 | (eval "$ac_link") 2>conftest.er1 | ||
| 15531 | ac_status=$? | 15915 | ac_status=$? |
| 15532 | grep -v '^ *+' conftest.er1 >conftest.err | 15916 | grep -v '^ *+' conftest.er1 >conftest.err |
| 15533 | rm -f conftest.er1 | 15917 | rm -f conftest.er1 |
| 15534 | cat conftest.err >&5 | 15918 | cat conftest.err >&5 |
| 15535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15919 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15536 | (exit $ac_status); } && | 15920 | (exit $ac_status); } && { |
| 15537 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 15921 | test -z "$ac_c_werror_flag" || |
| 15538 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15922 | test ! -s conftest.err |
| 15539 | (eval $ac_try) 2>&5 | 15923 | } && test -s conftest$ac_exeext && |
| 15540 | ac_status=$? | 15924 | $as_test_x conftest$ac_exeext; then |
| 15541 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15542 | (exit $ac_status); }; } && | ||
| 15543 | { ac_try='test -s conftest$ac_exeext' | ||
| 15544 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 15545 | (eval $ac_try) 2>&5 | ||
| 15546 | ac_status=$? | ||
| 15547 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15548 | (exit $ac_status); }; }; then | ||
| 15549 | ac_cv_lib_util_getloadavg=yes | 15925 | ac_cv_lib_util_getloadavg=yes |
| 15550 | else | 15926 | else |
| 15551 | echo "$as_me: failed program was:" >&5 | 15927 | echo "$as_me: failed program was:" >&5 |
| 15552 | sed 's/^/| /' conftest.$ac_ext >&5 | 15928 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 15553 | 15929 | ||
| 15554 | ac_cv_lib_util_getloadavg=no | 15930 | ac_cv_lib_util_getloadavg=no |
| 15555 | fi | 15931 | fi |
| 15556 | rm -f conftest.err conftest.$ac_objext \ | 15932 | |
| 15933 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15557 | conftest$ac_exeext conftest.$ac_ext | 15934 | conftest$ac_exeext conftest.$ac_ext |
| 15558 | LIBS=$ac_check_lib_save_LIBS | 15935 | LIBS=$ac_check_lib_save_LIBS |
| 15559 | fi | 15936 | fi |
| 15560 | echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 | 15937 | { echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 |
| 15561 | echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 | 15938 | echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6; } |
| 15562 | if test $ac_cv_lib_util_getloadavg = yes; then | 15939 | if test $ac_cv_lib_util_getloadavg = yes; then |
| 15563 | LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes | 15940 | LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes |
| 15564 | fi | 15941 | fi |
| @@ -15570,8 +15947,8 @@ if test $ac_have_func = no; then | |||
| 15570 | # Since it is not a standard part of AIX, it might be installed locally. | 15947 | # Since it is not a standard part of AIX, it might be installed locally. |
| 15571 | ac_getloadavg_LIBS=$LIBS | 15948 | ac_getloadavg_LIBS=$LIBS |
| 15572 | LIBS="-L/usr/local/lib $LIBS" | 15949 | LIBS="-L/usr/local/lib $LIBS" |
| 15573 | echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 | 15950 | { echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 |
| 15574 | echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 | 15951 | echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6; } |
| 15575 | if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then | 15952 | if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then |
| 15576 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15953 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 15577 | else | 15954 | else |
| @@ -15584,55 +15961,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 15584 | cat >>conftest.$ac_ext <<_ACEOF | 15961 | cat >>conftest.$ac_ext <<_ACEOF |
| 15585 | /* end confdefs.h. */ | 15962 | /* end confdefs.h. */ |
| 15586 | 15963 | ||
| 15587 | /* Override any gcc2 internal prototype to avoid an error. */ | 15964 | /* Override any GCC internal prototype to avoid an error. |
| 15965 | Use char because int might match the return type of a GCC | ||
| 15966 | builtin and then its argument prototype would still apply. */ | ||
| 15588 | #ifdef __cplusplus | 15967 | #ifdef __cplusplus |
| 15589 | extern "C" | 15968 | extern "C" |
| 15590 | #endif | 15969 | #endif |
| 15591 | /* We use char because int might match the return type of a gcc2 | ||
| 15592 | builtin and then its argument prototype would still apply. */ | ||
| 15593 | char getloadavg (); | 15970 | char getloadavg (); |
| 15594 | int | 15971 | int |
| 15595 | main () | 15972 | main () |
| 15596 | { | 15973 | { |
| 15597 | getloadavg (); | 15974 | return getloadavg (); |
| 15598 | ; | 15975 | ; |
| 15599 | return 0; | 15976 | return 0; |
| 15600 | } | 15977 | } |
| 15601 | _ACEOF | 15978 | _ACEOF |
| 15602 | rm -f conftest.$ac_objext conftest$ac_exeext | 15979 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15603 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15980 | if { (ac_try="$ac_link" |
| 15604 | (eval $ac_link) 2>conftest.er1 | 15981 | case "(($ac_try" in |
| 15982 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 15983 | *) ac_try_echo=$ac_try;; | ||
| 15984 | esac | ||
| 15985 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 15986 | (eval "$ac_link") 2>conftest.er1 | ||
| 15605 | ac_status=$? | 15987 | ac_status=$? |
| 15606 | grep -v '^ *+' conftest.er1 >conftest.err | 15988 | grep -v '^ *+' conftest.er1 >conftest.err |
| 15607 | rm -f conftest.er1 | 15989 | rm -f conftest.er1 |
| 15608 | cat conftest.err >&5 | 15990 | cat conftest.err >&5 |
| 15609 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15610 | (exit $ac_status); } && | 15992 | (exit $ac_status); } && { |
| 15611 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 15993 | test -z "$ac_c_werror_flag" || |
| 15612 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15994 | test ! -s conftest.err |
| 15613 | (eval $ac_try) 2>&5 | 15995 | } && test -s conftest$ac_exeext && |
| 15614 | ac_status=$? | 15996 | $as_test_x conftest$ac_exeext; then |
| 15615 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15616 | (exit $ac_status); }; } && | ||
| 15617 | { ac_try='test -s conftest$ac_exeext' | ||
| 15618 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 15619 | (eval $ac_try) 2>&5 | ||
| 15620 | ac_status=$? | ||
| 15621 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15622 | (exit $ac_status); }; }; then | ||
| 15623 | ac_cv_lib_getloadavg_getloadavg=yes | 15997 | ac_cv_lib_getloadavg_getloadavg=yes |
| 15624 | else | 15998 | else |
| 15625 | echo "$as_me: failed program was:" >&5 | 15999 | echo "$as_me: failed program was:" >&5 |
| 15626 | sed 's/^/| /' conftest.$ac_ext >&5 | 16000 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 15627 | 16001 | ||
| 15628 | ac_cv_lib_getloadavg_getloadavg=no | 16002 | ac_cv_lib_getloadavg_getloadavg=no |
| 15629 | fi | 16003 | fi |
| 15630 | rm -f conftest.err conftest.$ac_objext \ | 16004 | |
| 16005 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15631 | conftest$ac_exeext conftest.$ac_ext | 16006 | conftest$ac_exeext conftest.$ac_ext |
| 15632 | LIBS=$ac_check_lib_save_LIBS | 16007 | LIBS=$ac_check_lib_save_LIBS |
| 15633 | fi | 16008 | fi |
| 15634 | echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 | 16009 | { echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 |
| 15635 | echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 | 16010 | echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6; } |
| 15636 | if test $ac_cv_lib_getloadavg_getloadavg = yes; then | 16011 | if test $ac_cv_lib_getloadavg_getloadavg = yes; then |
| 15637 | LIBS="-lgetloadavg $LIBS" | 16012 | LIBS="-lgetloadavg $LIBS" |
| 15638 | else | 16013 | else |
| @@ -15647,9 +16022,9 @@ fi | |||
| 15647 | for ac_func in getloadavg | 16022 | for ac_func in getloadavg |
| 15648 | do | 16023 | do |
| 15649 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 16024 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 15650 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 16025 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 15651 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 16026 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 15652 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 16027 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 15653 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16028 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 15654 | else | 16029 | else |
| 15655 | cat >conftest.$ac_ext <<_ACEOF | 16030 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -15675,79 +16050,70 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 15675 | 16050 | ||
| 15676 | #undef $ac_func | 16051 | #undef $ac_func |
| 15677 | 16052 | ||
| 15678 | /* Override any gcc2 internal prototype to avoid an error. */ | 16053 | /* Override any GCC internal prototype to avoid an error. |
| 16054 | Use char because int might match the return type of a GCC | ||
| 16055 | builtin and then its argument prototype would still apply. */ | ||
| 15679 | #ifdef __cplusplus | 16056 | #ifdef __cplusplus |
| 15680 | extern "C" | 16057 | extern "C" |
| 15681 | { | ||
| 15682 | #endif | 16058 | #endif |
| 15683 | /* We use char because int might match the return type of a gcc2 | ||
| 15684 | builtin and then its argument prototype would still apply. */ | ||
| 15685 | char $ac_func (); | 16059 | char $ac_func (); |
| 15686 | /* The GNU C library defines this for functions which it implements | 16060 | /* The GNU C library defines this for functions which it implements |
| 15687 | to always fail with ENOSYS. Some functions are actually named | 16061 | to always fail with ENOSYS. Some functions are actually named |
| 15688 | something starting with __ and the normal name is an alias. */ | 16062 | something starting with __ and the normal name is an alias. */ |
| 15689 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 16063 | #if defined __stub_$ac_func || defined __stub___$ac_func |
| 15690 | choke me | 16064 | choke me |
| 15691 | #else | ||
| 15692 | char (*f) () = $ac_func; | ||
| 15693 | #endif | ||
| 15694 | #ifdef __cplusplus | ||
| 15695 | } | ||
| 15696 | #endif | 16065 | #endif |
| 15697 | 16066 | ||
| 15698 | int | 16067 | int |
| 15699 | main () | 16068 | main () |
| 15700 | { | 16069 | { |
| 15701 | return f != $ac_func; | 16070 | return $ac_func (); |
| 15702 | ; | 16071 | ; |
| 15703 | return 0; | 16072 | return 0; |
| 15704 | } | 16073 | } |
| 15705 | _ACEOF | 16074 | _ACEOF |
| 15706 | rm -f conftest.$ac_objext conftest$ac_exeext | 16075 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15707 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 16076 | if { (ac_try="$ac_link" |
| 15708 | (eval $ac_link) 2>conftest.er1 | 16077 | case "(($ac_try" in |
| 16078 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16079 | *) ac_try_echo=$ac_try;; | ||
| 16080 | esac | ||
| 16081 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 16082 | (eval "$ac_link") 2>conftest.er1 | ||
| 15709 | ac_status=$? | 16083 | ac_status=$? |
| 15710 | grep -v '^ *+' conftest.er1 >conftest.err | 16084 | grep -v '^ *+' conftest.er1 >conftest.err |
| 15711 | rm -f conftest.er1 | 16085 | rm -f conftest.er1 |
| 15712 | cat conftest.err >&5 | 16086 | cat conftest.err >&5 |
| 15713 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16087 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15714 | (exit $ac_status); } && | 16088 | (exit $ac_status); } && { |
| 15715 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 16089 | test -z "$ac_c_werror_flag" || |
| 15716 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16090 | test ! -s conftest.err |
| 15717 | (eval $ac_try) 2>&5 | 16091 | } && test -s conftest$ac_exeext && |
| 15718 | ac_status=$? | 16092 | $as_test_x conftest$ac_exeext; then |
| 15719 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15720 | (exit $ac_status); }; } && | ||
| 15721 | { ac_try='test -s conftest$ac_exeext' | ||
| 15722 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 15723 | (eval $ac_try) 2>&5 | ||
| 15724 | ac_status=$? | ||
| 15725 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15726 | (exit $ac_status); }; }; then | ||
| 15727 | eval "$as_ac_var=yes" | 16093 | eval "$as_ac_var=yes" |
| 15728 | else | 16094 | else |
| 15729 | echo "$as_me: failed program was:" >&5 | 16095 | echo "$as_me: failed program was:" >&5 |
| 15730 | sed 's/^/| /' conftest.$ac_ext >&5 | 16096 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 15731 | 16097 | ||
| 15732 | eval "$as_ac_var=no" | 16098 | eval "$as_ac_var=no" |
| 15733 | fi | 16099 | fi |
| 15734 | rm -f conftest.err conftest.$ac_objext \ | 16100 | |
| 16101 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15735 | conftest$ac_exeext conftest.$ac_ext | 16102 | conftest$ac_exeext conftest.$ac_ext |
| 15736 | fi | 16103 | fi |
| 15737 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 16104 | ac_res=`eval echo '${'$as_ac_var'}'` |
| 15738 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 16105 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 16106 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 15739 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 16107 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 15740 | cat >>confdefs.h <<_ACEOF | 16108 | cat >>confdefs.h <<_ACEOF |
| 15741 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 16109 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| 15742 | _ACEOF | 16110 | _ACEOF |
| 15743 | 16111 | ||
| 15744 | else | 16112 | else |
| 15745 | case $LIBOBJS in | 16113 | case " $LIBOBJS " in |
| 15746 | "getloadavg.$ac_objext" | \ | ||
| 15747 | *" getloadavg.$ac_objext" | \ | ||
| 15748 | "getloadavg.$ac_objext "* | \ | ||
| 15749 | *" getloadavg.$ac_objext "* ) ;; | 16114 | *" getloadavg.$ac_objext "* ) ;; |
| 15750 | *) LIBOBJS="$LIBOBJS getloadavg.$ac_objext" ;; | 16115 | *) LIBOBJS="$LIBOBJS getloadavg.$ac_objext" |
| 16116 | ;; | ||
| 15751 | esac | 16117 | esac |
| 15752 | 16118 | ||
| 15753 | 16119 | ||
| @@ -15758,17 +16124,17 @@ _ACEOF | |||
| 15758 | # Figure out what our getloadavg.c needs. | 16124 | # Figure out what our getloadavg.c needs. |
| 15759 | ac_have_func=no | 16125 | ac_have_func=no |
| 15760 | if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | 16126 | if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then |
| 15761 | echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 | 16127 | { echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 |
| 15762 | echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 | 16128 | echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6; } |
| 15763 | if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | 16129 | if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then |
| 15764 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16130 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 15765 | fi | 16131 | fi |
| 15766 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | 16132 | { echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 |
| 15767 | echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 | 16133 | echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6; } |
| 15768 | else | 16134 | else |
| 15769 | # Is the header compilable? | 16135 | # Is the header compilable? |
| 15770 | echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5 | 16136 | { echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5 |
| 15771 | echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6 | 16137 | echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6; } |
| 15772 | cat >conftest.$ac_ext <<_ACEOF | 16138 | cat >conftest.$ac_ext <<_ACEOF |
| 15773 | /* confdefs.h. */ | 16139 | /* confdefs.h. */ |
| 15774 | _ACEOF | 16140 | _ACEOF |
| @@ -15779,40 +16145,37 @@ $ac_includes_default | |||
| 15779 | #include <sys/dg_sys_info.h> | 16145 | #include <sys/dg_sys_info.h> |
| 15780 | _ACEOF | 16146 | _ACEOF |
| 15781 | rm -f conftest.$ac_objext | 16147 | rm -f conftest.$ac_objext |
| 15782 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 16148 | if { (ac_try="$ac_compile" |
| 15783 | (eval $ac_compile) 2>conftest.er1 | 16149 | case "(($ac_try" in |
| 16150 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16151 | *) ac_try_echo=$ac_try;; | ||
| 16152 | esac | ||
| 16153 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 16154 | (eval "$ac_compile") 2>conftest.er1 | ||
| 15784 | ac_status=$? | 16155 | ac_status=$? |
| 15785 | grep -v '^ *+' conftest.er1 >conftest.err | 16156 | grep -v '^ *+' conftest.er1 >conftest.err |
| 15786 | rm -f conftest.er1 | 16157 | rm -f conftest.er1 |
| 15787 | cat conftest.err >&5 | 16158 | cat conftest.err >&5 |
| 15788 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16159 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15789 | (exit $ac_status); } && | 16160 | (exit $ac_status); } && { |
| 15790 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 16161 | test -z "$ac_c_werror_flag" || |
| 15791 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16162 | test ! -s conftest.err |
| 15792 | (eval $ac_try) 2>&5 | 16163 | } && test -s conftest.$ac_objext; then |
| 15793 | ac_status=$? | ||
| 15794 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15795 | (exit $ac_status); }; } && | ||
| 15796 | { ac_try='test -s conftest.$ac_objext' | ||
| 15797 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 15798 | (eval $ac_try) 2>&5 | ||
| 15799 | ac_status=$? | ||
| 15800 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15801 | (exit $ac_status); }; }; then | ||
| 15802 | ac_header_compiler=yes | 16164 | ac_header_compiler=yes |
| 15803 | else | 16165 | else |
| 15804 | echo "$as_me: failed program was:" >&5 | 16166 | echo "$as_me: failed program was:" >&5 |
| 15805 | sed 's/^/| /' conftest.$ac_ext >&5 | 16167 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 15806 | 16168 | ||
| 15807 | ac_header_compiler=no | 16169 | ac_header_compiler=no |
| 15808 | fi | 16170 | fi |
| 15809 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 16171 | |
| 15810 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 16172 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 15811 | echo "${ECHO_T}$ac_header_compiler" >&6 | 16173 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 16174 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 15812 | 16175 | ||
| 15813 | # Is the header present? | 16176 | # Is the header present? |
| 15814 | echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5 | 16177 | { echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5 |
| 15815 | echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6 | 16178 | echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6; } |
| 15816 | cat >conftest.$ac_ext <<_ACEOF | 16179 | cat >conftest.$ac_ext <<_ACEOF |
| 15817 | /* confdefs.h. */ | 16180 | /* confdefs.h. */ |
| 15818 | _ACEOF | 16181 | _ACEOF |
| @@ -15821,24 +16184,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 15821 | /* end confdefs.h. */ | 16184 | /* end confdefs.h. */ |
| 15822 | #include <sys/dg_sys_info.h> | 16185 | #include <sys/dg_sys_info.h> |
| 15823 | _ACEOF | 16186 | _ACEOF |
| 15824 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 16187 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 15825 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 16188 | case "(($ac_try" in |
| 16189 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16190 | *) ac_try_echo=$ac_try;; | ||
| 16191 | esac | ||
| 16192 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 16193 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 15826 | ac_status=$? | 16194 | ac_status=$? |
| 15827 | grep -v '^ *+' conftest.er1 >conftest.err | 16195 | grep -v '^ *+' conftest.er1 >conftest.err |
| 15828 | rm -f conftest.er1 | 16196 | rm -f conftest.er1 |
| 15829 | cat conftest.err >&5 | 16197 | cat conftest.err >&5 |
| 15830 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16198 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15831 | (exit $ac_status); } >/dev/null; then | 16199 | (exit $ac_status); } >/dev/null && { |
| 15832 | if test -s conftest.err; then | 16200 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 15833 | ac_cpp_err=$ac_c_preproc_warn_flag | 16201 | test ! -s conftest.err |
| 15834 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 16202 | }; then |
| 15835 | else | ||
| 15836 | ac_cpp_err= | ||
| 15837 | fi | ||
| 15838 | else | ||
| 15839 | ac_cpp_err=yes | ||
| 15840 | fi | ||
| 15841 | if test -z "$ac_cpp_err"; then | ||
| 15842 | ac_header_preproc=yes | 16203 | ac_header_preproc=yes |
| 15843 | else | 16204 | else |
| 15844 | echo "$as_me: failed program was:" >&5 | 16205 | echo "$as_me: failed program was:" >&5 |
| @@ -15846,9 +16207,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 15846 | 16207 | ||
| 15847 | ac_header_preproc=no | 16208 | ac_header_preproc=no |
| 15848 | fi | 16209 | fi |
| 16210 | |||
| 15849 | rm -f conftest.err conftest.$ac_ext | 16211 | rm -f conftest.err conftest.$ac_ext |
| 15850 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 16212 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 15851 | echo "${ECHO_T}$ac_header_preproc" >&6 | 16213 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 15852 | 16214 | ||
| 15853 | # So? What about this header? | 16215 | # So? What about this header? |
| 15854 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 16216 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -15872,25 +16234,18 @@ echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Co | |||
| 15872 | echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;} | 16234 | echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;} |
| 15873 | { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5 | 16235 | { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5 |
| 15874 | echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;} | 16236 | echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;} |
| 15875 | ( | 16237 | |
| 15876 | cat <<\_ASBOX | ||
| 15877 | ## ------------------------------------------ ## | ||
| 15878 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 15879 | ## ------------------------------------------ ## | ||
| 15880 | _ASBOX | ||
| 15881 | ) | | ||
| 15882 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 15883 | ;; | 16238 | ;; |
| 15884 | esac | 16239 | esac |
| 15885 | echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 | 16240 | { echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 |
| 15886 | echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 | 16241 | echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6; } |
| 15887 | if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | 16242 | if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then |
| 15888 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16243 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 15889 | else | 16244 | else |
| 15890 | ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc | 16245 | ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc |
| 15891 | fi | 16246 | fi |
| 15892 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | 16247 | { echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 |
| 15893 | echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 | 16248 | echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6; } |
| 15894 | 16249 | ||
| 15895 | fi | 16250 | fi |
| 15896 | if test $ac_cv_header_sys_dg_sys_info_h = yes; then | 16251 | if test $ac_cv_header_sys_dg_sys_info_h = yes; then |
| @@ -15901,8 +16256,8 @@ cat >>confdefs.h <<\_ACEOF | |||
| 15901 | _ACEOF | 16256 | _ACEOF |
| 15902 | 16257 | ||
| 15903 | 16258 | ||
| 15904 | echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 | 16259 | { echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 |
| 15905 | echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 | 16260 | echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6; } |
| 15906 | if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then | 16261 | if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then |
| 15907 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16262 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 15908 | else | 16263 | else |
| @@ -15915,55 +16270,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 15915 | cat >>conftest.$ac_ext <<_ACEOF | 16270 | cat >>conftest.$ac_ext <<_ACEOF |
| 15916 | /* end confdefs.h. */ | 16271 | /* end confdefs.h. */ |
| 15917 | 16272 | ||
| 15918 | /* Override any gcc2 internal prototype to avoid an error. */ | 16273 | /* Override any GCC internal prototype to avoid an error. |
| 16274 | Use char because int might match the return type of a GCC | ||
| 16275 | builtin and then its argument prototype would still apply. */ | ||
| 15919 | #ifdef __cplusplus | 16276 | #ifdef __cplusplus |
| 15920 | extern "C" | 16277 | extern "C" |
| 15921 | #endif | 16278 | #endif |
| 15922 | /* We use char because int might match the return type of a gcc2 | ||
| 15923 | builtin and then its argument prototype would still apply. */ | ||
| 15924 | char dg_sys_info (); | 16279 | char dg_sys_info (); |
| 15925 | int | 16280 | int |
| 15926 | main () | 16281 | main () |
| 15927 | { | 16282 | { |
| 15928 | dg_sys_info (); | 16283 | return dg_sys_info (); |
| 15929 | ; | 16284 | ; |
| 15930 | return 0; | 16285 | return 0; |
| 15931 | } | 16286 | } |
| 15932 | _ACEOF | 16287 | _ACEOF |
| 15933 | rm -f conftest.$ac_objext conftest$ac_exeext | 16288 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 15934 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 16289 | if { (ac_try="$ac_link" |
| 15935 | (eval $ac_link) 2>conftest.er1 | 16290 | case "(($ac_try" in |
| 16291 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16292 | *) ac_try_echo=$ac_try;; | ||
| 16293 | esac | ||
| 16294 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 16295 | (eval "$ac_link") 2>conftest.er1 | ||
| 15936 | ac_status=$? | 16296 | ac_status=$? |
| 15937 | grep -v '^ *+' conftest.er1 >conftest.err | 16297 | grep -v '^ *+' conftest.er1 >conftest.err |
| 15938 | rm -f conftest.er1 | 16298 | rm -f conftest.er1 |
| 15939 | cat conftest.err >&5 | 16299 | cat conftest.err >&5 |
| 15940 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16300 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15941 | (exit $ac_status); } && | 16301 | (exit $ac_status); } && { |
| 15942 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 16302 | test -z "$ac_c_werror_flag" || |
| 15943 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16303 | test ! -s conftest.err |
| 15944 | (eval $ac_try) 2>&5 | 16304 | } && test -s conftest$ac_exeext && |
| 15945 | ac_status=$? | 16305 | $as_test_x conftest$ac_exeext; then |
| 15946 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15947 | (exit $ac_status); }; } && | ||
| 15948 | { ac_try='test -s conftest$ac_exeext' | ||
| 15949 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 15950 | (eval $ac_try) 2>&5 | ||
| 15951 | ac_status=$? | ||
| 15952 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 15953 | (exit $ac_status); }; }; then | ||
| 15954 | ac_cv_lib_dgc_dg_sys_info=yes | 16306 | ac_cv_lib_dgc_dg_sys_info=yes |
| 15955 | else | 16307 | else |
| 15956 | echo "$as_me: failed program was:" >&5 | 16308 | echo "$as_me: failed program was:" >&5 |
| 15957 | sed 's/^/| /' conftest.$ac_ext >&5 | 16309 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 15958 | 16310 | ||
| 15959 | ac_cv_lib_dgc_dg_sys_info=no | 16311 | ac_cv_lib_dgc_dg_sys_info=no |
| 15960 | fi | 16312 | fi |
| 15961 | rm -f conftest.err conftest.$ac_objext \ | 16313 | |
| 16314 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 15962 | conftest$ac_exeext conftest.$ac_ext | 16315 | conftest$ac_exeext conftest.$ac_ext |
| 15963 | LIBS=$ac_check_lib_save_LIBS | 16316 | LIBS=$ac_check_lib_save_LIBS |
| 15964 | fi | 16317 | fi |
| 15965 | echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 | 16318 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 |
| 15966 | echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 | 16319 | echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6; } |
| 15967 | if test $ac_cv_lib_dgc_dg_sys_info = yes; then | 16320 | if test $ac_cv_lib_dgc_dg_sys_info = yes; then |
| 15968 | cat >>confdefs.h <<_ACEOF | 16321 | cat >>confdefs.h <<_ACEOF |
| 15969 | #define HAVE_LIBDGC 1 | 16322 | #define HAVE_LIBDGC 1 |
| @@ -15978,17 +16331,17 @@ fi | |||
| 15978 | 16331 | ||
| 15979 | 16332 | ||
| 15980 | if test "${ac_cv_header_locale_h+set}" = set; then | 16333 | if test "${ac_cv_header_locale_h+set}" = set; then |
| 15981 | echo "$as_me:$LINENO: checking for locale.h" >&5 | 16334 | { echo "$as_me:$LINENO: checking for locale.h" >&5 |
| 15982 | echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 | 16335 | echo $ECHO_N "checking for locale.h... $ECHO_C" >&6; } |
| 15983 | if test "${ac_cv_header_locale_h+set}" = set; then | 16336 | if test "${ac_cv_header_locale_h+set}" = set; then |
| 15984 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16337 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 15985 | fi | 16338 | fi |
| 15986 | echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | 16339 | { echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 |
| 15987 | echo "${ECHO_T}$ac_cv_header_locale_h" >&6 | 16340 | echo "${ECHO_T}$ac_cv_header_locale_h" >&6; } |
| 15988 | else | 16341 | else |
| 15989 | # Is the header compilable? | 16342 | # Is the header compilable? |
| 15990 | echo "$as_me:$LINENO: checking locale.h usability" >&5 | 16343 | { echo "$as_me:$LINENO: checking locale.h usability" >&5 |
| 15991 | echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6 | 16344 | echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6; } |
| 15992 | cat >conftest.$ac_ext <<_ACEOF | 16345 | cat >conftest.$ac_ext <<_ACEOF |
| 15993 | /* confdefs.h. */ | 16346 | /* confdefs.h. */ |
| 15994 | _ACEOF | 16347 | _ACEOF |
| @@ -15999,40 +16352,37 @@ $ac_includes_default | |||
| 15999 | #include <locale.h> | 16352 | #include <locale.h> |
| 16000 | _ACEOF | 16353 | _ACEOF |
| 16001 | rm -f conftest.$ac_objext | 16354 | rm -f conftest.$ac_objext |
| 16002 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 16355 | if { (ac_try="$ac_compile" |
| 16003 | (eval $ac_compile) 2>conftest.er1 | 16356 | case "(($ac_try" in |
| 16357 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16358 | *) ac_try_echo=$ac_try;; | ||
| 16359 | esac | ||
| 16360 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 16361 | (eval "$ac_compile") 2>conftest.er1 | ||
| 16004 | ac_status=$? | 16362 | ac_status=$? |
| 16005 | grep -v '^ *+' conftest.er1 >conftest.err | 16363 | grep -v '^ *+' conftest.er1 >conftest.err |
| 16006 | rm -f conftest.er1 | 16364 | rm -f conftest.er1 |
| 16007 | cat conftest.err >&5 | 16365 | cat conftest.err >&5 |
| 16008 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16366 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16009 | (exit $ac_status); } && | 16367 | (exit $ac_status); } && { |
| 16010 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 16368 | test -z "$ac_c_werror_flag" || |
| 16011 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16369 | test ! -s conftest.err |
| 16012 | (eval $ac_try) 2>&5 | 16370 | } && test -s conftest.$ac_objext; then |
| 16013 | ac_status=$? | ||
| 16014 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16015 | (exit $ac_status); }; } && | ||
| 16016 | { ac_try='test -s conftest.$ac_objext' | ||
| 16017 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 16018 | (eval $ac_try) 2>&5 | ||
| 16019 | ac_status=$? | ||
| 16020 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16021 | (exit $ac_status); }; }; then | ||
| 16022 | ac_header_compiler=yes | 16371 | ac_header_compiler=yes |
| 16023 | else | 16372 | else |
| 16024 | echo "$as_me: failed program was:" >&5 | 16373 | echo "$as_me: failed program was:" >&5 |
| 16025 | sed 's/^/| /' conftest.$ac_ext >&5 | 16374 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 16026 | 16375 | ||
| 16027 | ac_header_compiler=no | 16376 | ac_header_compiler=no |
| 16028 | fi | 16377 | fi |
| 16029 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 16378 | |
| 16030 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 16379 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16031 | echo "${ECHO_T}$ac_header_compiler" >&6 | 16380 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 16381 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 16032 | 16382 | ||
| 16033 | # Is the header present? | 16383 | # Is the header present? |
| 16034 | echo "$as_me:$LINENO: checking locale.h presence" >&5 | 16384 | { echo "$as_me:$LINENO: checking locale.h presence" >&5 |
| 16035 | echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6 | 16385 | echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6; } |
| 16036 | cat >conftest.$ac_ext <<_ACEOF | 16386 | cat >conftest.$ac_ext <<_ACEOF |
| 16037 | /* confdefs.h. */ | 16387 | /* confdefs.h. */ |
| 16038 | _ACEOF | 16388 | _ACEOF |
| @@ -16041,24 +16391,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 16041 | /* end confdefs.h. */ | 16391 | /* end confdefs.h. */ |
| 16042 | #include <locale.h> | 16392 | #include <locale.h> |
| 16043 | _ACEOF | 16393 | _ACEOF |
| 16044 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 16394 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 16045 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 16395 | case "(($ac_try" in |
| 16396 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16397 | *) ac_try_echo=$ac_try;; | ||
| 16398 | esac | ||
| 16399 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 16400 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 16046 | ac_status=$? | 16401 | ac_status=$? |
| 16047 | grep -v '^ *+' conftest.er1 >conftest.err | 16402 | grep -v '^ *+' conftest.er1 >conftest.err |
| 16048 | rm -f conftest.er1 | 16403 | rm -f conftest.er1 |
| 16049 | cat conftest.err >&5 | 16404 | cat conftest.err >&5 |
| 16050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16405 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16051 | (exit $ac_status); } >/dev/null; then | 16406 | (exit $ac_status); } >/dev/null && { |
| 16052 | if test -s conftest.err; then | 16407 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 16053 | ac_cpp_err=$ac_c_preproc_warn_flag | 16408 | test ! -s conftest.err |
| 16054 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 16409 | }; then |
| 16055 | else | ||
| 16056 | ac_cpp_err= | ||
| 16057 | fi | ||
| 16058 | else | ||
| 16059 | ac_cpp_err=yes | ||
| 16060 | fi | ||
| 16061 | if test -z "$ac_cpp_err"; then | ||
| 16062 | ac_header_preproc=yes | 16410 | ac_header_preproc=yes |
| 16063 | else | 16411 | else |
| 16064 | echo "$as_me: failed program was:" >&5 | 16412 | echo "$as_me: failed program was:" >&5 |
| @@ -16066,9 +16414,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 16066 | 16414 | ||
| 16067 | ac_header_preproc=no | 16415 | ac_header_preproc=no |
| 16068 | fi | 16416 | fi |
| 16417 | |||
| 16069 | rm -f conftest.err conftest.$ac_ext | 16418 | rm -f conftest.err conftest.$ac_ext |
| 16070 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 16419 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 16071 | echo "${ECHO_T}$ac_header_preproc" >&6 | 16420 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 16072 | 16421 | ||
| 16073 | # So? What about this header? | 16422 | # So? What about this header? |
| 16074 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 16423 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -16092,25 +16441,18 @@ echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" | |||
| 16092 | echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;} | 16441 | echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;} |
| 16093 | { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5 | 16442 | { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5 |
| 16094 | echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;} | 16443 | echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;} |
| 16095 | ( | 16444 | |
| 16096 | cat <<\_ASBOX | ||
| 16097 | ## ------------------------------------------ ## | ||
| 16098 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 16099 | ## ------------------------------------------ ## | ||
| 16100 | _ASBOX | ||
| 16101 | ) | | ||
| 16102 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 16103 | ;; | 16445 | ;; |
| 16104 | esac | 16446 | esac |
| 16105 | echo "$as_me:$LINENO: checking for locale.h" >&5 | 16447 | { echo "$as_me:$LINENO: checking for locale.h" >&5 |
| 16106 | echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 | 16448 | echo $ECHO_N "checking for locale.h... $ECHO_C" >&6; } |
| 16107 | if test "${ac_cv_header_locale_h+set}" = set; then | 16449 | if test "${ac_cv_header_locale_h+set}" = set; then |
| 16108 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16450 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 16109 | else | 16451 | else |
| 16110 | ac_cv_header_locale_h=$ac_header_preproc | 16452 | ac_cv_header_locale_h=$ac_header_preproc |
| 16111 | fi | 16453 | fi |
| 16112 | echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | 16454 | { echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 |
| 16113 | echo "${ECHO_T}$ac_cv_header_locale_h" >&6 | 16455 | echo "${ECHO_T}$ac_cv_header_locale_h" >&6; } |
| 16114 | 16456 | ||
| 16115 | fi | 16457 | fi |
| 16116 | 16458 | ||
| @@ -16119,9 +16461,9 @@ fi | |||
| 16119 | for ac_func in setlocale | 16461 | for ac_func in setlocale |
| 16120 | do | 16462 | do |
| 16121 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 16463 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 16122 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 16464 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 16123 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 16465 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 16124 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 16466 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 16125 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16467 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 16126 | else | 16468 | else |
| 16127 | cat >conftest.$ac_ext <<_ACEOF | 16469 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -16147,67 +16489,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 16147 | 16489 | ||
| 16148 | #undef $ac_func | 16490 | #undef $ac_func |
| 16149 | 16491 | ||
| 16150 | /* Override any gcc2 internal prototype to avoid an error. */ | 16492 | /* Override any GCC internal prototype to avoid an error. |
| 16493 | Use char because int might match the return type of a GCC | ||
| 16494 | builtin and then its argument prototype would still apply. */ | ||
| 16151 | #ifdef __cplusplus | 16495 | #ifdef __cplusplus |
| 16152 | extern "C" | 16496 | extern "C" |
| 16153 | { | ||
| 16154 | #endif | 16497 | #endif |
| 16155 | /* We use char because int might match the return type of a gcc2 | ||
| 16156 | builtin and then its argument prototype would still apply. */ | ||
| 16157 | char $ac_func (); | 16498 | char $ac_func (); |
| 16158 | /* The GNU C library defines this for functions which it implements | 16499 | /* The GNU C library defines this for functions which it implements |
| 16159 | to always fail with ENOSYS. Some functions are actually named | 16500 | to always fail with ENOSYS. Some functions are actually named |
| 16160 | something starting with __ and the normal name is an alias. */ | 16501 | something starting with __ and the normal name is an alias. */ |
| 16161 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 16502 | #if defined __stub_$ac_func || defined __stub___$ac_func |
| 16162 | choke me | 16503 | choke me |
| 16163 | #else | ||
| 16164 | char (*f) () = $ac_func; | ||
| 16165 | #endif | ||
| 16166 | #ifdef __cplusplus | ||
| 16167 | } | ||
| 16168 | #endif | 16504 | #endif |
| 16169 | 16505 | ||
| 16170 | int | 16506 | int |
| 16171 | main () | 16507 | main () |
| 16172 | { | 16508 | { |
| 16173 | return f != $ac_func; | 16509 | return $ac_func (); |
| 16174 | ; | 16510 | ; |
| 16175 | return 0; | 16511 | return 0; |
| 16176 | } | 16512 | } |
| 16177 | _ACEOF | 16513 | _ACEOF |
| 16178 | rm -f conftest.$ac_objext conftest$ac_exeext | 16514 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 16179 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 16515 | if { (ac_try="$ac_link" |
| 16180 | (eval $ac_link) 2>conftest.er1 | 16516 | case "(($ac_try" in |
| 16517 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16518 | *) ac_try_echo=$ac_try;; | ||
| 16519 | esac | ||
| 16520 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 16521 | (eval "$ac_link") 2>conftest.er1 | ||
| 16181 | ac_status=$? | 16522 | ac_status=$? |
| 16182 | grep -v '^ *+' conftest.er1 >conftest.err | 16523 | grep -v '^ *+' conftest.er1 >conftest.err |
| 16183 | rm -f conftest.er1 | 16524 | rm -f conftest.er1 |
| 16184 | cat conftest.err >&5 | 16525 | cat conftest.err >&5 |
| 16185 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16526 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16186 | (exit $ac_status); } && | 16527 | (exit $ac_status); } && { |
| 16187 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 16528 | test -z "$ac_c_werror_flag" || |
| 16188 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16529 | test ! -s conftest.err |
| 16189 | (eval $ac_try) 2>&5 | 16530 | } && test -s conftest$ac_exeext && |
| 16190 | ac_status=$? | 16531 | $as_test_x conftest$ac_exeext; then |
| 16191 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16192 | (exit $ac_status); }; } && | ||
| 16193 | { ac_try='test -s conftest$ac_exeext' | ||
| 16194 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 16195 | (eval $ac_try) 2>&5 | ||
| 16196 | ac_status=$? | ||
| 16197 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16198 | (exit $ac_status); }; }; then | ||
| 16199 | eval "$as_ac_var=yes" | 16532 | eval "$as_ac_var=yes" |
| 16200 | else | 16533 | else |
| 16201 | echo "$as_me: failed program was:" >&5 | 16534 | echo "$as_me: failed program was:" >&5 |
| 16202 | sed 's/^/| /' conftest.$ac_ext >&5 | 16535 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 16203 | 16536 | ||
| 16204 | eval "$as_ac_var=no" | 16537 | eval "$as_ac_var=no" |
| 16205 | fi | 16538 | fi |
| 16206 | rm -f conftest.err conftest.$ac_objext \ | 16539 | |
| 16540 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 16207 | conftest$ac_exeext conftest.$ac_ext | 16541 | conftest$ac_exeext conftest.$ac_ext |
| 16208 | fi | 16542 | fi |
| 16209 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 16543 | ac_res=`eval echo '${'$as_ac_var'}'` |
| 16210 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 16544 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 16545 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 16211 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 16546 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 16212 | cat >>confdefs.h <<_ACEOF | 16547 | cat >>confdefs.h <<_ACEOF |
| 16213 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 16548 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| @@ -16231,17 +16566,17 @@ fi | |||
| 16231 | 16566 | ||
| 16232 | if test $ac_have_func = no; then | 16567 | if test $ac_have_func = no; then |
| 16233 | if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | 16568 | if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then |
| 16234 | echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 | 16569 | { echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 |
| 16235 | echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 | 16570 | echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6; } |
| 16236 | if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | 16571 | if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then |
| 16237 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16572 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 16238 | fi | 16573 | fi |
| 16239 | echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | 16574 | { echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 |
| 16240 | echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 | 16575 | echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6; } |
| 16241 | else | 16576 | else |
| 16242 | # Is the header compilable? | 16577 | # Is the header compilable? |
| 16243 | echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5 | 16578 | { echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5 |
| 16244 | echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6 | 16579 | echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6; } |
| 16245 | cat >conftest.$ac_ext <<_ACEOF | 16580 | cat >conftest.$ac_ext <<_ACEOF |
| 16246 | /* confdefs.h. */ | 16581 | /* confdefs.h. */ |
| 16247 | _ACEOF | 16582 | _ACEOF |
| @@ -16252,40 +16587,37 @@ $ac_includes_default | |||
| 16252 | #include <inq_stats/cpustats.h> | 16587 | #include <inq_stats/cpustats.h> |
| 16253 | _ACEOF | 16588 | _ACEOF |
| 16254 | rm -f conftest.$ac_objext | 16589 | rm -f conftest.$ac_objext |
| 16255 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 16590 | if { (ac_try="$ac_compile" |
| 16256 | (eval $ac_compile) 2>conftest.er1 | 16591 | case "(($ac_try" in |
| 16592 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16593 | *) ac_try_echo=$ac_try;; | ||
| 16594 | esac | ||
| 16595 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 16596 | (eval "$ac_compile") 2>conftest.er1 | ||
| 16257 | ac_status=$? | 16597 | ac_status=$? |
| 16258 | grep -v '^ *+' conftest.er1 >conftest.err | 16598 | grep -v '^ *+' conftest.er1 >conftest.err |
| 16259 | rm -f conftest.er1 | 16599 | rm -f conftest.er1 |
| 16260 | cat conftest.err >&5 | 16600 | cat conftest.err >&5 |
| 16261 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16601 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16262 | (exit $ac_status); } && | 16602 | (exit $ac_status); } && { |
| 16263 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 16603 | test -z "$ac_c_werror_flag" || |
| 16264 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16604 | test ! -s conftest.err |
| 16265 | (eval $ac_try) 2>&5 | 16605 | } && test -s conftest.$ac_objext; then |
| 16266 | ac_status=$? | ||
| 16267 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16268 | (exit $ac_status); }; } && | ||
| 16269 | { ac_try='test -s conftest.$ac_objext' | ||
| 16270 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 16271 | (eval $ac_try) 2>&5 | ||
| 16272 | ac_status=$? | ||
| 16273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16274 | (exit $ac_status); }; }; then | ||
| 16275 | ac_header_compiler=yes | 16606 | ac_header_compiler=yes |
| 16276 | else | 16607 | else |
| 16277 | echo "$as_me: failed program was:" >&5 | 16608 | echo "$as_me: failed program was:" >&5 |
| 16278 | sed 's/^/| /' conftest.$ac_ext >&5 | 16609 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 16279 | 16610 | ||
| 16280 | ac_header_compiler=no | 16611 | ac_header_compiler=no |
| 16281 | fi | 16612 | fi |
| 16282 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 16613 | |
| 16283 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 16614 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16284 | echo "${ECHO_T}$ac_header_compiler" >&6 | 16615 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 16616 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 16285 | 16617 | ||
| 16286 | # Is the header present? | 16618 | # Is the header present? |
| 16287 | echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5 | 16619 | { echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5 |
| 16288 | echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6 | 16620 | echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6; } |
| 16289 | cat >conftest.$ac_ext <<_ACEOF | 16621 | cat >conftest.$ac_ext <<_ACEOF |
| 16290 | /* confdefs.h. */ | 16622 | /* confdefs.h. */ |
| 16291 | _ACEOF | 16623 | _ACEOF |
| @@ -16294,24 +16626,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 16294 | /* end confdefs.h. */ | 16626 | /* end confdefs.h. */ |
| 16295 | #include <inq_stats/cpustats.h> | 16627 | #include <inq_stats/cpustats.h> |
| 16296 | _ACEOF | 16628 | _ACEOF |
| 16297 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 16629 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 16298 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 16630 | case "(($ac_try" in |
| 16631 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16632 | *) ac_try_echo=$ac_try;; | ||
| 16633 | esac | ||
| 16634 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 16635 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 16299 | ac_status=$? | 16636 | ac_status=$? |
| 16300 | grep -v '^ *+' conftest.er1 >conftest.err | 16637 | grep -v '^ *+' conftest.er1 >conftest.err |
| 16301 | rm -f conftest.er1 | 16638 | rm -f conftest.er1 |
| 16302 | cat conftest.err >&5 | 16639 | cat conftest.err >&5 |
| 16303 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16640 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16304 | (exit $ac_status); } >/dev/null; then | 16641 | (exit $ac_status); } >/dev/null && { |
| 16305 | if test -s conftest.err; then | 16642 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 16306 | ac_cpp_err=$ac_c_preproc_warn_flag | 16643 | test ! -s conftest.err |
| 16307 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 16644 | }; then |
| 16308 | else | ||
| 16309 | ac_cpp_err= | ||
| 16310 | fi | ||
| 16311 | else | ||
| 16312 | ac_cpp_err=yes | ||
| 16313 | fi | ||
| 16314 | if test -z "$ac_cpp_err"; then | ||
| 16315 | ac_header_preproc=yes | 16645 | ac_header_preproc=yes |
| 16316 | else | 16646 | else |
| 16317 | echo "$as_me: failed program was:" >&5 | 16647 | echo "$as_me: failed program was:" >&5 |
| @@ -16319,9 +16649,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 16319 | 16649 | ||
| 16320 | ac_header_preproc=no | 16650 | ac_header_preproc=no |
| 16321 | fi | 16651 | fi |
| 16652 | |||
| 16322 | rm -f conftest.err conftest.$ac_ext | 16653 | rm -f conftest.err conftest.$ac_ext |
| 16323 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 16654 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 16324 | echo "${ECHO_T}$ac_header_preproc" >&6 | 16655 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 16325 | 16656 | ||
| 16326 | # So? What about this header? | 16657 | # So? What about this header? |
| 16327 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 16658 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -16345,25 +16676,18 @@ echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be | |||
| 16345 | echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;} | 16676 | echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;} |
| 16346 | { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5 | 16677 | { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5 |
| 16347 | echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;} | 16678 | echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;} |
| 16348 | ( | 16679 | |
| 16349 | cat <<\_ASBOX | ||
| 16350 | ## ------------------------------------------ ## | ||
| 16351 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 16352 | ## ------------------------------------------ ## | ||
| 16353 | _ASBOX | ||
| 16354 | ) | | ||
| 16355 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 16356 | ;; | 16680 | ;; |
| 16357 | esac | 16681 | esac |
| 16358 | echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 | 16682 | { echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 |
| 16359 | echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 | 16683 | echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6; } |
| 16360 | if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | 16684 | if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then |
| 16361 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16685 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 16362 | else | 16686 | else |
| 16363 | ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc | 16687 | ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc |
| 16364 | fi | 16688 | fi |
| 16365 | echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | 16689 | { echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 |
| 16366 | echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 | 16690 | echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6; } |
| 16367 | 16691 | ||
| 16368 | fi | 16692 | fi |
| 16369 | if test $ac_cv_header_inq_stats_cpustats_h = yes; then | 16693 | if test $ac_cv_header_inq_stats_cpustats_h = yes; then |
| @@ -16385,17 +16709,17 @@ fi | |||
| 16385 | 16709 | ||
| 16386 | if test $ac_have_func = no; then | 16710 | if test $ac_have_func = no; then |
| 16387 | if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | 16711 | if test "${ac_cv_header_sys_cpustats_h+set}" = set; then |
| 16388 | echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 | 16712 | { echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 |
| 16389 | echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 | 16713 | echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6; } |
| 16390 | if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | 16714 | if test "${ac_cv_header_sys_cpustats_h+set}" = set; then |
| 16391 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16715 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 16392 | fi | 16716 | fi |
| 16393 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | 16717 | { echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 |
| 16394 | echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 | 16718 | echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6; } |
| 16395 | else | 16719 | else |
| 16396 | # Is the header compilable? | 16720 | # Is the header compilable? |
| 16397 | echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5 | 16721 | { echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5 |
| 16398 | echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6 | 16722 | echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6; } |
| 16399 | cat >conftest.$ac_ext <<_ACEOF | 16723 | cat >conftest.$ac_ext <<_ACEOF |
| 16400 | /* confdefs.h. */ | 16724 | /* confdefs.h. */ |
| 16401 | _ACEOF | 16725 | _ACEOF |
| @@ -16406,40 +16730,37 @@ $ac_includes_default | |||
| 16406 | #include <sys/cpustats.h> | 16730 | #include <sys/cpustats.h> |
| 16407 | _ACEOF | 16731 | _ACEOF |
| 16408 | rm -f conftest.$ac_objext | 16732 | rm -f conftest.$ac_objext |
| 16409 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 16733 | if { (ac_try="$ac_compile" |
| 16410 | (eval $ac_compile) 2>conftest.er1 | 16734 | case "(($ac_try" in |
| 16735 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16736 | *) ac_try_echo=$ac_try;; | ||
| 16737 | esac | ||
| 16738 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 16739 | (eval "$ac_compile") 2>conftest.er1 | ||
| 16411 | ac_status=$? | 16740 | ac_status=$? |
| 16412 | grep -v '^ *+' conftest.er1 >conftest.err | 16741 | grep -v '^ *+' conftest.er1 >conftest.err |
| 16413 | rm -f conftest.er1 | 16742 | rm -f conftest.er1 |
| 16414 | cat conftest.err >&5 | 16743 | cat conftest.err >&5 |
| 16415 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16744 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16416 | (exit $ac_status); } && | 16745 | (exit $ac_status); } && { |
| 16417 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 16746 | test -z "$ac_c_werror_flag" || |
| 16418 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16747 | test ! -s conftest.err |
| 16419 | (eval $ac_try) 2>&5 | 16748 | } && test -s conftest.$ac_objext; then |
| 16420 | ac_status=$? | ||
| 16421 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16422 | (exit $ac_status); }; } && | ||
| 16423 | { ac_try='test -s conftest.$ac_objext' | ||
| 16424 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 16425 | (eval $ac_try) 2>&5 | ||
| 16426 | ac_status=$? | ||
| 16427 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16428 | (exit $ac_status); }; }; then | ||
| 16429 | ac_header_compiler=yes | 16749 | ac_header_compiler=yes |
| 16430 | else | 16750 | else |
| 16431 | echo "$as_me: failed program was:" >&5 | 16751 | echo "$as_me: failed program was:" >&5 |
| 16432 | sed 's/^/| /' conftest.$ac_ext >&5 | 16752 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 16433 | 16753 | ||
| 16434 | ac_header_compiler=no | 16754 | ac_header_compiler=no |
| 16435 | fi | 16755 | fi |
| 16436 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 16756 | |
| 16437 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 16757 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16438 | echo "${ECHO_T}$ac_header_compiler" >&6 | 16758 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 16759 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 16439 | 16760 | ||
| 16440 | # Is the header present? | 16761 | # Is the header present? |
| 16441 | echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5 | 16762 | { echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5 |
| 16442 | echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6 | 16763 | echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6; } |
| 16443 | cat >conftest.$ac_ext <<_ACEOF | 16764 | cat >conftest.$ac_ext <<_ACEOF |
| 16444 | /* confdefs.h. */ | 16765 | /* confdefs.h. */ |
| 16445 | _ACEOF | 16766 | _ACEOF |
| @@ -16448,24 +16769,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 16448 | /* end confdefs.h. */ | 16769 | /* end confdefs.h. */ |
| 16449 | #include <sys/cpustats.h> | 16770 | #include <sys/cpustats.h> |
| 16450 | _ACEOF | 16771 | _ACEOF |
| 16451 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 16772 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 16452 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 16773 | case "(($ac_try" in |
| 16774 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16775 | *) ac_try_echo=$ac_try;; | ||
| 16776 | esac | ||
| 16777 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 16778 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 16453 | ac_status=$? | 16779 | ac_status=$? |
| 16454 | grep -v '^ *+' conftest.er1 >conftest.err | 16780 | grep -v '^ *+' conftest.er1 >conftest.err |
| 16455 | rm -f conftest.er1 | 16781 | rm -f conftest.er1 |
| 16456 | cat conftest.err >&5 | 16782 | cat conftest.err >&5 |
| 16457 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16783 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16458 | (exit $ac_status); } >/dev/null; then | 16784 | (exit $ac_status); } >/dev/null && { |
| 16459 | if test -s conftest.err; then | 16785 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 16460 | ac_cpp_err=$ac_c_preproc_warn_flag | 16786 | test ! -s conftest.err |
| 16461 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 16787 | }; then |
| 16462 | else | ||
| 16463 | ac_cpp_err= | ||
| 16464 | fi | ||
| 16465 | else | ||
| 16466 | ac_cpp_err=yes | ||
| 16467 | fi | ||
| 16468 | if test -z "$ac_cpp_err"; then | ||
| 16469 | ac_header_preproc=yes | 16788 | ac_header_preproc=yes |
| 16470 | else | 16789 | else |
| 16471 | echo "$as_me: failed program was:" >&5 | 16790 | echo "$as_me: failed program was:" >&5 |
| @@ -16473,9 +16792,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 16473 | 16792 | ||
| 16474 | ac_header_preproc=no | 16793 | ac_header_preproc=no |
| 16475 | fi | 16794 | fi |
| 16795 | |||
| 16476 | rm -f conftest.err conftest.$ac_ext | 16796 | rm -f conftest.err conftest.$ac_ext |
| 16477 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 16797 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 16478 | echo "${ECHO_T}$ac_header_preproc" >&6 | 16798 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 16479 | 16799 | ||
| 16480 | # So? What about this header? | 16800 | # So? What about this header? |
| 16481 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 16801 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -16499,25 +16819,18 @@ echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compi | |||
| 16499 | echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;} | 16819 | echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;} |
| 16500 | { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5 | 16820 | { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5 |
| 16501 | echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;} | 16821 | echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;} |
| 16502 | ( | 16822 | |
| 16503 | cat <<\_ASBOX | ||
| 16504 | ## ------------------------------------------ ## | ||
| 16505 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 16506 | ## ------------------------------------------ ## | ||
| 16507 | _ASBOX | ||
| 16508 | ) | | ||
| 16509 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 16510 | ;; | 16823 | ;; |
| 16511 | esac | 16824 | esac |
| 16512 | echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 | 16825 | { echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 |
| 16513 | echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 | 16826 | echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6; } |
| 16514 | if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | 16827 | if test "${ac_cv_header_sys_cpustats_h+set}" = set; then |
| 16515 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16828 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 16516 | else | 16829 | else |
| 16517 | ac_cv_header_sys_cpustats_h=$ac_header_preproc | 16830 | ac_cv_header_sys_cpustats_h=$ac_header_preproc |
| 16518 | fi | 16831 | fi |
| 16519 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | 16832 | { echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 |
| 16520 | echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 | 16833 | echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6; } |
| 16521 | 16834 | ||
| 16522 | fi | 16835 | fi |
| 16523 | if test $ac_cv_header_sys_cpustats_h = yes; then | 16836 | if test $ac_cv_header_sys_cpustats_h = yes; then |
| @@ -16535,18 +16848,19 @@ if test $ac_have_func = no; then | |||
| 16535 | for ac_header in mach/mach.h | 16848 | for ac_header in mach/mach.h |
| 16536 | do | 16849 | do |
| 16537 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 16850 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 16538 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 16851 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 16539 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 16852 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 16540 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 16853 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 16541 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 16854 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 16542 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16855 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 16543 | fi | 16856 | fi |
| 16544 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 16857 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 16545 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 16858 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 16859 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 16546 | else | 16860 | else |
| 16547 | # Is the header compilable? | 16861 | # Is the header compilable? |
| 16548 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 16862 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 16549 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 16863 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 16550 | cat >conftest.$ac_ext <<_ACEOF | 16864 | cat >conftest.$ac_ext <<_ACEOF |
| 16551 | /* confdefs.h. */ | 16865 | /* confdefs.h. */ |
| 16552 | _ACEOF | 16866 | _ACEOF |
| @@ -16557,40 +16871,37 @@ $ac_includes_default | |||
| 16557 | #include <$ac_header> | 16871 | #include <$ac_header> |
| 16558 | _ACEOF | 16872 | _ACEOF |
| 16559 | rm -f conftest.$ac_objext | 16873 | rm -f conftest.$ac_objext |
| 16560 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 16874 | if { (ac_try="$ac_compile" |
| 16561 | (eval $ac_compile) 2>conftest.er1 | 16875 | case "(($ac_try" in |
| 16876 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16877 | *) ac_try_echo=$ac_try;; | ||
| 16878 | esac | ||
| 16879 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 16880 | (eval "$ac_compile") 2>conftest.er1 | ||
| 16562 | ac_status=$? | 16881 | ac_status=$? |
| 16563 | grep -v '^ *+' conftest.er1 >conftest.err | 16882 | grep -v '^ *+' conftest.er1 >conftest.err |
| 16564 | rm -f conftest.er1 | 16883 | rm -f conftest.er1 |
| 16565 | cat conftest.err >&5 | 16884 | cat conftest.err >&5 |
| 16566 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16885 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16567 | (exit $ac_status); } && | 16886 | (exit $ac_status); } && { |
| 16568 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 16887 | test -z "$ac_c_werror_flag" || |
| 16569 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16888 | test ! -s conftest.err |
| 16570 | (eval $ac_try) 2>&5 | 16889 | } && test -s conftest.$ac_objext; then |
| 16571 | ac_status=$? | ||
| 16572 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16573 | (exit $ac_status); }; } && | ||
| 16574 | { ac_try='test -s conftest.$ac_objext' | ||
| 16575 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 16576 | (eval $ac_try) 2>&5 | ||
| 16577 | ac_status=$? | ||
| 16578 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16579 | (exit $ac_status); }; }; then | ||
| 16580 | ac_header_compiler=yes | 16890 | ac_header_compiler=yes |
| 16581 | else | 16891 | else |
| 16582 | echo "$as_me: failed program was:" >&5 | 16892 | echo "$as_me: failed program was:" >&5 |
| 16583 | sed 's/^/| /' conftest.$ac_ext >&5 | 16893 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 16584 | 16894 | ||
| 16585 | ac_header_compiler=no | 16895 | ac_header_compiler=no |
| 16586 | fi | 16896 | fi |
| 16587 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 16897 | |
| 16588 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 16898 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16589 | echo "${ECHO_T}$ac_header_compiler" >&6 | 16899 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 16900 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 16590 | 16901 | ||
| 16591 | # Is the header present? | 16902 | # Is the header present? |
| 16592 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 16903 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 16593 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 16904 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 16594 | cat >conftest.$ac_ext <<_ACEOF | 16905 | cat >conftest.$ac_ext <<_ACEOF |
| 16595 | /* confdefs.h. */ | 16906 | /* confdefs.h. */ |
| 16596 | _ACEOF | 16907 | _ACEOF |
| @@ -16599,24 +16910,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 16599 | /* end confdefs.h. */ | 16910 | /* end confdefs.h. */ |
| 16600 | #include <$ac_header> | 16911 | #include <$ac_header> |
| 16601 | _ACEOF | 16912 | _ACEOF |
| 16602 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 16913 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 16603 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 16914 | case "(($ac_try" in |
| 16915 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 16916 | *) ac_try_echo=$ac_try;; | ||
| 16917 | esac | ||
| 16918 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 16919 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 16604 | ac_status=$? | 16920 | ac_status=$? |
| 16605 | grep -v '^ *+' conftest.er1 >conftest.err | 16921 | grep -v '^ *+' conftest.er1 >conftest.err |
| 16606 | rm -f conftest.er1 | 16922 | rm -f conftest.er1 |
| 16607 | cat conftest.err >&5 | 16923 | cat conftest.err >&5 |
| 16608 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16924 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16609 | (exit $ac_status); } >/dev/null; then | 16925 | (exit $ac_status); } >/dev/null && { |
| 16610 | if test -s conftest.err; then | 16926 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 16611 | ac_cpp_err=$ac_c_preproc_warn_flag | 16927 | test ! -s conftest.err |
| 16612 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 16928 | }; then |
| 16613 | else | ||
| 16614 | ac_cpp_err= | ||
| 16615 | fi | ||
| 16616 | else | ||
| 16617 | ac_cpp_err=yes | ||
| 16618 | fi | ||
| 16619 | if test -z "$ac_cpp_err"; then | ||
| 16620 | ac_header_preproc=yes | 16929 | ac_header_preproc=yes |
| 16621 | else | 16930 | else |
| 16622 | echo "$as_me: failed program was:" >&5 | 16931 | echo "$as_me: failed program was:" >&5 |
| @@ -16624,9 +16933,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 16624 | 16933 | ||
| 16625 | ac_header_preproc=no | 16934 | ac_header_preproc=no |
| 16626 | fi | 16935 | fi |
| 16936 | |||
| 16627 | rm -f conftest.err conftest.$ac_ext | 16937 | rm -f conftest.err conftest.$ac_ext |
| 16628 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 16938 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 16629 | echo "${ECHO_T}$ac_header_preproc" >&6 | 16939 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 16630 | 16940 | ||
| 16631 | # So? What about this header? | 16941 | # So? What about this header? |
| 16632 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 16942 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -16650,25 +16960,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 16650 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 16960 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 16651 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 16961 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 16652 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 16962 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 16653 | ( | 16963 | |
| 16654 | cat <<\_ASBOX | ||
| 16655 | ## ------------------------------------------ ## | ||
| 16656 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 16657 | ## ------------------------------------------ ## | ||
| 16658 | _ASBOX | ||
| 16659 | ) | | ||
| 16660 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 16661 | ;; | 16964 | ;; |
| 16662 | esac | 16965 | esac |
| 16663 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 16966 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 16664 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 16967 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 16665 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 16968 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 16666 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16969 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 16667 | else | 16970 | else |
| 16668 | eval "$as_ac_Header=\$ac_header_preproc" | 16971 | eval "$as_ac_Header=\$ac_header_preproc" |
| 16669 | fi | 16972 | fi |
| 16670 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 16973 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 16671 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 16974 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 16975 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 16672 | 16976 | ||
| 16673 | fi | 16977 | fi |
| 16674 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 16978 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| @@ -16686,18 +16990,19 @@ fi | |||
| 16686 | for ac_header in nlist.h | 16990 | for ac_header in nlist.h |
| 16687 | do | 16991 | do |
| 16688 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 16992 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 16689 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 16993 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 16690 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 16994 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 16691 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 16995 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 16692 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 16996 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 16693 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16997 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 16694 | fi | 16998 | fi |
| 16695 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 16999 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 16696 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 17000 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 17001 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 16697 | else | 17002 | else |
| 16698 | # Is the header compilable? | 17003 | # Is the header compilable? |
| 16699 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 17004 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 16700 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 17005 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 16701 | cat >conftest.$ac_ext <<_ACEOF | 17006 | cat >conftest.$ac_ext <<_ACEOF |
| 16702 | /* confdefs.h. */ | 17007 | /* confdefs.h. */ |
| 16703 | _ACEOF | 17008 | _ACEOF |
| @@ -16708,40 +17013,37 @@ $ac_includes_default | |||
| 16708 | #include <$ac_header> | 17013 | #include <$ac_header> |
| 16709 | _ACEOF | 17014 | _ACEOF |
| 16710 | rm -f conftest.$ac_objext | 17015 | rm -f conftest.$ac_objext |
| 16711 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 17016 | if { (ac_try="$ac_compile" |
| 16712 | (eval $ac_compile) 2>conftest.er1 | 17017 | case "(($ac_try" in |
| 17018 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17019 | *) ac_try_echo=$ac_try;; | ||
| 17020 | esac | ||
| 17021 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 17022 | (eval "$ac_compile") 2>conftest.er1 | ||
| 16713 | ac_status=$? | 17023 | ac_status=$? |
| 16714 | grep -v '^ *+' conftest.er1 >conftest.err | 17024 | grep -v '^ *+' conftest.er1 >conftest.err |
| 16715 | rm -f conftest.er1 | 17025 | rm -f conftest.er1 |
| 16716 | cat conftest.err >&5 | 17026 | cat conftest.err >&5 |
| 16717 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17027 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16718 | (exit $ac_status); } && | 17028 | (exit $ac_status); } && { |
| 16719 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 17029 | test -z "$ac_c_werror_flag" || |
| 16720 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17030 | test ! -s conftest.err |
| 16721 | (eval $ac_try) 2>&5 | 17031 | } && test -s conftest.$ac_objext; then |
| 16722 | ac_status=$? | ||
| 16723 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16724 | (exit $ac_status); }; } && | ||
| 16725 | { ac_try='test -s conftest.$ac_objext' | ||
| 16726 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 16727 | (eval $ac_try) 2>&5 | ||
| 16728 | ac_status=$? | ||
| 16729 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16730 | (exit $ac_status); }; }; then | ||
| 16731 | ac_header_compiler=yes | 17032 | ac_header_compiler=yes |
| 16732 | else | 17033 | else |
| 16733 | echo "$as_me: failed program was:" >&5 | 17034 | echo "$as_me: failed program was:" >&5 |
| 16734 | sed 's/^/| /' conftest.$ac_ext >&5 | 17035 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 16735 | 17036 | ||
| 16736 | ac_header_compiler=no | 17037 | ac_header_compiler=no |
| 16737 | fi | 17038 | fi |
| 16738 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 17039 | |
| 16739 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 17040 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 16740 | echo "${ECHO_T}$ac_header_compiler" >&6 | 17041 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 17042 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 16741 | 17043 | ||
| 16742 | # Is the header present? | 17044 | # Is the header present? |
| 16743 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 17045 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 16744 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 17046 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 16745 | cat >conftest.$ac_ext <<_ACEOF | 17047 | cat >conftest.$ac_ext <<_ACEOF |
| 16746 | /* confdefs.h. */ | 17048 | /* confdefs.h. */ |
| 16747 | _ACEOF | 17049 | _ACEOF |
| @@ -16750,24 +17052,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 16750 | /* end confdefs.h. */ | 17052 | /* end confdefs.h. */ |
| 16751 | #include <$ac_header> | 17053 | #include <$ac_header> |
| 16752 | _ACEOF | 17054 | _ACEOF |
| 16753 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 17055 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 16754 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 17056 | case "(($ac_try" in |
| 17057 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17058 | *) ac_try_echo=$ac_try;; | ||
| 17059 | esac | ||
| 17060 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 17061 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 16755 | ac_status=$? | 17062 | ac_status=$? |
| 16756 | grep -v '^ *+' conftest.er1 >conftest.err | 17063 | grep -v '^ *+' conftest.er1 >conftest.err |
| 16757 | rm -f conftest.er1 | 17064 | rm -f conftest.er1 |
| 16758 | cat conftest.err >&5 | 17065 | cat conftest.err >&5 |
| 16759 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17066 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16760 | (exit $ac_status); } >/dev/null; then | 17067 | (exit $ac_status); } >/dev/null && { |
| 16761 | if test -s conftest.err; then | 17068 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 16762 | ac_cpp_err=$ac_c_preproc_warn_flag | 17069 | test ! -s conftest.err |
| 16763 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 17070 | }; then |
| 16764 | else | ||
| 16765 | ac_cpp_err= | ||
| 16766 | fi | ||
| 16767 | else | ||
| 16768 | ac_cpp_err=yes | ||
| 16769 | fi | ||
| 16770 | if test -z "$ac_cpp_err"; then | ||
| 16771 | ac_header_preproc=yes | 17071 | ac_header_preproc=yes |
| 16772 | else | 17072 | else |
| 16773 | echo "$as_me: failed program was:" >&5 | 17073 | echo "$as_me: failed program was:" >&5 |
| @@ -16775,9 +17075,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 16775 | 17075 | ||
| 16776 | ac_header_preproc=no | 17076 | ac_header_preproc=no |
| 16777 | fi | 17077 | fi |
| 17078 | |||
| 16778 | rm -f conftest.err conftest.$ac_ext | 17079 | rm -f conftest.err conftest.$ac_ext |
| 16779 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 17080 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 16780 | echo "${ECHO_T}$ac_header_preproc" >&6 | 17081 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 16781 | 17082 | ||
| 16782 | # So? What about this header? | 17083 | # So? What about this header? |
| 16783 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 17084 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -16801,33 +17102,27 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 16801 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 17102 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 16802 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 17103 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 16803 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 17104 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 16804 | ( | 17105 | |
| 16805 | cat <<\_ASBOX | ||
| 16806 | ## ------------------------------------------ ## | ||
| 16807 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 16808 | ## ------------------------------------------ ## | ||
| 16809 | _ASBOX | ||
| 16810 | ) | | ||
| 16811 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 16812 | ;; | 17106 | ;; |
| 16813 | esac | 17107 | esac |
| 16814 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 17108 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 16815 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 17109 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 16816 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 17110 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 16817 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17111 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 16818 | else | 17112 | else |
| 16819 | eval "$as_ac_Header=\$ac_header_preproc" | 17113 | eval "$as_ac_Header=\$ac_header_preproc" |
| 16820 | fi | 17114 | fi |
| 16821 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 17115 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 16822 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 17116 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 17117 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 16823 | 17118 | ||
| 16824 | fi | 17119 | fi |
| 16825 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 17120 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| 16826 | cat >>confdefs.h <<_ACEOF | 17121 | cat >>confdefs.h <<_ACEOF |
| 16827 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 17122 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 16828 | _ACEOF | 17123 | _ACEOF |
| 16829 | echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 | 17124 | { echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 |
| 16830 | echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 | 17125 | echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6; } |
| 16831 | if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then | 17126 | if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then |
| 16832 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17127 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 16833 | else | 17128 | else |
| @@ -16850,32 +17145,28 @@ return 0; | |||
| 16850 | } | 17145 | } |
| 16851 | _ACEOF | 17146 | _ACEOF |
| 16852 | rm -f conftest.$ac_objext | 17147 | rm -f conftest.$ac_objext |
| 16853 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 17148 | if { (ac_try="$ac_compile" |
| 16854 | (eval $ac_compile) 2>conftest.er1 | 17149 | case "(($ac_try" in |
| 17150 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17151 | *) ac_try_echo=$ac_try;; | ||
| 17152 | esac | ||
| 17153 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 17154 | (eval "$ac_compile") 2>conftest.er1 | ||
| 16855 | ac_status=$? | 17155 | ac_status=$? |
| 16856 | grep -v '^ *+' conftest.er1 >conftest.err | 17156 | grep -v '^ *+' conftest.er1 >conftest.err |
| 16857 | rm -f conftest.er1 | 17157 | rm -f conftest.er1 |
| 16858 | cat conftest.err >&5 | 17158 | cat conftest.err >&5 |
| 16859 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17159 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16860 | (exit $ac_status); } && | 17160 | (exit $ac_status); } && { |
| 16861 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 17161 | test -z "$ac_c_werror_flag" || |
| 16862 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17162 | test ! -s conftest.err |
| 16863 | (eval $ac_try) 2>&5 | 17163 | } && test -s conftest.$ac_objext; then |
| 16864 | ac_status=$? | ||
| 16865 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16866 | (exit $ac_status); }; } && | ||
| 16867 | { ac_try='test -s conftest.$ac_objext' | ||
| 16868 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 16869 | (eval $ac_try) 2>&5 | ||
| 16870 | ac_status=$? | ||
| 16871 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16872 | (exit $ac_status); }; }; then | ||
| 16873 | ac_cv_member_struct_nlist_n_un_n_name=yes | 17164 | ac_cv_member_struct_nlist_n_un_n_name=yes |
| 16874 | else | 17165 | else |
| 16875 | echo "$as_me: failed program was:" >&5 | 17166 | echo "$as_me: failed program was:" >&5 |
| 16876 | sed 's/^/| /' conftest.$ac_ext >&5 | 17167 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 16877 | 17168 | ||
| 16878 | cat >conftest.$ac_ext <<_ACEOF | 17169 | cat >conftest.$ac_ext <<_ACEOF |
| 16879 | /* confdefs.h. */ | 17170 | /* confdefs.h. */ |
| 16880 | _ACEOF | 17171 | _ACEOF |
| 16881 | cat confdefs.h >>conftest.$ac_ext | 17172 | cat confdefs.h >>conftest.$ac_ext |
| @@ -16894,39 +17185,37 @@ return 0; | |||
| 16894 | } | 17185 | } |
| 16895 | _ACEOF | 17186 | _ACEOF |
| 16896 | rm -f conftest.$ac_objext | 17187 | rm -f conftest.$ac_objext |
| 16897 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 17188 | if { (ac_try="$ac_compile" |
| 16898 | (eval $ac_compile) 2>conftest.er1 | 17189 | case "(($ac_try" in |
| 17190 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17191 | *) ac_try_echo=$ac_try;; | ||
| 17192 | esac | ||
| 17193 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 17194 | (eval "$ac_compile") 2>conftest.er1 | ||
| 16899 | ac_status=$? | 17195 | ac_status=$? |
| 16900 | grep -v '^ *+' conftest.er1 >conftest.err | 17196 | grep -v '^ *+' conftest.er1 >conftest.err |
| 16901 | rm -f conftest.er1 | 17197 | rm -f conftest.er1 |
| 16902 | cat conftest.err >&5 | 17198 | cat conftest.err >&5 |
| 16903 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17199 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 16904 | (exit $ac_status); } && | 17200 | (exit $ac_status); } && { |
| 16905 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 17201 | test -z "$ac_c_werror_flag" || |
| 16906 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17202 | test ! -s conftest.err |
| 16907 | (eval $ac_try) 2>&5 | 17203 | } && test -s conftest.$ac_objext; then |
| 16908 | ac_status=$? | ||
| 16909 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16910 | (exit $ac_status); }; } && | ||
| 16911 | { ac_try='test -s conftest.$ac_objext' | ||
| 16912 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 16913 | (eval $ac_try) 2>&5 | ||
| 16914 | ac_status=$? | ||
| 16915 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 16916 | (exit $ac_status); }; }; then | ||
| 16917 | ac_cv_member_struct_nlist_n_un_n_name=yes | 17204 | ac_cv_member_struct_nlist_n_un_n_name=yes |
| 16918 | else | 17205 | else |
| 16919 | echo "$as_me: failed program was:" >&5 | 17206 | echo "$as_me: failed program was:" >&5 |
| 16920 | sed 's/^/| /' conftest.$ac_ext >&5 | 17207 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 16921 | 17208 | ||
| 16922 | ac_cv_member_struct_nlist_n_un_n_name=no | 17209 | ac_cv_member_struct_nlist_n_un_n_name=no |
| 16923 | fi | 17210 | fi |
| 16924 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 17211 | |
| 17212 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 16925 | fi | 17213 | fi |
| 16926 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 17214 | |
| 17215 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 16927 | fi | 17216 | fi |
| 16928 | echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 | 17217 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 |
| 16929 | echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 | 17218 | echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6; } |
| 16930 | if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then | 17219 | if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then |
| 16931 | 17220 | ||
| 16932 | cat >>confdefs.h <<_ACEOF | 17221 | cat >>confdefs.h <<_ACEOF |
| @@ -16950,8 +17239,8 @@ done | |||
| 16950 | 17239 | ||
| 16951 | 17240 | ||
| 16952 | # Some definitions of getloadavg require that the program be installed setgid. | 17241 | # Some definitions of getloadavg require that the program be installed setgid. |
| 16953 | echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 | 17242 | { echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 |
| 16954 | echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 | 17243 | echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6; } |
| 16955 | if test "${ac_cv_func_getloadavg_setgid+set}" = set; then | 17244 | if test "${ac_cv_func_getloadavg_setgid+set}" = set; then |
| 16956 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17245 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 16957 | else | 17246 | else |
| @@ -16975,8 +17264,8 @@ fi | |||
| 16975 | rm -f conftest* | 17264 | rm -f conftest* |
| 16976 | 17265 | ||
| 16977 | fi | 17266 | fi |
| 16978 | echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 | 17267 | { echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 |
| 16979 | echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 | 17268 | echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6; } |
| 16980 | if test $ac_cv_func_getloadavg_setgid = yes; then | 17269 | if test $ac_cv_func_getloadavg_setgid = yes; then |
| 16981 | NEED_SETGID=true | 17270 | NEED_SETGID=true |
| 16982 | 17271 | ||
| @@ -16989,8 +17278,8 @@ else | |||
| 16989 | fi | 17278 | fi |
| 16990 | 17279 | ||
| 16991 | if test $ac_cv_func_getloadavg_setgid = yes; then | 17280 | if test $ac_cv_func_getloadavg_setgid = yes; then |
| 16992 | echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 | 17281 | { echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 |
| 16993 | echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 | 17282 | echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6; } |
| 16994 | if test "${ac_cv_group_kmem+set}" = set; then | 17283 | if test "${ac_cv_group_kmem+set}" = set; then |
| 16995 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17284 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 16996 | else | 17285 | else |
| @@ -17004,8 +17293,8 @@ else | |||
| 17004 | / /s/.* //;p;'` | 17293 | / /s/.* //;p;'` |
| 17005 | 17294 | ||
| 17006 | fi | 17295 | fi |
| 17007 | echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 | 17296 | { echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 |
| 17008 | echo "${ECHO_T}$ac_cv_group_kmem" >&6 | 17297 | echo "${ECHO_T}$ac_cv_group_kmem" >&6; } |
| 17009 | KMEM_GROUP=$ac_cv_group_kmem | 17298 | KMEM_GROUP=$ac_cv_group_kmem |
| 17010 | fi | 17299 | fi |
| 17011 | if test "x$ac_save_LIBS" = x; then | 17300 | if test "x$ac_save_LIBS" = x; then |
| @@ -17017,13 +17306,12 @@ LIBS=$ac_save_LIBS | |||
| 17017 | 17306 | ||
| 17018 | 17307 | ||
| 17019 | 17308 | ||
| 17020 | echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 | 17309 | { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 |
| 17021 | echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 | 17310 | echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; } |
| 17022 | if test "${ac_cv_sys_largefile_source+set}" = set; then | 17311 | if test "${ac_cv_sys_largefile_source+set}" = set; then |
| 17023 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17312 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 17024 | else | 17313 | else |
| 17025 | while :; do | 17314 | while :; do |
| 17026 | ac_cv_sys_largefile_source=no | ||
| 17027 | cat >conftest.$ac_ext <<_ACEOF | 17315 | cat >conftest.$ac_ext <<_ACEOF |
| 17028 | /* confdefs.h. */ | 17316 | /* confdefs.h. */ |
| 17029 | _ACEOF | 17317 | _ACEOF |
| @@ -17034,39 +17322,39 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 17034 | int | 17322 | int |
| 17035 | main () | 17323 | main () |
| 17036 | { | 17324 | { |
| 17037 | return !fseeko; | 17325 | return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); |
| 17038 | ; | 17326 | ; |
| 17039 | return 0; | 17327 | return 0; |
| 17040 | } | 17328 | } |
| 17041 | _ACEOF | 17329 | _ACEOF |
| 17042 | rm -f conftest.$ac_objext | 17330 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 17043 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 17331 | if { (ac_try="$ac_link" |
| 17044 | (eval $ac_compile) 2>conftest.er1 | 17332 | case "(($ac_try" in |
| 17333 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17334 | *) ac_try_echo=$ac_try;; | ||
| 17335 | esac | ||
| 17336 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 17337 | (eval "$ac_link") 2>conftest.er1 | ||
| 17045 | ac_status=$? | 17338 | ac_status=$? |
| 17046 | grep -v '^ *+' conftest.er1 >conftest.err | 17339 | grep -v '^ *+' conftest.er1 >conftest.err |
| 17047 | rm -f conftest.er1 | 17340 | rm -f conftest.er1 |
| 17048 | cat conftest.err >&5 | 17341 | cat conftest.err >&5 |
| 17049 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17342 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17050 | (exit $ac_status); } && | 17343 | (exit $ac_status); } && { |
| 17051 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 17344 | test -z "$ac_c_werror_flag" || |
| 17052 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17345 | test ! -s conftest.err |
| 17053 | (eval $ac_try) 2>&5 | 17346 | } && test -s conftest$ac_exeext && |
| 17054 | ac_status=$? | 17347 | $as_test_x conftest$ac_exeext; then |
| 17055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17348 | ac_cv_sys_largefile_source=no; break |
| 17056 | (exit $ac_status); }; } && | ||
| 17057 | { ac_try='test -s conftest.$ac_objext' | ||
| 17058 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 17059 | (eval $ac_try) 2>&5 | ||
| 17060 | ac_status=$? | ||
| 17061 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17062 | (exit $ac_status); }; }; then | ||
| 17063 | break | ||
| 17064 | else | 17349 | else |
| 17065 | echo "$as_me: failed program was:" >&5 | 17350 | echo "$as_me: failed program was:" >&5 |
| 17066 | sed 's/^/| /' conftest.$ac_ext >&5 | 17351 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 17067 | 17352 | ||
| 17353 | |||
| 17068 | fi | 17354 | fi |
| 17069 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 17355 | |
| 17356 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 17357 | conftest$ac_exeext conftest.$ac_ext | ||
| 17070 | cat >conftest.$ac_ext <<_ACEOF | 17358 | cat >conftest.$ac_ext <<_ACEOF |
| 17071 | /* confdefs.h. */ | 17359 | /* confdefs.h. */ |
| 17072 | _ACEOF | 17360 | _ACEOF |
| @@ -17078,110 +17366,59 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 17078 | int | 17366 | int |
| 17079 | main () | 17367 | main () |
| 17080 | { | 17368 | { |
| 17081 | return !fseeko; | 17369 | return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); |
| 17082 | ; | 17370 | ; |
| 17083 | return 0; | 17371 | return 0; |
| 17084 | } | 17372 | } |
| 17085 | _ACEOF | 17373 | _ACEOF |
| 17086 | rm -f conftest.$ac_objext | 17374 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 17087 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 17375 | if { (ac_try="$ac_link" |
| 17088 | (eval $ac_compile) 2>conftest.er1 | 17376 | case "(($ac_try" in |
| 17377 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17378 | *) ac_try_echo=$ac_try;; | ||
| 17379 | esac | ||
| 17380 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 17381 | (eval "$ac_link") 2>conftest.er1 | ||
| 17089 | ac_status=$? | 17382 | ac_status=$? |
| 17090 | grep -v '^ *+' conftest.er1 >conftest.err | 17383 | grep -v '^ *+' conftest.er1 >conftest.err |
| 17091 | rm -f conftest.er1 | 17384 | rm -f conftest.er1 |
| 17092 | cat conftest.err >&5 | 17385 | cat conftest.err >&5 |
| 17093 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17386 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17094 | (exit $ac_status); } && | 17387 | (exit $ac_status); } && { |
| 17095 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 17388 | test -z "$ac_c_werror_flag" || |
| 17096 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17389 | test ! -s conftest.err |
| 17097 | (eval $ac_try) 2>&5 | 17390 | } && test -s conftest$ac_exeext && |
| 17098 | ac_status=$? | 17391 | $as_test_x conftest$ac_exeext; then |
| 17099 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17100 | (exit $ac_status); }; } && | ||
| 17101 | { ac_try='test -s conftest.$ac_objext' | ||
| 17102 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 17103 | (eval $ac_try) 2>&5 | ||
| 17104 | ac_status=$? | ||
| 17105 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17106 | (exit $ac_status); }; }; then | ||
| 17107 | ac_cv_sys_largefile_source=1; break | 17392 | ac_cv_sys_largefile_source=1; break |
| 17108 | else | 17393 | else |
| 17109 | echo "$as_me: failed program was:" >&5 | 17394 | echo "$as_me: failed program was:" >&5 |
| 17110 | sed 's/^/| /' conftest.$ac_ext >&5 | 17395 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 17111 | 17396 | ||
| 17397 | |||
| 17112 | fi | 17398 | fi |
| 17113 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 17399 | |
| 17400 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 17401 | conftest$ac_exeext conftest.$ac_ext | ||
| 17402 | ac_cv_sys_largefile_source=unknown | ||
| 17114 | break | 17403 | break |
| 17115 | done | 17404 | done |
| 17116 | fi | 17405 | fi |
| 17117 | echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 | 17406 | { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 |
| 17118 | echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 | 17407 | echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; } |
| 17119 | if test "$ac_cv_sys_largefile_source" != no; then | 17408 | case $ac_cv_sys_largefile_source in #( |
| 17120 | 17409 | no | unknown) ;; | |
| 17410 | *) | ||
| 17121 | cat >>confdefs.h <<_ACEOF | 17411 | cat >>confdefs.h <<_ACEOF |
| 17122 | #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source | 17412 | #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source |
| 17123 | _ACEOF | 17413 | _ACEOF |
| 17124 | 17414 | ;; | |
| 17125 | fi | 17415 | esac |
| 17126 | rm -f conftest* | 17416 | rm -f conftest* |
| 17127 | 17417 | ||
| 17128 | # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug | 17418 | # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug |
| 17129 | # in glibc 2.1.3, but that breaks too many other things. | 17419 | # in glibc 2.1.3, but that breaks too many other things. |
| 17130 | # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. | 17420 | # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. |
| 17131 | echo "$as_me:$LINENO: checking for fseeko" >&5 | 17421 | if test $ac_cv_sys_largefile_source != unknown; then |
| 17132 | echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 | ||
| 17133 | if test "${ac_cv_func_fseeko+set}" = set; then | ||
| 17134 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 17135 | else | ||
| 17136 | cat >conftest.$ac_ext <<_ACEOF | ||
| 17137 | /* confdefs.h. */ | ||
| 17138 | _ACEOF | ||
| 17139 | cat confdefs.h >>conftest.$ac_ext | ||
| 17140 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 17141 | /* end confdefs.h. */ | ||
| 17142 | #include <stdio.h> | ||
| 17143 | int | ||
| 17144 | main () | ||
| 17145 | { | ||
| 17146 | return fseeko && fseeko (stdin, 0, 0); | ||
| 17147 | ; | ||
| 17148 | return 0; | ||
| 17149 | } | ||
| 17150 | _ACEOF | ||
| 17151 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
| 17152 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | ||
| 17153 | (eval $ac_link) 2>conftest.er1 | ||
| 17154 | ac_status=$? | ||
| 17155 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 17156 | rm -f conftest.er1 | ||
| 17157 | cat conftest.err >&5 | ||
| 17158 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17159 | (exit $ac_status); } && | ||
| 17160 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | ||
| 17161 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 17162 | (eval $ac_try) 2>&5 | ||
| 17163 | ac_status=$? | ||
| 17164 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17165 | (exit $ac_status); }; } && | ||
| 17166 | { ac_try='test -s conftest$ac_exeext' | ||
| 17167 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 17168 | (eval $ac_try) 2>&5 | ||
| 17169 | ac_status=$? | ||
| 17170 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17171 | (exit $ac_status); }; }; then | ||
| 17172 | ac_cv_func_fseeko=yes | ||
| 17173 | else | ||
| 17174 | echo "$as_me: failed program was:" >&5 | ||
| 17175 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 17176 | |||
| 17177 | ac_cv_func_fseeko=no | ||
| 17178 | fi | ||
| 17179 | rm -f conftest.err conftest.$ac_objext \ | ||
| 17180 | conftest$ac_exeext conftest.$ac_ext | ||
| 17181 | fi | ||
| 17182 | echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5 | ||
| 17183 | echo "${ECHO_T}$ac_cv_func_fseeko" >&6 | ||
| 17184 | if test $ac_cv_func_fseeko = yes; then | ||
| 17185 | 17422 | ||
| 17186 | cat >>confdefs.h <<\_ACEOF | 17423 | cat >>confdefs.h <<\_ACEOF |
| 17187 | #define HAVE_FSEEKO 1 | 17424 | #define HAVE_FSEEKO 1 |
| @@ -17217,18 +17454,19 @@ fi | |||
| 17217 | for ac_header in getopt.h | 17454 | for ac_header in getopt.h |
| 17218 | do | 17455 | do |
| 17219 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 17456 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 17220 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 17457 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 17221 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 17458 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 17222 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 17459 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 17223 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 17460 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 17224 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17461 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 17225 | fi | 17462 | fi |
| 17226 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 17463 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 17227 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 17464 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 17465 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 17228 | else | 17466 | else |
| 17229 | # Is the header compilable? | 17467 | # Is the header compilable? |
| 17230 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 17468 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 17231 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 17469 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 17232 | cat >conftest.$ac_ext <<_ACEOF | 17470 | cat >conftest.$ac_ext <<_ACEOF |
| 17233 | /* confdefs.h. */ | 17471 | /* confdefs.h. */ |
| 17234 | _ACEOF | 17472 | _ACEOF |
| @@ -17239,40 +17477,37 @@ $ac_includes_default | |||
| 17239 | #include <$ac_header> | 17477 | #include <$ac_header> |
| 17240 | _ACEOF | 17478 | _ACEOF |
| 17241 | rm -f conftest.$ac_objext | 17479 | rm -f conftest.$ac_objext |
| 17242 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 17480 | if { (ac_try="$ac_compile" |
| 17243 | (eval $ac_compile) 2>conftest.er1 | 17481 | case "(($ac_try" in |
| 17482 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17483 | *) ac_try_echo=$ac_try;; | ||
| 17484 | esac | ||
| 17485 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 17486 | (eval "$ac_compile") 2>conftest.er1 | ||
| 17244 | ac_status=$? | 17487 | ac_status=$? |
| 17245 | grep -v '^ *+' conftest.er1 >conftest.err | 17488 | grep -v '^ *+' conftest.er1 >conftest.err |
| 17246 | rm -f conftest.er1 | 17489 | rm -f conftest.er1 |
| 17247 | cat conftest.err >&5 | 17490 | cat conftest.err >&5 |
| 17248 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17491 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17249 | (exit $ac_status); } && | 17492 | (exit $ac_status); } && { |
| 17250 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 17493 | test -z "$ac_c_werror_flag" || |
| 17251 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17494 | test ! -s conftest.err |
| 17252 | (eval $ac_try) 2>&5 | 17495 | } && test -s conftest.$ac_objext; then |
| 17253 | ac_status=$? | ||
| 17254 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17255 | (exit $ac_status); }; } && | ||
| 17256 | { ac_try='test -s conftest.$ac_objext' | ||
| 17257 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 17258 | (eval $ac_try) 2>&5 | ||
| 17259 | ac_status=$? | ||
| 17260 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17261 | (exit $ac_status); }; }; then | ||
| 17262 | ac_header_compiler=yes | 17496 | ac_header_compiler=yes |
| 17263 | else | 17497 | else |
| 17264 | echo "$as_me: failed program was:" >&5 | 17498 | echo "$as_me: failed program was:" >&5 |
| 17265 | sed 's/^/| /' conftest.$ac_ext >&5 | 17499 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 17266 | 17500 | ||
| 17267 | ac_header_compiler=no | 17501 | ac_header_compiler=no |
| 17268 | fi | 17502 | fi |
| 17269 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 17503 | |
| 17270 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 17504 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 17271 | echo "${ECHO_T}$ac_header_compiler" >&6 | 17505 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 17506 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 17272 | 17507 | ||
| 17273 | # Is the header present? | 17508 | # Is the header present? |
| 17274 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 17509 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 17275 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 17510 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 17276 | cat >conftest.$ac_ext <<_ACEOF | 17511 | cat >conftest.$ac_ext <<_ACEOF |
| 17277 | /* confdefs.h. */ | 17512 | /* confdefs.h. */ |
| 17278 | _ACEOF | 17513 | _ACEOF |
| @@ -17281,24 +17516,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 17281 | /* end confdefs.h. */ | 17516 | /* end confdefs.h. */ |
| 17282 | #include <$ac_header> | 17517 | #include <$ac_header> |
| 17283 | _ACEOF | 17518 | _ACEOF |
| 17284 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 17519 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 17285 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 17520 | case "(($ac_try" in |
| 17521 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17522 | *) ac_try_echo=$ac_try;; | ||
| 17523 | esac | ||
| 17524 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 17525 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 17286 | ac_status=$? | 17526 | ac_status=$? |
| 17287 | grep -v '^ *+' conftest.er1 >conftest.err | 17527 | grep -v '^ *+' conftest.er1 >conftest.err |
| 17288 | rm -f conftest.er1 | 17528 | rm -f conftest.er1 |
| 17289 | cat conftest.err >&5 | 17529 | cat conftest.err >&5 |
| 17290 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17530 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17291 | (exit $ac_status); } >/dev/null; then | 17531 | (exit $ac_status); } >/dev/null && { |
| 17292 | if test -s conftest.err; then | 17532 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 17293 | ac_cpp_err=$ac_c_preproc_warn_flag | 17533 | test ! -s conftest.err |
| 17294 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 17534 | }; then |
| 17295 | else | ||
| 17296 | ac_cpp_err= | ||
| 17297 | fi | ||
| 17298 | else | ||
| 17299 | ac_cpp_err=yes | ||
| 17300 | fi | ||
| 17301 | if test -z "$ac_cpp_err"; then | ||
| 17302 | ac_header_preproc=yes | 17535 | ac_header_preproc=yes |
| 17303 | else | 17536 | else |
| 17304 | echo "$as_me: failed program was:" >&5 | 17537 | echo "$as_me: failed program was:" >&5 |
| @@ -17306,9 +17539,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 17306 | 17539 | ||
| 17307 | ac_header_preproc=no | 17540 | ac_header_preproc=no |
| 17308 | fi | 17541 | fi |
| 17542 | |||
| 17309 | rm -f conftest.err conftest.$ac_ext | 17543 | rm -f conftest.err conftest.$ac_ext |
| 17310 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 17544 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 17311 | echo "${ECHO_T}$ac_header_preproc" >&6 | 17545 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 17312 | 17546 | ||
| 17313 | # So? What about this header? | 17547 | # So? What about this header? |
| 17314 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 17548 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -17332,25 +17566,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 17332 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 17566 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 17333 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 17567 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 17334 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 17568 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 17335 | ( | 17569 | |
| 17336 | cat <<\_ASBOX | ||
| 17337 | ## ------------------------------------------ ## | ||
| 17338 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 17339 | ## ------------------------------------------ ## | ||
| 17340 | _ASBOX | ||
| 17341 | ) | | ||
| 17342 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 17343 | ;; | 17570 | ;; |
| 17344 | esac | 17571 | esac |
| 17345 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 17572 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 17346 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 17573 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 17347 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 17574 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 17348 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17575 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 17349 | else | 17576 | else |
| 17350 | eval "$as_ac_Header=\$ac_header_preproc" | 17577 | eval "$as_ac_Header=\$ac_header_preproc" |
| 17351 | fi | 17578 | fi |
| 17352 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 17579 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 17353 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 17580 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 17581 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 17354 | 17582 | ||
| 17355 | fi | 17583 | fi |
| 17356 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 17584 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| @@ -17369,9 +17597,9 @@ done | |||
| 17369 | for ac_func in getopt_long_only | 17597 | for ac_func in getopt_long_only |
| 17370 | do | 17598 | do |
| 17371 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 17599 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 17372 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 17600 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 17373 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 17601 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 17374 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 17602 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 17375 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17603 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 17376 | else | 17604 | else |
| 17377 | cat >conftest.$ac_ext <<_ACEOF | 17605 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -17397,67 +17625,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 17397 | 17625 | ||
| 17398 | #undef $ac_func | 17626 | #undef $ac_func |
| 17399 | 17627 | ||
| 17400 | /* Override any gcc2 internal prototype to avoid an error. */ | 17628 | /* Override any GCC internal prototype to avoid an error. |
| 17629 | Use char because int might match the return type of a GCC | ||
| 17630 | builtin and then its argument prototype would still apply. */ | ||
| 17401 | #ifdef __cplusplus | 17631 | #ifdef __cplusplus |
| 17402 | extern "C" | 17632 | extern "C" |
| 17403 | { | ||
| 17404 | #endif | 17633 | #endif |
| 17405 | /* We use char because int might match the return type of a gcc2 | ||
| 17406 | builtin and then its argument prototype would still apply. */ | ||
| 17407 | char $ac_func (); | 17634 | char $ac_func (); |
| 17408 | /* The GNU C library defines this for functions which it implements | 17635 | /* The GNU C library defines this for functions which it implements |
| 17409 | to always fail with ENOSYS. Some functions are actually named | 17636 | to always fail with ENOSYS. Some functions are actually named |
| 17410 | something starting with __ and the normal name is an alias. */ | 17637 | something starting with __ and the normal name is an alias. */ |
| 17411 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 17638 | #if defined __stub_$ac_func || defined __stub___$ac_func |
| 17412 | choke me | 17639 | choke me |
| 17413 | #else | ||
| 17414 | char (*f) () = $ac_func; | ||
| 17415 | #endif | ||
| 17416 | #ifdef __cplusplus | ||
| 17417 | } | ||
| 17418 | #endif | 17640 | #endif |
| 17419 | 17641 | ||
| 17420 | int | 17642 | int |
| 17421 | main () | 17643 | main () |
| 17422 | { | 17644 | { |
| 17423 | return f != $ac_func; | 17645 | return $ac_func (); |
| 17424 | ; | 17646 | ; |
| 17425 | return 0; | 17647 | return 0; |
| 17426 | } | 17648 | } |
| 17427 | _ACEOF | 17649 | _ACEOF |
| 17428 | rm -f conftest.$ac_objext conftest$ac_exeext | 17650 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 17429 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 17651 | if { (ac_try="$ac_link" |
| 17430 | (eval $ac_link) 2>conftest.er1 | 17652 | case "(($ac_try" in |
| 17653 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17654 | *) ac_try_echo=$ac_try;; | ||
| 17655 | esac | ||
| 17656 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 17657 | (eval "$ac_link") 2>conftest.er1 | ||
| 17431 | ac_status=$? | 17658 | ac_status=$? |
| 17432 | grep -v '^ *+' conftest.er1 >conftest.err | 17659 | grep -v '^ *+' conftest.er1 >conftest.err |
| 17433 | rm -f conftest.er1 | 17660 | rm -f conftest.er1 |
| 17434 | cat conftest.err >&5 | 17661 | cat conftest.err >&5 |
| 17435 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17662 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17436 | (exit $ac_status); } && | 17663 | (exit $ac_status); } && { |
| 17437 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 17664 | test -z "$ac_c_werror_flag" || |
| 17438 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17665 | test ! -s conftest.err |
| 17439 | (eval $ac_try) 2>&5 | 17666 | } && test -s conftest$ac_exeext && |
| 17440 | ac_status=$? | 17667 | $as_test_x conftest$ac_exeext; then |
| 17441 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17442 | (exit $ac_status); }; } && | ||
| 17443 | { ac_try='test -s conftest$ac_exeext' | ||
| 17444 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 17445 | (eval $ac_try) 2>&5 | ||
| 17446 | ac_status=$? | ||
| 17447 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17448 | (exit $ac_status); }; }; then | ||
| 17449 | eval "$as_ac_var=yes" | 17668 | eval "$as_ac_var=yes" |
| 17450 | else | 17669 | else |
| 17451 | echo "$as_me: failed program was:" >&5 | 17670 | echo "$as_me: failed program was:" >&5 |
| 17452 | sed 's/^/| /' conftest.$ac_ext >&5 | 17671 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 17453 | 17672 | ||
| 17454 | eval "$as_ac_var=no" | 17673 | eval "$as_ac_var=no" |
| 17455 | fi | 17674 | fi |
| 17456 | rm -f conftest.err conftest.$ac_objext \ | 17675 | |
| 17676 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 17457 | conftest$ac_exeext conftest.$ac_ext | 17677 | conftest$ac_exeext conftest.$ac_ext |
| 17458 | fi | 17678 | fi |
| 17459 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 17679 | ac_res=`eval echo '${'$as_ac_var'}'` |
| 17460 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 17680 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 17681 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 17461 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 17682 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 17462 | cat >>confdefs.h <<_ACEOF | 17683 | cat >>confdefs.h <<_ACEOF |
| 17463 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 17684 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| @@ -17471,8 +17692,8 @@ done | |||
| 17471 | fi | 17692 | fi |
| 17472 | 17693 | ||
| 17473 | if test -z "$GETOPT_H"; then | 17694 | if test -z "$GETOPT_H"; then |
| 17474 | echo "$as_me:$LINENO: checking whether optreset is declared" >&5 | 17695 | { echo "$as_me:$LINENO: checking whether optreset is declared" >&5 |
| 17475 | echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6 | 17696 | echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6; } |
| 17476 | if test "${ac_cv_have_decl_optreset+set}" = set; then | 17697 | if test "${ac_cv_have_decl_optreset+set}" = set; then |
| 17477 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17698 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 17478 | else | 17699 | else |
| @@ -17488,7 +17709,7 @@ int | |||
| 17488 | main () | 17709 | main () |
| 17489 | { | 17710 | { |
| 17490 | #ifndef optreset | 17711 | #ifndef optreset |
| 17491 | char *p = (char *) optreset; | 17712 | (void) optreset; |
| 17492 | #endif | 17713 | #endif |
| 17493 | 17714 | ||
| 17494 | ; | 17715 | ; |
| @@ -17496,37 +17717,34 @@ main () | |||
| 17496 | } | 17717 | } |
| 17497 | _ACEOF | 17718 | _ACEOF |
| 17498 | rm -f conftest.$ac_objext | 17719 | rm -f conftest.$ac_objext |
| 17499 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 17720 | if { (ac_try="$ac_compile" |
| 17500 | (eval $ac_compile) 2>conftest.er1 | 17721 | case "(($ac_try" in |
| 17722 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17723 | *) ac_try_echo=$ac_try;; | ||
| 17724 | esac | ||
| 17725 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 17726 | (eval "$ac_compile") 2>conftest.er1 | ||
| 17501 | ac_status=$? | 17727 | ac_status=$? |
| 17502 | grep -v '^ *+' conftest.er1 >conftest.err | 17728 | grep -v '^ *+' conftest.er1 >conftest.err |
| 17503 | rm -f conftest.er1 | 17729 | rm -f conftest.er1 |
| 17504 | cat conftest.err >&5 | 17730 | cat conftest.err >&5 |
| 17505 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17731 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17506 | (exit $ac_status); } && | 17732 | (exit $ac_status); } && { |
| 17507 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 17733 | test -z "$ac_c_werror_flag" || |
| 17508 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17734 | test ! -s conftest.err |
| 17509 | (eval $ac_try) 2>&5 | 17735 | } && test -s conftest.$ac_objext; then |
| 17510 | ac_status=$? | ||
| 17511 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17512 | (exit $ac_status); }; } && | ||
| 17513 | { ac_try='test -s conftest.$ac_objext' | ||
| 17514 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 17515 | (eval $ac_try) 2>&5 | ||
| 17516 | ac_status=$? | ||
| 17517 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17518 | (exit $ac_status); }; }; then | ||
| 17519 | ac_cv_have_decl_optreset=yes | 17736 | ac_cv_have_decl_optreset=yes |
| 17520 | else | 17737 | else |
| 17521 | echo "$as_me: failed program was:" >&5 | 17738 | echo "$as_me: failed program was:" >&5 |
| 17522 | sed 's/^/| /' conftest.$ac_ext >&5 | 17739 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 17523 | 17740 | ||
| 17524 | ac_cv_have_decl_optreset=no | 17741 | ac_cv_have_decl_optreset=no |
| 17525 | fi | 17742 | fi |
| 17526 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 17743 | |
| 17744 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 17527 | fi | 17745 | fi |
| 17528 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 | 17746 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 |
| 17529 | echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6 | 17747 | echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6; } |
| 17530 | if test $ac_cv_have_decl_optreset = yes; then | 17748 | if test $ac_cv_have_decl_optreset = yes; then |
| 17531 | GETOPT_H=getopt.h | 17749 | GETOPT_H=getopt.h |
| 17532 | fi | 17750 | fi |
| @@ -17534,14 +17752,14 @@ fi | |||
| 17534 | fi | 17752 | fi |
| 17535 | 17753 | ||
| 17536 | if test -z "$GETOPT_H"; then | 17754 | if test -z "$GETOPT_H"; then |
| 17537 | echo "$as_me:$LINENO: checking for working GNU getopt function" >&5 | 17755 | { echo "$as_me:$LINENO: checking for working GNU getopt function" >&5 |
| 17538 | echo $ECHO_N "checking for working GNU getopt function... $ECHO_C" >&6 | 17756 | echo $ECHO_N "checking for working GNU getopt function... $ECHO_C" >&6; } |
| 17539 | if test "${gl_cv_func_gnu_getopt+set}" = set; then | 17757 | if test "${gl_cv_func_gnu_getopt+set}" = set; then |
| 17540 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17758 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 17541 | else | 17759 | else |
| 17542 | if test "$cross_compiling" = yes; then | 17760 | if test "$cross_compiling" = yes; then |
| 17543 | echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5 | 17761 | { echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5 |
| 17544 | echo $ECHO_N "checking whether getopt_clip is declared... $ECHO_C" >&6 | 17762 | echo $ECHO_N "checking whether getopt_clip is declared... $ECHO_C" >&6; } |
| 17545 | if test "${ac_cv_have_decl_getopt_clip+set}" = set; then | 17763 | if test "${ac_cv_have_decl_getopt_clip+set}" = set; then |
| 17546 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17764 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 17547 | else | 17765 | else |
| @@ -17557,7 +17775,7 @@ int | |||
| 17557 | main () | 17775 | main () |
| 17558 | { | 17776 | { |
| 17559 | #ifndef getopt_clip | 17777 | #ifndef getopt_clip |
| 17560 | char *p = (char *) getopt_clip; | 17778 | (void) getopt_clip; |
| 17561 | #endif | 17779 | #endif |
| 17562 | 17780 | ||
| 17563 | ; | 17781 | ; |
| @@ -17565,37 +17783,34 @@ main () | |||
| 17565 | } | 17783 | } |
| 17566 | _ACEOF | 17784 | _ACEOF |
| 17567 | rm -f conftest.$ac_objext | 17785 | rm -f conftest.$ac_objext |
| 17568 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 17786 | if { (ac_try="$ac_compile" |
| 17569 | (eval $ac_compile) 2>conftest.er1 | 17787 | case "(($ac_try" in |
| 17788 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17789 | *) ac_try_echo=$ac_try;; | ||
| 17790 | esac | ||
| 17791 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 17792 | (eval "$ac_compile") 2>conftest.er1 | ||
| 17570 | ac_status=$? | 17793 | ac_status=$? |
| 17571 | grep -v '^ *+' conftest.er1 >conftest.err | 17794 | grep -v '^ *+' conftest.er1 >conftest.err |
| 17572 | rm -f conftest.er1 | 17795 | rm -f conftest.er1 |
| 17573 | cat conftest.err >&5 | 17796 | cat conftest.err >&5 |
| 17574 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17797 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17575 | (exit $ac_status); } && | 17798 | (exit $ac_status); } && { |
| 17576 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 17799 | test -z "$ac_c_werror_flag" || |
| 17577 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17800 | test ! -s conftest.err |
| 17578 | (eval $ac_try) 2>&5 | 17801 | } && test -s conftest.$ac_objext; then |
| 17579 | ac_status=$? | ||
| 17580 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17581 | (exit $ac_status); }; } && | ||
| 17582 | { ac_try='test -s conftest.$ac_objext' | ||
| 17583 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 17584 | (eval $ac_try) 2>&5 | ||
| 17585 | ac_status=$? | ||
| 17586 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17587 | (exit $ac_status); }; }; then | ||
| 17588 | ac_cv_have_decl_getopt_clip=yes | 17802 | ac_cv_have_decl_getopt_clip=yes |
| 17589 | else | 17803 | else |
| 17590 | echo "$as_me: failed program was:" >&5 | 17804 | echo "$as_me: failed program was:" >&5 |
| 17591 | sed 's/^/| /' conftest.$ac_ext >&5 | 17805 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 17592 | 17806 | ||
| 17593 | ac_cv_have_decl_getopt_clip=no | 17807 | ac_cv_have_decl_getopt_clip=no |
| 17594 | fi | 17808 | fi |
| 17595 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 17809 | |
| 17810 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 17596 | fi | 17811 | fi |
| 17597 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5 | 17812 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5 |
| 17598 | echo "${ECHO_T}$ac_cv_have_decl_getopt_clip" >&6 | 17813 | echo "${ECHO_T}$ac_cv_have_decl_getopt_clip" >&6; } |
| 17599 | if test $ac_cv_have_decl_getopt_clip = yes; then | 17814 | if test $ac_cv_have_decl_getopt_clip = yes; then |
| 17600 | gl_cv_func_gnu_getopt=no | 17815 | gl_cv_func_gnu_getopt=no |
| 17601 | else | 17816 | else |
| @@ -17625,13 +17840,22 @@ main () | |||
| 17625 | } | 17840 | } |
| 17626 | _ACEOF | 17841 | _ACEOF |
| 17627 | rm -f conftest$ac_exeext | 17842 | rm -f conftest$ac_exeext |
| 17628 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 17843 | if { (ac_try="$ac_link" |
| 17629 | (eval $ac_link) 2>&5 | 17844 | case "(($ac_try" in |
| 17845 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17846 | *) ac_try_echo=$ac_try;; | ||
| 17847 | esac | ||
| 17848 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 17849 | (eval "$ac_link") 2>&5 | ||
| 17630 | ac_status=$? | 17850 | ac_status=$? |
| 17631 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17851 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17632 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 17852 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 17633 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17853 | { (case "(($ac_try" in |
| 17634 | (eval $ac_try) 2>&5 | 17854 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 17855 | *) ac_try_echo=$ac_try;; | ||
| 17856 | esac | ||
| 17857 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 17858 | (eval "$ac_try") 2>&5 | ||
| 17635 | ac_status=$? | 17859 | ac_status=$? |
| 17636 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17860 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17637 | (exit $ac_status); }; }; then | 17861 | (exit $ac_status); }; }; then |
| @@ -17644,11 +17868,13 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 17644 | ( exit $ac_status ) | 17868 | ( exit $ac_status ) |
| 17645 | gl_cv_func_gnu_getopt=no | 17869 | gl_cv_func_gnu_getopt=no |
| 17646 | fi | 17870 | fi |
| 17647 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 17871 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 17648 | fi | 17872 | fi |
| 17873 | |||
| 17874 | |||
| 17649 | fi | 17875 | fi |
| 17650 | echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5 | 17876 | { echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5 |
| 17651 | echo "${ECHO_T}$gl_cv_func_gnu_getopt" >&6 | 17877 | echo "${ECHO_T}$gl_cv_func_gnu_getopt" >&6; } |
| 17652 | if test "$gl_cv_func_gnu_getopt" = "no"; then | 17878 | if test "$gl_cv_func_gnu_getopt" = "no"; then |
| 17653 | GETOPT_H=getopt.h | 17879 | GETOPT_H=getopt.h |
| 17654 | fi | 17880 | fi |
| @@ -17675,8 +17901,8 @@ fi | |||
| 17675 | 17901 | ||
| 17676 | 17902 | ||
| 17677 | 17903 | ||
| 17678 | echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 | 17904 | { echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 |
| 17679 | echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6 | 17905 | echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6; } |
| 17680 | if test "${ac_cv_func_getpgrp_void+set}" = set; then | 17906 | if test "${ac_cv_func_getpgrp_void+set}" = set; then |
| 17681 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17907 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 17682 | else | 17908 | else |
| @@ -17697,38 +17923,35 @@ getpgrp (0); | |||
| 17697 | } | 17923 | } |
| 17698 | _ACEOF | 17924 | _ACEOF |
| 17699 | rm -f conftest.$ac_objext | 17925 | rm -f conftest.$ac_objext |
| 17700 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 17926 | if { (ac_try="$ac_compile" |
| 17701 | (eval $ac_compile) 2>conftest.er1 | 17927 | case "(($ac_try" in |
| 17928 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 17929 | *) ac_try_echo=$ac_try;; | ||
| 17930 | esac | ||
| 17931 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 17932 | (eval "$ac_compile") 2>conftest.er1 | ||
| 17702 | ac_status=$? | 17933 | ac_status=$? |
| 17703 | grep -v '^ *+' conftest.er1 >conftest.err | 17934 | grep -v '^ *+' conftest.er1 >conftest.err |
| 17704 | rm -f conftest.er1 | 17935 | rm -f conftest.er1 |
| 17705 | cat conftest.err >&5 | 17936 | cat conftest.err >&5 |
| 17706 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17937 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17707 | (exit $ac_status); } && | 17938 | (exit $ac_status); } && { |
| 17708 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 17939 | test -z "$ac_c_werror_flag" || |
| 17709 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17940 | test ! -s conftest.err |
| 17710 | (eval $ac_try) 2>&5 | 17941 | } && test -s conftest.$ac_objext; then |
| 17711 | ac_status=$? | ||
| 17712 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17713 | (exit $ac_status); }; } && | ||
| 17714 | { ac_try='test -s conftest.$ac_objext' | ||
| 17715 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 17716 | (eval $ac_try) 2>&5 | ||
| 17717 | ac_status=$? | ||
| 17718 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17719 | (exit $ac_status); }; }; then | ||
| 17720 | ac_cv_func_getpgrp_void=no | 17942 | ac_cv_func_getpgrp_void=no |
| 17721 | else | 17943 | else |
| 17722 | echo "$as_me: failed program was:" >&5 | 17944 | echo "$as_me: failed program was:" >&5 |
| 17723 | sed 's/^/| /' conftest.$ac_ext >&5 | 17945 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 17724 | 17946 | ||
| 17725 | ac_cv_func_getpgrp_void=yes | 17947 | ac_cv_func_getpgrp_void=yes |
| 17726 | fi | 17948 | fi |
| 17727 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 17949 | |
| 17950 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 17728 | 17951 | ||
| 17729 | fi | 17952 | fi |
| 17730 | echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 | 17953 | { echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 |
| 17731 | echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6 | 17954 | echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6; } |
| 17732 | if test $ac_cv_func_getpgrp_void = yes; then | 17955 | if test $ac_cv_func_getpgrp_void = yes; then |
| 17733 | 17956 | ||
| 17734 | cat >>confdefs.h <<\_ACEOF | 17957 | cat >>confdefs.h <<\_ACEOF |
| @@ -17742,9 +17965,9 @@ fi | |||
| 17742 | for ac_func in strftime | 17965 | for ac_func in strftime |
| 17743 | do | 17966 | do |
| 17744 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 17967 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 17745 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 17968 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 17746 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 17969 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 17747 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 17970 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 17748 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17971 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 17749 | else | 17972 | else |
| 17750 | cat >conftest.$ac_ext <<_ACEOF | 17973 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -17770,67 +17993,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 17770 | 17993 | ||
| 17771 | #undef $ac_func | 17994 | #undef $ac_func |
| 17772 | 17995 | ||
| 17773 | /* Override any gcc2 internal prototype to avoid an error. */ | 17996 | /* Override any GCC internal prototype to avoid an error. |
| 17997 | Use char because int might match the return type of a GCC | ||
| 17998 | builtin and then its argument prototype would still apply. */ | ||
| 17774 | #ifdef __cplusplus | 17999 | #ifdef __cplusplus |
| 17775 | extern "C" | 18000 | extern "C" |
| 17776 | { | ||
| 17777 | #endif | 18001 | #endif |
| 17778 | /* We use char because int might match the return type of a gcc2 | ||
| 17779 | builtin and then its argument prototype would still apply. */ | ||
| 17780 | char $ac_func (); | 18002 | char $ac_func (); |
| 17781 | /* The GNU C library defines this for functions which it implements | 18003 | /* The GNU C library defines this for functions which it implements |
| 17782 | to always fail with ENOSYS. Some functions are actually named | 18004 | to always fail with ENOSYS. Some functions are actually named |
| 17783 | something starting with __ and the normal name is an alias. */ | 18005 | something starting with __ and the normal name is an alias. */ |
| 17784 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 18006 | #if defined __stub_$ac_func || defined __stub___$ac_func |
| 17785 | choke me | 18007 | choke me |
| 17786 | #else | ||
| 17787 | char (*f) () = $ac_func; | ||
| 17788 | #endif | ||
| 17789 | #ifdef __cplusplus | ||
| 17790 | } | ||
| 17791 | #endif | 18008 | #endif |
| 17792 | 18009 | ||
| 17793 | int | 18010 | int |
| 17794 | main () | 18011 | main () |
| 17795 | { | 18012 | { |
| 17796 | return f != $ac_func; | 18013 | return $ac_func (); |
| 17797 | ; | 18014 | ; |
| 17798 | return 0; | 18015 | return 0; |
| 17799 | } | 18016 | } |
| 17800 | _ACEOF | 18017 | _ACEOF |
| 17801 | rm -f conftest.$ac_objext conftest$ac_exeext | 18018 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 17802 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 18019 | if { (ac_try="$ac_link" |
| 17803 | (eval $ac_link) 2>conftest.er1 | 18020 | case "(($ac_try" in |
| 18021 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18022 | *) ac_try_echo=$ac_try;; | ||
| 18023 | esac | ||
| 18024 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 18025 | (eval "$ac_link") 2>conftest.er1 | ||
| 17804 | ac_status=$? | 18026 | ac_status=$? |
| 17805 | grep -v '^ *+' conftest.er1 >conftest.err | 18027 | grep -v '^ *+' conftest.er1 >conftest.err |
| 17806 | rm -f conftest.er1 | 18028 | rm -f conftest.er1 |
| 17807 | cat conftest.err >&5 | 18029 | cat conftest.err >&5 |
| 17808 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18030 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17809 | (exit $ac_status); } && | 18031 | (exit $ac_status); } && { |
| 17810 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18032 | test -z "$ac_c_werror_flag" || |
| 17811 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18033 | test ! -s conftest.err |
| 17812 | (eval $ac_try) 2>&5 | 18034 | } && test -s conftest$ac_exeext && |
| 17813 | ac_status=$? | 18035 | $as_test_x conftest$ac_exeext; then |
| 17814 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17815 | (exit $ac_status); }; } && | ||
| 17816 | { ac_try='test -s conftest$ac_exeext' | ||
| 17817 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 17818 | (eval $ac_try) 2>&5 | ||
| 17819 | ac_status=$? | ||
| 17820 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17821 | (exit $ac_status); }; }; then | ||
| 17822 | eval "$as_ac_var=yes" | 18036 | eval "$as_ac_var=yes" |
| 17823 | else | 18037 | else |
| 17824 | echo "$as_me: failed program was:" >&5 | 18038 | echo "$as_me: failed program was:" >&5 |
| 17825 | sed 's/^/| /' conftest.$ac_ext >&5 | 18039 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 17826 | 18040 | ||
| 17827 | eval "$as_ac_var=no" | 18041 | eval "$as_ac_var=no" |
| 17828 | fi | 18042 | fi |
| 17829 | rm -f conftest.err conftest.$ac_objext \ | 18043 | |
| 18044 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 17830 | conftest$ac_exeext conftest.$ac_ext | 18045 | conftest$ac_exeext conftest.$ac_ext |
| 17831 | fi | 18046 | fi |
| 17832 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 18047 | ac_res=`eval echo '${'$as_ac_var'}'` |
| 17833 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 18048 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 18049 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 17834 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 18050 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 17835 | cat >>confdefs.h <<_ACEOF | 18051 | cat >>confdefs.h <<_ACEOF |
| 17836 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 18052 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| @@ -17838,8 +18054,8 @@ _ACEOF | |||
| 17838 | 18054 | ||
| 17839 | else | 18055 | else |
| 17840 | # strftime is in -lintl on SCO UNIX. | 18056 | # strftime is in -lintl on SCO UNIX. |
| 17841 | echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 | 18057 | { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 |
| 17842 | echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 | 18058 | echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; } |
| 17843 | if test "${ac_cv_lib_intl_strftime+set}" = set; then | 18059 | if test "${ac_cv_lib_intl_strftime+set}" = set; then |
| 17844 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18060 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 17845 | else | 18061 | else |
| @@ -17852,55 +18068,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 17852 | cat >>conftest.$ac_ext <<_ACEOF | 18068 | cat >>conftest.$ac_ext <<_ACEOF |
| 17853 | /* end confdefs.h. */ | 18069 | /* end confdefs.h. */ |
| 17854 | 18070 | ||
| 17855 | /* Override any gcc2 internal prototype to avoid an error. */ | 18071 | /* Override any GCC internal prototype to avoid an error. |
| 18072 | Use char because int might match the return type of a GCC | ||
| 18073 | builtin and then its argument prototype would still apply. */ | ||
| 17856 | #ifdef __cplusplus | 18074 | #ifdef __cplusplus |
| 17857 | extern "C" | 18075 | extern "C" |
| 17858 | #endif | 18076 | #endif |
| 17859 | /* We use char because int might match the return type of a gcc2 | ||
| 17860 | builtin and then its argument prototype would still apply. */ | ||
| 17861 | char strftime (); | 18077 | char strftime (); |
| 17862 | int | 18078 | int |
| 17863 | main () | 18079 | main () |
| 17864 | { | 18080 | { |
| 17865 | strftime (); | 18081 | return strftime (); |
| 17866 | ; | 18082 | ; |
| 17867 | return 0; | 18083 | return 0; |
| 17868 | } | 18084 | } |
| 17869 | _ACEOF | 18085 | _ACEOF |
| 17870 | rm -f conftest.$ac_objext conftest$ac_exeext | 18086 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 17871 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 18087 | if { (ac_try="$ac_link" |
| 17872 | (eval $ac_link) 2>conftest.er1 | 18088 | case "(($ac_try" in |
| 18089 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18090 | *) ac_try_echo=$ac_try;; | ||
| 18091 | esac | ||
| 18092 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 18093 | (eval "$ac_link") 2>conftest.er1 | ||
| 17873 | ac_status=$? | 18094 | ac_status=$? |
| 17874 | grep -v '^ *+' conftest.er1 >conftest.err | 18095 | grep -v '^ *+' conftest.er1 >conftest.err |
| 17875 | rm -f conftest.er1 | 18096 | rm -f conftest.er1 |
| 17876 | cat conftest.err >&5 | 18097 | cat conftest.err >&5 |
| 17877 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18098 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17878 | (exit $ac_status); } && | 18099 | (exit $ac_status); } && { |
| 17879 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18100 | test -z "$ac_c_werror_flag" || |
| 17880 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18101 | test ! -s conftest.err |
| 17881 | (eval $ac_try) 2>&5 | 18102 | } && test -s conftest$ac_exeext && |
| 17882 | ac_status=$? | 18103 | $as_test_x conftest$ac_exeext; then |
| 17883 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17884 | (exit $ac_status); }; } && | ||
| 17885 | { ac_try='test -s conftest$ac_exeext' | ||
| 17886 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 17887 | (eval $ac_try) 2>&5 | ||
| 17888 | ac_status=$? | ||
| 17889 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17890 | (exit $ac_status); }; }; then | ||
| 17891 | ac_cv_lib_intl_strftime=yes | 18104 | ac_cv_lib_intl_strftime=yes |
| 17892 | else | 18105 | else |
| 17893 | echo "$as_me: failed program was:" >&5 | 18106 | echo "$as_me: failed program was:" >&5 |
| 17894 | sed 's/^/| /' conftest.$ac_ext >&5 | 18107 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 17895 | 18108 | ||
| 17896 | ac_cv_lib_intl_strftime=no | 18109 | ac_cv_lib_intl_strftime=no |
| 17897 | fi | 18110 | fi |
| 17898 | rm -f conftest.err conftest.$ac_objext \ | 18111 | |
| 18112 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 17899 | conftest$ac_exeext conftest.$ac_ext | 18113 | conftest$ac_exeext conftest.$ac_ext |
| 17900 | LIBS=$ac_check_lib_save_LIBS | 18114 | LIBS=$ac_check_lib_save_LIBS |
| 17901 | fi | 18115 | fi |
| 17902 | echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 | 18116 | { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 |
| 17903 | echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 | 18117 | echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; } |
| 17904 | if test $ac_cv_lib_intl_strftime = yes; then | 18118 | if test $ac_cv_lib_intl_strftime = yes; then |
| 17905 | cat >>confdefs.h <<\_ACEOF | 18119 | cat >>confdefs.h <<\_ACEOF |
| 17906 | #define HAVE_STRFTIME 1 | 18120 | #define HAVE_STRFTIME 1 |
| @@ -17918,9 +18132,9 @@ done | |||
| 17918 | for ac_func in grantpt | 18132 | for ac_func in grantpt |
| 17919 | do | 18133 | do |
| 17920 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 18134 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 17921 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 18135 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 17922 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 18136 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 17923 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 18137 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 17924 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18138 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 17925 | else | 18139 | else |
| 17926 | cat >conftest.$ac_ext <<_ACEOF | 18140 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -17946,67 +18160,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 17946 | 18160 | ||
| 17947 | #undef $ac_func | 18161 | #undef $ac_func |
| 17948 | 18162 | ||
| 17949 | /* Override any gcc2 internal prototype to avoid an error. */ | 18163 | /* Override any GCC internal prototype to avoid an error. |
| 18164 | Use char because int might match the return type of a GCC | ||
| 18165 | builtin and then its argument prototype would still apply. */ | ||
| 17950 | #ifdef __cplusplus | 18166 | #ifdef __cplusplus |
| 17951 | extern "C" | 18167 | extern "C" |
| 17952 | { | ||
| 17953 | #endif | 18168 | #endif |
| 17954 | /* We use char because int might match the return type of a gcc2 | ||
| 17955 | builtin and then its argument prototype would still apply. */ | ||
| 17956 | char $ac_func (); | 18169 | char $ac_func (); |
| 17957 | /* The GNU C library defines this for functions which it implements | 18170 | /* The GNU C library defines this for functions which it implements |
| 17958 | to always fail with ENOSYS. Some functions are actually named | 18171 | to always fail with ENOSYS. Some functions are actually named |
| 17959 | something starting with __ and the normal name is an alias. */ | 18172 | something starting with __ and the normal name is an alias. */ |
| 17960 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 18173 | #if defined __stub_$ac_func || defined __stub___$ac_func |
| 17961 | choke me | 18174 | choke me |
| 17962 | #else | ||
| 17963 | char (*f) () = $ac_func; | ||
| 17964 | #endif | ||
| 17965 | #ifdef __cplusplus | ||
| 17966 | } | ||
| 17967 | #endif | 18175 | #endif |
| 17968 | 18176 | ||
| 17969 | int | 18177 | int |
| 17970 | main () | 18178 | main () |
| 17971 | { | 18179 | { |
| 17972 | return f != $ac_func; | 18180 | return $ac_func (); |
| 17973 | ; | 18181 | ; |
| 17974 | return 0; | 18182 | return 0; |
| 17975 | } | 18183 | } |
| 17976 | _ACEOF | 18184 | _ACEOF |
| 17977 | rm -f conftest.$ac_objext conftest$ac_exeext | 18185 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 17978 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 18186 | if { (ac_try="$ac_link" |
| 17979 | (eval $ac_link) 2>conftest.er1 | 18187 | case "(($ac_try" in |
| 18188 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18189 | *) ac_try_echo=$ac_try;; | ||
| 18190 | esac | ||
| 18191 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 18192 | (eval "$ac_link") 2>conftest.er1 | ||
| 17980 | ac_status=$? | 18193 | ac_status=$? |
| 17981 | grep -v '^ *+' conftest.er1 >conftest.err | 18194 | grep -v '^ *+' conftest.er1 >conftest.err |
| 17982 | rm -f conftest.er1 | 18195 | rm -f conftest.er1 |
| 17983 | cat conftest.err >&5 | 18196 | cat conftest.err >&5 |
| 17984 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18197 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17985 | (exit $ac_status); } && | 18198 | (exit $ac_status); } && { |
| 17986 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18199 | test -z "$ac_c_werror_flag" || |
| 17987 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18200 | test ! -s conftest.err |
| 17988 | (eval $ac_try) 2>&5 | 18201 | } && test -s conftest$ac_exeext && |
| 17989 | ac_status=$? | 18202 | $as_test_x conftest$ac_exeext; then |
| 17990 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17991 | (exit $ac_status); }; } && | ||
| 17992 | { ac_try='test -s conftest$ac_exeext' | ||
| 17993 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 17994 | (eval $ac_try) 2>&5 | ||
| 17995 | ac_status=$? | ||
| 17996 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 17997 | (exit $ac_status); }; }; then | ||
| 17998 | eval "$as_ac_var=yes" | 18203 | eval "$as_ac_var=yes" |
| 17999 | else | 18204 | else |
| 18000 | echo "$as_me: failed program was:" >&5 | 18205 | echo "$as_me: failed program was:" >&5 |
| 18001 | sed 's/^/| /' conftest.$ac_ext >&5 | 18206 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 18002 | 18207 | ||
| 18003 | eval "$as_ac_var=no" | 18208 | eval "$as_ac_var=no" |
| 18004 | fi | 18209 | fi |
| 18005 | rm -f conftest.err conftest.$ac_objext \ | 18210 | |
| 18211 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18006 | conftest$ac_exeext conftest.$ac_ext | 18212 | conftest$ac_exeext conftest.$ac_ext |
| 18007 | fi | 18213 | fi |
| 18008 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 18214 | ac_res=`eval echo '${'$as_ac_var'}'` |
| 18009 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 18215 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 18216 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 18010 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 18217 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 18011 | cat >>confdefs.h <<_ACEOF | 18218 | cat >>confdefs.h <<_ACEOF |
| 18012 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 18219 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| @@ -18021,9 +18228,9 @@ done | |||
| 18021 | for ac_func in getpt | 18228 | for ac_func in getpt |
| 18022 | do | 18229 | do |
| 18023 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 18230 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 18024 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 18231 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 18025 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 18232 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 18026 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 18233 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 18027 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18234 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 18028 | else | 18235 | else |
| 18029 | cat >conftest.$ac_ext <<_ACEOF | 18236 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -18049,67 +18256,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 18049 | 18256 | ||
| 18050 | #undef $ac_func | 18257 | #undef $ac_func |
| 18051 | 18258 | ||
| 18052 | /* Override any gcc2 internal prototype to avoid an error. */ | 18259 | /* Override any GCC internal prototype to avoid an error. |
| 18260 | Use char because int might match the return type of a GCC | ||
| 18261 | builtin and then its argument prototype would still apply. */ | ||
| 18053 | #ifdef __cplusplus | 18262 | #ifdef __cplusplus |
| 18054 | extern "C" | 18263 | extern "C" |
| 18055 | { | ||
| 18056 | #endif | 18264 | #endif |
| 18057 | /* We use char because int might match the return type of a gcc2 | ||
| 18058 | builtin and then its argument prototype would still apply. */ | ||
| 18059 | char $ac_func (); | 18265 | char $ac_func (); |
| 18060 | /* The GNU C library defines this for functions which it implements | 18266 | /* The GNU C library defines this for functions which it implements |
| 18061 | to always fail with ENOSYS. Some functions are actually named | 18267 | to always fail with ENOSYS. Some functions are actually named |
| 18062 | something starting with __ and the normal name is an alias. */ | 18268 | something starting with __ and the normal name is an alias. */ |
| 18063 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 18269 | #if defined __stub_$ac_func || defined __stub___$ac_func |
| 18064 | choke me | 18270 | choke me |
| 18065 | #else | ||
| 18066 | char (*f) () = $ac_func; | ||
| 18067 | #endif | ||
| 18068 | #ifdef __cplusplus | ||
| 18069 | } | ||
| 18070 | #endif | 18271 | #endif |
| 18071 | 18272 | ||
| 18072 | int | 18273 | int |
| 18073 | main () | 18274 | main () |
| 18074 | { | 18275 | { |
| 18075 | return f != $ac_func; | 18276 | return $ac_func (); |
| 18076 | ; | 18277 | ; |
| 18077 | return 0; | 18278 | return 0; |
| 18078 | } | 18279 | } |
| 18079 | _ACEOF | 18280 | _ACEOF |
| 18080 | rm -f conftest.$ac_objext conftest$ac_exeext | 18281 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18081 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 18282 | if { (ac_try="$ac_link" |
| 18082 | (eval $ac_link) 2>conftest.er1 | 18283 | case "(($ac_try" in |
| 18284 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18285 | *) ac_try_echo=$ac_try;; | ||
| 18286 | esac | ||
| 18287 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 18288 | (eval "$ac_link") 2>conftest.er1 | ||
| 18083 | ac_status=$? | 18289 | ac_status=$? |
| 18084 | grep -v '^ *+' conftest.er1 >conftest.err | 18290 | grep -v '^ *+' conftest.er1 >conftest.err |
| 18085 | rm -f conftest.er1 | 18291 | rm -f conftest.er1 |
| 18086 | cat conftest.err >&5 | 18292 | cat conftest.err >&5 |
| 18087 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18293 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18088 | (exit $ac_status); } && | 18294 | (exit $ac_status); } && { |
| 18089 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18295 | test -z "$ac_c_werror_flag" || |
| 18090 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18296 | test ! -s conftest.err |
| 18091 | (eval $ac_try) 2>&5 | 18297 | } && test -s conftest$ac_exeext && |
| 18092 | ac_status=$? | 18298 | $as_test_x conftest$ac_exeext; then |
| 18093 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18094 | (exit $ac_status); }; } && | ||
| 18095 | { ac_try='test -s conftest$ac_exeext' | ||
| 18096 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 18097 | (eval $ac_try) 2>&5 | ||
| 18098 | ac_status=$? | ||
| 18099 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18100 | (exit $ac_status); }; }; then | ||
| 18101 | eval "$as_ac_var=yes" | 18299 | eval "$as_ac_var=yes" |
| 18102 | else | 18300 | else |
| 18103 | echo "$as_me: failed program was:" >&5 | 18301 | echo "$as_me: failed program was:" >&5 |
| 18104 | sed 's/^/| /' conftest.$ac_ext >&5 | 18302 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 18105 | 18303 | ||
| 18106 | eval "$as_ac_var=no" | 18304 | eval "$as_ac_var=no" |
| 18107 | fi | 18305 | fi |
| 18108 | rm -f conftest.err conftest.$ac_objext \ | 18306 | |
| 18307 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18109 | conftest$ac_exeext conftest.$ac_ext | 18308 | conftest$ac_exeext conftest.$ac_ext |
| 18110 | fi | 18309 | fi |
| 18111 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 18310 | ac_res=`eval echo '${'$as_ac_var'}'` |
| 18112 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 18311 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 18312 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 18113 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 18313 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 18114 | cat >>confdefs.h <<_ACEOF | 18314 | cat >>confdefs.h <<_ACEOF |
| 18115 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 18315 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| @@ -18124,8 +18324,8 @@ done | |||
| 18124 | # It's better to believe a function is not available | 18324 | # It's better to believe a function is not available |
| 18125 | # than to expect to find it in ncurses. | 18325 | # than to expect to find it in ncurses. |
| 18126 | 18326 | ||
| 18127 | echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5 | 18327 | { echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5 |
| 18128 | echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 | 18328 | echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6; } |
| 18129 | if test "${ac_cv_lib_ncurses_tparm+set}" = set; then | 18329 | if test "${ac_cv_lib_ncurses_tparm+set}" = set; then |
| 18130 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18330 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 18131 | else | 18331 | else |
| @@ -18138,55 +18338,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 18138 | cat >>conftest.$ac_ext <<_ACEOF | 18338 | cat >>conftest.$ac_ext <<_ACEOF |
| 18139 | /* end confdefs.h. */ | 18339 | /* end confdefs.h. */ |
| 18140 | 18340 | ||
| 18141 | /* Override any gcc2 internal prototype to avoid an error. */ | 18341 | /* Override any GCC internal prototype to avoid an error. |
| 18342 | Use char because int might match the return type of a GCC | ||
| 18343 | builtin and then its argument prototype would still apply. */ | ||
| 18142 | #ifdef __cplusplus | 18344 | #ifdef __cplusplus |
| 18143 | extern "C" | 18345 | extern "C" |
| 18144 | #endif | 18346 | #endif |
| 18145 | /* We use char because int might match the return type of a gcc2 | ||
| 18146 | builtin and then its argument prototype would still apply. */ | ||
| 18147 | char tparm (); | 18347 | char tparm (); |
| 18148 | int | 18348 | int |
| 18149 | main () | 18349 | main () |
| 18150 | { | 18350 | { |
| 18151 | tparm (); | 18351 | return tparm (); |
| 18152 | ; | 18352 | ; |
| 18153 | return 0; | 18353 | return 0; |
| 18154 | } | 18354 | } |
| 18155 | _ACEOF | 18355 | _ACEOF |
| 18156 | rm -f conftest.$ac_objext conftest$ac_exeext | 18356 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18157 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 18357 | if { (ac_try="$ac_link" |
| 18158 | (eval $ac_link) 2>conftest.er1 | 18358 | case "(($ac_try" in |
| 18359 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18360 | *) ac_try_echo=$ac_try;; | ||
| 18361 | esac | ||
| 18362 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 18363 | (eval "$ac_link") 2>conftest.er1 | ||
| 18159 | ac_status=$? | 18364 | ac_status=$? |
| 18160 | grep -v '^ *+' conftest.er1 >conftest.err | 18365 | grep -v '^ *+' conftest.er1 >conftest.err |
| 18161 | rm -f conftest.er1 | 18366 | rm -f conftest.er1 |
| 18162 | cat conftest.err >&5 | 18367 | cat conftest.err >&5 |
| 18163 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18368 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18164 | (exit $ac_status); } && | 18369 | (exit $ac_status); } && { |
| 18165 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18370 | test -z "$ac_c_werror_flag" || |
| 18166 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18371 | test ! -s conftest.err |
| 18167 | (eval $ac_try) 2>&5 | 18372 | } && test -s conftest$ac_exeext && |
| 18168 | ac_status=$? | 18373 | $as_test_x conftest$ac_exeext; then |
| 18169 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18170 | (exit $ac_status); }; } && | ||
| 18171 | { ac_try='test -s conftest$ac_exeext' | ||
| 18172 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 18173 | (eval $ac_try) 2>&5 | ||
| 18174 | ac_status=$? | ||
| 18175 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18176 | (exit $ac_status); }; }; then | ||
| 18177 | ac_cv_lib_ncurses_tparm=yes | 18374 | ac_cv_lib_ncurses_tparm=yes |
| 18178 | else | 18375 | else |
| 18179 | echo "$as_me: failed program was:" >&5 | 18376 | echo "$as_me: failed program was:" >&5 |
| 18180 | sed 's/^/| /' conftest.$ac_ext >&5 | 18377 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 18181 | 18378 | ||
| 18182 | ac_cv_lib_ncurses_tparm=no | 18379 | ac_cv_lib_ncurses_tparm=no |
| 18183 | fi | 18380 | fi |
| 18184 | rm -f conftest.err conftest.$ac_objext \ | 18381 | |
| 18382 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18185 | conftest$ac_exeext conftest.$ac_ext | 18383 | conftest$ac_exeext conftest.$ac_ext |
| 18186 | LIBS=$ac_check_lib_save_LIBS | 18384 | LIBS=$ac_check_lib_save_LIBS |
| 18187 | fi | 18385 | fi |
| 18188 | echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5 | 18386 | { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5 |
| 18189 | echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 | 18387 | echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6; } |
| 18190 | if test $ac_cv_lib_ncurses_tparm = yes; then | 18388 | if test $ac_cv_lib_ncurses_tparm = yes; then |
| 18191 | cat >>confdefs.h <<_ACEOF | 18389 | cat >>confdefs.h <<_ACEOF |
| 18192 | #define HAVE_LIBNCURSES 1 | 18390 | #define HAVE_LIBNCURSES 1 |
| @@ -18201,8 +18399,8 @@ fi | |||
| 18201 | if test "$with_hesiod" = yes ; then | 18399 | if test "$with_hesiod" = yes ; then |
| 18202 | # Don't set $LIBS here -- see comments above. | 18400 | # Don't set $LIBS here -- see comments above. |
| 18203 | resolv=no | 18401 | resolv=no |
| 18204 | echo "$as_me:$LINENO: checking for res_send" >&5 | 18402 | { echo "$as_me:$LINENO: checking for res_send" >&5 |
| 18205 | echo $ECHO_N "checking for res_send... $ECHO_C" >&6 | 18403 | echo $ECHO_N "checking for res_send... $ECHO_C" >&6; } |
| 18206 | if test "${ac_cv_func_res_send+set}" = set; then | 18404 | if test "${ac_cv_func_res_send+set}" = set; then |
| 18207 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18405 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 18208 | else | 18406 | else |
| @@ -18229,72 +18427,64 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 18229 | 18427 | ||
| 18230 | #undef res_send | 18428 | #undef res_send |
| 18231 | 18429 | ||
| 18232 | /* Override any gcc2 internal prototype to avoid an error. */ | 18430 | /* Override any GCC internal prototype to avoid an error. |
| 18431 | Use char because int might match the return type of a GCC | ||
| 18432 | builtin and then its argument prototype would still apply. */ | ||
| 18233 | #ifdef __cplusplus | 18433 | #ifdef __cplusplus |
| 18234 | extern "C" | 18434 | extern "C" |
| 18235 | { | ||
| 18236 | #endif | 18435 | #endif |
| 18237 | /* We use char because int might match the return type of a gcc2 | ||
| 18238 | builtin and then its argument prototype would still apply. */ | ||
| 18239 | char res_send (); | 18436 | char res_send (); |
| 18240 | /* The GNU C library defines this for functions which it implements | 18437 | /* The GNU C library defines this for functions which it implements |
| 18241 | to always fail with ENOSYS. Some functions are actually named | 18438 | to always fail with ENOSYS. Some functions are actually named |
| 18242 | something starting with __ and the normal name is an alias. */ | 18439 | something starting with __ and the normal name is an alias. */ |
| 18243 | #if defined (__stub_res_send) || defined (__stub___res_send) | 18440 | #if defined __stub_res_send || defined __stub___res_send |
| 18244 | choke me | 18441 | choke me |
| 18245 | #else | ||
| 18246 | char (*f) () = res_send; | ||
| 18247 | #endif | ||
| 18248 | #ifdef __cplusplus | ||
| 18249 | } | ||
| 18250 | #endif | 18442 | #endif |
| 18251 | 18443 | ||
| 18252 | int | 18444 | int |
| 18253 | main () | 18445 | main () |
| 18254 | { | 18446 | { |
| 18255 | return f != res_send; | 18447 | return res_send (); |
| 18256 | ; | 18448 | ; |
| 18257 | return 0; | 18449 | return 0; |
| 18258 | } | 18450 | } |
| 18259 | _ACEOF | 18451 | _ACEOF |
| 18260 | rm -f conftest.$ac_objext conftest$ac_exeext | 18452 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18261 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 18453 | if { (ac_try="$ac_link" |
| 18262 | (eval $ac_link) 2>conftest.er1 | 18454 | case "(($ac_try" in |
| 18455 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18456 | *) ac_try_echo=$ac_try;; | ||
| 18457 | esac | ||
| 18458 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 18459 | (eval "$ac_link") 2>conftest.er1 | ||
| 18263 | ac_status=$? | 18460 | ac_status=$? |
| 18264 | grep -v '^ *+' conftest.er1 >conftest.err | 18461 | grep -v '^ *+' conftest.er1 >conftest.err |
| 18265 | rm -f conftest.er1 | 18462 | rm -f conftest.er1 |
| 18266 | cat conftest.err >&5 | 18463 | cat conftest.err >&5 |
| 18267 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18464 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18268 | (exit $ac_status); } && | 18465 | (exit $ac_status); } && { |
| 18269 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18466 | test -z "$ac_c_werror_flag" || |
| 18270 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18467 | test ! -s conftest.err |
| 18271 | (eval $ac_try) 2>&5 | 18468 | } && test -s conftest$ac_exeext && |
| 18272 | ac_status=$? | 18469 | $as_test_x conftest$ac_exeext; then |
| 18273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18274 | (exit $ac_status); }; } && | ||
| 18275 | { ac_try='test -s conftest$ac_exeext' | ||
| 18276 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 18277 | (eval $ac_try) 2>&5 | ||
| 18278 | ac_status=$? | ||
| 18279 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18280 | (exit $ac_status); }; }; then | ||
| 18281 | ac_cv_func_res_send=yes | 18470 | ac_cv_func_res_send=yes |
| 18282 | else | 18471 | else |
| 18283 | echo "$as_me: failed program was:" >&5 | 18472 | echo "$as_me: failed program was:" >&5 |
| 18284 | sed 's/^/| /' conftest.$ac_ext >&5 | 18473 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 18285 | 18474 | ||
| 18286 | ac_cv_func_res_send=no | 18475 | ac_cv_func_res_send=no |
| 18287 | fi | 18476 | fi |
| 18288 | rm -f conftest.err conftest.$ac_objext \ | 18477 | |
| 18478 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18289 | conftest$ac_exeext conftest.$ac_ext | 18479 | conftest$ac_exeext conftest.$ac_ext |
| 18290 | fi | 18480 | fi |
| 18291 | echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5 | 18481 | { echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5 |
| 18292 | echo "${ECHO_T}$ac_cv_func_res_send" >&6 | 18482 | echo "${ECHO_T}$ac_cv_func_res_send" >&6; } |
| 18293 | if test $ac_cv_func_res_send = yes; then | 18483 | if test $ac_cv_func_res_send = yes; then |
| 18294 | : | 18484 | : |
| 18295 | else | 18485 | else |
| 18296 | echo "$as_me:$LINENO: checking for __res_send" >&5 | 18486 | { echo "$as_me:$LINENO: checking for __res_send" >&5 |
| 18297 | echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 | 18487 | echo $ECHO_N "checking for __res_send... $ECHO_C" >&6; } |
| 18298 | if test "${ac_cv_func___res_send+set}" = set; then | 18488 | if test "${ac_cv_func___res_send+set}" = set; then |
| 18299 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18489 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 18300 | else | 18490 | else |
| @@ -18321,72 +18511,64 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 18321 | 18511 | ||
| 18322 | #undef __res_send | 18512 | #undef __res_send |
| 18323 | 18513 | ||
| 18324 | /* Override any gcc2 internal prototype to avoid an error. */ | 18514 | /* Override any GCC internal prototype to avoid an error. |
| 18515 | Use char because int might match the return type of a GCC | ||
| 18516 | builtin and then its argument prototype would still apply. */ | ||
| 18325 | #ifdef __cplusplus | 18517 | #ifdef __cplusplus |
| 18326 | extern "C" | 18518 | extern "C" |
| 18327 | { | ||
| 18328 | #endif | 18519 | #endif |
| 18329 | /* We use char because int might match the return type of a gcc2 | ||
| 18330 | builtin and then its argument prototype would still apply. */ | ||
| 18331 | char __res_send (); | 18520 | char __res_send (); |
| 18332 | /* The GNU C library defines this for functions which it implements | 18521 | /* The GNU C library defines this for functions which it implements |
| 18333 | to always fail with ENOSYS. Some functions are actually named | 18522 | to always fail with ENOSYS. Some functions are actually named |
| 18334 | something starting with __ and the normal name is an alias. */ | 18523 | something starting with __ and the normal name is an alias. */ |
| 18335 | #if defined (__stub___res_send) || defined (__stub_____res_send) | 18524 | #if defined __stub___res_send || defined __stub_____res_send |
| 18336 | choke me | 18525 | choke me |
| 18337 | #else | ||
| 18338 | char (*f) () = __res_send; | ||
| 18339 | #endif | ||
| 18340 | #ifdef __cplusplus | ||
| 18341 | } | ||
| 18342 | #endif | 18526 | #endif |
| 18343 | 18527 | ||
| 18344 | int | 18528 | int |
| 18345 | main () | 18529 | main () |
| 18346 | { | 18530 | { |
| 18347 | return f != __res_send; | 18531 | return __res_send (); |
| 18348 | ; | 18532 | ; |
| 18349 | return 0; | 18533 | return 0; |
| 18350 | } | 18534 | } |
| 18351 | _ACEOF | 18535 | _ACEOF |
| 18352 | rm -f conftest.$ac_objext conftest$ac_exeext | 18536 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18353 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 18537 | if { (ac_try="$ac_link" |
| 18354 | (eval $ac_link) 2>conftest.er1 | 18538 | case "(($ac_try" in |
| 18539 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18540 | *) ac_try_echo=$ac_try;; | ||
| 18541 | esac | ||
| 18542 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 18543 | (eval "$ac_link") 2>conftest.er1 | ||
| 18355 | ac_status=$? | 18544 | ac_status=$? |
| 18356 | grep -v '^ *+' conftest.er1 >conftest.err | 18545 | grep -v '^ *+' conftest.er1 >conftest.err |
| 18357 | rm -f conftest.er1 | 18546 | rm -f conftest.er1 |
| 18358 | cat conftest.err >&5 | 18547 | cat conftest.err >&5 |
| 18359 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18548 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18360 | (exit $ac_status); } && | 18549 | (exit $ac_status); } && { |
| 18361 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18550 | test -z "$ac_c_werror_flag" || |
| 18362 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18551 | test ! -s conftest.err |
| 18363 | (eval $ac_try) 2>&5 | 18552 | } && test -s conftest$ac_exeext && |
| 18364 | ac_status=$? | 18553 | $as_test_x conftest$ac_exeext; then |
| 18365 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18366 | (exit $ac_status); }; } && | ||
| 18367 | { ac_try='test -s conftest$ac_exeext' | ||
| 18368 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 18369 | (eval $ac_try) 2>&5 | ||
| 18370 | ac_status=$? | ||
| 18371 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18372 | (exit $ac_status); }; }; then | ||
| 18373 | ac_cv_func___res_send=yes | 18554 | ac_cv_func___res_send=yes |
| 18374 | else | 18555 | else |
| 18375 | echo "$as_me: failed program was:" >&5 | 18556 | echo "$as_me: failed program was:" >&5 |
| 18376 | sed 's/^/| /' conftest.$ac_ext >&5 | 18557 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 18377 | 18558 | ||
| 18378 | ac_cv_func___res_send=no | 18559 | ac_cv_func___res_send=no |
| 18379 | fi | 18560 | fi |
| 18380 | rm -f conftest.err conftest.$ac_objext \ | 18561 | |
| 18562 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18381 | conftest$ac_exeext conftest.$ac_ext | 18563 | conftest$ac_exeext conftest.$ac_ext |
| 18382 | fi | 18564 | fi |
| 18383 | echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5 | 18565 | { echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5 |
| 18384 | echo "${ECHO_T}$ac_cv_func___res_send" >&6 | 18566 | echo "${ECHO_T}$ac_cv_func___res_send" >&6; } |
| 18385 | if test $ac_cv_func___res_send = yes; then | 18567 | if test $ac_cv_func___res_send = yes; then |
| 18386 | : | 18568 | : |
| 18387 | else | 18569 | else |
| 18388 | echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 | 18570 | { echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 |
| 18389 | echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 | 18571 | echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6; } |
| 18390 | if test "${ac_cv_lib_resolv_res_send+set}" = set; then | 18572 | if test "${ac_cv_lib_resolv_res_send+set}" = set; then |
| 18391 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18573 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 18392 | else | 18574 | else |
| @@ -18399,60 +18581,58 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 18399 | cat >>conftest.$ac_ext <<_ACEOF | 18581 | cat >>conftest.$ac_ext <<_ACEOF |
| 18400 | /* end confdefs.h. */ | 18582 | /* end confdefs.h. */ |
| 18401 | 18583 | ||
| 18402 | /* Override any gcc2 internal prototype to avoid an error. */ | 18584 | /* Override any GCC internal prototype to avoid an error. |
| 18585 | Use char because int might match the return type of a GCC | ||
| 18586 | builtin and then its argument prototype would still apply. */ | ||
| 18403 | #ifdef __cplusplus | 18587 | #ifdef __cplusplus |
| 18404 | extern "C" | 18588 | extern "C" |
| 18405 | #endif | 18589 | #endif |
| 18406 | /* We use char because int might match the return type of a gcc2 | ||
| 18407 | builtin and then its argument prototype would still apply. */ | ||
| 18408 | char res_send (); | 18590 | char res_send (); |
| 18409 | int | 18591 | int |
| 18410 | main () | 18592 | main () |
| 18411 | { | 18593 | { |
| 18412 | res_send (); | 18594 | return res_send (); |
| 18413 | ; | 18595 | ; |
| 18414 | return 0; | 18596 | return 0; |
| 18415 | } | 18597 | } |
| 18416 | _ACEOF | 18598 | _ACEOF |
| 18417 | rm -f conftest.$ac_objext conftest$ac_exeext | 18599 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18418 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 18600 | if { (ac_try="$ac_link" |
| 18419 | (eval $ac_link) 2>conftest.er1 | 18601 | case "(($ac_try" in |
| 18602 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18603 | *) ac_try_echo=$ac_try;; | ||
| 18604 | esac | ||
| 18605 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 18606 | (eval "$ac_link") 2>conftest.er1 | ||
| 18420 | ac_status=$? | 18607 | ac_status=$? |
| 18421 | grep -v '^ *+' conftest.er1 >conftest.err | 18608 | grep -v '^ *+' conftest.er1 >conftest.err |
| 18422 | rm -f conftest.er1 | 18609 | rm -f conftest.er1 |
| 18423 | cat conftest.err >&5 | 18610 | cat conftest.err >&5 |
| 18424 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18611 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18425 | (exit $ac_status); } && | 18612 | (exit $ac_status); } && { |
| 18426 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18613 | test -z "$ac_c_werror_flag" || |
| 18427 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18614 | test ! -s conftest.err |
| 18428 | (eval $ac_try) 2>&5 | 18615 | } && test -s conftest$ac_exeext && |
| 18429 | ac_status=$? | 18616 | $as_test_x conftest$ac_exeext; then |
| 18430 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18431 | (exit $ac_status); }; } && | ||
| 18432 | { ac_try='test -s conftest$ac_exeext' | ||
| 18433 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 18434 | (eval $ac_try) 2>&5 | ||
| 18435 | ac_status=$? | ||
| 18436 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18437 | (exit $ac_status); }; }; then | ||
| 18438 | ac_cv_lib_resolv_res_send=yes | 18617 | ac_cv_lib_resolv_res_send=yes |
| 18439 | else | 18618 | else |
| 18440 | echo "$as_me: failed program was:" >&5 | 18619 | echo "$as_me: failed program was:" >&5 |
| 18441 | sed 's/^/| /' conftest.$ac_ext >&5 | 18620 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 18442 | 18621 | ||
| 18443 | ac_cv_lib_resolv_res_send=no | 18622 | ac_cv_lib_resolv_res_send=no |
| 18444 | fi | 18623 | fi |
| 18445 | rm -f conftest.err conftest.$ac_objext \ | 18624 | |
| 18625 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18446 | conftest$ac_exeext conftest.$ac_ext | 18626 | conftest$ac_exeext conftest.$ac_ext |
| 18447 | LIBS=$ac_check_lib_save_LIBS | 18627 | LIBS=$ac_check_lib_save_LIBS |
| 18448 | fi | 18628 | fi |
| 18449 | echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 | 18629 | { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 |
| 18450 | echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 | 18630 | echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6; } |
| 18451 | if test $ac_cv_lib_resolv_res_send = yes; then | 18631 | if test $ac_cv_lib_resolv_res_send = yes; then |
| 18452 | resolv=yes | 18632 | resolv=yes |
| 18453 | else | 18633 | else |
| 18454 | echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 | 18634 | { echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 |
| 18455 | echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 | 18635 | echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6; } |
| 18456 | if test "${ac_cv_lib_resolv___res_send+set}" = set; then | 18636 | if test "${ac_cv_lib_resolv___res_send+set}" = set; then |
| 18457 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18637 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 18458 | else | 18638 | else |
| @@ -18465,55 +18645,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 18465 | cat >>conftest.$ac_ext <<_ACEOF | 18645 | cat >>conftest.$ac_ext <<_ACEOF |
| 18466 | /* end confdefs.h. */ | 18646 | /* end confdefs.h. */ |
| 18467 | 18647 | ||
| 18468 | /* Override any gcc2 internal prototype to avoid an error. */ | 18648 | /* Override any GCC internal prototype to avoid an error. |
| 18649 | Use char because int might match the return type of a GCC | ||
| 18650 | builtin and then its argument prototype would still apply. */ | ||
| 18469 | #ifdef __cplusplus | 18651 | #ifdef __cplusplus |
| 18470 | extern "C" | 18652 | extern "C" |
| 18471 | #endif | 18653 | #endif |
| 18472 | /* We use char because int might match the return type of a gcc2 | ||
| 18473 | builtin and then its argument prototype would still apply. */ | ||
| 18474 | char __res_send (); | 18654 | char __res_send (); |
| 18475 | int | 18655 | int |
| 18476 | main () | 18656 | main () |
| 18477 | { | 18657 | { |
| 18478 | __res_send (); | 18658 | return __res_send (); |
| 18479 | ; | 18659 | ; |
| 18480 | return 0; | 18660 | return 0; |
| 18481 | } | 18661 | } |
| 18482 | _ACEOF | 18662 | _ACEOF |
| 18483 | rm -f conftest.$ac_objext conftest$ac_exeext | 18663 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18484 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 18664 | if { (ac_try="$ac_link" |
| 18485 | (eval $ac_link) 2>conftest.er1 | 18665 | case "(($ac_try" in |
| 18666 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18667 | *) ac_try_echo=$ac_try;; | ||
| 18668 | esac | ||
| 18669 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 18670 | (eval "$ac_link") 2>conftest.er1 | ||
| 18486 | ac_status=$? | 18671 | ac_status=$? |
| 18487 | grep -v '^ *+' conftest.er1 >conftest.err | 18672 | grep -v '^ *+' conftest.er1 >conftest.err |
| 18488 | rm -f conftest.er1 | 18673 | rm -f conftest.er1 |
| 18489 | cat conftest.err >&5 | 18674 | cat conftest.err >&5 |
| 18490 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18675 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18491 | (exit $ac_status); } && | 18676 | (exit $ac_status); } && { |
| 18492 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18677 | test -z "$ac_c_werror_flag" || |
| 18493 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18678 | test ! -s conftest.err |
| 18494 | (eval $ac_try) 2>&5 | 18679 | } && test -s conftest$ac_exeext && |
| 18495 | ac_status=$? | 18680 | $as_test_x conftest$ac_exeext; then |
| 18496 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18497 | (exit $ac_status); }; } && | ||
| 18498 | { ac_try='test -s conftest$ac_exeext' | ||
| 18499 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 18500 | (eval $ac_try) 2>&5 | ||
| 18501 | ac_status=$? | ||
| 18502 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18503 | (exit $ac_status); }; }; then | ||
| 18504 | ac_cv_lib_resolv___res_send=yes | 18681 | ac_cv_lib_resolv___res_send=yes |
| 18505 | else | 18682 | else |
| 18506 | echo "$as_me: failed program was:" >&5 | 18683 | echo "$as_me: failed program was:" >&5 |
| 18507 | sed 's/^/| /' conftest.$ac_ext >&5 | 18684 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 18508 | 18685 | ||
| 18509 | ac_cv_lib_resolv___res_send=no | 18686 | ac_cv_lib_resolv___res_send=no |
| 18510 | fi | 18687 | fi |
| 18511 | rm -f conftest.err conftest.$ac_objext \ | 18688 | |
| 18689 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18512 | conftest$ac_exeext conftest.$ac_ext | 18690 | conftest$ac_exeext conftest.$ac_ext |
| 18513 | LIBS=$ac_check_lib_save_LIBS | 18691 | LIBS=$ac_check_lib_save_LIBS |
| 18514 | fi | 18692 | fi |
| 18515 | echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 | 18693 | { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 |
| 18516 | echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 | 18694 | echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6; } |
| 18517 | if test $ac_cv_lib_resolv___res_send = yes; then | 18695 | if test $ac_cv_lib_resolv___res_send = yes; then |
| 18518 | resolv=yes | 18696 | resolv=yes |
| 18519 | fi | 18697 | fi |
| @@ -18534,8 +18712,8 @@ _ACEOF | |||
| 18534 | else | 18712 | else |
| 18535 | RESOLVLIB= | 18713 | RESOLVLIB= |
| 18536 | fi | 18714 | fi |
| 18537 | echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 | 18715 | { echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 |
| 18538 | echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 | 18716 | echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6; } |
| 18539 | if test "${ac_cv_func_hes_getmailhost+set}" = set; then | 18717 | if test "${ac_cv_func_hes_getmailhost+set}" = set; then |
| 18540 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18718 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 18541 | else | 18719 | else |
| @@ -18562,72 +18740,64 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 18562 | 18740 | ||
| 18563 | #undef hes_getmailhost | 18741 | #undef hes_getmailhost |
| 18564 | 18742 | ||
| 18565 | /* Override any gcc2 internal prototype to avoid an error. */ | 18743 | /* Override any GCC internal prototype to avoid an error. |
| 18744 | Use char because int might match the return type of a GCC | ||
| 18745 | builtin and then its argument prototype would still apply. */ | ||
| 18566 | #ifdef __cplusplus | 18746 | #ifdef __cplusplus |
| 18567 | extern "C" | 18747 | extern "C" |
| 18568 | { | ||
| 18569 | #endif | 18748 | #endif |
| 18570 | /* We use char because int might match the return type of a gcc2 | ||
| 18571 | builtin and then its argument prototype would still apply. */ | ||
| 18572 | char hes_getmailhost (); | 18749 | char hes_getmailhost (); |
| 18573 | /* The GNU C library defines this for functions which it implements | 18750 | /* The GNU C library defines this for functions which it implements |
| 18574 | to always fail with ENOSYS. Some functions are actually named | 18751 | to always fail with ENOSYS. Some functions are actually named |
| 18575 | something starting with __ and the normal name is an alias. */ | 18752 | something starting with __ and the normal name is an alias. */ |
| 18576 | #if defined (__stub_hes_getmailhost) || defined (__stub___hes_getmailhost) | 18753 | #if defined __stub_hes_getmailhost || defined __stub___hes_getmailhost |
| 18577 | choke me | 18754 | choke me |
| 18578 | #else | ||
| 18579 | char (*f) () = hes_getmailhost; | ||
| 18580 | #endif | ||
| 18581 | #ifdef __cplusplus | ||
| 18582 | } | ||
| 18583 | #endif | 18755 | #endif |
| 18584 | 18756 | ||
| 18585 | int | 18757 | int |
| 18586 | main () | 18758 | main () |
| 18587 | { | 18759 | { |
| 18588 | return f != hes_getmailhost; | 18760 | return hes_getmailhost (); |
| 18589 | ; | 18761 | ; |
| 18590 | return 0; | 18762 | return 0; |
| 18591 | } | 18763 | } |
| 18592 | _ACEOF | 18764 | _ACEOF |
| 18593 | rm -f conftest.$ac_objext conftest$ac_exeext | 18765 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18594 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 18766 | if { (ac_try="$ac_link" |
| 18595 | (eval $ac_link) 2>conftest.er1 | 18767 | case "(($ac_try" in |
| 18768 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18769 | *) ac_try_echo=$ac_try;; | ||
| 18770 | esac | ||
| 18771 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 18772 | (eval "$ac_link") 2>conftest.er1 | ||
| 18596 | ac_status=$? | 18773 | ac_status=$? |
| 18597 | grep -v '^ *+' conftest.er1 >conftest.err | 18774 | grep -v '^ *+' conftest.er1 >conftest.err |
| 18598 | rm -f conftest.er1 | 18775 | rm -f conftest.er1 |
| 18599 | cat conftest.err >&5 | 18776 | cat conftest.err >&5 |
| 18600 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18777 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18601 | (exit $ac_status); } && | 18778 | (exit $ac_status); } && { |
| 18602 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18779 | test -z "$ac_c_werror_flag" || |
| 18603 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18780 | test ! -s conftest.err |
| 18604 | (eval $ac_try) 2>&5 | 18781 | } && test -s conftest$ac_exeext && |
| 18605 | ac_status=$? | 18782 | $as_test_x conftest$ac_exeext; then |
| 18606 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18607 | (exit $ac_status); }; } && | ||
| 18608 | { ac_try='test -s conftest$ac_exeext' | ||
| 18609 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 18610 | (eval $ac_try) 2>&5 | ||
| 18611 | ac_status=$? | ||
| 18612 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18613 | (exit $ac_status); }; }; then | ||
| 18614 | ac_cv_func_hes_getmailhost=yes | 18783 | ac_cv_func_hes_getmailhost=yes |
| 18615 | else | 18784 | else |
| 18616 | echo "$as_me: failed program was:" >&5 | 18785 | echo "$as_me: failed program was:" >&5 |
| 18617 | sed 's/^/| /' conftest.$ac_ext >&5 | 18786 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 18618 | 18787 | ||
| 18619 | ac_cv_func_hes_getmailhost=no | 18788 | ac_cv_func_hes_getmailhost=no |
| 18620 | fi | 18789 | fi |
| 18621 | rm -f conftest.err conftest.$ac_objext \ | 18790 | |
| 18791 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18622 | conftest$ac_exeext conftest.$ac_ext | 18792 | conftest$ac_exeext conftest.$ac_ext |
| 18623 | fi | 18793 | fi |
| 18624 | echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5 | 18794 | { echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5 |
| 18625 | echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 | 18795 | echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6; } |
| 18626 | if test $ac_cv_func_hes_getmailhost = yes; then | 18796 | if test $ac_cv_func_hes_getmailhost = yes; then |
| 18627 | : | 18797 | : |
| 18628 | else | 18798 | else |
| 18629 | echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 | 18799 | { echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 |
| 18630 | echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 | 18800 | echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6; } |
| 18631 | if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then | 18801 | if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then |
| 18632 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18802 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 18633 | else | 18803 | else |
| @@ -18640,55 +18810,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 18640 | cat >>conftest.$ac_ext <<_ACEOF | 18810 | cat >>conftest.$ac_ext <<_ACEOF |
| 18641 | /* end confdefs.h. */ | 18811 | /* end confdefs.h. */ |
| 18642 | 18812 | ||
| 18643 | /* Override any gcc2 internal prototype to avoid an error. */ | 18813 | /* Override any GCC internal prototype to avoid an error. |
| 18814 | Use char because int might match the return type of a GCC | ||
| 18815 | builtin and then its argument prototype would still apply. */ | ||
| 18644 | #ifdef __cplusplus | 18816 | #ifdef __cplusplus |
| 18645 | extern "C" | 18817 | extern "C" |
| 18646 | #endif | 18818 | #endif |
| 18647 | /* We use char because int might match the return type of a gcc2 | ||
| 18648 | builtin and then its argument prototype would still apply. */ | ||
| 18649 | char hes_getmailhost (); | 18819 | char hes_getmailhost (); |
| 18650 | int | 18820 | int |
| 18651 | main () | 18821 | main () |
| 18652 | { | 18822 | { |
| 18653 | hes_getmailhost (); | 18823 | return hes_getmailhost (); |
| 18654 | ; | 18824 | ; |
| 18655 | return 0; | 18825 | return 0; |
| 18656 | } | 18826 | } |
| 18657 | _ACEOF | 18827 | _ACEOF |
| 18658 | rm -f conftest.$ac_objext conftest$ac_exeext | 18828 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18659 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 18829 | if { (ac_try="$ac_link" |
| 18660 | (eval $ac_link) 2>conftest.er1 | 18830 | case "(($ac_try" in |
| 18831 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18832 | *) ac_try_echo=$ac_try;; | ||
| 18833 | esac | ||
| 18834 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 18835 | (eval "$ac_link") 2>conftest.er1 | ||
| 18661 | ac_status=$? | 18836 | ac_status=$? |
| 18662 | grep -v '^ *+' conftest.er1 >conftest.err | 18837 | grep -v '^ *+' conftest.er1 >conftest.err |
| 18663 | rm -f conftest.er1 | 18838 | rm -f conftest.er1 |
| 18664 | cat conftest.err >&5 | 18839 | cat conftest.err >&5 |
| 18665 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18840 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18666 | (exit $ac_status); } && | 18841 | (exit $ac_status); } && { |
| 18667 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18842 | test -z "$ac_c_werror_flag" || |
| 18668 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18843 | test ! -s conftest.err |
| 18669 | (eval $ac_try) 2>&5 | 18844 | } && test -s conftest$ac_exeext && |
| 18670 | ac_status=$? | 18845 | $as_test_x conftest$ac_exeext; then |
| 18671 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18672 | (exit $ac_status); }; } && | ||
| 18673 | { ac_try='test -s conftest$ac_exeext' | ||
| 18674 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 18675 | (eval $ac_try) 2>&5 | ||
| 18676 | ac_status=$? | ||
| 18677 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18678 | (exit $ac_status); }; }; then | ||
| 18679 | ac_cv_lib_hesiod_hes_getmailhost=yes | 18846 | ac_cv_lib_hesiod_hes_getmailhost=yes |
| 18680 | else | 18847 | else |
| 18681 | echo "$as_me: failed program was:" >&5 | 18848 | echo "$as_me: failed program was:" >&5 |
| 18682 | sed 's/^/| /' conftest.$ac_ext >&5 | 18849 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 18683 | 18850 | ||
| 18684 | ac_cv_lib_hesiod_hes_getmailhost=no | 18851 | ac_cv_lib_hesiod_hes_getmailhost=no |
| 18685 | fi | 18852 | fi |
| 18686 | rm -f conftest.err conftest.$ac_objext \ | 18853 | |
| 18854 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18687 | conftest$ac_exeext conftest.$ac_ext | 18855 | conftest$ac_exeext conftest.$ac_ext |
| 18688 | LIBS=$ac_check_lib_save_LIBS | 18856 | LIBS=$ac_check_lib_save_LIBS |
| 18689 | fi | 18857 | fi |
| 18690 | echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 | 18858 | { echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 |
| 18691 | echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 | 18859 | echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6; } |
| 18692 | if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then | 18860 | if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then |
| 18693 | 18861 | ||
| 18694 | cat >>confdefs.h <<\_ACEOF | 18862 | cat >>confdefs.h <<\_ACEOF |
| @@ -18706,8 +18874,8 @@ fi | |||
| 18706 | # These tell us which Kerberos-related libraries to use. | 18874 | # These tell us which Kerberos-related libraries to use. |
| 18707 | if test "${with_kerberos+set}" = set; then | 18875 | if test "${with_kerberos+set}" = set; then |
| 18708 | 18876 | ||
| 18709 | echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 | 18877 | { echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 |
| 18710 | echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 | 18878 | echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; } |
| 18711 | if test "${ac_cv_lib_com_err_com_err+set}" = set; then | 18879 | if test "${ac_cv_lib_com_err_com_err+set}" = set; then |
| 18712 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18880 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 18713 | else | 18881 | else |
| @@ -18720,55 +18888,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 18720 | cat >>conftest.$ac_ext <<_ACEOF | 18888 | cat >>conftest.$ac_ext <<_ACEOF |
| 18721 | /* end confdefs.h. */ | 18889 | /* end confdefs.h. */ |
| 18722 | 18890 | ||
| 18723 | /* Override any gcc2 internal prototype to avoid an error. */ | 18891 | /* Override any GCC internal prototype to avoid an error. |
| 18892 | Use char because int might match the return type of a GCC | ||
| 18893 | builtin and then its argument prototype would still apply. */ | ||
| 18724 | #ifdef __cplusplus | 18894 | #ifdef __cplusplus |
| 18725 | extern "C" | 18895 | extern "C" |
| 18726 | #endif | 18896 | #endif |
| 18727 | /* We use char because int might match the return type of a gcc2 | ||
| 18728 | builtin and then its argument prototype would still apply. */ | ||
| 18729 | char com_err (); | 18897 | char com_err (); |
| 18730 | int | 18898 | int |
| 18731 | main () | 18899 | main () |
| 18732 | { | 18900 | { |
| 18733 | com_err (); | 18901 | return com_err (); |
| 18734 | ; | 18902 | ; |
| 18735 | return 0; | 18903 | return 0; |
| 18736 | } | 18904 | } |
| 18737 | _ACEOF | 18905 | _ACEOF |
| 18738 | rm -f conftest.$ac_objext conftest$ac_exeext | 18906 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18739 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 18907 | if { (ac_try="$ac_link" |
| 18740 | (eval $ac_link) 2>conftest.er1 | 18908 | case "(($ac_try" in |
| 18909 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18910 | *) ac_try_echo=$ac_try;; | ||
| 18911 | esac | ||
| 18912 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 18913 | (eval "$ac_link") 2>conftest.er1 | ||
| 18741 | ac_status=$? | 18914 | ac_status=$? |
| 18742 | grep -v '^ *+' conftest.er1 >conftest.err | 18915 | grep -v '^ *+' conftest.er1 >conftest.err |
| 18743 | rm -f conftest.er1 | 18916 | rm -f conftest.er1 |
| 18744 | cat conftest.err >&5 | 18917 | cat conftest.err >&5 |
| 18745 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18918 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18746 | (exit $ac_status); } && | 18919 | (exit $ac_status); } && { |
| 18747 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18920 | test -z "$ac_c_werror_flag" || |
| 18748 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18921 | test ! -s conftest.err |
| 18749 | (eval $ac_try) 2>&5 | 18922 | } && test -s conftest$ac_exeext && |
| 18750 | ac_status=$? | 18923 | $as_test_x conftest$ac_exeext; then |
| 18751 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18752 | (exit $ac_status); }; } && | ||
| 18753 | { ac_try='test -s conftest$ac_exeext' | ||
| 18754 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 18755 | (eval $ac_try) 2>&5 | ||
| 18756 | ac_status=$? | ||
| 18757 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18758 | (exit $ac_status); }; }; then | ||
| 18759 | ac_cv_lib_com_err_com_err=yes | 18924 | ac_cv_lib_com_err_com_err=yes |
| 18760 | else | 18925 | else |
| 18761 | echo "$as_me: failed program was:" >&5 | 18926 | echo "$as_me: failed program was:" >&5 |
| 18762 | sed 's/^/| /' conftest.$ac_ext >&5 | 18927 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 18763 | 18928 | ||
| 18764 | ac_cv_lib_com_err_com_err=no | 18929 | ac_cv_lib_com_err_com_err=no |
| 18765 | fi | 18930 | fi |
| 18766 | rm -f conftest.err conftest.$ac_objext \ | 18931 | |
| 18932 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18767 | conftest$ac_exeext conftest.$ac_ext | 18933 | conftest$ac_exeext conftest.$ac_ext |
| 18768 | LIBS=$ac_check_lib_save_LIBS | 18934 | LIBS=$ac_check_lib_save_LIBS |
| 18769 | fi | 18935 | fi |
| 18770 | echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 | 18936 | { echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 |
| 18771 | echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 | 18937 | echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; } |
| 18772 | if test $ac_cv_lib_com_err_com_err = yes; then | 18938 | if test $ac_cv_lib_com_err_com_err = yes; then |
| 18773 | cat >>confdefs.h <<_ACEOF | 18939 | cat >>confdefs.h <<_ACEOF |
| 18774 | #define HAVE_LIBCOM_ERR 1 | 18940 | #define HAVE_LIBCOM_ERR 1 |
| @@ -18779,8 +18945,8 @@ _ACEOF | |||
| 18779 | fi | 18945 | fi |
| 18780 | 18946 | ||
| 18781 | 18947 | ||
| 18782 | echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 18948 | { echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
| 18783 | echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 | 18949 | echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6; } |
| 18784 | if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then | 18950 | if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then |
| 18785 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18951 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 18786 | else | 18952 | else |
| @@ -18793,55 +18959,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 18793 | cat >>conftest.$ac_ext <<_ACEOF | 18959 | cat >>conftest.$ac_ext <<_ACEOF |
| 18794 | /* end confdefs.h. */ | 18960 | /* end confdefs.h. */ |
| 18795 | 18961 | ||
| 18796 | /* Override any gcc2 internal prototype to avoid an error. */ | 18962 | /* Override any GCC internal prototype to avoid an error. |
| 18963 | Use char because int might match the return type of a GCC | ||
| 18964 | builtin and then its argument prototype would still apply. */ | ||
| 18797 | #ifdef __cplusplus | 18965 | #ifdef __cplusplus |
| 18798 | extern "C" | 18966 | extern "C" |
| 18799 | #endif | 18967 | #endif |
| 18800 | /* We use char because int might match the return type of a gcc2 | ||
| 18801 | builtin and then its argument prototype would still apply. */ | ||
| 18802 | char mit_des_cbc_encrypt (); | 18968 | char mit_des_cbc_encrypt (); |
| 18803 | int | 18969 | int |
| 18804 | main () | 18970 | main () |
| 18805 | { | 18971 | { |
| 18806 | mit_des_cbc_encrypt (); | 18972 | return mit_des_cbc_encrypt (); |
| 18807 | ; | 18973 | ; |
| 18808 | return 0; | 18974 | return 0; |
| 18809 | } | 18975 | } |
| 18810 | _ACEOF | 18976 | _ACEOF |
| 18811 | rm -f conftest.$ac_objext conftest$ac_exeext | 18977 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18812 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 18978 | if { (ac_try="$ac_link" |
| 18813 | (eval $ac_link) 2>conftest.er1 | 18979 | case "(($ac_try" in |
| 18980 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 18981 | *) ac_try_echo=$ac_try;; | ||
| 18982 | esac | ||
| 18983 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 18984 | (eval "$ac_link") 2>conftest.er1 | ||
| 18814 | ac_status=$? | 18985 | ac_status=$? |
| 18815 | grep -v '^ *+' conftest.er1 >conftest.err | 18986 | grep -v '^ *+' conftest.er1 >conftest.err |
| 18816 | rm -f conftest.er1 | 18987 | rm -f conftest.er1 |
| 18817 | cat conftest.err >&5 | 18988 | cat conftest.err >&5 |
| 18818 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18989 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18819 | (exit $ac_status); } && | 18990 | (exit $ac_status); } && { |
| 18820 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 18991 | test -z "$ac_c_werror_flag" || |
| 18821 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18992 | test ! -s conftest.err |
| 18822 | (eval $ac_try) 2>&5 | 18993 | } && test -s conftest$ac_exeext && |
| 18823 | ac_status=$? | 18994 | $as_test_x conftest$ac_exeext; then |
| 18824 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18825 | (exit $ac_status); }; } && | ||
| 18826 | { ac_try='test -s conftest$ac_exeext' | ||
| 18827 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 18828 | (eval $ac_try) 2>&5 | ||
| 18829 | ac_status=$? | ||
| 18830 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18831 | (exit $ac_status); }; }; then | ||
| 18832 | ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes | 18995 | ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes |
| 18833 | else | 18996 | else |
| 18834 | echo "$as_me: failed program was:" >&5 | 18997 | echo "$as_me: failed program was:" >&5 |
| 18835 | sed 's/^/| /' conftest.$ac_ext >&5 | 18998 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 18836 | 18999 | ||
| 18837 | ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no | 19000 | ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no |
| 18838 | fi | 19001 | fi |
| 18839 | rm -f conftest.err conftest.$ac_objext \ | 19002 | |
| 19003 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18840 | conftest$ac_exeext conftest.$ac_ext | 19004 | conftest$ac_exeext conftest.$ac_ext |
| 18841 | LIBS=$ac_check_lib_save_LIBS | 19005 | LIBS=$ac_check_lib_save_LIBS |
| 18842 | fi | 19006 | fi |
| 18843 | echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 | 19007 | { echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 |
| 18844 | echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 | 19008 | echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } |
| 18845 | if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then | 19009 | if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then |
| 18846 | cat >>confdefs.h <<_ACEOF | 19010 | cat >>confdefs.h <<_ACEOF |
| 18847 | #define HAVE_LIBK5CRYPTO 1 | 19011 | #define HAVE_LIBK5CRYPTO 1 |
| @@ -18852,8 +19016,8 @@ _ACEOF | |||
| 18852 | fi | 19016 | fi |
| 18853 | 19017 | ||
| 18854 | 19018 | ||
| 18855 | echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 19019 | { echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
| 18856 | echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 | 19020 | echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6; } |
| 18857 | if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then | 19021 | if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then |
| 18858 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19022 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 18859 | else | 19023 | else |
| @@ -18866,55 +19030,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 18866 | cat >>conftest.$ac_ext <<_ACEOF | 19030 | cat >>conftest.$ac_ext <<_ACEOF |
| 18867 | /* end confdefs.h. */ | 19031 | /* end confdefs.h. */ |
| 18868 | 19032 | ||
| 18869 | /* Override any gcc2 internal prototype to avoid an error. */ | 19033 | /* Override any GCC internal prototype to avoid an error. |
| 19034 | Use char because int might match the return type of a GCC | ||
| 19035 | builtin and then its argument prototype would still apply. */ | ||
| 18870 | #ifdef __cplusplus | 19036 | #ifdef __cplusplus |
| 18871 | extern "C" | 19037 | extern "C" |
| 18872 | #endif | 19038 | #endif |
| 18873 | /* We use char because int might match the return type of a gcc2 | ||
| 18874 | builtin and then its argument prototype would still apply. */ | ||
| 18875 | char mit_des_cbc_encrypt (); | 19039 | char mit_des_cbc_encrypt (); |
| 18876 | int | 19040 | int |
| 18877 | main () | 19041 | main () |
| 18878 | { | 19042 | { |
| 18879 | mit_des_cbc_encrypt (); | 19043 | return mit_des_cbc_encrypt (); |
| 18880 | ; | 19044 | ; |
| 18881 | return 0; | 19045 | return 0; |
| 18882 | } | 19046 | } |
| 18883 | _ACEOF | 19047 | _ACEOF |
| 18884 | rm -f conftest.$ac_objext conftest$ac_exeext | 19048 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18885 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 19049 | if { (ac_try="$ac_link" |
| 18886 | (eval $ac_link) 2>conftest.er1 | 19050 | case "(($ac_try" in |
| 19051 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19052 | *) ac_try_echo=$ac_try;; | ||
| 19053 | esac | ||
| 19054 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 19055 | (eval "$ac_link") 2>conftest.er1 | ||
| 18887 | ac_status=$? | 19056 | ac_status=$? |
| 18888 | grep -v '^ *+' conftest.er1 >conftest.err | 19057 | grep -v '^ *+' conftest.er1 >conftest.err |
| 18889 | rm -f conftest.er1 | 19058 | rm -f conftest.er1 |
| 18890 | cat conftest.err >&5 | 19059 | cat conftest.err >&5 |
| 18891 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19060 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18892 | (exit $ac_status); } && | 19061 | (exit $ac_status); } && { |
| 18893 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 19062 | test -z "$ac_c_werror_flag" || |
| 18894 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19063 | test ! -s conftest.err |
| 18895 | (eval $ac_try) 2>&5 | 19064 | } && test -s conftest$ac_exeext && |
| 18896 | ac_status=$? | 19065 | $as_test_x conftest$ac_exeext; then |
| 18897 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18898 | (exit $ac_status); }; } && | ||
| 18899 | { ac_try='test -s conftest$ac_exeext' | ||
| 18900 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 18901 | (eval $ac_try) 2>&5 | ||
| 18902 | ac_status=$? | ||
| 18903 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18904 | (exit $ac_status); }; }; then | ||
| 18905 | ac_cv_lib_crypto_mit_des_cbc_encrypt=yes | 19066 | ac_cv_lib_crypto_mit_des_cbc_encrypt=yes |
| 18906 | else | 19067 | else |
| 18907 | echo "$as_me: failed program was:" >&5 | 19068 | echo "$as_me: failed program was:" >&5 |
| 18908 | sed 's/^/| /' conftest.$ac_ext >&5 | 19069 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 18909 | 19070 | ||
| 18910 | ac_cv_lib_crypto_mit_des_cbc_encrypt=no | 19071 | ac_cv_lib_crypto_mit_des_cbc_encrypt=no |
| 18911 | fi | 19072 | fi |
| 18912 | rm -f conftest.err conftest.$ac_objext \ | 19073 | |
| 19074 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18913 | conftest$ac_exeext conftest.$ac_ext | 19075 | conftest$ac_exeext conftest.$ac_ext |
| 18914 | LIBS=$ac_check_lib_save_LIBS | 19076 | LIBS=$ac_check_lib_save_LIBS |
| 18915 | fi | 19077 | fi |
| 18916 | echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 | 19078 | { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 |
| 18917 | echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 | 19079 | echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } |
| 18918 | if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then | 19080 | if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then |
| 18919 | cat >>confdefs.h <<_ACEOF | 19081 | cat >>confdefs.h <<_ACEOF |
| 18920 | #define HAVE_LIBCRYPTO 1 | 19082 | #define HAVE_LIBCRYPTO 1 |
| @@ -18925,8 +19087,8 @@ _ACEOF | |||
| 18925 | fi | 19087 | fi |
| 18926 | 19088 | ||
| 18927 | 19089 | ||
| 18928 | echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 | 19090 | { echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 |
| 18929 | echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 | 19091 | echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6; } |
| 18930 | if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then | 19092 | if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then |
| 18931 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19093 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 18932 | else | 19094 | else |
| @@ -18939,55 +19101,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 18939 | cat >>conftest.$ac_ext <<_ACEOF | 19101 | cat >>conftest.$ac_ext <<_ACEOF |
| 18940 | /* end confdefs.h. */ | 19102 | /* end confdefs.h. */ |
| 18941 | 19103 | ||
| 18942 | /* Override any gcc2 internal prototype to avoid an error. */ | 19104 | /* Override any GCC internal prototype to avoid an error. |
| 19105 | Use char because int might match the return type of a GCC | ||
| 19106 | builtin and then its argument prototype would still apply. */ | ||
| 18943 | #ifdef __cplusplus | 19107 | #ifdef __cplusplus |
| 18944 | extern "C" | 19108 | extern "C" |
| 18945 | #endif | 19109 | #endif |
| 18946 | /* We use char because int might match the return type of a gcc2 | ||
| 18947 | builtin and then its argument prototype would still apply. */ | ||
| 18948 | char krb5_init_context (); | 19110 | char krb5_init_context (); |
| 18949 | int | 19111 | int |
| 18950 | main () | 19112 | main () |
| 18951 | { | 19113 | { |
| 18952 | krb5_init_context (); | 19114 | return krb5_init_context (); |
| 18953 | ; | 19115 | ; |
| 18954 | return 0; | 19116 | return 0; |
| 18955 | } | 19117 | } |
| 18956 | _ACEOF | 19118 | _ACEOF |
| 18957 | rm -f conftest.$ac_objext conftest$ac_exeext | 19119 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 18958 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 19120 | if { (ac_try="$ac_link" |
| 18959 | (eval $ac_link) 2>conftest.er1 | 19121 | case "(($ac_try" in |
| 19122 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19123 | *) ac_try_echo=$ac_try;; | ||
| 19124 | esac | ||
| 19125 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 19126 | (eval "$ac_link") 2>conftest.er1 | ||
| 18960 | ac_status=$? | 19127 | ac_status=$? |
| 18961 | grep -v '^ *+' conftest.er1 >conftest.err | 19128 | grep -v '^ *+' conftest.er1 >conftest.err |
| 18962 | rm -f conftest.er1 | 19129 | rm -f conftest.er1 |
| 18963 | cat conftest.err >&5 | 19130 | cat conftest.err >&5 |
| 18964 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19131 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18965 | (exit $ac_status); } && | 19132 | (exit $ac_status); } && { |
| 18966 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 19133 | test -z "$ac_c_werror_flag" || |
| 18967 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19134 | test ! -s conftest.err |
| 18968 | (eval $ac_try) 2>&5 | 19135 | } && test -s conftest$ac_exeext && |
| 18969 | ac_status=$? | 19136 | $as_test_x conftest$ac_exeext; then |
| 18970 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18971 | (exit $ac_status); }; } && | ||
| 18972 | { ac_try='test -s conftest$ac_exeext' | ||
| 18973 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 18974 | (eval $ac_try) 2>&5 | ||
| 18975 | ac_status=$? | ||
| 18976 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 18977 | (exit $ac_status); }; }; then | ||
| 18978 | ac_cv_lib_krb5_krb5_init_context=yes | 19137 | ac_cv_lib_krb5_krb5_init_context=yes |
| 18979 | else | 19138 | else |
| 18980 | echo "$as_me: failed program was:" >&5 | 19139 | echo "$as_me: failed program was:" >&5 |
| 18981 | sed 's/^/| /' conftest.$ac_ext >&5 | 19140 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 18982 | 19141 | ||
| 18983 | ac_cv_lib_krb5_krb5_init_context=no | 19142 | ac_cv_lib_krb5_krb5_init_context=no |
| 18984 | fi | 19143 | fi |
| 18985 | rm -f conftest.err conftest.$ac_objext \ | 19144 | |
| 19145 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 18986 | conftest$ac_exeext conftest.$ac_ext | 19146 | conftest$ac_exeext conftest.$ac_ext |
| 18987 | LIBS=$ac_check_lib_save_LIBS | 19147 | LIBS=$ac_check_lib_save_LIBS |
| 18988 | fi | 19148 | fi |
| 18989 | echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 | 19149 | { echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 |
| 18990 | echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 | 19150 | echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6; } |
| 18991 | if test $ac_cv_lib_krb5_krb5_init_context = yes; then | 19151 | if test $ac_cv_lib_krb5_krb5_init_context = yes; then |
| 18992 | cat >>confdefs.h <<_ACEOF | 19152 | cat >>confdefs.h <<_ACEOF |
| 18993 | #define HAVE_LIBKRB5 1 | 19153 | #define HAVE_LIBKRB5 1 |
| @@ -18999,8 +19159,8 @@ fi | |||
| 18999 | 19159 | ||
| 19000 | if test "${with_kerberos5+set}" != set; then | 19160 | if test "${with_kerberos5+set}" != set; then |
| 19001 | 19161 | ||
| 19002 | echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 | 19162 | { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 |
| 19003 | echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 | 19163 | echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6; } |
| 19004 | if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then | 19164 | if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then |
| 19005 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19165 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 19006 | else | 19166 | else |
| @@ -19013,55 +19173,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 19013 | cat >>conftest.$ac_ext <<_ACEOF | 19173 | cat >>conftest.$ac_ext <<_ACEOF |
| 19014 | /* end confdefs.h. */ | 19174 | /* end confdefs.h. */ |
| 19015 | 19175 | ||
| 19016 | /* Override any gcc2 internal prototype to avoid an error. */ | 19176 | /* Override any GCC internal prototype to avoid an error. |
| 19177 | Use char because int might match the return type of a GCC | ||
| 19178 | builtin and then its argument prototype would still apply. */ | ||
| 19017 | #ifdef __cplusplus | 19179 | #ifdef __cplusplus |
| 19018 | extern "C" | 19180 | extern "C" |
| 19019 | #endif | 19181 | #endif |
| 19020 | /* We use char because int might match the return type of a gcc2 | ||
| 19021 | builtin and then its argument prototype would still apply. */ | ||
| 19022 | char des_cbc_encrypt (); | 19182 | char des_cbc_encrypt (); |
| 19023 | int | 19183 | int |
| 19024 | main () | 19184 | main () |
| 19025 | { | 19185 | { |
| 19026 | des_cbc_encrypt (); | 19186 | return des_cbc_encrypt (); |
| 19027 | ; | 19187 | ; |
| 19028 | return 0; | 19188 | return 0; |
| 19029 | } | 19189 | } |
| 19030 | _ACEOF | 19190 | _ACEOF |
| 19031 | rm -f conftest.$ac_objext conftest$ac_exeext | 19191 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 19032 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 19192 | if { (ac_try="$ac_link" |
| 19033 | (eval $ac_link) 2>conftest.er1 | 19193 | case "(($ac_try" in |
| 19194 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19195 | *) ac_try_echo=$ac_try;; | ||
| 19196 | esac | ||
| 19197 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 19198 | (eval "$ac_link") 2>conftest.er1 | ||
| 19034 | ac_status=$? | 19199 | ac_status=$? |
| 19035 | grep -v '^ *+' conftest.er1 >conftest.err | 19200 | grep -v '^ *+' conftest.er1 >conftest.err |
| 19036 | rm -f conftest.er1 | 19201 | rm -f conftest.er1 |
| 19037 | cat conftest.err >&5 | 19202 | cat conftest.err >&5 |
| 19038 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19203 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19039 | (exit $ac_status); } && | 19204 | (exit $ac_status); } && { |
| 19040 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 19205 | test -z "$ac_c_werror_flag" || |
| 19041 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19206 | test ! -s conftest.err |
| 19042 | (eval $ac_try) 2>&5 | 19207 | } && test -s conftest$ac_exeext && |
| 19043 | ac_status=$? | 19208 | $as_test_x conftest$ac_exeext; then |
| 19044 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19045 | (exit $ac_status); }; } && | ||
| 19046 | { ac_try='test -s conftest$ac_exeext' | ||
| 19047 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 19048 | (eval $ac_try) 2>&5 | ||
| 19049 | ac_status=$? | ||
| 19050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19051 | (exit $ac_status); }; }; then | ||
| 19052 | ac_cv_lib_des425_des_cbc_encrypt=yes | 19209 | ac_cv_lib_des425_des_cbc_encrypt=yes |
| 19053 | else | 19210 | else |
| 19054 | echo "$as_me: failed program was:" >&5 | 19211 | echo "$as_me: failed program was:" >&5 |
| 19055 | sed 's/^/| /' conftest.$ac_ext >&5 | 19212 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 19056 | 19213 | ||
| 19057 | ac_cv_lib_des425_des_cbc_encrypt=no | 19214 | ac_cv_lib_des425_des_cbc_encrypt=no |
| 19058 | fi | 19215 | fi |
| 19059 | rm -f conftest.err conftest.$ac_objext \ | 19216 | |
| 19217 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 19060 | conftest$ac_exeext conftest.$ac_ext | 19218 | conftest$ac_exeext conftest.$ac_ext |
| 19061 | LIBS=$ac_check_lib_save_LIBS | 19219 | LIBS=$ac_check_lib_save_LIBS |
| 19062 | fi | 19220 | fi |
| 19063 | echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 | 19221 | { echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
| 19064 | echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 | 19222 | echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6; } |
| 19065 | if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then | 19223 | if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then |
| 19066 | cat >>confdefs.h <<_ACEOF | 19224 | cat >>confdefs.h <<_ACEOF |
| 19067 | #define HAVE_LIBDES425 1 | 19225 | #define HAVE_LIBDES425 1 |
| @@ -19071,8 +19229,8 @@ _ACEOF | |||
| 19071 | 19229 | ||
| 19072 | else | 19230 | else |
| 19073 | 19231 | ||
| 19074 | echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 | 19232 | { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 |
| 19075 | echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 | 19233 | echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6; } |
| 19076 | if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then | 19234 | if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then |
| 19077 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19235 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 19078 | else | 19236 | else |
| @@ -19085,55 +19243,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 19085 | cat >>conftest.$ac_ext <<_ACEOF | 19243 | cat >>conftest.$ac_ext <<_ACEOF |
| 19086 | /* end confdefs.h. */ | 19244 | /* end confdefs.h. */ |
| 19087 | 19245 | ||
| 19088 | /* Override any gcc2 internal prototype to avoid an error. */ | 19246 | /* Override any GCC internal prototype to avoid an error. |
| 19247 | Use char because int might match the return type of a GCC | ||
| 19248 | builtin and then its argument prototype would still apply. */ | ||
| 19089 | #ifdef __cplusplus | 19249 | #ifdef __cplusplus |
| 19090 | extern "C" | 19250 | extern "C" |
| 19091 | #endif | 19251 | #endif |
| 19092 | /* We use char because int might match the return type of a gcc2 | ||
| 19093 | builtin and then its argument prototype would still apply. */ | ||
| 19094 | char des_cbc_encrypt (); | 19252 | char des_cbc_encrypt (); |
| 19095 | int | 19253 | int |
| 19096 | main () | 19254 | main () |
| 19097 | { | 19255 | { |
| 19098 | des_cbc_encrypt (); | 19256 | return des_cbc_encrypt (); |
| 19099 | ; | 19257 | ; |
| 19100 | return 0; | 19258 | return 0; |
| 19101 | } | 19259 | } |
| 19102 | _ACEOF | 19260 | _ACEOF |
| 19103 | rm -f conftest.$ac_objext conftest$ac_exeext | 19261 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 19104 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 19262 | if { (ac_try="$ac_link" |
| 19105 | (eval $ac_link) 2>conftest.er1 | 19263 | case "(($ac_try" in |
| 19264 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19265 | *) ac_try_echo=$ac_try;; | ||
| 19266 | esac | ||
| 19267 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 19268 | (eval "$ac_link") 2>conftest.er1 | ||
| 19106 | ac_status=$? | 19269 | ac_status=$? |
| 19107 | grep -v '^ *+' conftest.er1 >conftest.err | 19270 | grep -v '^ *+' conftest.er1 >conftest.err |
| 19108 | rm -f conftest.er1 | 19271 | rm -f conftest.er1 |
| 19109 | cat conftest.err >&5 | 19272 | cat conftest.err >&5 |
| 19110 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19111 | (exit $ac_status); } && | 19274 | (exit $ac_status); } && { |
| 19112 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 19275 | test -z "$ac_c_werror_flag" || |
| 19113 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19276 | test ! -s conftest.err |
| 19114 | (eval $ac_try) 2>&5 | 19277 | } && test -s conftest$ac_exeext && |
| 19115 | ac_status=$? | 19278 | $as_test_x conftest$ac_exeext; then |
| 19116 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19117 | (exit $ac_status); }; } && | ||
| 19118 | { ac_try='test -s conftest$ac_exeext' | ||
| 19119 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 19120 | (eval $ac_try) 2>&5 | ||
| 19121 | ac_status=$? | ||
| 19122 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19123 | (exit $ac_status); }; }; then | ||
| 19124 | ac_cv_lib_des_des_cbc_encrypt=yes | 19279 | ac_cv_lib_des_des_cbc_encrypt=yes |
| 19125 | else | 19280 | else |
| 19126 | echo "$as_me: failed program was:" >&5 | 19281 | echo "$as_me: failed program was:" >&5 |
| 19127 | sed 's/^/| /' conftest.$ac_ext >&5 | 19282 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 19128 | 19283 | ||
| 19129 | ac_cv_lib_des_des_cbc_encrypt=no | 19284 | ac_cv_lib_des_des_cbc_encrypt=no |
| 19130 | fi | 19285 | fi |
| 19131 | rm -f conftest.err conftest.$ac_objext \ | 19286 | |
| 19287 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 19132 | conftest$ac_exeext conftest.$ac_ext | 19288 | conftest$ac_exeext conftest.$ac_ext |
| 19133 | LIBS=$ac_check_lib_save_LIBS | 19289 | LIBS=$ac_check_lib_save_LIBS |
| 19134 | fi | 19290 | fi |
| 19135 | echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 | 19291 | { echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 |
| 19136 | echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 | 19292 | echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6; } |
| 19137 | if test $ac_cv_lib_des_des_cbc_encrypt = yes; then | 19293 | if test $ac_cv_lib_des_des_cbc_encrypt = yes; then |
| 19138 | cat >>confdefs.h <<_ACEOF | 19294 | cat >>confdefs.h <<_ACEOF |
| 19139 | #define HAVE_LIBDES 1 | 19295 | #define HAVE_LIBDES 1 |
| @@ -19146,8 +19302,8 @@ fi | |||
| 19146 | fi | 19302 | fi |
| 19147 | 19303 | ||
| 19148 | 19304 | ||
| 19149 | echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5 | 19305 | { echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5 |
| 19150 | echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 | 19306 | echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6; } |
| 19151 | if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then | 19307 | if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then |
| 19152 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19308 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 19153 | else | 19309 | else |
| @@ -19160,55 +19316,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 19160 | cat >>conftest.$ac_ext <<_ACEOF | 19316 | cat >>conftest.$ac_ext <<_ACEOF |
| 19161 | /* end confdefs.h. */ | 19317 | /* end confdefs.h. */ |
| 19162 | 19318 | ||
| 19163 | /* Override any gcc2 internal prototype to avoid an error. */ | 19319 | /* Override any GCC internal prototype to avoid an error. |
| 19320 | Use char because int might match the return type of a GCC | ||
| 19321 | builtin and then its argument prototype would still apply. */ | ||
| 19164 | #ifdef __cplusplus | 19322 | #ifdef __cplusplus |
| 19165 | extern "C" | 19323 | extern "C" |
| 19166 | #endif | 19324 | #endif |
| 19167 | /* We use char because int might match the return type of a gcc2 | ||
| 19168 | builtin and then its argument prototype would still apply. */ | ||
| 19169 | char krb_get_cred (); | 19325 | char krb_get_cred (); |
| 19170 | int | 19326 | int |
| 19171 | main () | 19327 | main () |
| 19172 | { | 19328 | { |
| 19173 | krb_get_cred (); | 19329 | return krb_get_cred (); |
| 19174 | ; | 19330 | ; |
| 19175 | return 0; | 19331 | return 0; |
| 19176 | } | 19332 | } |
| 19177 | _ACEOF | 19333 | _ACEOF |
| 19178 | rm -f conftest.$ac_objext conftest$ac_exeext | 19334 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 19179 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 19335 | if { (ac_try="$ac_link" |
| 19180 | (eval $ac_link) 2>conftest.er1 | 19336 | case "(($ac_try" in |
| 19337 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19338 | *) ac_try_echo=$ac_try;; | ||
| 19339 | esac | ||
| 19340 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 19341 | (eval "$ac_link") 2>conftest.er1 | ||
| 19181 | ac_status=$? | 19342 | ac_status=$? |
| 19182 | grep -v '^ *+' conftest.er1 >conftest.err | 19343 | grep -v '^ *+' conftest.er1 >conftest.err |
| 19183 | rm -f conftest.er1 | 19344 | rm -f conftest.er1 |
| 19184 | cat conftest.err >&5 | 19345 | cat conftest.err >&5 |
| 19185 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19346 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19186 | (exit $ac_status); } && | 19347 | (exit $ac_status); } && { |
| 19187 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 19348 | test -z "$ac_c_werror_flag" || |
| 19188 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19349 | test ! -s conftest.err |
| 19189 | (eval $ac_try) 2>&5 | 19350 | } && test -s conftest$ac_exeext && |
| 19190 | ac_status=$? | 19351 | $as_test_x conftest$ac_exeext; then |
| 19191 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19192 | (exit $ac_status); }; } && | ||
| 19193 | { ac_try='test -s conftest$ac_exeext' | ||
| 19194 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 19195 | (eval $ac_try) 2>&5 | ||
| 19196 | ac_status=$? | ||
| 19197 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19198 | (exit $ac_status); }; }; then | ||
| 19199 | ac_cv_lib_krb4_krb_get_cred=yes | 19352 | ac_cv_lib_krb4_krb_get_cred=yes |
| 19200 | else | 19353 | else |
| 19201 | echo "$as_me: failed program was:" >&5 | 19354 | echo "$as_me: failed program was:" >&5 |
| 19202 | sed 's/^/| /' conftest.$ac_ext >&5 | 19355 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 19203 | 19356 | ||
| 19204 | ac_cv_lib_krb4_krb_get_cred=no | 19357 | ac_cv_lib_krb4_krb_get_cred=no |
| 19205 | fi | 19358 | fi |
| 19206 | rm -f conftest.err conftest.$ac_objext \ | 19359 | |
| 19360 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 19207 | conftest$ac_exeext conftest.$ac_ext | 19361 | conftest$ac_exeext conftest.$ac_ext |
| 19208 | LIBS=$ac_check_lib_save_LIBS | 19362 | LIBS=$ac_check_lib_save_LIBS |
| 19209 | fi | 19363 | fi |
| 19210 | echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 | 19364 | { echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 |
| 19211 | echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 | 19365 | echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6; } |
| 19212 | if test $ac_cv_lib_krb4_krb_get_cred = yes; then | 19366 | if test $ac_cv_lib_krb4_krb_get_cred = yes; then |
| 19213 | cat >>confdefs.h <<_ACEOF | 19367 | cat >>confdefs.h <<_ACEOF |
| 19214 | #define HAVE_LIBKRB4 1 | 19368 | #define HAVE_LIBKRB4 1 |
| @@ -19218,8 +19372,8 @@ _ACEOF | |||
| 19218 | 19372 | ||
| 19219 | else | 19373 | else |
| 19220 | 19374 | ||
| 19221 | echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 | 19375 | { echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 |
| 19222 | echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 | 19376 | echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6; } |
| 19223 | if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then | 19377 | if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then |
| 19224 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19378 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 19225 | else | 19379 | else |
| @@ -19232,55 +19386,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 19232 | cat >>conftest.$ac_ext <<_ACEOF | 19386 | cat >>conftest.$ac_ext <<_ACEOF |
| 19233 | /* end confdefs.h. */ | 19387 | /* end confdefs.h. */ |
| 19234 | 19388 | ||
| 19235 | /* Override any gcc2 internal prototype to avoid an error. */ | 19389 | /* Override any GCC internal prototype to avoid an error. |
| 19390 | Use char because int might match the return type of a GCC | ||
| 19391 | builtin and then its argument prototype would still apply. */ | ||
| 19236 | #ifdef __cplusplus | 19392 | #ifdef __cplusplus |
| 19237 | extern "C" | 19393 | extern "C" |
| 19238 | #endif | 19394 | #endif |
| 19239 | /* We use char because int might match the return type of a gcc2 | ||
| 19240 | builtin and then its argument prototype would still apply. */ | ||
| 19241 | char krb_get_cred (); | 19395 | char krb_get_cred (); |
| 19242 | int | 19396 | int |
| 19243 | main () | 19397 | main () |
| 19244 | { | 19398 | { |
| 19245 | krb_get_cred (); | 19399 | return krb_get_cred (); |
| 19246 | ; | 19400 | ; |
| 19247 | return 0; | 19401 | return 0; |
| 19248 | } | 19402 | } |
| 19249 | _ACEOF | 19403 | _ACEOF |
| 19250 | rm -f conftest.$ac_objext conftest$ac_exeext | 19404 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 19251 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 19405 | if { (ac_try="$ac_link" |
| 19252 | (eval $ac_link) 2>conftest.er1 | 19406 | case "(($ac_try" in |
| 19407 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19408 | *) ac_try_echo=$ac_try;; | ||
| 19409 | esac | ||
| 19410 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 19411 | (eval "$ac_link") 2>conftest.er1 | ||
| 19253 | ac_status=$? | 19412 | ac_status=$? |
| 19254 | grep -v '^ *+' conftest.er1 >conftest.err | 19413 | grep -v '^ *+' conftest.er1 >conftest.err |
| 19255 | rm -f conftest.er1 | 19414 | rm -f conftest.er1 |
| 19256 | cat conftest.err >&5 | 19415 | cat conftest.err >&5 |
| 19257 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19416 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19258 | (exit $ac_status); } && | 19417 | (exit $ac_status); } && { |
| 19259 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 19418 | test -z "$ac_c_werror_flag" || |
| 19260 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19419 | test ! -s conftest.err |
| 19261 | (eval $ac_try) 2>&5 | 19420 | } && test -s conftest$ac_exeext && |
| 19262 | ac_status=$? | 19421 | $as_test_x conftest$ac_exeext; then |
| 19263 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19264 | (exit $ac_status); }; } && | ||
| 19265 | { ac_try='test -s conftest$ac_exeext' | ||
| 19266 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 19267 | (eval $ac_try) 2>&5 | ||
| 19268 | ac_status=$? | ||
| 19269 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19270 | (exit $ac_status); }; }; then | ||
| 19271 | ac_cv_lib_krb_krb_get_cred=yes | 19422 | ac_cv_lib_krb_krb_get_cred=yes |
| 19272 | else | 19423 | else |
| 19273 | echo "$as_me: failed program was:" >&5 | 19424 | echo "$as_me: failed program was:" >&5 |
| 19274 | sed 's/^/| /' conftest.$ac_ext >&5 | 19425 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 19275 | 19426 | ||
| 19276 | ac_cv_lib_krb_krb_get_cred=no | 19427 | ac_cv_lib_krb_krb_get_cred=no |
| 19277 | fi | 19428 | fi |
| 19278 | rm -f conftest.err conftest.$ac_objext \ | 19429 | |
| 19430 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 19279 | conftest$ac_exeext conftest.$ac_ext | 19431 | conftest$ac_exeext conftest.$ac_ext |
| 19280 | LIBS=$ac_check_lib_save_LIBS | 19432 | LIBS=$ac_check_lib_save_LIBS |
| 19281 | fi | 19433 | fi |
| 19282 | echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 | 19434 | { echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 |
| 19283 | echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 | 19435 | echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6; } |
| 19284 | if test $ac_cv_lib_krb_krb_get_cred = yes; then | 19436 | if test $ac_cv_lib_krb_krb_get_cred = yes; then |
| 19285 | cat >>confdefs.h <<_ACEOF | 19437 | cat >>confdefs.h <<_ACEOF |
| 19286 | #define HAVE_LIBKRB 1 | 19438 | #define HAVE_LIBKRB 1 |
| @@ -19299,18 +19451,19 @@ fi | |||
| 19299 | for ac_header in krb5.h | 19451 | for ac_header in krb5.h |
| 19300 | do | 19452 | do |
| 19301 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 19453 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 19302 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 19454 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 19303 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 19455 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 19304 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 19456 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 19305 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 19457 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 19306 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19458 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 19307 | fi | 19459 | fi |
| 19308 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 19460 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 19309 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 19461 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 19462 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 19310 | else | 19463 | else |
| 19311 | # Is the header compilable? | 19464 | # Is the header compilable? |
| 19312 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 19465 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 19313 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 19466 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 19314 | cat >conftest.$ac_ext <<_ACEOF | 19467 | cat >conftest.$ac_ext <<_ACEOF |
| 19315 | /* confdefs.h. */ | 19468 | /* confdefs.h. */ |
| 19316 | _ACEOF | 19469 | _ACEOF |
| @@ -19321,40 +19474,37 @@ $ac_includes_default | |||
| 19321 | #include <$ac_header> | 19474 | #include <$ac_header> |
| 19322 | _ACEOF | 19475 | _ACEOF |
| 19323 | rm -f conftest.$ac_objext | 19476 | rm -f conftest.$ac_objext |
| 19324 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19477 | if { (ac_try="$ac_compile" |
| 19325 | (eval $ac_compile) 2>conftest.er1 | 19478 | case "(($ac_try" in |
| 19479 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19480 | *) ac_try_echo=$ac_try;; | ||
| 19481 | esac | ||
| 19482 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 19483 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19326 | ac_status=$? | 19484 | ac_status=$? |
| 19327 | grep -v '^ *+' conftest.er1 >conftest.err | 19485 | grep -v '^ *+' conftest.er1 >conftest.err |
| 19328 | rm -f conftest.er1 | 19486 | rm -f conftest.er1 |
| 19329 | cat conftest.err >&5 | 19487 | cat conftest.err >&5 |
| 19330 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19488 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19331 | (exit $ac_status); } && | 19489 | (exit $ac_status); } && { |
| 19332 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 19490 | test -z "$ac_c_werror_flag" || |
| 19333 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19491 | test ! -s conftest.err |
| 19334 | (eval $ac_try) 2>&5 | 19492 | } && test -s conftest.$ac_objext; then |
| 19335 | ac_status=$? | ||
| 19336 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19337 | (exit $ac_status); }; } && | ||
| 19338 | { ac_try='test -s conftest.$ac_objext' | ||
| 19339 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 19340 | (eval $ac_try) 2>&5 | ||
| 19341 | ac_status=$? | ||
| 19342 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19343 | (exit $ac_status); }; }; then | ||
| 19344 | ac_header_compiler=yes | 19493 | ac_header_compiler=yes |
| 19345 | else | 19494 | else |
| 19346 | echo "$as_me: failed program was:" >&5 | 19495 | echo "$as_me: failed program was:" >&5 |
| 19347 | sed 's/^/| /' conftest.$ac_ext >&5 | 19496 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 19348 | 19497 | ||
| 19349 | ac_header_compiler=no | 19498 | ac_header_compiler=no |
| 19350 | fi | 19499 | fi |
| 19351 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19500 | |
| 19352 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 19501 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 19353 | echo "${ECHO_T}$ac_header_compiler" >&6 | 19502 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 19503 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 19354 | 19504 | ||
| 19355 | # Is the header present? | 19505 | # Is the header present? |
| 19356 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 19506 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 19357 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 19507 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 19358 | cat >conftest.$ac_ext <<_ACEOF | 19508 | cat >conftest.$ac_ext <<_ACEOF |
| 19359 | /* confdefs.h. */ | 19509 | /* confdefs.h. */ |
| 19360 | _ACEOF | 19510 | _ACEOF |
| @@ -19363,24 +19513,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 19363 | /* end confdefs.h. */ | 19513 | /* end confdefs.h. */ |
| 19364 | #include <$ac_header> | 19514 | #include <$ac_header> |
| 19365 | _ACEOF | 19515 | _ACEOF |
| 19366 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 19516 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 19367 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 19517 | case "(($ac_try" in |
| 19518 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19519 | *) ac_try_echo=$ac_try;; | ||
| 19520 | esac | ||
| 19521 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 19522 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19368 | ac_status=$? | 19523 | ac_status=$? |
| 19369 | grep -v '^ *+' conftest.er1 >conftest.err | 19524 | grep -v '^ *+' conftest.er1 >conftest.err |
| 19370 | rm -f conftest.er1 | 19525 | rm -f conftest.er1 |
| 19371 | cat conftest.err >&5 | 19526 | cat conftest.err >&5 |
| 19372 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19527 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19373 | (exit $ac_status); } >/dev/null; then | 19528 | (exit $ac_status); } >/dev/null && { |
| 19374 | if test -s conftest.err; then | 19529 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 19375 | ac_cpp_err=$ac_c_preproc_warn_flag | 19530 | test ! -s conftest.err |
| 19376 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 19531 | }; then |
| 19377 | else | ||
| 19378 | ac_cpp_err= | ||
| 19379 | fi | ||
| 19380 | else | ||
| 19381 | ac_cpp_err=yes | ||
| 19382 | fi | ||
| 19383 | if test -z "$ac_cpp_err"; then | ||
| 19384 | ac_header_preproc=yes | 19532 | ac_header_preproc=yes |
| 19385 | else | 19533 | else |
| 19386 | echo "$as_me: failed program was:" >&5 | 19534 | echo "$as_me: failed program was:" >&5 |
| @@ -19388,9 +19536,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 19388 | 19536 | ||
| 19389 | ac_header_preproc=no | 19537 | ac_header_preproc=no |
| 19390 | fi | 19538 | fi |
| 19539 | |||
| 19391 | rm -f conftest.err conftest.$ac_ext | 19540 | rm -f conftest.err conftest.$ac_ext |
| 19392 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 19541 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 19393 | echo "${ECHO_T}$ac_header_preproc" >&6 | 19542 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 19394 | 19543 | ||
| 19395 | # So? What about this header? | 19544 | # So? What about this header? |
| 19396 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 19545 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -19414,25 +19563,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 19414 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 19563 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 19415 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 19564 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 19416 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 19565 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 19417 | ( | 19566 | |
| 19418 | cat <<\_ASBOX | ||
| 19419 | ## ------------------------------------------ ## | ||
| 19420 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 19421 | ## ------------------------------------------ ## | ||
| 19422 | _ASBOX | ||
| 19423 | ) | | ||
| 19424 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 19425 | ;; | 19567 | ;; |
| 19426 | esac | 19568 | esac |
| 19427 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 19569 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 19428 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 19570 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 19429 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 19571 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 19430 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19572 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 19431 | else | 19573 | else |
| 19432 | eval "$as_ac_Header=\$ac_header_preproc" | 19574 | eval "$as_ac_Header=\$ac_header_preproc" |
| 19433 | fi | 19575 | fi |
| 19434 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 19576 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 19435 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 19577 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 19578 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 19436 | 19579 | ||
| 19437 | fi | 19580 | fi |
| 19438 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 19581 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| @@ -19449,18 +19592,19 @@ done | |||
| 19449 | for ac_header in des.h | 19592 | for ac_header in des.h |
| 19450 | do | 19593 | do |
| 19451 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 19594 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 19452 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 19595 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 19453 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 19596 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 19454 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 19597 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 19455 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 19598 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 19456 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19599 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 19457 | fi | 19600 | fi |
| 19458 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 19601 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 19459 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 19602 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 19603 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 19460 | else | 19604 | else |
| 19461 | # Is the header compilable? | 19605 | # Is the header compilable? |
| 19462 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 19606 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 19463 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 19607 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 19464 | cat >conftest.$ac_ext <<_ACEOF | 19608 | cat >conftest.$ac_ext <<_ACEOF |
| 19465 | /* confdefs.h. */ | 19609 | /* confdefs.h. */ |
| 19466 | _ACEOF | 19610 | _ACEOF |
| @@ -19471,40 +19615,37 @@ $ac_includes_default | |||
| 19471 | #include <$ac_header> | 19615 | #include <$ac_header> |
| 19472 | _ACEOF | 19616 | _ACEOF |
| 19473 | rm -f conftest.$ac_objext | 19617 | rm -f conftest.$ac_objext |
| 19474 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19618 | if { (ac_try="$ac_compile" |
| 19475 | (eval $ac_compile) 2>conftest.er1 | 19619 | case "(($ac_try" in |
| 19620 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19621 | *) ac_try_echo=$ac_try;; | ||
| 19622 | esac | ||
| 19623 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 19624 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19476 | ac_status=$? | 19625 | ac_status=$? |
| 19477 | grep -v '^ *+' conftest.er1 >conftest.err | 19626 | grep -v '^ *+' conftest.er1 >conftest.err |
| 19478 | rm -f conftest.er1 | 19627 | rm -f conftest.er1 |
| 19479 | cat conftest.err >&5 | 19628 | cat conftest.err >&5 |
| 19480 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19629 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19481 | (exit $ac_status); } && | 19630 | (exit $ac_status); } && { |
| 19482 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 19631 | test -z "$ac_c_werror_flag" || |
| 19483 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19632 | test ! -s conftest.err |
| 19484 | (eval $ac_try) 2>&5 | 19633 | } && test -s conftest.$ac_objext; then |
| 19485 | ac_status=$? | ||
| 19486 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19487 | (exit $ac_status); }; } && | ||
| 19488 | { ac_try='test -s conftest.$ac_objext' | ||
| 19489 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 19490 | (eval $ac_try) 2>&5 | ||
| 19491 | ac_status=$? | ||
| 19492 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19493 | (exit $ac_status); }; }; then | ||
| 19494 | ac_header_compiler=yes | 19634 | ac_header_compiler=yes |
| 19495 | else | 19635 | else |
| 19496 | echo "$as_me: failed program was:" >&5 | 19636 | echo "$as_me: failed program was:" >&5 |
| 19497 | sed 's/^/| /' conftest.$ac_ext >&5 | 19637 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 19498 | 19638 | ||
| 19499 | ac_header_compiler=no | 19639 | ac_header_compiler=no |
| 19500 | fi | 19640 | fi |
| 19501 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19641 | |
| 19502 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 19642 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 19503 | echo "${ECHO_T}$ac_header_compiler" >&6 | 19643 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 19644 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 19504 | 19645 | ||
| 19505 | # Is the header present? | 19646 | # Is the header present? |
| 19506 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 19647 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 19507 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 19648 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 19508 | cat >conftest.$ac_ext <<_ACEOF | 19649 | cat >conftest.$ac_ext <<_ACEOF |
| 19509 | /* confdefs.h. */ | 19650 | /* confdefs.h. */ |
| 19510 | _ACEOF | 19651 | _ACEOF |
| @@ -19513,24 +19654,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 19513 | /* end confdefs.h. */ | 19654 | /* end confdefs.h. */ |
| 19514 | #include <$ac_header> | 19655 | #include <$ac_header> |
| 19515 | _ACEOF | 19656 | _ACEOF |
| 19516 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 19657 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 19517 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 19658 | case "(($ac_try" in |
| 19659 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19660 | *) ac_try_echo=$ac_try;; | ||
| 19661 | esac | ||
| 19662 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 19663 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19518 | ac_status=$? | 19664 | ac_status=$? |
| 19519 | grep -v '^ *+' conftest.er1 >conftest.err | 19665 | grep -v '^ *+' conftest.er1 >conftest.err |
| 19520 | rm -f conftest.er1 | 19666 | rm -f conftest.er1 |
| 19521 | cat conftest.err >&5 | 19667 | cat conftest.err >&5 |
| 19522 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19523 | (exit $ac_status); } >/dev/null; then | 19669 | (exit $ac_status); } >/dev/null && { |
| 19524 | if test -s conftest.err; then | 19670 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 19525 | ac_cpp_err=$ac_c_preproc_warn_flag | 19671 | test ! -s conftest.err |
| 19526 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 19672 | }; then |
| 19527 | else | ||
| 19528 | ac_cpp_err= | ||
| 19529 | fi | ||
| 19530 | else | ||
| 19531 | ac_cpp_err=yes | ||
| 19532 | fi | ||
| 19533 | if test -z "$ac_cpp_err"; then | ||
| 19534 | ac_header_preproc=yes | 19673 | ac_header_preproc=yes |
| 19535 | else | 19674 | else |
| 19536 | echo "$as_me: failed program was:" >&5 | 19675 | echo "$as_me: failed program was:" >&5 |
| @@ -19538,9 +19677,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 19538 | 19677 | ||
| 19539 | ac_header_preproc=no | 19678 | ac_header_preproc=no |
| 19540 | fi | 19679 | fi |
| 19680 | |||
| 19541 | rm -f conftest.err conftest.$ac_ext | 19681 | rm -f conftest.err conftest.$ac_ext |
| 19542 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 19682 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 19543 | echo "${ECHO_T}$ac_header_preproc" >&6 | 19683 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 19544 | 19684 | ||
| 19545 | # So? What about this header? | 19685 | # So? What about this header? |
| 19546 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 19686 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -19564,25 +19704,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 19564 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 19704 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 19565 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 19705 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 19566 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 19706 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 19567 | ( | 19707 | |
| 19568 | cat <<\_ASBOX | ||
| 19569 | ## ------------------------------------------ ## | ||
| 19570 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 19571 | ## ------------------------------------------ ## | ||
| 19572 | _ASBOX | ||
| 19573 | ) | | ||
| 19574 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 19575 | ;; | 19708 | ;; |
| 19576 | esac | 19709 | esac |
| 19577 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 19710 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 19578 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 19711 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 19579 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 19712 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 19580 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19713 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 19581 | else | 19714 | else |
| 19582 | eval "$as_ac_Header=\$ac_header_preproc" | 19715 | eval "$as_ac_Header=\$ac_header_preproc" |
| 19583 | fi | 19716 | fi |
| 19584 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 19717 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 19585 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 19718 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 19719 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 19586 | 19720 | ||
| 19587 | fi | 19721 | fi |
| 19588 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 19722 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| @@ -19595,18 +19729,19 @@ else | |||
| 19595 | for ac_header in kerberosIV/des.h | 19729 | for ac_header in kerberosIV/des.h |
| 19596 | do | 19730 | do |
| 19597 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 19731 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 19598 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 19732 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 19599 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 19733 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 19600 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 19734 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 19601 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 19735 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 19602 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19736 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 19603 | fi | 19737 | fi |
| 19604 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 19738 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 19605 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 19739 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 19740 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 19606 | else | 19741 | else |
| 19607 | # Is the header compilable? | 19742 | # Is the header compilable? |
| 19608 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 19743 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 19609 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 19744 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 19610 | cat >conftest.$ac_ext <<_ACEOF | 19745 | cat >conftest.$ac_ext <<_ACEOF |
| 19611 | /* confdefs.h. */ | 19746 | /* confdefs.h. */ |
| 19612 | _ACEOF | 19747 | _ACEOF |
| @@ -19617,40 +19752,37 @@ $ac_includes_default | |||
| 19617 | #include <$ac_header> | 19752 | #include <$ac_header> |
| 19618 | _ACEOF | 19753 | _ACEOF |
| 19619 | rm -f conftest.$ac_objext | 19754 | rm -f conftest.$ac_objext |
| 19620 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19755 | if { (ac_try="$ac_compile" |
| 19621 | (eval $ac_compile) 2>conftest.er1 | 19756 | case "(($ac_try" in |
| 19757 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19758 | *) ac_try_echo=$ac_try;; | ||
| 19759 | esac | ||
| 19760 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 19761 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19622 | ac_status=$? | 19762 | ac_status=$? |
| 19623 | grep -v '^ *+' conftest.er1 >conftest.err | 19763 | grep -v '^ *+' conftest.er1 >conftest.err |
| 19624 | rm -f conftest.er1 | 19764 | rm -f conftest.er1 |
| 19625 | cat conftest.err >&5 | 19765 | cat conftest.err >&5 |
| 19626 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19766 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19627 | (exit $ac_status); } && | 19767 | (exit $ac_status); } && { |
| 19628 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 19768 | test -z "$ac_c_werror_flag" || |
| 19629 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19769 | test ! -s conftest.err |
| 19630 | (eval $ac_try) 2>&5 | 19770 | } && test -s conftest.$ac_objext; then |
| 19631 | ac_status=$? | ||
| 19632 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19633 | (exit $ac_status); }; } && | ||
| 19634 | { ac_try='test -s conftest.$ac_objext' | ||
| 19635 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 19636 | (eval $ac_try) 2>&5 | ||
| 19637 | ac_status=$? | ||
| 19638 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19639 | (exit $ac_status); }; }; then | ||
| 19640 | ac_header_compiler=yes | 19771 | ac_header_compiler=yes |
| 19641 | else | 19772 | else |
| 19642 | echo "$as_me: failed program was:" >&5 | 19773 | echo "$as_me: failed program was:" >&5 |
| 19643 | sed 's/^/| /' conftest.$ac_ext >&5 | 19774 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 19644 | 19775 | ||
| 19645 | ac_header_compiler=no | 19776 | ac_header_compiler=no |
| 19646 | fi | 19777 | fi |
| 19647 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19778 | |
| 19648 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 19779 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 19649 | echo "${ECHO_T}$ac_header_compiler" >&6 | 19780 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 19781 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 19650 | 19782 | ||
| 19651 | # Is the header present? | 19783 | # Is the header present? |
| 19652 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 19784 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 19653 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 19785 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 19654 | cat >conftest.$ac_ext <<_ACEOF | 19786 | cat >conftest.$ac_ext <<_ACEOF |
| 19655 | /* confdefs.h. */ | 19787 | /* confdefs.h. */ |
| 19656 | _ACEOF | 19788 | _ACEOF |
| @@ -19659,24 +19791,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 19659 | /* end confdefs.h. */ | 19791 | /* end confdefs.h. */ |
| 19660 | #include <$ac_header> | 19792 | #include <$ac_header> |
| 19661 | _ACEOF | 19793 | _ACEOF |
| 19662 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 19794 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 19663 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 19795 | case "(($ac_try" in |
| 19796 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19797 | *) ac_try_echo=$ac_try;; | ||
| 19798 | esac | ||
| 19799 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 19800 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19664 | ac_status=$? | 19801 | ac_status=$? |
| 19665 | grep -v '^ *+' conftest.er1 >conftest.err | 19802 | grep -v '^ *+' conftest.er1 >conftest.err |
| 19666 | rm -f conftest.er1 | 19803 | rm -f conftest.er1 |
| 19667 | cat conftest.err >&5 | 19804 | cat conftest.err >&5 |
| 19668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19805 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19669 | (exit $ac_status); } >/dev/null; then | 19806 | (exit $ac_status); } >/dev/null && { |
| 19670 | if test -s conftest.err; then | 19807 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 19671 | ac_cpp_err=$ac_c_preproc_warn_flag | 19808 | test ! -s conftest.err |
| 19672 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 19809 | }; then |
| 19673 | else | ||
| 19674 | ac_cpp_err= | ||
| 19675 | fi | ||
| 19676 | else | ||
| 19677 | ac_cpp_err=yes | ||
| 19678 | fi | ||
| 19679 | if test -z "$ac_cpp_err"; then | ||
| 19680 | ac_header_preproc=yes | 19810 | ac_header_preproc=yes |
| 19681 | else | 19811 | else |
| 19682 | echo "$as_me: failed program was:" >&5 | 19812 | echo "$as_me: failed program was:" >&5 |
| @@ -19684,9 +19814,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 19684 | 19814 | ||
| 19685 | ac_header_preproc=no | 19815 | ac_header_preproc=no |
| 19686 | fi | 19816 | fi |
| 19817 | |||
| 19687 | rm -f conftest.err conftest.$ac_ext | 19818 | rm -f conftest.err conftest.$ac_ext |
| 19688 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 19819 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 19689 | echo "${ECHO_T}$ac_header_preproc" >&6 | 19820 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 19690 | 19821 | ||
| 19691 | # So? What about this header? | 19822 | # So? What about this header? |
| 19692 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 19823 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -19710,25 +19841,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 19710 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 19841 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 19711 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 19842 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 19712 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 19843 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 19713 | ( | 19844 | |
| 19714 | cat <<\_ASBOX | ||
| 19715 | ## ------------------------------------------ ## | ||
| 19716 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 19717 | ## ------------------------------------------ ## | ||
| 19718 | _ASBOX | ||
| 19719 | ) | | ||
| 19720 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 19721 | ;; | 19845 | ;; |
| 19722 | esac | 19846 | esac |
| 19723 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 19847 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 19724 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 19848 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 19725 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 19849 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 19726 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19850 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 19727 | else | 19851 | else |
| 19728 | eval "$as_ac_Header=\$ac_header_preproc" | 19852 | eval "$as_ac_Header=\$ac_header_preproc" |
| 19729 | fi | 19853 | fi |
| 19730 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 19854 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 19731 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 19855 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 19856 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 19732 | 19857 | ||
| 19733 | fi | 19858 | fi |
| 19734 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 19859 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| @@ -19741,18 +19866,19 @@ else | |||
| 19741 | for ac_header in kerberos/des.h | 19866 | for ac_header in kerberos/des.h |
| 19742 | do | 19867 | do |
| 19743 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 19868 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 19744 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 19869 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 19745 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 19870 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 19746 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 19871 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 19747 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 19872 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 19748 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19873 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 19749 | fi | 19874 | fi |
| 19750 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 19875 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 19751 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 19876 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 19877 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 19752 | else | 19878 | else |
| 19753 | # Is the header compilable? | 19879 | # Is the header compilable? |
| 19754 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 19880 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 19755 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 19881 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 19756 | cat >conftest.$ac_ext <<_ACEOF | 19882 | cat >conftest.$ac_ext <<_ACEOF |
| 19757 | /* confdefs.h. */ | 19883 | /* confdefs.h. */ |
| 19758 | _ACEOF | 19884 | _ACEOF |
| @@ -19763,40 +19889,37 @@ $ac_includes_default | |||
| 19763 | #include <$ac_header> | 19889 | #include <$ac_header> |
| 19764 | _ACEOF | 19890 | _ACEOF |
| 19765 | rm -f conftest.$ac_objext | 19891 | rm -f conftest.$ac_objext |
| 19766 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19892 | if { (ac_try="$ac_compile" |
| 19767 | (eval $ac_compile) 2>conftest.er1 | 19893 | case "(($ac_try" in |
| 19894 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19895 | *) ac_try_echo=$ac_try;; | ||
| 19896 | esac | ||
| 19897 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 19898 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19768 | ac_status=$? | 19899 | ac_status=$? |
| 19769 | grep -v '^ *+' conftest.er1 >conftest.err | 19900 | grep -v '^ *+' conftest.er1 >conftest.err |
| 19770 | rm -f conftest.er1 | 19901 | rm -f conftest.er1 |
| 19771 | cat conftest.err >&5 | 19902 | cat conftest.err >&5 |
| 19772 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19903 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19773 | (exit $ac_status); } && | 19904 | (exit $ac_status); } && { |
| 19774 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 19905 | test -z "$ac_c_werror_flag" || |
| 19775 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19906 | test ! -s conftest.err |
| 19776 | (eval $ac_try) 2>&5 | 19907 | } && test -s conftest.$ac_objext; then |
| 19777 | ac_status=$? | ||
| 19778 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19779 | (exit $ac_status); }; } && | ||
| 19780 | { ac_try='test -s conftest.$ac_objext' | ||
| 19781 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 19782 | (eval $ac_try) 2>&5 | ||
| 19783 | ac_status=$? | ||
| 19784 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19785 | (exit $ac_status); }; }; then | ||
| 19786 | ac_header_compiler=yes | 19908 | ac_header_compiler=yes |
| 19787 | else | 19909 | else |
| 19788 | echo "$as_me: failed program was:" >&5 | 19910 | echo "$as_me: failed program was:" >&5 |
| 19789 | sed 's/^/| /' conftest.$ac_ext >&5 | 19911 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 19790 | 19912 | ||
| 19791 | ac_header_compiler=no | 19913 | ac_header_compiler=no |
| 19792 | fi | 19914 | fi |
| 19793 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19915 | |
| 19794 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 19916 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 19795 | echo "${ECHO_T}$ac_header_compiler" >&6 | 19917 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 19918 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 19796 | 19919 | ||
| 19797 | # Is the header present? | 19920 | # Is the header present? |
| 19798 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 19921 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 19799 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 19922 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 19800 | cat >conftest.$ac_ext <<_ACEOF | 19923 | cat >conftest.$ac_ext <<_ACEOF |
| 19801 | /* confdefs.h. */ | 19924 | /* confdefs.h. */ |
| 19802 | _ACEOF | 19925 | _ACEOF |
| @@ -19805,24 +19928,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 19805 | /* end confdefs.h. */ | 19928 | /* end confdefs.h. */ |
| 19806 | #include <$ac_header> | 19929 | #include <$ac_header> |
| 19807 | _ACEOF | 19930 | _ACEOF |
| 19808 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 19931 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 19809 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 19932 | case "(($ac_try" in |
| 19933 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 19934 | *) ac_try_echo=$ac_try;; | ||
| 19935 | esac | ||
| 19936 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 19937 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19810 | ac_status=$? | 19938 | ac_status=$? |
| 19811 | grep -v '^ *+' conftest.er1 >conftest.err | 19939 | grep -v '^ *+' conftest.er1 >conftest.err |
| 19812 | rm -f conftest.er1 | 19940 | rm -f conftest.er1 |
| 19813 | cat conftest.err >&5 | 19941 | cat conftest.err >&5 |
| 19814 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19815 | (exit $ac_status); } >/dev/null; then | 19943 | (exit $ac_status); } >/dev/null && { |
| 19816 | if test -s conftest.err; then | 19944 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 19817 | ac_cpp_err=$ac_c_preproc_warn_flag | 19945 | test ! -s conftest.err |
| 19818 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 19946 | }; then |
| 19819 | else | ||
| 19820 | ac_cpp_err= | ||
| 19821 | fi | ||
| 19822 | else | ||
| 19823 | ac_cpp_err=yes | ||
| 19824 | fi | ||
| 19825 | if test -z "$ac_cpp_err"; then | ||
| 19826 | ac_header_preproc=yes | 19947 | ac_header_preproc=yes |
| 19827 | else | 19948 | else |
| 19828 | echo "$as_me: failed program was:" >&5 | 19949 | echo "$as_me: failed program was:" >&5 |
| @@ -19830,9 +19951,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 19830 | 19951 | ||
| 19831 | ac_header_preproc=no | 19952 | ac_header_preproc=no |
| 19832 | fi | 19953 | fi |
| 19954 | |||
| 19833 | rm -f conftest.err conftest.$ac_ext | 19955 | rm -f conftest.err conftest.$ac_ext |
| 19834 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 19956 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 19835 | echo "${ECHO_T}$ac_header_preproc" >&6 | 19957 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 19836 | 19958 | ||
| 19837 | # So? What about this header? | 19959 | # So? What about this header? |
| 19838 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 19960 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -19856,25 +19978,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 19856 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 19978 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 19857 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 19979 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 19858 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 19980 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 19859 | ( | 19981 | |
| 19860 | cat <<\_ASBOX | ||
| 19861 | ## ------------------------------------------ ## | ||
| 19862 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 19863 | ## ------------------------------------------ ## | ||
| 19864 | _ASBOX | ||
| 19865 | ) | | ||
| 19866 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 19867 | ;; | 19982 | ;; |
| 19868 | esac | 19983 | esac |
| 19869 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 19984 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 19870 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 19985 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 19871 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 19986 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 19872 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 19987 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 19873 | else | 19988 | else |
| 19874 | eval "$as_ac_Header=\$ac_header_preproc" | 19989 | eval "$as_ac_Header=\$ac_header_preproc" |
| 19875 | fi | 19990 | fi |
| 19876 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 19991 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 19877 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 19992 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 19993 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 19878 | 19994 | ||
| 19879 | fi | 19995 | fi |
| 19880 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 19996 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| @@ -19898,18 +20014,19 @@ done | |||
| 19898 | for ac_header in krb.h | 20014 | for ac_header in krb.h |
| 19899 | do | 20015 | do |
| 19900 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 20016 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 19901 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 20017 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 19902 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20018 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 19903 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 20019 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 19904 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 20020 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 19905 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20021 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 19906 | fi | 20022 | fi |
| 19907 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 20023 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 19908 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 20024 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 20025 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 19909 | else | 20026 | else |
| 19910 | # Is the header compilable? | 20027 | # Is the header compilable? |
| 19911 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 20028 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 19912 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 20029 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 19913 | cat >conftest.$ac_ext <<_ACEOF | 20030 | cat >conftest.$ac_ext <<_ACEOF |
| 19914 | /* confdefs.h. */ | 20031 | /* confdefs.h. */ |
| 19915 | _ACEOF | 20032 | _ACEOF |
| @@ -19920,40 +20037,37 @@ $ac_includes_default | |||
| 19920 | #include <$ac_header> | 20037 | #include <$ac_header> |
| 19921 | _ACEOF | 20038 | _ACEOF |
| 19922 | rm -f conftest.$ac_objext | 20039 | rm -f conftest.$ac_objext |
| 19923 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20040 | if { (ac_try="$ac_compile" |
| 19924 | (eval $ac_compile) 2>conftest.er1 | 20041 | case "(($ac_try" in |
| 20042 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20043 | *) ac_try_echo=$ac_try;; | ||
| 20044 | esac | ||
| 20045 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 20046 | (eval "$ac_compile") 2>conftest.er1 | ||
| 19925 | ac_status=$? | 20047 | ac_status=$? |
| 19926 | grep -v '^ *+' conftest.er1 >conftest.err | 20048 | grep -v '^ *+' conftest.er1 >conftest.err |
| 19927 | rm -f conftest.er1 | 20049 | rm -f conftest.er1 |
| 19928 | cat conftest.err >&5 | 20050 | cat conftest.err >&5 |
| 19929 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20051 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19930 | (exit $ac_status); } && | 20052 | (exit $ac_status); } && { |
| 19931 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 20053 | test -z "$ac_c_werror_flag" || |
| 19932 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20054 | test ! -s conftest.err |
| 19933 | (eval $ac_try) 2>&5 | 20055 | } && test -s conftest.$ac_objext; then |
| 19934 | ac_status=$? | ||
| 19935 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19936 | (exit $ac_status); }; } && | ||
| 19937 | { ac_try='test -s conftest.$ac_objext' | ||
| 19938 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 19939 | (eval $ac_try) 2>&5 | ||
| 19940 | ac_status=$? | ||
| 19941 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 19942 | (exit $ac_status); }; }; then | ||
| 19943 | ac_header_compiler=yes | 20056 | ac_header_compiler=yes |
| 19944 | else | 20057 | else |
| 19945 | echo "$as_me: failed program was:" >&5 | 20058 | echo "$as_me: failed program was:" >&5 |
| 19946 | sed 's/^/| /' conftest.$ac_ext >&5 | 20059 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 19947 | 20060 | ||
| 19948 | ac_header_compiler=no | 20061 | ac_header_compiler=no |
| 19949 | fi | 20062 | fi |
| 19950 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20063 | |
| 19951 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 20064 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 19952 | echo "${ECHO_T}$ac_header_compiler" >&6 | 20065 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 20066 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 19953 | 20067 | ||
| 19954 | # Is the header present? | 20068 | # Is the header present? |
| 19955 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 20069 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 19956 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 20070 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 19957 | cat >conftest.$ac_ext <<_ACEOF | 20071 | cat >conftest.$ac_ext <<_ACEOF |
| 19958 | /* confdefs.h. */ | 20072 | /* confdefs.h. */ |
| 19959 | _ACEOF | 20073 | _ACEOF |
| @@ -19962,24 +20076,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 19962 | /* end confdefs.h. */ | 20076 | /* end confdefs.h. */ |
| 19963 | #include <$ac_header> | 20077 | #include <$ac_header> |
| 19964 | _ACEOF | 20078 | _ACEOF |
| 19965 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 20079 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 19966 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 20080 | case "(($ac_try" in |
| 20081 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20082 | *) ac_try_echo=$ac_try;; | ||
| 20083 | esac | ||
| 20084 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 20085 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 19967 | ac_status=$? | 20086 | ac_status=$? |
| 19968 | grep -v '^ *+' conftest.er1 >conftest.err | 20087 | grep -v '^ *+' conftest.er1 >conftest.err |
| 19969 | rm -f conftest.er1 | 20088 | rm -f conftest.er1 |
| 19970 | cat conftest.err >&5 | 20089 | cat conftest.err >&5 |
| 19971 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20090 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 19972 | (exit $ac_status); } >/dev/null; then | 20091 | (exit $ac_status); } >/dev/null && { |
| 19973 | if test -s conftest.err; then | 20092 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 19974 | ac_cpp_err=$ac_c_preproc_warn_flag | 20093 | test ! -s conftest.err |
| 19975 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 20094 | }; then |
| 19976 | else | ||
| 19977 | ac_cpp_err= | ||
| 19978 | fi | ||
| 19979 | else | ||
| 19980 | ac_cpp_err=yes | ||
| 19981 | fi | ||
| 19982 | if test -z "$ac_cpp_err"; then | ||
| 19983 | ac_header_preproc=yes | 20095 | ac_header_preproc=yes |
| 19984 | else | 20096 | else |
| 19985 | echo "$as_me: failed program was:" >&5 | 20097 | echo "$as_me: failed program was:" >&5 |
| @@ -19987,9 +20099,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 19987 | 20099 | ||
| 19988 | ac_header_preproc=no | 20100 | ac_header_preproc=no |
| 19989 | fi | 20101 | fi |
| 20102 | |||
| 19990 | rm -f conftest.err conftest.$ac_ext | 20103 | rm -f conftest.err conftest.$ac_ext |
| 19991 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 20104 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 19992 | echo "${ECHO_T}$ac_header_preproc" >&6 | 20105 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 19993 | 20106 | ||
| 19994 | # So? What about this header? | 20107 | # So? What about this header? |
| 19995 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 20108 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -20013,25 +20126,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 20013 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 20126 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 20014 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 20127 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 20015 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 20128 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 20016 | ( | 20129 | |
| 20017 | cat <<\_ASBOX | ||
| 20018 | ## ------------------------------------------ ## | ||
| 20019 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 20020 | ## ------------------------------------------ ## | ||
| 20021 | _ASBOX | ||
| 20022 | ) | | ||
| 20023 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 20024 | ;; | 20130 | ;; |
| 20025 | esac | 20131 | esac |
| 20026 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20132 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 20027 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 20133 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 20028 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 20134 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 20029 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20135 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 20030 | else | 20136 | else |
| 20031 | eval "$as_ac_Header=\$ac_header_preproc" | 20137 | eval "$as_ac_Header=\$ac_header_preproc" |
| 20032 | fi | 20138 | fi |
| 20033 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 20139 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 20034 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 20140 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 20141 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 20035 | 20142 | ||
| 20036 | fi | 20143 | fi |
| 20037 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 20144 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| @@ -20044,18 +20151,19 @@ else | |||
| 20044 | for ac_header in kerberosIV/krb.h | 20151 | for ac_header in kerberosIV/krb.h |
| 20045 | do | 20152 | do |
| 20046 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 20153 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 20047 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 20154 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 20048 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20155 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 20049 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 20156 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 20050 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 20157 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 20051 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20158 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 20052 | fi | 20159 | fi |
| 20053 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 20160 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 20054 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 20161 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 20162 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 20055 | else | 20163 | else |
| 20056 | # Is the header compilable? | 20164 | # Is the header compilable? |
| 20057 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 20165 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 20058 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 20166 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 20059 | cat >conftest.$ac_ext <<_ACEOF | 20167 | cat >conftest.$ac_ext <<_ACEOF |
| 20060 | /* confdefs.h. */ | 20168 | /* confdefs.h. */ |
| 20061 | _ACEOF | 20169 | _ACEOF |
| @@ -20066,40 +20174,37 @@ $ac_includes_default | |||
| 20066 | #include <$ac_header> | 20174 | #include <$ac_header> |
| 20067 | _ACEOF | 20175 | _ACEOF |
| 20068 | rm -f conftest.$ac_objext | 20176 | rm -f conftest.$ac_objext |
| 20069 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20177 | if { (ac_try="$ac_compile" |
| 20070 | (eval $ac_compile) 2>conftest.er1 | 20178 | case "(($ac_try" in |
| 20179 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20180 | *) ac_try_echo=$ac_try;; | ||
| 20181 | esac | ||
| 20182 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 20183 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20071 | ac_status=$? | 20184 | ac_status=$? |
| 20072 | grep -v '^ *+' conftest.er1 >conftest.err | 20185 | grep -v '^ *+' conftest.er1 >conftest.err |
| 20073 | rm -f conftest.er1 | 20186 | rm -f conftest.er1 |
| 20074 | cat conftest.err >&5 | 20187 | cat conftest.err >&5 |
| 20075 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20188 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20076 | (exit $ac_status); } && | 20189 | (exit $ac_status); } && { |
| 20077 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 20190 | test -z "$ac_c_werror_flag" || |
| 20078 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20191 | test ! -s conftest.err |
| 20079 | (eval $ac_try) 2>&5 | 20192 | } && test -s conftest.$ac_objext; then |
| 20080 | ac_status=$? | ||
| 20081 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20082 | (exit $ac_status); }; } && | ||
| 20083 | { ac_try='test -s conftest.$ac_objext' | ||
| 20084 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 20085 | (eval $ac_try) 2>&5 | ||
| 20086 | ac_status=$? | ||
| 20087 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20088 | (exit $ac_status); }; }; then | ||
| 20089 | ac_header_compiler=yes | 20193 | ac_header_compiler=yes |
| 20090 | else | 20194 | else |
| 20091 | echo "$as_me: failed program was:" >&5 | 20195 | echo "$as_me: failed program was:" >&5 |
| 20092 | sed 's/^/| /' conftest.$ac_ext >&5 | 20196 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 20093 | 20197 | ||
| 20094 | ac_header_compiler=no | 20198 | ac_header_compiler=no |
| 20095 | fi | 20199 | fi |
| 20096 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20200 | |
| 20097 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 20201 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 20098 | echo "${ECHO_T}$ac_header_compiler" >&6 | 20202 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 20203 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 20099 | 20204 | ||
| 20100 | # Is the header present? | 20205 | # Is the header present? |
| 20101 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 20206 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 20102 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 20207 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 20103 | cat >conftest.$ac_ext <<_ACEOF | 20208 | cat >conftest.$ac_ext <<_ACEOF |
| 20104 | /* confdefs.h. */ | 20209 | /* confdefs.h. */ |
| 20105 | _ACEOF | 20210 | _ACEOF |
| @@ -20108,24 +20213,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 20108 | /* end confdefs.h. */ | 20213 | /* end confdefs.h. */ |
| 20109 | #include <$ac_header> | 20214 | #include <$ac_header> |
| 20110 | _ACEOF | 20215 | _ACEOF |
| 20111 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 20216 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 20112 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 20217 | case "(($ac_try" in |
| 20218 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20219 | *) ac_try_echo=$ac_try;; | ||
| 20220 | esac | ||
| 20221 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 20222 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 20113 | ac_status=$? | 20223 | ac_status=$? |
| 20114 | grep -v '^ *+' conftest.er1 >conftest.err | 20224 | grep -v '^ *+' conftest.er1 >conftest.err |
| 20115 | rm -f conftest.er1 | 20225 | rm -f conftest.er1 |
| 20116 | cat conftest.err >&5 | 20226 | cat conftest.err >&5 |
| 20117 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20227 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20118 | (exit $ac_status); } >/dev/null; then | 20228 | (exit $ac_status); } >/dev/null && { |
| 20119 | if test -s conftest.err; then | 20229 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 20120 | ac_cpp_err=$ac_c_preproc_warn_flag | 20230 | test ! -s conftest.err |
| 20121 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 20231 | }; then |
| 20122 | else | ||
| 20123 | ac_cpp_err= | ||
| 20124 | fi | ||
| 20125 | else | ||
| 20126 | ac_cpp_err=yes | ||
| 20127 | fi | ||
| 20128 | if test -z "$ac_cpp_err"; then | ||
| 20129 | ac_header_preproc=yes | 20232 | ac_header_preproc=yes |
| 20130 | else | 20233 | else |
| 20131 | echo "$as_me: failed program was:" >&5 | 20234 | echo "$as_me: failed program was:" >&5 |
| @@ -20133,9 +20236,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 20133 | 20236 | ||
| 20134 | ac_header_preproc=no | 20237 | ac_header_preproc=no |
| 20135 | fi | 20238 | fi |
| 20239 | |||
| 20136 | rm -f conftest.err conftest.$ac_ext | 20240 | rm -f conftest.err conftest.$ac_ext |
| 20137 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 20241 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 20138 | echo "${ECHO_T}$ac_header_preproc" >&6 | 20242 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 20139 | 20243 | ||
| 20140 | # So? What about this header? | 20244 | # So? What about this header? |
| 20141 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 20245 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -20159,25 +20263,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 20159 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 20263 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 20160 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 20264 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 20161 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 20265 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 20162 | ( | 20266 | |
| 20163 | cat <<\_ASBOX | ||
| 20164 | ## ------------------------------------------ ## | ||
| 20165 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 20166 | ## ------------------------------------------ ## | ||
| 20167 | _ASBOX | ||
| 20168 | ) | | ||
| 20169 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 20170 | ;; | 20267 | ;; |
| 20171 | esac | 20268 | esac |
| 20172 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20269 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 20173 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 20270 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 20174 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 20271 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 20175 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20272 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 20176 | else | 20273 | else |
| 20177 | eval "$as_ac_Header=\$ac_header_preproc" | 20274 | eval "$as_ac_Header=\$ac_header_preproc" |
| 20178 | fi | 20275 | fi |
| 20179 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 20276 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 20180 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 20277 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 20278 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 20181 | 20279 | ||
| 20182 | fi | 20280 | fi |
| 20183 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 20281 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| @@ -20190,18 +20288,19 @@ else | |||
| 20190 | for ac_header in kerberos/krb.h | 20288 | for ac_header in kerberos/krb.h |
| 20191 | do | 20289 | do |
| 20192 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 20290 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 20193 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 20291 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 20194 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20292 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 20195 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 20293 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 20196 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 20294 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 20197 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20295 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 20198 | fi | 20296 | fi |
| 20199 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 20297 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 20200 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 20298 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 20299 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 20201 | else | 20300 | else |
| 20202 | # Is the header compilable? | 20301 | # Is the header compilable? |
| 20203 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 20302 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 20204 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 20303 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 20205 | cat >conftest.$ac_ext <<_ACEOF | 20304 | cat >conftest.$ac_ext <<_ACEOF |
| 20206 | /* confdefs.h. */ | 20305 | /* confdefs.h. */ |
| 20207 | _ACEOF | 20306 | _ACEOF |
| @@ -20212,40 +20311,37 @@ $ac_includes_default | |||
| 20212 | #include <$ac_header> | 20311 | #include <$ac_header> |
| 20213 | _ACEOF | 20312 | _ACEOF |
| 20214 | rm -f conftest.$ac_objext | 20313 | rm -f conftest.$ac_objext |
| 20215 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20314 | if { (ac_try="$ac_compile" |
| 20216 | (eval $ac_compile) 2>conftest.er1 | 20315 | case "(($ac_try" in |
| 20316 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20317 | *) ac_try_echo=$ac_try;; | ||
| 20318 | esac | ||
| 20319 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 20320 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20217 | ac_status=$? | 20321 | ac_status=$? |
| 20218 | grep -v '^ *+' conftest.er1 >conftest.err | 20322 | grep -v '^ *+' conftest.er1 >conftest.err |
| 20219 | rm -f conftest.er1 | 20323 | rm -f conftest.er1 |
| 20220 | cat conftest.err >&5 | 20324 | cat conftest.err >&5 |
| 20221 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20325 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20222 | (exit $ac_status); } && | 20326 | (exit $ac_status); } && { |
| 20223 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 20327 | test -z "$ac_c_werror_flag" || |
| 20224 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20328 | test ! -s conftest.err |
| 20225 | (eval $ac_try) 2>&5 | 20329 | } && test -s conftest.$ac_objext; then |
| 20226 | ac_status=$? | ||
| 20227 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20228 | (exit $ac_status); }; } && | ||
| 20229 | { ac_try='test -s conftest.$ac_objext' | ||
| 20230 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 20231 | (eval $ac_try) 2>&5 | ||
| 20232 | ac_status=$? | ||
| 20233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20234 | (exit $ac_status); }; }; then | ||
| 20235 | ac_header_compiler=yes | 20330 | ac_header_compiler=yes |
| 20236 | else | 20331 | else |
| 20237 | echo "$as_me: failed program was:" >&5 | 20332 | echo "$as_me: failed program was:" >&5 |
| 20238 | sed 's/^/| /' conftest.$ac_ext >&5 | 20333 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 20239 | 20334 | ||
| 20240 | ac_header_compiler=no | 20335 | ac_header_compiler=no |
| 20241 | fi | 20336 | fi |
| 20242 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20337 | |
| 20243 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 20338 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 20244 | echo "${ECHO_T}$ac_header_compiler" >&6 | 20339 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 20340 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 20245 | 20341 | ||
| 20246 | # Is the header present? | 20342 | # Is the header present? |
| 20247 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 20343 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 20248 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 20344 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 20249 | cat >conftest.$ac_ext <<_ACEOF | 20345 | cat >conftest.$ac_ext <<_ACEOF |
| 20250 | /* confdefs.h. */ | 20346 | /* confdefs.h. */ |
| 20251 | _ACEOF | 20347 | _ACEOF |
| @@ -20254,24 +20350,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 20254 | /* end confdefs.h. */ | 20350 | /* end confdefs.h. */ |
| 20255 | #include <$ac_header> | 20351 | #include <$ac_header> |
| 20256 | _ACEOF | 20352 | _ACEOF |
| 20257 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 20353 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 20258 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 20354 | case "(($ac_try" in |
| 20355 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20356 | *) ac_try_echo=$ac_try;; | ||
| 20357 | esac | ||
| 20358 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 20359 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 20259 | ac_status=$? | 20360 | ac_status=$? |
| 20260 | grep -v '^ *+' conftest.er1 >conftest.err | 20361 | grep -v '^ *+' conftest.er1 >conftest.err |
| 20261 | rm -f conftest.er1 | 20362 | rm -f conftest.er1 |
| 20262 | cat conftest.err >&5 | 20363 | cat conftest.err >&5 |
| 20263 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20364 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20264 | (exit $ac_status); } >/dev/null; then | 20365 | (exit $ac_status); } >/dev/null && { |
| 20265 | if test -s conftest.err; then | 20366 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 20266 | ac_cpp_err=$ac_c_preproc_warn_flag | 20367 | test ! -s conftest.err |
| 20267 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 20368 | }; then |
| 20268 | else | ||
| 20269 | ac_cpp_err= | ||
| 20270 | fi | ||
| 20271 | else | ||
| 20272 | ac_cpp_err=yes | ||
| 20273 | fi | ||
| 20274 | if test -z "$ac_cpp_err"; then | ||
| 20275 | ac_header_preproc=yes | 20369 | ac_header_preproc=yes |
| 20276 | else | 20370 | else |
| 20277 | echo "$as_me: failed program was:" >&5 | 20371 | echo "$as_me: failed program was:" >&5 |
| @@ -20279,9 +20373,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 20279 | 20373 | ||
| 20280 | ac_header_preproc=no | 20374 | ac_header_preproc=no |
| 20281 | fi | 20375 | fi |
| 20376 | |||
| 20282 | rm -f conftest.err conftest.$ac_ext | 20377 | rm -f conftest.err conftest.$ac_ext |
| 20283 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 20378 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 20284 | echo "${ECHO_T}$ac_header_preproc" >&6 | 20379 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 20285 | 20380 | ||
| 20286 | # So? What about this header? | 20381 | # So? What about this header? |
| 20287 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 20382 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -20305,25 +20400,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 20305 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 20400 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 20306 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 20401 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 20307 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 20402 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 20308 | ( | 20403 | |
| 20309 | cat <<\_ASBOX | ||
| 20310 | ## ------------------------------------------ ## | ||
| 20311 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 20312 | ## ------------------------------------------ ## | ||
| 20313 | _ASBOX | ||
| 20314 | ) | | ||
| 20315 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 20316 | ;; | 20404 | ;; |
| 20317 | esac | 20405 | esac |
| 20318 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20406 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 20319 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 20407 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 20320 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 20408 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 20321 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20409 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 20322 | else | 20410 | else |
| 20323 | eval "$as_ac_Header=\$ac_header_preproc" | 20411 | eval "$as_ac_Header=\$ac_header_preproc" |
| 20324 | fi | 20412 | fi |
| 20325 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 20413 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 20326 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 20414 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 20415 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 20327 | 20416 | ||
| 20328 | fi | 20417 | fi |
| 20329 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 20418 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| @@ -20348,18 +20437,19 @@ done | |||
| 20348 | for ac_header in com_err.h | 20437 | for ac_header in com_err.h |
| 20349 | do | 20438 | do |
| 20350 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 20439 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 20351 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 20440 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 20352 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20441 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 20353 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 20442 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 20354 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 20443 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 20355 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20444 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 20356 | fi | 20445 | fi |
| 20357 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 20446 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 20358 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 20447 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 20448 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 20359 | else | 20449 | else |
| 20360 | # Is the header compilable? | 20450 | # Is the header compilable? |
| 20361 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 20451 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 20362 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 20452 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 20363 | cat >conftest.$ac_ext <<_ACEOF | 20453 | cat >conftest.$ac_ext <<_ACEOF |
| 20364 | /* confdefs.h. */ | 20454 | /* confdefs.h. */ |
| 20365 | _ACEOF | 20455 | _ACEOF |
| @@ -20370,40 +20460,37 @@ $ac_includes_default | |||
| 20370 | #include <$ac_header> | 20460 | #include <$ac_header> |
| 20371 | _ACEOF | 20461 | _ACEOF |
| 20372 | rm -f conftest.$ac_objext | 20462 | rm -f conftest.$ac_objext |
| 20373 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20463 | if { (ac_try="$ac_compile" |
| 20374 | (eval $ac_compile) 2>conftest.er1 | 20464 | case "(($ac_try" in |
| 20465 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20466 | *) ac_try_echo=$ac_try;; | ||
| 20467 | esac | ||
| 20468 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 20469 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20375 | ac_status=$? | 20470 | ac_status=$? |
| 20376 | grep -v '^ *+' conftest.er1 >conftest.err | 20471 | grep -v '^ *+' conftest.er1 >conftest.err |
| 20377 | rm -f conftest.er1 | 20472 | rm -f conftest.er1 |
| 20378 | cat conftest.err >&5 | 20473 | cat conftest.err >&5 |
| 20379 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20474 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20380 | (exit $ac_status); } && | 20475 | (exit $ac_status); } && { |
| 20381 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 20476 | test -z "$ac_c_werror_flag" || |
| 20382 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20477 | test ! -s conftest.err |
| 20383 | (eval $ac_try) 2>&5 | 20478 | } && test -s conftest.$ac_objext; then |
| 20384 | ac_status=$? | ||
| 20385 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20386 | (exit $ac_status); }; } && | ||
| 20387 | { ac_try='test -s conftest.$ac_objext' | ||
| 20388 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 20389 | (eval $ac_try) 2>&5 | ||
| 20390 | ac_status=$? | ||
| 20391 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20392 | (exit $ac_status); }; }; then | ||
| 20393 | ac_header_compiler=yes | 20479 | ac_header_compiler=yes |
| 20394 | else | 20480 | else |
| 20395 | echo "$as_me: failed program was:" >&5 | 20481 | echo "$as_me: failed program was:" >&5 |
| 20396 | sed 's/^/| /' conftest.$ac_ext >&5 | 20482 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 20397 | 20483 | ||
| 20398 | ac_header_compiler=no | 20484 | ac_header_compiler=no |
| 20399 | fi | 20485 | fi |
| 20400 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20486 | |
| 20401 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 20487 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 20402 | echo "${ECHO_T}$ac_header_compiler" >&6 | 20488 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 20489 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 20403 | 20490 | ||
| 20404 | # Is the header present? | 20491 | # Is the header present? |
| 20405 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 20492 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 20406 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 20493 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 20407 | cat >conftest.$ac_ext <<_ACEOF | 20494 | cat >conftest.$ac_ext <<_ACEOF |
| 20408 | /* confdefs.h. */ | 20495 | /* confdefs.h. */ |
| 20409 | _ACEOF | 20496 | _ACEOF |
| @@ -20412,24 +20499,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 20412 | /* end confdefs.h. */ | 20499 | /* end confdefs.h. */ |
| 20413 | #include <$ac_header> | 20500 | #include <$ac_header> |
| 20414 | _ACEOF | 20501 | _ACEOF |
| 20415 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 20502 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 20416 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 20503 | case "(($ac_try" in |
| 20504 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20505 | *) ac_try_echo=$ac_try;; | ||
| 20506 | esac | ||
| 20507 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 20508 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 20417 | ac_status=$? | 20509 | ac_status=$? |
| 20418 | grep -v '^ *+' conftest.er1 >conftest.err | 20510 | grep -v '^ *+' conftest.er1 >conftest.err |
| 20419 | rm -f conftest.er1 | 20511 | rm -f conftest.er1 |
| 20420 | cat conftest.err >&5 | 20512 | cat conftest.err >&5 |
| 20421 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20513 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20422 | (exit $ac_status); } >/dev/null; then | 20514 | (exit $ac_status); } >/dev/null && { |
| 20423 | if test -s conftest.err; then | 20515 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 20424 | ac_cpp_err=$ac_c_preproc_warn_flag | 20516 | test ! -s conftest.err |
| 20425 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 20517 | }; then |
| 20426 | else | ||
| 20427 | ac_cpp_err= | ||
| 20428 | fi | ||
| 20429 | else | ||
| 20430 | ac_cpp_err=yes | ||
| 20431 | fi | ||
| 20432 | if test -z "$ac_cpp_err"; then | ||
| 20433 | ac_header_preproc=yes | 20518 | ac_header_preproc=yes |
| 20434 | else | 20519 | else |
| 20435 | echo "$as_me: failed program was:" >&5 | 20520 | echo "$as_me: failed program was:" >&5 |
| @@ -20437,9 +20522,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 20437 | 20522 | ||
| 20438 | ac_header_preproc=no | 20523 | ac_header_preproc=no |
| 20439 | fi | 20524 | fi |
| 20525 | |||
| 20440 | rm -f conftest.err conftest.$ac_ext | 20526 | rm -f conftest.err conftest.$ac_ext |
| 20441 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 20527 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 20442 | echo "${ECHO_T}$ac_header_preproc" >&6 | 20528 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 20443 | 20529 | ||
| 20444 | # So? What about this header? | 20530 | # So? What about this header? |
| 20445 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 20531 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -20463,25 +20549,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 20463 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 20549 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 20464 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 20550 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 20465 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 20551 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 20466 | ( | 20552 | |
| 20467 | cat <<\_ASBOX | ||
| 20468 | ## ------------------------------------------ ## | ||
| 20469 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 20470 | ## ------------------------------------------ ## | ||
| 20471 | _ASBOX | ||
| 20472 | ) | | ||
| 20473 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 20474 | ;; | 20553 | ;; |
| 20475 | esac | 20554 | esac |
| 20476 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20555 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 20477 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 20556 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 20478 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 20557 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 20479 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20558 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 20480 | else | 20559 | else |
| 20481 | eval "$as_ac_Header=\$ac_header_preproc" | 20560 | eval "$as_ac_Header=\$ac_header_preproc" |
| 20482 | fi | 20561 | fi |
| 20483 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 20562 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 20484 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 20563 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 20564 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 20485 | 20565 | ||
| 20486 | fi | 20566 | fi |
| 20487 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 20567 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| @@ -20498,8 +20578,8 @@ fi | |||
| 20498 | # Solaris requires -lintl if you want strerror (which calls dgettext) | 20578 | # Solaris requires -lintl if you want strerror (which calls dgettext) |
| 20499 | # to return localized messages. | 20579 | # to return localized messages. |
| 20500 | 20580 | ||
| 20501 | echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 | 20581 | { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 |
| 20502 | echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 | 20582 | echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; } |
| 20503 | if test "${ac_cv_lib_intl_dgettext+set}" = set; then | 20583 | if test "${ac_cv_lib_intl_dgettext+set}" = set; then |
| 20504 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20584 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 20505 | else | 20585 | else |
| @@ -20512,55 +20592,53 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 20512 | cat >>conftest.$ac_ext <<_ACEOF | 20592 | cat >>conftest.$ac_ext <<_ACEOF |
| 20513 | /* end confdefs.h. */ | 20593 | /* end confdefs.h. */ |
| 20514 | 20594 | ||
| 20515 | /* Override any gcc2 internal prototype to avoid an error. */ | 20595 | /* Override any GCC internal prototype to avoid an error. |
| 20596 | Use char because int might match the return type of a GCC | ||
| 20597 | builtin and then its argument prototype would still apply. */ | ||
| 20516 | #ifdef __cplusplus | 20598 | #ifdef __cplusplus |
| 20517 | extern "C" | 20599 | extern "C" |
| 20518 | #endif | 20600 | #endif |
| 20519 | /* We use char because int might match the return type of a gcc2 | ||
| 20520 | builtin and then its argument prototype would still apply. */ | ||
| 20521 | char dgettext (); | 20601 | char dgettext (); |
| 20522 | int | 20602 | int |
| 20523 | main () | 20603 | main () |
| 20524 | { | 20604 | { |
| 20525 | dgettext (); | 20605 | return dgettext (); |
| 20526 | ; | 20606 | ; |
| 20527 | return 0; | 20607 | return 0; |
| 20528 | } | 20608 | } |
| 20529 | _ACEOF | 20609 | _ACEOF |
| 20530 | rm -f conftest.$ac_objext conftest$ac_exeext | 20610 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 20531 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 20611 | if { (ac_try="$ac_link" |
| 20532 | (eval $ac_link) 2>conftest.er1 | 20612 | case "(($ac_try" in |
| 20613 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20614 | *) ac_try_echo=$ac_try;; | ||
| 20615 | esac | ||
| 20616 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 20617 | (eval "$ac_link") 2>conftest.er1 | ||
| 20533 | ac_status=$? | 20618 | ac_status=$? |
| 20534 | grep -v '^ *+' conftest.er1 >conftest.err | 20619 | grep -v '^ *+' conftest.er1 >conftest.err |
| 20535 | rm -f conftest.er1 | 20620 | rm -f conftest.er1 |
| 20536 | cat conftest.err >&5 | 20621 | cat conftest.err >&5 |
| 20537 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20622 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20538 | (exit $ac_status); } && | 20623 | (exit $ac_status); } && { |
| 20539 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 20624 | test -z "$ac_c_werror_flag" || |
| 20540 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20625 | test ! -s conftest.err |
| 20541 | (eval $ac_try) 2>&5 | 20626 | } && test -s conftest$ac_exeext && |
| 20542 | ac_status=$? | 20627 | $as_test_x conftest$ac_exeext; then |
| 20543 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20544 | (exit $ac_status); }; } && | ||
| 20545 | { ac_try='test -s conftest$ac_exeext' | ||
| 20546 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 20547 | (eval $ac_try) 2>&5 | ||
| 20548 | ac_status=$? | ||
| 20549 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20550 | (exit $ac_status); }; }; then | ||
| 20551 | ac_cv_lib_intl_dgettext=yes | 20628 | ac_cv_lib_intl_dgettext=yes |
| 20552 | else | 20629 | else |
| 20553 | echo "$as_me: failed program was:" >&5 | 20630 | echo "$as_me: failed program was:" >&5 |
| 20554 | sed 's/^/| /' conftest.$ac_ext >&5 | 20631 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 20555 | 20632 | ||
| 20556 | ac_cv_lib_intl_dgettext=no | 20633 | ac_cv_lib_intl_dgettext=no |
| 20557 | fi | 20634 | fi |
| 20558 | rm -f conftest.err conftest.$ac_objext \ | 20635 | |
| 20636 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 20559 | conftest$ac_exeext conftest.$ac_ext | 20637 | conftest$ac_exeext conftest.$ac_ext |
| 20560 | LIBS=$ac_check_lib_save_LIBS | 20638 | LIBS=$ac_check_lib_save_LIBS |
| 20561 | fi | 20639 | fi |
| 20562 | echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 | 20640 | { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 |
| 20563 | echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 | 20641 | echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; } |
| 20564 | if test $ac_cv_lib_intl_dgettext = yes; then | 20642 | if test $ac_cv_lib_intl_dgettext = yes; then |
| 20565 | cat >>confdefs.h <<_ACEOF | 20643 | cat >>confdefs.h <<_ACEOF |
| 20566 | #define HAVE_LIBINTL 1 | 20644 | #define HAVE_LIBINTL 1 |
| @@ -20571,8 +20649,8 @@ _ACEOF | |||
| 20571 | fi | 20649 | fi |
| 20572 | 20650 | ||
| 20573 | 20651 | ||
| 20574 | echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 | 20652 | { echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 |
| 20575 | echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 | 20653 | echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6; } |
| 20576 | if test "${emacs_cv_localtime_cache+set}" = set; then | 20654 | if test "${emacs_cv_localtime_cache+set}" = set; then |
| 20577 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20655 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 20578 | else | 20656 | else |
| @@ -20618,13 +20696,22 @@ main() | |||
| 20618 | } | 20696 | } |
| 20619 | _ACEOF | 20697 | _ACEOF |
| 20620 | rm -f conftest$ac_exeext | 20698 | rm -f conftest$ac_exeext |
| 20621 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 20699 | if { (ac_try="$ac_link" |
| 20622 | (eval $ac_link) 2>&5 | 20700 | case "(($ac_try" in |
| 20701 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20702 | *) ac_try_echo=$ac_try;; | ||
| 20703 | esac | ||
| 20704 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 20705 | (eval "$ac_link") 2>&5 | ||
| 20623 | ac_status=$? | 20706 | ac_status=$? |
| 20624 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20707 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20625 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 20708 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 20626 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20709 | { (case "(($ac_try" in |
| 20627 | (eval $ac_try) 2>&5 | 20710 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 20711 | *) ac_try_echo=$ac_try;; | ||
| 20712 | esac | ||
| 20713 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 20714 | (eval "$ac_try") 2>&5 | ||
| 20628 | ac_status=$? | 20715 | ac_status=$? |
| 20629 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20716 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20630 | (exit $ac_status); }; }; then | 20717 | (exit $ac_status); }; }; then |
| @@ -20637,16 +20724,18 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 20637 | ( exit $ac_status ) | 20724 | ( exit $ac_status ) |
| 20638 | emacs_cv_localtime_cache=yes | 20725 | emacs_cv_localtime_cache=yes |
| 20639 | fi | 20726 | fi |
| 20640 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 20727 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 20641 | fi | 20728 | fi |
| 20729 | |||
| 20730 | |||
| 20642 | else | 20731 | else |
| 20643 | # If we lack tzset, report that localtime does not cache TZ, | 20732 | # If we lack tzset, report that localtime does not cache TZ, |
| 20644 | # since we can't invalidate the cache if we don't have tzset. | 20733 | # since we can't invalidate the cache if we don't have tzset. |
| 20645 | emacs_cv_localtime_cache=no | 20734 | emacs_cv_localtime_cache=no |
| 20646 | fi | 20735 | fi |
| 20647 | fi | 20736 | fi |
| 20648 | echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 | 20737 | { echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 |
| 20649 | echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 | 20738 | echo "${ECHO_T}$emacs_cv_localtime_cache" >&6; } |
| 20650 | if test $emacs_cv_localtime_cache = yes; then | 20739 | if test $emacs_cv_localtime_cache = yes; then |
| 20651 | 20740 | ||
| 20652 | cat >>confdefs.h <<\_ACEOF | 20741 | cat >>confdefs.h <<\_ACEOF |
| @@ -20660,9 +20749,9 @@ if test "x$HAVE_TIMEVAL" = xyes; then | |||
| 20660 | for ac_func in gettimeofday | 20749 | for ac_func in gettimeofday |
| 20661 | do | 20750 | do |
| 20662 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 20751 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 20663 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 20752 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 20664 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 20753 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 20665 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 20754 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 20666 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20755 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 20667 | else | 20756 | else |
| 20668 | cat >conftest.$ac_ext <<_ACEOF | 20757 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -20688,67 +20777,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 20688 | 20777 | ||
| 20689 | #undef $ac_func | 20778 | #undef $ac_func |
| 20690 | 20779 | ||
| 20691 | /* Override any gcc2 internal prototype to avoid an error. */ | 20780 | /* Override any GCC internal prototype to avoid an error. |
| 20781 | Use char because int might match the return type of a GCC | ||
| 20782 | builtin and then its argument prototype would still apply. */ | ||
| 20692 | #ifdef __cplusplus | 20783 | #ifdef __cplusplus |
| 20693 | extern "C" | 20784 | extern "C" |
| 20694 | { | ||
| 20695 | #endif | 20785 | #endif |
| 20696 | /* We use char because int might match the return type of a gcc2 | ||
| 20697 | builtin and then its argument prototype would still apply. */ | ||
| 20698 | char $ac_func (); | 20786 | char $ac_func (); |
| 20699 | /* The GNU C library defines this for functions which it implements | 20787 | /* The GNU C library defines this for functions which it implements |
| 20700 | to always fail with ENOSYS. Some functions are actually named | 20788 | to always fail with ENOSYS. Some functions are actually named |
| 20701 | something starting with __ and the normal name is an alias. */ | 20789 | something starting with __ and the normal name is an alias. */ |
| 20702 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 20790 | #if defined __stub_$ac_func || defined __stub___$ac_func |
| 20703 | choke me | 20791 | choke me |
| 20704 | #else | ||
| 20705 | char (*f) () = $ac_func; | ||
| 20706 | #endif | ||
| 20707 | #ifdef __cplusplus | ||
| 20708 | } | ||
| 20709 | #endif | 20792 | #endif |
| 20710 | 20793 | ||
| 20711 | int | 20794 | int |
| 20712 | main () | 20795 | main () |
| 20713 | { | 20796 | { |
| 20714 | return f != $ac_func; | 20797 | return $ac_func (); |
| 20715 | ; | 20798 | ; |
| 20716 | return 0; | 20799 | return 0; |
| 20717 | } | 20800 | } |
| 20718 | _ACEOF | 20801 | _ACEOF |
| 20719 | rm -f conftest.$ac_objext conftest$ac_exeext | 20802 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 20720 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 20803 | if { (ac_try="$ac_link" |
| 20721 | (eval $ac_link) 2>conftest.er1 | 20804 | case "(($ac_try" in |
| 20805 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20806 | *) ac_try_echo=$ac_try;; | ||
| 20807 | esac | ||
| 20808 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 20809 | (eval "$ac_link") 2>conftest.er1 | ||
| 20722 | ac_status=$? | 20810 | ac_status=$? |
| 20723 | grep -v '^ *+' conftest.er1 >conftest.err | 20811 | grep -v '^ *+' conftest.er1 >conftest.err |
| 20724 | rm -f conftest.er1 | 20812 | rm -f conftest.er1 |
| 20725 | cat conftest.err >&5 | 20813 | cat conftest.err >&5 |
| 20726 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20814 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20727 | (exit $ac_status); } && | 20815 | (exit $ac_status); } && { |
| 20728 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 20816 | test -z "$ac_c_werror_flag" || |
| 20729 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20817 | test ! -s conftest.err |
| 20730 | (eval $ac_try) 2>&5 | 20818 | } && test -s conftest$ac_exeext && |
| 20731 | ac_status=$? | 20819 | $as_test_x conftest$ac_exeext; then |
| 20732 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20733 | (exit $ac_status); }; } && | ||
| 20734 | { ac_try='test -s conftest$ac_exeext' | ||
| 20735 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 20736 | (eval $ac_try) 2>&5 | ||
| 20737 | ac_status=$? | ||
| 20738 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20739 | (exit $ac_status); }; }; then | ||
| 20740 | eval "$as_ac_var=yes" | 20820 | eval "$as_ac_var=yes" |
| 20741 | else | 20821 | else |
| 20742 | echo "$as_me: failed program was:" >&5 | 20822 | echo "$as_me: failed program was:" >&5 |
| 20743 | sed 's/^/| /' conftest.$ac_ext >&5 | 20823 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 20744 | 20824 | ||
| 20745 | eval "$as_ac_var=no" | 20825 | eval "$as_ac_var=no" |
| 20746 | fi | 20826 | fi |
| 20747 | rm -f conftest.err conftest.$ac_objext \ | 20827 | |
| 20828 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 20748 | conftest$ac_exeext conftest.$ac_ext | 20829 | conftest$ac_exeext conftest.$ac_ext |
| 20749 | fi | 20830 | fi |
| 20750 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 20831 | ac_res=`eval echo '${'$as_ac_var'}'` |
| 20751 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 20832 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 20833 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 20752 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 20834 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 20753 | cat >>confdefs.h <<_ACEOF | 20835 | cat >>confdefs.h <<_ACEOF |
| 20754 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 20836 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| @@ -20758,8 +20840,8 @@ fi | |||
| 20758 | done | 20840 | done |
| 20759 | 20841 | ||
| 20760 | if test $ac_cv_func_gettimeofday = yes; then | 20842 | if test $ac_cv_func_gettimeofday = yes; then |
| 20761 | echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 | 20843 | { echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 |
| 20762 | echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 | 20844 | echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6; } |
| 20763 | if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then | 20845 | if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then |
| 20764 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20846 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 20765 | else | 20847 | else |
| @@ -20790,37 +20872,34 @@ struct timeval time; | |||
| 20790 | } | 20872 | } |
| 20791 | _ACEOF | 20873 | _ACEOF |
| 20792 | rm -f conftest.$ac_objext | 20874 | rm -f conftest.$ac_objext |
| 20793 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20875 | if { (ac_try="$ac_compile" |
| 20794 | (eval $ac_compile) 2>conftest.er1 | 20876 | case "(($ac_try" in |
| 20877 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20878 | *) ac_try_echo=$ac_try;; | ||
| 20879 | esac | ||
| 20880 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 20881 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20795 | ac_status=$? | 20882 | ac_status=$? |
| 20796 | grep -v '^ *+' conftest.er1 >conftest.err | 20883 | grep -v '^ *+' conftest.er1 >conftest.err |
| 20797 | rm -f conftest.er1 | 20884 | rm -f conftest.er1 |
| 20798 | cat conftest.err >&5 | 20885 | cat conftest.err >&5 |
| 20799 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20886 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20800 | (exit $ac_status); } && | 20887 | (exit $ac_status); } && { |
| 20801 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 20888 | test -z "$ac_c_werror_flag" || |
| 20802 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20889 | test ! -s conftest.err |
| 20803 | (eval $ac_try) 2>&5 | 20890 | } && test -s conftest.$ac_objext; then |
| 20804 | ac_status=$? | ||
| 20805 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20806 | (exit $ac_status); }; } && | ||
| 20807 | { ac_try='test -s conftest.$ac_objext' | ||
| 20808 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 20809 | (eval $ac_try) 2>&5 | ||
| 20810 | ac_status=$? | ||
| 20811 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20812 | (exit $ac_status); }; }; then | ||
| 20813 | emacs_cv_gettimeofday_two_arguments=yes | 20891 | emacs_cv_gettimeofday_two_arguments=yes |
| 20814 | else | 20892 | else |
| 20815 | echo "$as_me: failed program was:" >&5 | 20893 | echo "$as_me: failed program was:" >&5 |
| 20816 | sed 's/^/| /' conftest.$ac_ext >&5 | 20894 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 20817 | 20895 | ||
| 20818 | emacs_cv_gettimeofday_two_arguments=no | 20896 | emacs_cv_gettimeofday_two_arguments=no |
| 20819 | fi | 20897 | fi |
| 20820 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20898 | |
| 20899 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20821 | fi | 20900 | fi |
| 20822 | echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 | 20901 | { echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 |
| 20823 | echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 | 20902 | echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6; } |
| 20824 | if test $emacs_cv_gettimeofday_two_arguments = no; then | 20903 | if test $emacs_cv_gettimeofday_two_arguments = no; then |
| 20825 | 20904 | ||
| 20826 | cat >>confdefs.h <<\_ACEOF | 20905 | cat >>confdefs.h <<\_ACEOF |
| @@ -20832,8 +20911,8 @@ _ACEOF | |||
| 20832 | fi | 20911 | fi |
| 20833 | 20912 | ||
| 20834 | # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE. | 20913 | # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE. |
| 20835 | echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 | 20914 | { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 |
| 20836 | echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 | 20915 | echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; } |
| 20837 | if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then | 20916 | if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then |
| 20838 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 20917 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 20839 | else | 20918 | else |
| @@ -20858,32 +20937,28 @@ return 0; | |||
| 20858 | } | 20937 | } |
| 20859 | _ACEOF | 20938 | _ACEOF |
| 20860 | rm -f conftest.$ac_objext | 20939 | rm -f conftest.$ac_objext |
| 20861 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20940 | if { (ac_try="$ac_compile" |
| 20862 | (eval $ac_compile) 2>conftest.er1 | 20941 | case "(($ac_try" in |
| 20942 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20943 | *) ac_try_echo=$ac_try;; | ||
| 20944 | esac | ||
| 20945 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 20946 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20863 | ac_status=$? | 20947 | ac_status=$? |
| 20864 | grep -v '^ *+' conftest.er1 >conftest.err | 20948 | grep -v '^ *+' conftest.er1 >conftest.err |
| 20865 | rm -f conftest.er1 | 20949 | rm -f conftest.er1 |
| 20866 | cat conftest.err >&5 | 20950 | cat conftest.err >&5 |
| 20867 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20951 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20868 | (exit $ac_status); } && | 20952 | (exit $ac_status); } && { |
| 20869 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 20953 | test -z "$ac_c_werror_flag" || |
| 20870 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20954 | test ! -s conftest.err |
| 20871 | (eval $ac_try) 2>&5 | 20955 | } && test -s conftest.$ac_objext; then |
| 20872 | ac_status=$? | ||
| 20873 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20874 | (exit $ac_status); }; } && | ||
| 20875 | { ac_try='test -s conftest.$ac_objext' | ||
| 20876 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 20877 | (eval $ac_try) 2>&5 | ||
| 20878 | ac_status=$? | ||
| 20879 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20880 | (exit $ac_status); }; }; then | ||
| 20881 | ac_cv_member_struct_tm_tm_zone=yes | 20956 | ac_cv_member_struct_tm_tm_zone=yes |
| 20882 | else | 20957 | else |
| 20883 | echo "$as_me: failed program was:" >&5 | 20958 | echo "$as_me: failed program was:" >&5 |
| 20884 | sed 's/^/| /' conftest.$ac_ext >&5 | 20959 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 20885 | 20960 | ||
| 20886 | cat >conftest.$ac_ext <<_ACEOF | 20961 | cat >conftest.$ac_ext <<_ACEOF |
| 20887 | /* confdefs.h. */ | 20962 | /* confdefs.h. */ |
| 20888 | _ACEOF | 20963 | _ACEOF |
| 20889 | cat confdefs.h >>conftest.$ac_ext | 20964 | cat confdefs.h >>conftest.$ac_ext |
| @@ -20904,39 +20979,37 @@ return 0; | |||
| 20904 | } | 20979 | } |
| 20905 | _ACEOF | 20980 | _ACEOF |
| 20906 | rm -f conftest.$ac_objext | 20981 | rm -f conftest.$ac_objext |
| 20907 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20982 | if { (ac_try="$ac_compile" |
| 20908 | (eval $ac_compile) 2>conftest.er1 | 20983 | case "(($ac_try" in |
| 20984 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 20985 | *) ac_try_echo=$ac_try;; | ||
| 20986 | esac | ||
| 20987 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 20988 | (eval "$ac_compile") 2>conftest.er1 | ||
| 20909 | ac_status=$? | 20989 | ac_status=$? |
| 20910 | grep -v '^ *+' conftest.er1 >conftest.err | 20990 | grep -v '^ *+' conftest.er1 >conftest.err |
| 20911 | rm -f conftest.er1 | 20991 | rm -f conftest.er1 |
| 20912 | cat conftest.err >&5 | 20992 | cat conftest.err >&5 |
| 20913 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20993 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20914 | (exit $ac_status); } && | 20994 | (exit $ac_status); } && { |
| 20915 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 20995 | test -z "$ac_c_werror_flag" || |
| 20916 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20996 | test ! -s conftest.err |
| 20917 | (eval $ac_try) 2>&5 | 20997 | } && test -s conftest.$ac_objext; then |
| 20918 | ac_status=$? | ||
| 20919 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20920 | (exit $ac_status); }; } && | ||
| 20921 | { ac_try='test -s conftest.$ac_objext' | ||
| 20922 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 20923 | (eval $ac_try) 2>&5 | ||
| 20924 | ac_status=$? | ||
| 20925 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20926 | (exit $ac_status); }; }; then | ||
| 20927 | ac_cv_member_struct_tm_tm_zone=yes | 20998 | ac_cv_member_struct_tm_tm_zone=yes |
| 20928 | else | 20999 | else |
| 20929 | echo "$as_me: failed program was:" >&5 | 21000 | echo "$as_me: failed program was:" >&5 |
| 20930 | sed 's/^/| /' conftest.$ac_ext >&5 | 21001 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 20931 | 21002 | ||
| 20932 | ac_cv_member_struct_tm_tm_zone=no | 21003 | ac_cv_member_struct_tm_tm_zone=no |
| 20933 | fi | 21004 | fi |
| 20934 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21005 | |
| 21006 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20935 | fi | 21007 | fi |
| 20936 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21008 | |
| 21009 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 20937 | fi | 21010 | fi |
| 20938 | echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 | 21011 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 |
| 20939 | echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 | 21012 | echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; } |
| 20940 | if test $ac_cv_member_struct_tm_tm_zone = yes; then | 21013 | if test $ac_cv_member_struct_tm_tm_zone = yes; then |
| 20941 | 21014 | ||
| 20942 | cat >>confdefs.h <<_ACEOF | 21015 | cat >>confdefs.h <<_ACEOF |
| @@ -20953,8 +21026,77 @@ cat >>confdefs.h <<\_ACEOF | |||
| 20953 | _ACEOF | 21026 | _ACEOF |
| 20954 | 21027 | ||
| 20955 | else | 21028 | else |
| 20956 | echo "$as_me:$LINENO: checking for tzname" >&5 | 21029 | { echo "$as_me:$LINENO: checking whether tzname is declared" >&5 |
| 20957 | echo $ECHO_N "checking for tzname... $ECHO_C" >&6 | 21030 | echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; } |
| 21031 | if test "${ac_cv_have_decl_tzname+set}" = set; then | ||
| 21032 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 21033 | else | ||
| 21034 | cat >conftest.$ac_ext <<_ACEOF | ||
| 21035 | /* confdefs.h. */ | ||
| 21036 | _ACEOF | ||
| 21037 | cat confdefs.h >>conftest.$ac_ext | ||
| 21038 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 21039 | /* end confdefs.h. */ | ||
| 21040 | #include <time.h> | ||
| 21041 | |||
| 21042 | int | ||
| 21043 | main () | ||
| 21044 | { | ||
| 21045 | #ifndef tzname | ||
| 21046 | (void) tzname; | ||
| 21047 | #endif | ||
| 21048 | |||
| 21049 | ; | ||
| 21050 | return 0; | ||
| 21051 | } | ||
| 21052 | _ACEOF | ||
| 21053 | rm -f conftest.$ac_objext | ||
| 21054 | if { (ac_try="$ac_compile" | ||
| 21055 | case "(($ac_try" in | ||
| 21056 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21057 | *) ac_try_echo=$ac_try;; | ||
| 21058 | esac | ||
| 21059 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 21060 | (eval "$ac_compile") 2>conftest.er1 | ||
| 21061 | ac_status=$? | ||
| 21062 | grep -v '^ *+' conftest.er1 >conftest.err | ||
| 21063 | rm -f conftest.er1 | ||
| 21064 | cat conftest.err >&5 | ||
| 21065 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21066 | (exit $ac_status); } && { | ||
| 21067 | test -z "$ac_c_werror_flag" || | ||
| 21068 | test ! -s conftest.err | ||
| 21069 | } && test -s conftest.$ac_objext; then | ||
| 21070 | ac_cv_have_decl_tzname=yes | ||
| 21071 | else | ||
| 21072 | echo "$as_me: failed program was:" >&5 | ||
| 21073 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 21074 | |||
| 21075 | ac_cv_have_decl_tzname=no | ||
| 21076 | fi | ||
| 21077 | |||
| 21078 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 21079 | fi | ||
| 21080 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5 | ||
| 21081 | echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; } | ||
| 21082 | if test $ac_cv_have_decl_tzname = yes; then | ||
| 21083 | |||
| 21084 | cat >>confdefs.h <<_ACEOF | ||
| 21085 | #define HAVE_DECL_TZNAME 1 | ||
| 21086 | _ACEOF | ||
| 21087 | |||
| 21088 | |||
| 21089 | else | ||
| 21090 | cat >>confdefs.h <<_ACEOF | ||
| 21091 | #define HAVE_DECL_TZNAME 0 | ||
| 21092 | _ACEOF | ||
| 21093 | |||
| 21094 | |||
| 21095 | fi | ||
| 21096 | |||
| 21097 | |||
| 21098 | { echo "$as_me:$LINENO: checking for tzname" >&5 | ||
| 21099 | echo $ECHO_N "checking for tzname... $ECHO_C" >&6; } | ||
| 20958 | if test "${ac_cv_var_tzname+set}" = set; then | 21100 | if test "${ac_cv_var_tzname+set}" = set; then |
| 20959 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21101 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 20960 | else | 21102 | else |
| @@ -20965,51 +21107,49 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 20965 | cat >>conftest.$ac_ext <<_ACEOF | 21107 | cat >>conftest.$ac_ext <<_ACEOF |
| 20966 | /* end confdefs.h. */ | 21108 | /* end confdefs.h. */ |
| 20967 | #include <time.h> | 21109 | #include <time.h> |
| 20968 | #ifndef tzname /* For SGI. */ | 21110 | #if !HAVE_DECL_TZNAME |
| 20969 | extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 21111 | extern char *tzname[]; |
| 20970 | #endif | 21112 | #endif |
| 20971 | 21113 | ||
| 20972 | int | 21114 | int |
| 20973 | main () | 21115 | main () |
| 20974 | { | 21116 | { |
| 20975 | atoi(*tzname); | 21117 | return tzname[0][0]; |
| 20976 | ; | 21118 | ; |
| 20977 | return 0; | 21119 | return 0; |
| 20978 | } | 21120 | } |
| 20979 | _ACEOF | 21121 | _ACEOF |
| 20980 | rm -f conftest.$ac_objext conftest$ac_exeext | 21122 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 20981 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 21123 | if { (ac_try="$ac_link" |
| 20982 | (eval $ac_link) 2>conftest.er1 | 21124 | case "(($ac_try" in |
| 21125 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21126 | *) ac_try_echo=$ac_try;; | ||
| 21127 | esac | ||
| 21128 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 21129 | (eval "$ac_link") 2>conftest.er1 | ||
| 20983 | ac_status=$? | 21130 | ac_status=$? |
| 20984 | grep -v '^ *+' conftest.er1 >conftest.err | 21131 | grep -v '^ *+' conftest.er1 >conftest.err |
| 20985 | rm -f conftest.er1 | 21132 | rm -f conftest.er1 |
| 20986 | cat conftest.err >&5 | 21133 | cat conftest.err >&5 |
| 20987 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21134 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 20988 | (exit $ac_status); } && | 21135 | (exit $ac_status); } && { |
| 20989 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 21136 | test -z "$ac_c_werror_flag" || |
| 20990 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21137 | test ! -s conftest.err |
| 20991 | (eval $ac_try) 2>&5 | 21138 | } && test -s conftest$ac_exeext && |
| 20992 | ac_status=$? | 21139 | $as_test_x conftest$ac_exeext; then |
| 20993 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 20994 | (exit $ac_status); }; } && | ||
| 20995 | { ac_try='test -s conftest$ac_exeext' | ||
| 20996 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 20997 | (eval $ac_try) 2>&5 | ||
| 20998 | ac_status=$? | ||
| 20999 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21000 | (exit $ac_status); }; }; then | ||
| 21001 | ac_cv_var_tzname=yes | 21140 | ac_cv_var_tzname=yes |
| 21002 | else | 21141 | else |
| 21003 | echo "$as_me: failed program was:" >&5 | 21142 | echo "$as_me: failed program was:" >&5 |
| 21004 | sed 's/^/| /' conftest.$ac_ext >&5 | 21143 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 21005 | 21144 | ||
| 21006 | ac_cv_var_tzname=no | 21145 | ac_cv_var_tzname=no |
| 21007 | fi | 21146 | fi |
| 21008 | rm -f conftest.err conftest.$ac_objext \ | 21147 | |
| 21148 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21009 | conftest$ac_exeext conftest.$ac_ext | 21149 | conftest$ac_exeext conftest.$ac_ext |
| 21010 | fi | 21150 | fi |
| 21011 | echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 | 21151 | { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 |
| 21012 | echo "${ECHO_T}$ac_cv_var_tzname" >&6 | 21152 | echo "${ECHO_T}$ac_cv_var_tzname" >&6; } |
| 21013 | if test $ac_cv_var_tzname = yes; then | 21153 | if test $ac_cv_var_tzname = yes; then |
| 21014 | 21154 | ||
| 21015 | cat >>confdefs.h <<\_ACEOF | 21155 | cat >>confdefs.h <<\_ACEOF |
| @@ -21021,8 +21161,8 @@ fi | |||
| 21021 | 21161 | ||
| 21022 | 21162 | ||
| 21023 | if test "$ac_cv_func_gettimeofday" = yes; then | 21163 | if test "$ac_cv_func_gettimeofday" = yes; then |
| 21024 | echo "$as_me:$LINENO: checking for struct timezone" >&5 | 21164 | { echo "$as_me:$LINENO: checking for struct timezone" >&5 |
| 21025 | echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6 | 21165 | echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6; } |
| 21026 | if test "${emacs_cv_struct_timezone+set}" = set; then | 21166 | if test "${emacs_cv_struct_timezone+set}" = set; then |
| 21027 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21167 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 21028 | else | 21168 | else |
| @@ -21042,26 +21182,22 @@ struct timezone tz; | |||
| 21042 | } | 21182 | } |
| 21043 | _ACEOF | 21183 | _ACEOF |
| 21044 | rm -f conftest.$ac_objext | 21184 | rm -f conftest.$ac_objext |
| 21045 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21185 | if { (ac_try="$ac_compile" |
| 21046 | (eval $ac_compile) 2>conftest.er1 | 21186 | case "(($ac_try" in |
| 21187 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21188 | *) ac_try_echo=$ac_try;; | ||
| 21189 | esac | ||
| 21190 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 21191 | (eval "$ac_compile") 2>conftest.er1 | ||
| 21047 | ac_status=$? | 21192 | ac_status=$? |
| 21048 | grep -v '^ *+' conftest.er1 >conftest.err | 21193 | grep -v '^ *+' conftest.er1 >conftest.err |
| 21049 | rm -f conftest.er1 | 21194 | rm -f conftest.er1 |
| 21050 | cat conftest.err >&5 | 21195 | cat conftest.err >&5 |
| 21051 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21196 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21052 | (exit $ac_status); } && | 21197 | (exit $ac_status); } && { |
| 21053 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 21198 | test -z "$ac_c_werror_flag" || |
| 21054 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21199 | test ! -s conftest.err |
| 21055 | (eval $ac_try) 2>&5 | 21200 | } && test -s conftest.$ac_objext; then |
| 21056 | ac_status=$? | ||
| 21057 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21058 | (exit $ac_status); }; } && | ||
| 21059 | { ac_try='test -s conftest.$ac_objext' | ||
| 21060 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 21061 | (eval $ac_try) 2>&5 | ||
| 21062 | ac_status=$? | ||
| 21063 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21064 | (exit $ac_status); }; }; then | ||
| 21065 | if test "$cross_compiling" = yes; then | 21201 | if test "$cross_compiling" = yes; then |
| 21066 | emacs_cv_struct_timezone=yes | 21202 | emacs_cv_struct_timezone=yes |
| 21067 | else | 21203 | else |
| @@ -21089,13 +21225,22 @@ main () { | |||
| 21089 | } | 21225 | } |
| 21090 | _ACEOF | 21226 | _ACEOF |
| 21091 | rm -f conftest$ac_exeext | 21227 | rm -f conftest$ac_exeext |
| 21092 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 21228 | if { (ac_try="$ac_link" |
| 21093 | (eval $ac_link) 2>&5 | 21229 | case "(($ac_try" in |
| 21230 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21231 | *) ac_try_echo=$ac_try;; | ||
| 21232 | esac | ||
| 21233 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 21234 | (eval "$ac_link") 2>&5 | ||
| 21094 | ac_status=$? | 21235 | ac_status=$? |
| 21095 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21236 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21096 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 21237 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 21097 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21238 | { (case "(($ac_try" in |
| 21098 | (eval $ac_try) 2>&5 | 21239 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 21240 | *) ac_try_echo=$ac_try;; | ||
| 21241 | esac | ||
| 21242 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 21243 | (eval "$ac_try") 2>&5 | ||
| 21099 | ac_status=$? | 21244 | ac_status=$? |
| 21100 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21245 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21101 | (exit $ac_status); }; }; then | 21246 | (exit $ac_status); }; }; then |
| @@ -21108,23 +21253,26 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 21108 | ( exit $ac_status ) | 21253 | ( exit $ac_status ) |
| 21109 | emacs_cv_struct_timezone=no | 21254 | emacs_cv_struct_timezone=no |
| 21110 | fi | 21255 | fi |
| 21111 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 21256 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 21112 | fi | 21257 | fi |
| 21258 | |||
| 21259 | |||
| 21113 | else | 21260 | else |
| 21114 | echo "$as_me: failed program was:" >&5 | 21261 | echo "$as_me: failed program was:" >&5 |
| 21115 | sed 's/^/| /' conftest.$ac_ext >&5 | 21262 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 21116 | 21263 | ||
| 21117 | emacs_cv_struct_timezone=no | 21264 | emacs_cv_struct_timezone=no |
| 21118 | fi | 21265 | fi |
| 21119 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21266 | |
| 21267 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 21120 | fi | 21268 | fi |
| 21121 | echo "$as_me:$LINENO: result: $emacs_cv_struct_timezone" >&5 | 21269 | { echo "$as_me:$LINENO: result: $emacs_cv_struct_timezone" >&5 |
| 21122 | echo "${ECHO_T}$emacs_cv_struct_timezone" >&6 | 21270 | echo "${ECHO_T}$emacs_cv_struct_timezone" >&6; } |
| 21123 | fi | 21271 | fi |
| 21124 | 21272 | ||
| 21125 | ok_so_far=yes | 21273 | ok_so_far=yes |
| 21126 | echo "$as_me:$LINENO: checking for socket" >&5 | 21274 | { echo "$as_me:$LINENO: checking for socket" >&5 |
| 21127 | echo $ECHO_N "checking for socket... $ECHO_C" >&6 | 21275 | echo $ECHO_N "checking for socket... $ECHO_C" >&6; } |
| 21128 | if test "${ac_cv_func_socket+set}" = set; then | 21276 | if test "${ac_cv_func_socket+set}" = set; then |
| 21129 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21277 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 21130 | else | 21278 | else |
| @@ -21151,67 +21299,59 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 21151 | 21299 | ||
| 21152 | #undef socket | 21300 | #undef socket |
| 21153 | 21301 | ||
| 21154 | /* Override any gcc2 internal prototype to avoid an error. */ | 21302 | /* Override any GCC internal prototype to avoid an error. |
| 21303 | Use char because int might match the return type of a GCC | ||
| 21304 | builtin and then its argument prototype would still apply. */ | ||
| 21155 | #ifdef __cplusplus | 21305 | #ifdef __cplusplus |
| 21156 | extern "C" | 21306 | extern "C" |
| 21157 | { | ||
| 21158 | #endif | 21307 | #endif |
| 21159 | /* We use char because int might match the return type of a gcc2 | ||
| 21160 | builtin and then its argument prototype would still apply. */ | ||
| 21161 | char socket (); | 21308 | char socket (); |
| 21162 | /* The GNU C library defines this for functions which it implements | 21309 | /* The GNU C library defines this for functions which it implements |
| 21163 | to always fail with ENOSYS. Some functions are actually named | 21310 | to always fail with ENOSYS. Some functions are actually named |
| 21164 | something starting with __ and the normal name is an alias. */ | 21311 | something starting with __ and the normal name is an alias. */ |
| 21165 | #if defined (__stub_socket) || defined (__stub___socket) | 21312 | #if defined __stub_socket || defined __stub___socket |
| 21166 | choke me | 21313 | choke me |
| 21167 | #else | ||
| 21168 | char (*f) () = socket; | ||
| 21169 | #endif | ||
| 21170 | #ifdef __cplusplus | ||
| 21171 | } | ||
| 21172 | #endif | 21314 | #endif |
| 21173 | 21315 | ||
| 21174 | int | 21316 | int |
| 21175 | main () | 21317 | main () |
| 21176 | { | 21318 | { |
| 21177 | return f != socket; | 21319 | return socket (); |
| 21178 | ; | 21320 | ; |
| 21179 | return 0; | 21321 | return 0; |
| 21180 | } | 21322 | } |
| 21181 | _ACEOF | 21323 | _ACEOF |
| 21182 | rm -f conftest.$ac_objext conftest$ac_exeext | 21324 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21183 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 21325 | if { (ac_try="$ac_link" |
| 21184 | (eval $ac_link) 2>conftest.er1 | 21326 | case "(($ac_try" in |
| 21327 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21328 | *) ac_try_echo=$ac_try;; | ||
| 21329 | esac | ||
| 21330 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 21331 | (eval "$ac_link") 2>conftest.er1 | ||
| 21185 | ac_status=$? | 21332 | ac_status=$? |
| 21186 | grep -v '^ *+' conftest.er1 >conftest.err | 21333 | grep -v '^ *+' conftest.er1 >conftest.err |
| 21187 | rm -f conftest.er1 | 21334 | rm -f conftest.er1 |
| 21188 | cat conftest.err >&5 | 21335 | cat conftest.err >&5 |
| 21189 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21336 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21190 | (exit $ac_status); } && | 21337 | (exit $ac_status); } && { |
| 21191 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 21338 | test -z "$ac_c_werror_flag" || |
| 21192 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21339 | test ! -s conftest.err |
| 21193 | (eval $ac_try) 2>&5 | 21340 | } && test -s conftest$ac_exeext && |
| 21194 | ac_status=$? | 21341 | $as_test_x conftest$ac_exeext; then |
| 21195 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21196 | (exit $ac_status); }; } && | ||
| 21197 | { ac_try='test -s conftest$ac_exeext' | ||
| 21198 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 21199 | (eval $ac_try) 2>&5 | ||
| 21200 | ac_status=$? | ||
| 21201 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21202 | (exit $ac_status); }; }; then | ||
| 21203 | ac_cv_func_socket=yes | 21342 | ac_cv_func_socket=yes |
| 21204 | else | 21343 | else |
| 21205 | echo "$as_me: failed program was:" >&5 | 21344 | echo "$as_me: failed program was:" >&5 |
| 21206 | sed 's/^/| /' conftest.$ac_ext >&5 | 21345 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 21207 | 21346 | ||
| 21208 | ac_cv_func_socket=no | 21347 | ac_cv_func_socket=no |
| 21209 | fi | 21348 | fi |
| 21210 | rm -f conftest.err conftest.$ac_objext \ | 21349 | |
| 21350 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21211 | conftest$ac_exeext conftest.$ac_ext | 21351 | conftest$ac_exeext conftest.$ac_ext |
| 21212 | fi | 21352 | fi |
| 21213 | echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 | 21353 | { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 |
| 21214 | echo "${ECHO_T}$ac_cv_func_socket" >&6 | 21354 | echo "${ECHO_T}$ac_cv_func_socket" >&6; } |
| 21215 | if test $ac_cv_func_socket = yes; then | 21355 | if test $ac_cv_func_socket = yes; then |
| 21216 | : | 21356 | : |
| 21217 | else | 21357 | else |
| @@ -21220,17 +21360,17 @@ fi | |||
| 21220 | 21360 | ||
| 21221 | if test $ok_so_far = yes; then | 21361 | if test $ok_so_far = yes; then |
| 21222 | if test "${ac_cv_header_netinet_in_h+set}" = set; then | 21362 | if test "${ac_cv_header_netinet_in_h+set}" = set; then |
| 21223 | echo "$as_me:$LINENO: checking for netinet/in.h" >&5 | 21363 | { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 |
| 21224 | echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 | 21364 | echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } |
| 21225 | if test "${ac_cv_header_netinet_in_h+set}" = set; then | 21365 | if test "${ac_cv_header_netinet_in_h+set}" = set; then |
| 21226 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21366 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 21227 | fi | 21367 | fi |
| 21228 | echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 | 21368 | { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 |
| 21229 | echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 | 21369 | echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } |
| 21230 | else | 21370 | else |
| 21231 | # Is the header compilable? | 21371 | # Is the header compilable? |
| 21232 | echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 | 21372 | { echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 |
| 21233 | echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6 | 21373 | echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; } |
| 21234 | cat >conftest.$ac_ext <<_ACEOF | 21374 | cat >conftest.$ac_ext <<_ACEOF |
| 21235 | /* confdefs.h. */ | 21375 | /* confdefs.h. */ |
| 21236 | _ACEOF | 21376 | _ACEOF |
| @@ -21241,40 +21381,37 @@ $ac_includes_default | |||
| 21241 | #include <netinet/in.h> | 21381 | #include <netinet/in.h> |
| 21242 | _ACEOF | 21382 | _ACEOF |
| 21243 | rm -f conftest.$ac_objext | 21383 | rm -f conftest.$ac_objext |
| 21244 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21384 | if { (ac_try="$ac_compile" |
| 21245 | (eval $ac_compile) 2>conftest.er1 | 21385 | case "(($ac_try" in |
| 21386 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21387 | *) ac_try_echo=$ac_try;; | ||
| 21388 | esac | ||
| 21389 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 21390 | (eval "$ac_compile") 2>conftest.er1 | ||
| 21246 | ac_status=$? | 21391 | ac_status=$? |
| 21247 | grep -v '^ *+' conftest.er1 >conftest.err | 21392 | grep -v '^ *+' conftest.er1 >conftest.err |
| 21248 | rm -f conftest.er1 | 21393 | rm -f conftest.er1 |
| 21249 | cat conftest.err >&5 | 21394 | cat conftest.err >&5 |
| 21250 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21395 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21251 | (exit $ac_status); } && | 21396 | (exit $ac_status); } && { |
| 21252 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 21397 | test -z "$ac_c_werror_flag" || |
| 21253 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21398 | test ! -s conftest.err |
| 21254 | (eval $ac_try) 2>&5 | 21399 | } && test -s conftest.$ac_objext; then |
| 21255 | ac_status=$? | ||
| 21256 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21257 | (exit $ac_status); }; } && | ||
| 21258 | { ac_try='test -s conftest.$ac_objext' | ||
| 21259 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 21260 | (eval $ac_try) 2>&5 | ||
| 21261 | ac_status=$? | ||
| 21262 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21263 | (exit $ac_status); }; }; then | ||
| 21264 | ac_header_compiler=yes | 21400 | ac_header_compiler=yes |
| 21265 | else | 21401 | else |
| 21266 | echo "$as_me: failed program was:" >&5 | 21402 | echo "$as_me: failed program was:" >&5 |
| 21267 | sed 's/^/| /' conftest.$ac_ext >&5 | 21403 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 21268 | 21404 | ||
| 21269 | ac_header_compiler=no | 21405 | ac_header_compiler=no |
| 21270 | fi | 21406 | fi |
| 21271 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21407 | |
| 21272 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 21408 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 21273 | echo "${ECHO_T}$ac_header_compiler" >&6 | 21409 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 21410 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 21274 | 21411 | ||
| 21275 | # Is the header present? | 21412 | # Is the header present? |
| 21276 | echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 | 21413 | { echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 |
| 21277 | echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6 | 21414 | echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; } |
| 21278 | cat >conftest.$ac_ext <<_ACEOF | 21415 | cat >conftest.$ac_ext <<_ACEOF |
| 21279 | /* confdefs.h. */ | 21416 | /* confdefs.h. */ |
| 21280 | _ACEOF | 21417 | _ACEOF |
| @@ -21283,24 +21420,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 21283 | /* end confdefs.h. */ | 21420 | /* end confdefs.h. */ |
| 21284 | #include <netinet/in.h> | 21421 | #include <netinet/in.h> |
| 21285 | _ACEOF | 21422 | _ACEOF |
| 21286 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 21423 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 21287 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 21424 | case "(($ac_try" in |
| 21425 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21426 | *) ac_try_echo=$ac_try;; | ||
| 21427 | esac | ||
| 21428 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 21429 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 21288 | ac_status=$? | 21430 | ac_status=$? |
| 21289 | grep -v '^ *+' conftest.er1 >conftest.err | 21431 | grep -v '^ *+' conftest.er1 >conftest.err |
| 21290 | rm -f conftest.er1 | 21432 | rm -f conftest.er1 |
| 21291 | cat conftest.err >&5 | 21433 | cat conftest.err >&5 |
| 21292 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21434 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21293 | (exit $ac_status); } >/dev/null; then | 21435 | (exit $ac_status); } >/dev/null && { |
| 21294 | if test -s conftest.err; then | 21436 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 21295 | ac_cpp_err=$ac_c_preproc_warn_flag | 21437 | test ! -s conftest.err |
| 21296 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 21438 | }; then |
| 21297 | else | ||
| 21298 | ac_cpp_err= | ||
| 21299 | fi | ||
| 21300 | else | ||
| 21301 | ac_cpp_err=yes | ||
| 21302 | fi | ||
| 21303 | if test -z "$ac_cpp_err"; then | ||
| 21304 | ac_header_preproc=yes | 21439 | ac_header_preproc=yes |
| 21305 | else | 21440 | else |
| 21306 | echo "$as_me: failed program was:" >&5 | 21441 | echo "$as_me: failed program was:" >&5 |
| @@ -21308,9 +21443,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 21308 | 21443 | ||
| 21309 | ac_header_preproc=no | 21444 | ac_header_preproc=no |
| 21310 | fi | 21445 | fi |
| 21446 | |||
| 21311 | rm -f conftest.err conftest.$ac_ext | 21447 | rm -f conftest.err conftest.$ac_ext |
| 21312 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 21448 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 21313 | echo "${ECHO_T}$ac_header_preproc" >&6 | 21449 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 21314 | 21450 | ||
| 21315 | # So? What about this header? | 21451 | # So? What about this header? |
| 21316 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 21452 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -21334,25 +21470,18 @@ echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compile | |||
| 21334 | echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} | 21470 | echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} |
| 21335 | { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 | 21471 | { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 |
| 21336 | echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} | 21472 | echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} |
| 21337 | ( | 21473 | |
| 21338 | cat <<\_ASBOX | ||
| 21339 | ## ------------------------------------------ ## | ||
| 21340 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 21341 | ## ------------------------------------------ ## | ||
| 21342 | _ASBOX | ||
| 21343 | ) | | ||
| 21344 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 21345 | ;; | 21474 | ;; |
| 21346 | esac | 21475 | esac |
| 21347 | echo "$as_me:$LINENO: checking for netinet/in.h" >&5 | 21476 | { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 |
| 21348 | echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 | 21477 | echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } |
| 21349 | if test "${ac_cv_header_netinet_in_h+set}" = set; then | 21478 | if test "${ac_cv_header_netinet_in_h+set}" = set; then |
| 21350 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21479 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 21351 | else | 21480 | else |
| 21352 | ac_cv_header_netinet_in_h=$ac_header_preproc | 21481 | ac_cv_header_netinet_in_h=$ac_header_preproc |
| 21353 | fi | 21482 | fi |
| 21354 | echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 | 21483 | { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 |
| 21355 | echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 | 21484 | echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } |
| 21356 | 21485 | ||
| 21357 | fi | 21486 | fi |
| 21358 | if test $ac_cv_header_netinet_in_h = yes; then | 21487 | if test $ac_cv_header_netinet_in_h = yes; then |
| @@ -21365,17 +21494,17 @@ fi | |||
| 21365 | fi | 21494 | fi |
| 21366 | if test $ok_so_far = yes; then | 21495 | if test $ok_so_far = yes; then |
| 21367 | if test "${ac_cv_header_arpa_inet_h+set}" = set; then | 21496 | if test "${ac_cv_header_arpa_inet_h+set}" = set; then |
| 21368 | echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 | 21497 | { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 |
| 21369 | echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 | 21498 | echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } |
| 21370 | if test "${ac_cv_header_arpa_inet_h+set}" = set; then | 21499 | if test "${ac_cv_header_arpa_inet_h+set}" = set; then |
| 21371 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21500 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 21372 | fi | 21501 | fi |
| 21373 | echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 | 21502 | { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 |
| 21374 | echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 | 21503 | echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } |
| 21375 | else | 21504 | else |
| 21376 | # Is the header compilable? | 21505 | # Is the header compilable? |
| 21377 | echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 | 21506 | { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 |
| 21378 | echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 | 21507 | echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } |
| 21379 | cat >conftest.$ac_ext <<_ACEOF | 21508 | cat >conftest.$ac_ext <<_ACEOF |
| 21380 | /* confdefs.h. */ | 21509 | /* confdefs.h. */ |
| 21381 | _ACEOF | 21510 | _ACEOF |
| @@ -21386,40 +21515,37 @@ $ac_includes_default | |||
| 21386 | #include <arpa/inet.h> | 21515 | #include <arpa/inet.h> |
| 21387 | _ACEOF | 21516 | _ACEOF |
| 21388 | rm -f conftest.$ac_objext | 21517 | rm -f conftest.$ac_objext |
| 21389 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21518 | if { (ac_try="$ac_compile" |
| 21390 | (eval $ac_compile) 2>conftest.er1 | 21519 | case "(($ac_try" in |
| 21520 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21521 | *) ac_try_echo=$ac_try;; | ||
| 21522 | esac | ||
| 21523 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 21524 | (eval "$ac_compile") 2>conftest.er1 | ||
| 21391 | ac_status=$? | 21525 | ac_status=$? |
| 21392 | grep -v '^ *+' conftest.er1 >conftest.err | 21526 | grep -v '^ *+' conftest.er1 >conftest.err |
| 21393 | rm -f conftest.er1 | 21527 | rm -f conftest.er1 |
| 21394 | cat conftest.err >&5 | 21528 | cat conftest.err >&5 |
| 21395 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21529 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21396 | (exit $ac_status); } && | 21530 | (exit $ac_status); } && { |
| 21397 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 21531 | test -z "$ac_c_werror_flag" || |
| 21398 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21532 | test ! -s conftest.err |
| 21399 | (eval $ac_try) 2>&5 | 21533 | } && test -s conftest.$ac_objext; then |
| 21400 | ac_status=$? | ||
| 21401 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21402 | (exit $ac_status); }; } && | ||
| 21403 | { ac_try='test -s conftest.$ac_objext' | ||
| 21404 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 21405 | (eval $ac_try) 2>&5 | ||
| 21406 | ac_status=$? | ||
| 21407 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21408 | (exit $ac_status); }; }; then | ||
| 21409 | ac_header_compiler=yes | 21534 | ac_header_compiler=yes |
| 21410 | else | 21535 | else |
| 21411 | echo "$as_me: failed program was:" >&5 | 21536 | echo "$as_me: failed program was:" >&5 |
| 21412 | sed 's/^/| /' conftest.$ac_ext >&5 | 21537 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 21413 | 21538 | ||
| 21414 | ac_header_compiler=no | 21539 | ac_header_compiler=no |
| 21415 | fi | 21540 | fi |
| 21416 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21541 | |
| 21417 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 21542 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 21418 | echo "${ECHO_T}$ac_header_compiler" >&6 | 21543 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 21544 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 21419 | 21545 | ||
| 21420 | # Is the header present? | 21546 | # Is the header present? |
| 21421 | echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 | 21547 | { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 |
| 21422 | echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 | 21548 | echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } |
| 21423 | cat >conftest.$ac_ext <<_ACEOF | 21549 | cat >conftest.$ac_ext <<_ACEOF |
| 21424 | /* confdefs.h. */ | 21550 | /* confdefs.h. */ |
| 21425 | _ACEOF | 21551 | _ACEOF |
| @@ -21428,24 +21554,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 21428 | /* end confdefs.h. */ | 21554 | /* end confdefs.h. */ |
| 21429 | #include <arpa/inet.h> | 21555 | #include <arpa/inet.h> |
| 21430 | _ACEOF | 21556 | _ACEOF |
| 21431 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 21557 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 21432 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 21558 | case "(($ac_try" in |
| 21559 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21560 | *) ac_try_echo=$ac_try;; | ||
| 21561 | esac | ||
| 21562 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 21563 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 21433 | ac_status=$? | 21564 | ac_status=$? |
| 21434 | grep -v '^ *+' conftest.er1 >conftest.err | 21565 | grep -v '^ *+' conftest.er1 >conftest.err |
| 21435 | rm -f conftest.er1 | 21566 | rm -f conftest.er1 |
| 21436 | cat conftest.err >&5 | 21567 | cat conftest.err >&5 |
| 21437 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21568 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21438 | (exit $ac_status); } >/dev/null; then | 21569 | (exit $ac_status); } >/dev/null && { |
| 21439 | if test -s conftest.err; then | 21570 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 21440 | ac_cpp_err=$ac_c_preproc_warn_flag | 21571 | test ! -s conftest.err |
| 21441 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 21572 | }; then |
| 21442 | else | ||
| 21443 | ac_cpp_err= | ||
| 21444 | fi | ||
| 21445 | else | ||
| 21446 | ac_cpp_err=yes | ||
| 21447 | fi | ||
| 21448 | if test -z "$ac_cpp_err"; then | ||
| 21449 | ac_header_preproc=yes | 21573 | ac_header_preproc=yes |
| 21450 | else | 21574 | else |
| 21451 | echo "$as_me: failed program was:" >&5 | 21575 | echo "$as_me: failed program was:" >&5 |
| @@ -21453,9 +21577,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 21453 | 21577 | ||
| 21454 | ac_header_preproc=no | 21578 | ac_header_preproc=no |
| 21455 | fi | 21579 | fi |
| 21580 | |||
| 21456 | rm -f conftest.err conftest.$ac_ext | 21581 | rm -f conftest.err conftest.$ac_ext |
| 21457 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 21582 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 21458 | echo "${ECHO_T}$ac_header_preproc" >&6 | 21583 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 21459 | 21584 | ||
| 21460 | # So? What about this header? | 21585 | # So? What about this header? |
| 21461 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 21586 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -21479,25 +21604,18 @@ echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled | |||
| 21479 | echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} | 21604 | echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} |
| 21480 | { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 | 21605 | { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 |
| 21481 | echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} | 21606 | echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} |
| 21482 | ( | 21607 | |
| 21483 | cat <<\_ASBOX | ||
| 21484 | ## ------------------------------------------ ## | ||
| 21485 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 21486 | ## ------------------------------------------ ## | ||
| 21487 | _ASBOX | ||
| 21488 | ) | | ||
| 21489 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 21490 | ;; | 21608 | ;; |
| 21491 | esac | 21609 | esac |
| 21492 | echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 | 21610 | { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 |
| 21493 | echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 | 21611 | echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } |
| 21494 | if test "${ac_cv_header_arpa_inet_h+set}" = set; then | 21612 | if test "${ac_cv_header_arpa_inet_h+set}" = set; then |
| 21495 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21613 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 21496 | else | 21614 | else |
| 21497 | ac_cv_header_arpa_inet_h=$ac_header_preproc | 21615 | ac_cv_header_arpa_inet_h=$ac_header_preproc |
| 21498 | fi | 21616 | fi |
| 21499 | echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 | 21617 | { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 |
| 21500 | echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 | 21618 | echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } |
| 21501 | 21619 | ||
| 21502 | fi | 21620 | fi |
| 21503 | if test $ac_cv_header_arpa_inet_h = yes; then | 21621 | if test $ac_cv_header_arpa_inet_h = yes; then |
| @@ -21520,18 +21638,19 @@ fi | |||
| 21520 | for ac_header in sys/ioctl.h | 21638 | for ac_header in sys/ioctl.h |
| 21521 | do | 21639 | do |
| 21522 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 21640 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 21523 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 21641 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 21524 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 21642 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 21525 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 21643 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 21526 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 21644 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 21527 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21645 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 21528 | fi | 21646 | fi |
| 21529 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 21647 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 21530 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 21648 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 21649 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 21531 | else | 21650 | else |
| 21532 | # Is the header compilable? | 21651 | # Is the header compilable? |
| 21533 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 21652 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 21534 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 21653 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 21535 | cat >conftest.$ac_ext <<_ACEOF | 21654 | cat >conftest.$ac_ext <<_ACEOF |
| 21536 | /* confdefs.h. */ | 21655 | /* confdefs.h. */ |
| 21537 | _ACEOF | 21656 | _ACEOF |
| @@ -21542,40 +21661,37 @@ $ac_includes_default | |||
| 21542 | #include <$ac_header> | 21661 | #include <$ac_header> |
| 21543 | _ACEOF | 21662 | _ACEOF |
| 21544 | rm -f conftest.$ac_objext | 21663 | rm -f conftest.$ac_objext |
| 21545 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21664 | if { (ac_try="$ac_compile" |
| 21546 | (eval $ac_compile) 2>conftest.er1 | 21665 | case "(($ac_try" in |
| 21666 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21667 | *) ac_try_echo=$ac_try;; | ||
| 21668 | esac | ||
| 21669 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 21670 | (eval "$ac_compile") 2>conftest.er1 | ||
| 21547 | ac_status=$? | 21671 | ac_status=$? |
| 21548 | grep -v '^ *+' conftest.er1 >conftest.err | 21672 | grep -v '^ *+' conftest.er1 >conftest.err |
| 21549 | rm -f conftest.er1 | 21673 | rm -f conftest.er1 |
| 21550 | cat conftest.err >&5 | 21674 | cat conftest.err >&5 |
| 21551 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21675 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21552 | (exit $ac_status); } && | 21676 | (exit $ac_status); } && { |
| 21553 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 21677 | test -z "$ac_c_werror_flag" || |
| 21554 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21678 | test ! -s conftest.err |
| 21555 | (eval $ac_try) 2>&5 | 21679 | } && test -s conftest.$ac_objext; then |
| 21556 | ac_status=$? | ||
| 21557 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21558 | (exit $ac_status); }; } && | ||
| 21559 | { ac_try='test -s conftest.$ac_objext' | ||
| 21560 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 21561 | (eval $ac_try) 2>&5 | ||
| 21562 | ac_status=$? | ||
| 21563 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21564 | (exit $ac_status); }; }; then | ||
| 21565 | ac_header_compiler=yes | 21680 | ac_header_compiler=yes |
| 21566 | else | 21681 | else |
| 21567 | echo "$as_me: failed program was:" >&5 | 21682 | echo "$as_me: failed program was:" >&5 |
| 21568 | sed 's/^/| /' conftest.$ac_ext >&5 | 21683 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 21569 | 21684 | ||
| 21570 | ac_header_compiler=no | 21685 | ac_header_compiler=no |
| 21571 | fi | 21686 | fi |
| 21572 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21687 | |
| 21573 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 21688 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 21574 | echo "${ECHO_T}$ac_header_compiler" >&6 | 21689 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 21690 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 21575 | 21691 | ||
| 21576 | # Is the header present? | 21692 | # Is the header present? |
| 21577 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 21693 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 21578 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 21694 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 21579 | cat >conftest.$ac_ext <<_ACEOF | 21695 | cat >conftest.$ac_ext <<_ACEOF |
| 21580 | /* confdefs.h. */ | 21696 | /* confdefs.h. */ |
| 21581 | _ACEOF | 21697 | _ACEOF |
| @@ -21584,24 +21700,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 21584 | /* end confdefs.h. */ | 21700 | /* end confdefs.h. */ |
| 21585 | #include <$ac_header> | 21701 | #include <$ac_header> |
| 21586 | _ACEOF | 21702 | _ACEOF |
| 21587 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 21703 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 21588 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 21704 | case "(($ac_try" in |
| 21705 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21706 | *) ac_try_echo=$ac_try;; | ||
| 21707 | esac | ||
| 21708 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 21709 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 21589 | ac_status=$? | 21710 | ac_status=$? |
| 21590 | grep -v '^ *+' conftest.er1 >conftest.err | 21711 | grep -v '^ *+' conftest.er1 >conftest.err |
| 21591 | rm -f conftest.er1 | 21712 | rm -f conftest.er1 |
| 21592 | cat conftest.err >&5 | 21713 | cat conftest.err >&5 |
| 21593 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21714 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21594 | (exit $ac_status); } >/dev/null; then | 21715 | (exit $ac_status); } >/dev/null && { |
| 21595 | if test -s conftest.err; then | 21716 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 21596 | ac_cpp_err=$ac_c_preproc_warn_flag | 21717 | test ! -s conftest.err |
| 21597 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 21718 | }; then |
| 21598 | else | ||
| 21599 | ac_cpp_err= | ||
| 21600 | fi | ||
| 21601 | else | ||
| 21602 | ac_cpp_err=yes | ||
| 21603 | fi | ||
| 21604 | if test -z "$ac_cpp_err"; then | ||
| 21605 | ac_header_preproc=yes | 21719 | ac_header_preproc=yes |
| 21606 | else | 21720 | else |
| 21607 | echo "$as_me: failed program was:" >&5 | 21721 | echo "$as_me: failed program was:" >&5 |
| @@ -21609,9 +21723,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 21609 | 21723 | ||
| 21610 | ac_header_preproc=no | 21724 | ac_header_preproc=no |
| 21611 | fi | 21725 | fi |
| 21726 | |||
| 21612 | rm -f conftest.err conftest.$ac_ext | 21727 | rm -f conftest.err conftest.$ac_ext |
| 21613 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 21728 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 21614 | echo "${ECHO_T}$ac_header_preproc" >&6 | 21729 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 21615 | 21730 | ||
| 21616 | # So? What about this header? | 21731 | # So? What about this header? |
| 21617 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 21732 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -21635,25 +21750,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 21635 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 21750 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 21636 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 21751 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 21637 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 21752 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 21638 | ( | 21753 | |
| 21639 | cat <<\_ASBOX | ||
| 21640 | ## ------------------------------------------ ## | ||
| 21641 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 21642 | ## ------------------------------------------ ## | ||
| 21643 | _ASBOX | ||
| 21644 | ) | | ||
| 21645 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 21646 | ;; | 21754 | ;; |
| 21647 | esac | 21755 | esac |
| 21648 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 21756 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 21649 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 21757 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 21650 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 21758 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 21651 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21759 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 21652 | else | 21760 | else |
| 21653 | eval "$as_ac_Header=\$ac_header_preproc" | 21761 | eval "$as_ac_Header=\$ac_header_preproc" |
| 21654 | fi | 21762 | fi |
| 21655 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 21763 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 21656 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 21764 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 21765 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 21657 | 21766 | ||
| 21658 | fi | 21767 | fi |
| 21659 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 21768 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| @@ -21674,23 +21783,23 @@ _ACEOF | |||
| 21674 | 21783 | ||
| 21675 | fi | 21784 | fi |
| 21676 | 21785 | ||
| 21677 | echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 | 21786 | { echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 |
| 21678 | echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 | 21787 | echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6; } |
| 21679 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 21788 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
| 21680 | echo "$as_me:$LINENO: result: yes" >&5 | 21789 | { echo "$as_me:$LINENO: result: yes" >&5 |
| 21681 | echo "${ECHO_T}yes" >&6 | 21790 | echo "${ECHO_T}yes" >&6; } |
| 21682 | 21791 | ||
| 21683 | cat >>confdefs.h <<\_ACEOF | 21792 | cat >>confdefs.h <<\_ACEOF |
| 21684 | #define HAVE_DEV_PTMX 1 | 21793 | #define HAVE_DEV_PTMX 1 |
| 21685 | _ACEOF | 21794 | _ACEOF |
| 21686 | 21795 | ||
| 21687 | else | 21796 | else |
| 21688 | echo "$as_me:$LINENO: result: no" >&5 | 21797 | { echo "$as_me:$LINENO: result: no" >&5 |
| 21689 | echo "${ECHO_T}no" >&6 | 21798 | echo "${ECHO_T}no" >&6; } |
| 21690 | fi | 21799 | fi |
| 21691 | 21800 | ||
| 21692 | echo "$as_me:$LINENO: checking for pid_t" >&5 | 21801 | { echo "$as_me:$LINENO: checking for pid_t" >&5 |
| 21693 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 | 21802 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; } |
| 21694 | if test "${ac_cv_type_pid_t+set}" = set; then | 21803 | if test "${ac_cv_type_pid_t+set}" = set; then |
| 21695 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21804 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 21696 | else | 21805 | else |
| @@ -21701,49 +21810,47 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 21701 | cat >>conftest.$ac_ext <<_ACEOF | 21810 | cat >>conftest.$ac_ext <<_ACEOF |
| 21702 | /* end confdefs.h. */ | 21811 | /* end confdefs.h. */ |
| 21703 | $ac_includes_default | 21812 | $ac_includes_default |
| 21813 | typedef pid_t ac__type_new_; | ||
| 21704 | int | 21814 | int |
| 21705 | main () | 21815 | main () |
| 21706 | { | 21816 | { |
| 21707 | if ((pid_t *) 0) | 21817 | if ((ac__type_new_ *) 0) |
| 21708 | return 0; | 21818 | return 0; |
| 21709 | if (sizeof (pid_t)) | 21819 | if (sizeof (ac__type_new_)) |
| 21710 | return 0; | 21820 | return 0; |
| 21711 | ; | 21821 | ; |
| 21712 | return 0; | 21822 | return 0; |
| 21713 | } | 21823 | } |
| 21714 | _ACEOF | 21824 | _ACEOF |
| 21715 | rm -f conftest.$ac_objext | 21825 | rm -f conftest.$ac_objext |
| 21716 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21826 | if { (ac_try="$ac_compile" |
| 21717 | (eval $ac_compile) 2>conftest.er1 | 21827 | case "(($ac_try" in |
| 21828 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21829 | *) ac_try_echo=$ac_try;; | ||
| 21830 | esac | ||
| 21831 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 21832 | (eval "$ac_compile") 2>conftest.er1 | ||
| 21718 | ac_status=$? | 21833 | ac_status=$? |
| 21719 | grep -v '^ *+' conftest.er1 >conftest.err | 21834 | grep -v '^ *+' conftest.er1 >conftest.err |
| 21720 | rm -f conftest.er1 | 21835 | rm -f conftest.er1 |
| 21721 | cat conftest.err >&5 | 21836 | cat conftest.err >&5 |
| 21722 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21837 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21723 | (exit $ac_status); } && | 21838 | (exit $ac_status); } && { |
| 21724 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 21839 | test -z "$ac_c_werror_flag" || |
| 21725 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21840 | test ! -s conftest.err |
| 21726 | (eval $ac_try) 2>&5 | 21841 | } && test -s conftest.$ac_objext; then |
| 21727 | ac_status=$? | ||
| 21728 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21729 | (exit $ac_status); }; } && | ||
| 21730 | { ac_try='test -s conftest.$ac_objext' | ||
| 21731 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 21732 | (eval $ac_try) 2>&5 | ||
| 21733 | ac_status=$? | ||
| 21734 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21735 | (exit $ac_status); }; }; then | ||
| 21736 | ac_cv_type_pid_t=yes | 21842 | ac_cv_type_pid_t=yes |
| 21737 | else | 21843 | else |
| 21738 | echo "$as_me: failed program was:" >&5 | 21844 | echo "$as_me: failed program was:" >&5 |
| 21739 | sed 's/^/| /' conftest.$ac_ext >&5 | 21845 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 21740 | 21846 | ||
| 21741 | ac_cv_type_pid_t=no | 21847 | ac_cv_type_pid_t=no |
| 21742 | fi | 21848 | fi |
| 21743 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21849 | |
| 21850 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 21744 | fi | 21851 | fi |
| 21745 | echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 | 21852 | { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 |
| 21746 | echo "${ECHO_T}$ac_cv_type_pid_t" >&6 | 21853 | echo "${ECHO_T}$ac_cv_type_pid_t" >&6; } |
| 21747 | if test $ac_cv_type_pid_t = yes; then | 21854 | if test $ac_cv_type_pid_t = yes; then |
| 21748 | : | 21855 | : |
| 21749 | else | 21856 | else |
| @@ -21755,22 +21862,22 @@ _ACEOF | |||
| 21755 | fi | 21862 | fi |
| 21756 | 21863 | ||
| 21757 | 21864 | ||
| 21758 | 21865 | for ac_header in vfork.h | |
| 21759 | for ac_header in unistd.h vfork.h | ||
| 21760 | do | 21866 | do |
| 21761 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 21867 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 21762 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 21868 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 21763 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 21869 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 21764 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 21870 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 21765 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 21871 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 21766 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21872 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 21767 | fi | 21873 | fi |
| 21768 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 21874 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 21769 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 21875 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 21876 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 21770 | else | 21877 | else |
| 21771 | # Is the header compilable? | 21878 | # Is the header compilable? |
| 21772 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 21879 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| 21773 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 21880 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
| 21774 | cat >conftest.$ac_ext <<_ACEOF | 21881 | cat >conftest.$ac_ext <<_ACEOF |
| 21775 | /* confdefs.h. */ | 21882 | /* confdefs.h. */ |
| 21776 | _ACEOF | 21883 | _ACEOF |
| @@ -21781,40 +21888,37 @@ $ac_includes_default | |||
| 21781 | #include <$ac_header> | 21888 | #include <$ac_header> |
| 21782 | _ACEOF | 21889 | _ACEOF |
| 21783 | rm -f conftest.$ac_objext | 21890 | rm -f conftest.$ac_objext |
| 21784 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 21891 | if { (ac_try="$ac_compile" |
| 21785 | (eval $ac_compile) 2>conftest.er1 | 21892 | case "(($ac_try" in |
| 21893 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21894 | *) ac_try_echo=$ac_try;; | ||
| 21895 | esac | ||
| 21896 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 21897 | (eval "$ac_compile") 2>conftest.er1 | ||
| 21786 | ac_status=$? | 21898 | ac_status=$? |
| 21787 | grep -v '^ *+' conftest.er1 >conftest.err | 21899 | grep -v '^ *+' conftest.er1 >conftest.err |
| 21788 | rm -f conftest.er1 | 21900 | rm -f conftest.er1 |
| 21789 | cat conftest.err >&5 | 21901 | cat conftest.err >&5 |
| 21790 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21902 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21791 | (exit $ac_status); } && | 21903 | (exit $ac_status); } && { |
| 21792 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 21904 | test -z "$ac_c_werror_flag" || |
| 21793 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21905 | test ! -s conftest.err |
| 21794 | (eval $ac_try) 2>&5 | 21906 | } && test -s conftest.$ac_objext; then |
| 21795 | ac_status=$? | ||
| 21796 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21797 | (exit $ac_status); }; } && | ||
| 21798 | { ac_try='test -s conftest.$ac_objext' | ||
| 21799 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 21800 | (eval $ac_try) 2>&5 | ||
| 21801 | ac_status=$? | ||
| 21802 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21803 | (exit $ac_status); }; }; then | ||
| 21804 | ac_header_compiler=yes | 21907 | ac_header_compiler=yes |
| 21805 | else | 21908 | else |
| 21806 | echo "$as_me: failed program was:" >&5 | 21909 | echo "$as_me: failed program was:" >&5 |
| 21807 | sed 's/^/| /' conftest.$ac_ext >&5 | 21910 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 21808 | 21911 | ||
| 21809 | ac_header_compiler=no | 21912 | ac_header_compiler=no |
| 21810 | fi | 21913 | fi |
| 21811 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 21914 | |
| 21812 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 21915 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 21813 | echo "${ECHO_T}$ac_header_compiler" >&6 | 21916 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| 21917 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
| 21814 | 21918 | ||
| 21815 | # Is the header present? | 21919 | # Is the header present? |
| 21816 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 21920 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| 21817 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 21921 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
| 21818 | cat >conftest.$ac_ext <<_ACEOF | 21922 | cat >conftest.$ac_ext <<_ACEOF |
| 21819 | /* confdefs.h. */ | 21923 | /* confdefs.h. */ |
| 21820 | _ACEOF | 21924 | _ACEOF |
| @@ -21823,24 +21927,22 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 21823 | /* end confdefs.h. */ | 21927 | /* end confdefs.h. */ |
| 21824 | #include <$ac_header> | 21928 | #include <$ac_header> |
| 21825 | _ACEOF | 21929 | _ACEOF |
| 21826 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 21930 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
| 21827 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 21931 | case "(($ac_try" in |
| 21932 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 21933 | *) ac_try_echo=$ac_try;; | ||
| 21934 | esac | ||
| 21935 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 21936 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
| 21828 | ac_status=$? | 21937 | ac_status=$? |
| 21829 | grep -v '^ *+' conftest.er1 >conftest.err | 21938 | grep -v '^ *+' conftest.er1 >conftest.err |
| 21830 | rm -f conftest.er1 | 21939 | rm -f conftest.er1 |
| 21831 | cat conftest.err >&5 | 21940 | cat conftest.err >&5 |
| 21832 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21941 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21833 | (exit $ac_status); } >/dev/null; then | 21942 | (exit $ac_status); } >/dev/null && { |
| 21834 | if test -s conftest.err; then | 21943 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 21835 | ac_cpp_err=$ac_c_preproc_warn_flag | 21944 | test ! -s conftest.err |
| 21836 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag | 21945 | }; then |
| 21837 | else | ||
| 21838 | ac_cpp_err= | ||
| 21839 | fi | ||
| 21840 | else | ||
| 21841 | ac_cpp_err=yes | ||
| 21842 | fi | ||
| 21843 | if test -z "$ac_cpp_err"; then | ||
| 21844 | ac_header_preproc=yes | 21946 | ac_header_preproc=yes |
| 21845 | else | 21947 | else |
| 21846 | echo "$as_me: failed program was:" >&5 | 21948 | echo "$as_me: failed program was:" >&5 |
| @@ -21848,9 +21950,10 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 21848 | 21950 | ||
| 21849 | ac_header_preproc=no | 21951 | ac_header_preproc=no |
| 21850 | fi | 21952 | fi |
| 21953 | |||
| 21851 | rm -f conftest.err conftest.$ac_ext | 21954 | rm -f conftest.err conftest.$ac_ext |
| 21852 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 21955 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| 21853 | echo "${ECHO_T}$ac_header_preproc" >&6 | 21956 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
| 21854 | 21957 | ||
| 21855 | # So? What about this header? | 21958 | # So? What about this header? |
| 21856 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 21959 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| @@ -21874,25 +21977,19 @@ echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\ | |||
| 21874 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 21977 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| 21875 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 21978 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| 21876 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 21979 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| 21877 | ( | 21980 | |
| 21878 | cat <<\_ASBOX | ||
| 21879 | ## ------------------------------------------ ## | ||
| 21880 | ## Report this to the AC_PACKAGE_NAME lists. ## | ||
| 21881 | ## ------------------------------------------ ## | ||
| 21882 | _ASBOX | ||
| 21883 | ) | | ||
| 21884 | sed "s/^/$as_me: WARNING: /" >&2 | ||
| 21885 | ;; | 21981 | ;; |
| 21886 | esac | 21982 | esac |
| 21887 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 21983 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| 21888 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 21984 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
| 21889 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 21985 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| 21890 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 21986 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 21891 | else | 21987 | else |
| 21892 | eval "$as_ac_Header=\$ac_header_preproc" | 21988 | eval "$as_ac_Header=\$ac_header_preproc" |
| 21893 | fi | 21989 | fi |
| 21894 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 21990 | ac_res=`eval echo '${'$as_ac_Header'}'` |
| 21895 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 21991 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 21992 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 21896 | 21993 | ||
| 21897 | fi | 21994 | fi |
| 21898 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 21995 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| @@ -21909,9 +22006,9 @@ done | |||
| 21909 | for ac_func in fork vfork | 22006 | for ac_func in fork vfork |
| 21910 | do | 22007 | do |
| 21911 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 22008 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 21912 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 22009 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 21913 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 22010 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
| 21914 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 22011 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
| 21915 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22012 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 21916 | else | 22013 | else |
| 21917 | cat >conftest.$ac_ext <<_ACEOF | 22014 | cat >conftest.$ac_ext <<_ACEOF |
| @@ -21937,67 +22034,60 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
| 21937 | 22034 | ||
| 21938 | #undef $ac_func | 22035 | #undef $ac_func |
| 21939 | 22036 | ||
| 21940 | /* Override any gcc2 internal prototype to avoid an error. */ | 22037 | /* Override any GCC internal prototype to avoid an error. |
| 22038 | Use char because int might match the return type of a GCC | ||
| 22039 | builtin and then its argument prototype would still apply. */ | ||
| 21941 | #ifdef __cplusplus | 22040 | #ifdef __cplusplus |
| 21942 | extern "C" | 22041 | extern "C" |
| 21943 | { | ||
| 21944 | #endif | 22042 | #endif |
| 21945 | /* We use char because int might match the return type of a gcc2 | ||
| 21946 | builtin and then its argument prototype would still apply. */ | ||
| 21947 | char $ac_func (); | 22043 | char $ac_func (); |
| 21948 | /* The GNU C library defines this for functions which it implements | 22044 | /* The GNU C library defines this for functions which it implements |
| 21949 | to always fail with ENOSYS. Some functions are actually named | 22045 | to always fail with ENOSYS. Some functions are actually named |
| 21950 | something starting with __ and the normal name is an alias. */ | 22046 | something starting with __ and the normal name is an alias. */ |
| 21951 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 22047 | #if defined __stub_$ac_func || defined __stub___$ac_func |
| 21952 | choke me | 22048 | choke me |
| 21953 | #else | ||
| 21954 | char (*f) () = $ac_func; | ||
| 21955 | #endif | ||
| 21956 | #ifdef __cplusplus | ||
| 21957 | } | ||
| 21958 | #endif | 22049 | #endif |
| 21959 | 22050 | ||
| 21960 | int | 22051 | int |
| 21961 | main () | 22052 | main () |
| 21962 | { | 22053 | { |
| 21963 | return f != $ac_func; | 22054 | return $ac_func (); |
| 21964 | ; | 22055 | ; |
| 21965 | return 0; | 22056 | return 0; |
| 21966 | } | 22057 | } |
| 21967 | _ACEOF | 22058 | _ACEOF |
| 21968 | rm -f conftest.$ac_objext conftest$ac_exeext | 22059 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 21969 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 22060 | if { (ac_try="$ac_link" |
| 21970 | (eval $ac_link) 2>conftest.er1 | 22061 | case "(($ac_try" in |
| 22062 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22063 | *) ac_try_echo=$ac_try;; | ||
| 22064 | esac | ||
| 22065 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 22066 | (eval "$ac_link") 2>conftest.er1 | ||
| 21971 | ac_status=$? | 22067 | ac_status=$? |
| 21972 | grep -v '^ *+' conftest.er1 >conftest.err | 22068 | grep -v '^ *+' conftest.er1 >conftest.err |
| 21973 | rm -f conftest.er1 | 22069 | rm -f conftest.er1 |
| 21974 | cat conftest.err >&5 | 22070 | cat conftest.err >&5 |
| 21975 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22071 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 21976 | (exit $ac_status); } && | 22072 | (exit $ac_status); } && { |
| 21977 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 22073 | test -z "$ac_c_werror_flag" || |
| 21978 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22074 | test ! -s conftest.err |
| 21979 | (eval $ac_try) 2>&5 | 22075 | } && test -s conftest$ac_exeext && |
| 21980 | ac_status=$? | 22076 | $as_test_x conftest$ac_exeext; then |
| 21981 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21982 | (exit $ac_status); }; } && | ||
| 21983 | { ac_try='test -s conftest$ac_exeext' | ||
| 21984 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 21985 | (eval $ac_try) 2>&5 | ||
| 21986 | ac_status=$? | ||
| 21987 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 21988 | (exit $ac_status); }; }; then | ||
| 21989 | eval "$as_ac_var=yes" | 22077 | eval "$as_ac_var=yes" |
| 21990 | else | 22078 | else |
| 21991 | echo "$as_me: failed program was:" >&5 | 22079 | echo "$as_me: failed program was:" >&5 |
| 21992 | sed 's/^/| /' conftest.$ac_ext >&5 | 22080 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 21993 | 22081 | ||
| 21994 | eval "$as_ac_var=no" | 22082 | eval "$as_ac_var=no" |
| 21995 | fi | 22083 | fi |
| 21996 | rm -f conftest.err conftest.$ac_objext \ | 22084 | |
| 22085 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 21997 | conftest$ac_exeext conftest.$ac_ext | 22086 | conftest$ac_exeext conftest.$ac_ext |
| 21998 | fi | 22087 | fi |
| 21999 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 22088 | ac_res=`eval echo '${'$as_ac_var'}'` |
| 22000 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 22089 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
| 22090 | echo "${ECHO_T}$ac_res" >&6; } | ||
| 22001 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 22091 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
| 22002 | cat >>confdefs.h <<_ACEOF | 22092 | cat >>confdefs.h <<_ACEOF |
| 22003 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 22093 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| @@ -22007,8 +22097,8 @@ fi | |||
| 22007 | done | 22097 | done |
| 22008 | 22098 | ||
| 22009 | if test "x$ac_cv_func_fork" = xyes; then | 22099 | if test "x$ac_cv_func_fork" = xyes; then |
| 22010 | echo "$as_me:$LINENO: checking for working fork" >&5 | 22100 | { echo "$as_me:$LINENO: checking for working fork" >&5 |
| 22011 | echo $ECHO_N "checking for working fork... $ECHO_C" >&6 | 22101 | echo $ECHO_N "checking for working fork... $ECHO_C" >&6; } |
| 22012 | if test "${ac_cv_func_fork_works+set}" = set; then | 22102 | if test "${ac_cv_func_fork_works+set}" = set; then |
| 22013 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22103 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 22014 | else | 22104 | else |
| @@ -22027,22 +22117,29 @@ main () | |||
| 22027 | { | 22117 | { |
| 22028 | 22118 | ||
| 22029 | /* By Ruediger Kuhlmann. */ | 22119 | /* By Ruediger Kuhlmann. */ |
| 22030 | if (fork() < 0) | 22120 | return fork () < 0; |
| 22031 | exit (1); | ||
| 22032 | exit (0); | ||
| 22033 | 22121 | ||
| 22034 | ; | 22122 | ; |
| 22035 | return 0; | 22123 | return 0; |
| 22036 | } | 22124 | } |
| 22037 | _ACEOF | 22125 | _ACEOF |
| 22038 | rm -f conftest$ac_exeext | 22126 | rm -f conftest$ac_exeext |
| 22039 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 22127 | if { (ac_try="$ac_link" |
| 22040 | (eval $ac_link) 2>&5 | 22128 | case "(($ac_try" in |
| 22129 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22130 | *) ac_try_echo=$ac_try;; | ||
| 22131 | esac | ||
| 22132 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 22133 | (eval "$ac_link") 2>&5 | ||
| 22041 | ac_status=$? | 22134 | ac_status=$? |
| 22042 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22135 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 22043 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 22136 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 22044 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22137 | { (case "(($ac_try" in |
| 22045 | (eval $ac_try) 2>&5 | 22138 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 22139 | *) ac_try_echo=$ac_try;; | ||
| 22140 | esac | ||
| 22141 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 22142 | (eval "$ac_try") 2>&5 | ||
| 22046 | ac_status=$? | 22143 | ac_status=$? |
| 22047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22144 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 22048 | (exit $ac_status); }; }; then | 22145 | (exit $ac_status); }; }; then |
| @@ -22055,11 +22152,13 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 22055 | ( exit $ac_status ) | 22152 | ( exit $ac_status ) |
| 22056 | ac_cv_func_fork_works=no | 22153 | ac_cv_func_fork_works=no |
| 22057 | fi | 22154 | fi |
| 22058 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 22155 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 22059 | fi | 22156 | fi |
| 22157 | |||
| 22158 | |||
| 22060 | fi | 22159 | fi |
| 22061 | echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 | 22160 | { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 |
| 22062 | echo "${ECHO_T}$ac_cv_func_fork_works" >&6 | 22161 | echo "${ECHO_T}$ac_cv_func_fork_works" >&6; } |
| 22063 | 22162 | ||
| 22064 | else | 22163 | else |
| 22065 | ac_cv_func_fork_works=$ac_cv_func_fork | 22164 | ac_cv_func_fork_works=$ac_cv_func_fork |
| @@ -22079,8 +22178,8 @@ echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross co | |||
| 22079 | fi | 22178 | fi |
| 22080 | ac_cv_func_vfork_works=$ac_cv_func_vfork | 22179 | ac_cv_func_vfork_works=$ac_cv_func_vfork |
| 22081 | if test "x$ac_cv_func_vfork" = xyes; then | 22180 | if test "x$ac_cv_func_vfork" = xyes; then |
| 22082 | echo "$as_me:$LINENO: checking for working vfork" >&5 | 22181 | { echo "$as_me:$LINENO: checking for working vfork" >&5 |
| 22083 | echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 | 22182 | echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; } |
| 22084 | if test "${ac_cv_func_vfork_works+set}" = set; then | 22183 | if test "${ac_cv_func_vfork_works+set}" = set; then |
| 22085 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22184 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 22086 | else | 22185 | else |
| @@ -22094,15 +22193,9 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 22094 | cat >>conftest.$ac_ext <<_ACEOF | 22193 | cat >>conftest.$ac_ext <<_ACEOF |
| 22095 | /* end confdefs.h. */ | 22194 | /* end confdefs.h. */ |
| 22096 | /* Thanks to Paul Eggert for this test. */ | 22195 | /* Thanks to Paul Eggert for this test. */ |
| 22097 | #include <stdio.h> | 22196 | $ac_includes_default |
| 22098 | #include <stdlib.h> | ||
| 22099 | #include <sys/types.h> | ||
| 22100 | #include <sys/stat.h> | ||
| 22101 | #include <sys/wait.h> | 22197 | #include <sys/wait.h> |
| 22102 | #if HAVE_UNISTD_H | 22198 | #ifdef HAVE_VFORK_H |
| 22103 | # include <unistd.h> | ||
| 22104 | #endif | ||
| 22105 | #if HAVE_VFORK_H | ||
| 22106 | # include <vfork.h> | 22199 | # include <vfork.h> |
| 22107 | #endif | 22200 | #endif |
| 22108 | /* On some sparc systems, changes by the child to local and incoming | 22201 | /* On some sparc systems, changes by the child to local and incoming |
| @@ -22173,7 +22266,7 @@ main () | |||
| 22173 | 22266 | ||
| 22174 | while (wait(&status) != child) | 22267 | while (wait(&status) != child) |
| 22175 | ; | 22268 | ; |
| 22176 | exit( | 22269 | return ( |
| 22177 | /* Was there some problem with vforking? */ | 22270 | /* Was there some problem with vforking? */ |
| 22178 | child < 0 | 22271 | child < 0 |
| 22179 | 22272 | ||
| @@ -22190,13 +22283,22 @@ main () | |||
| 22190 | } | 22283 | } |
| 22191 | _ACEOF | 22284 | _ACEOF |
| 22192 | rm -f conftest$ac_exeext | 22285 | rm -f conftest$ac_exeext |
| 22193 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 22286 | if { (ac_try="$ac_link" |
| 22194 | (eval $ac_link) 2>&5 | 22287 | case "(($ac_try" in |
| 22288 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22289 | *) ac_try_echo=$ac_try;; | ||
| 22290 | esac | ||
| 22291 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 22292 | (eval "$ac_link") 2>&5 | ||
| 22195 | ac_status=$? | 22293 | ac_status=$? |
| 22196 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22294 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 22197 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 22295 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 22198 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22296 | { (case "(($ac_try" in |
| 22199 | (eval $ac_try) 2>&5 | 22297 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 22298 | *) ac_try_echo=$ac_try;; | ||
| 22299 | esac | ||
| 22300 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 22301 | (eval "$ac_try") 2>&5 | ||
| 22200 | ac_status=$? | 22302 | ac_status=$? |
| 22201 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22303 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 22202 | (exit $ac_status); }; }; then | 22304 | (exit $ac_status); }; }; then |
| @@ -22209,11 +22311,13 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
| 22209 | ( exit $ac_status ) | 22311 | ( exit $ac_status ) |
| 22210 | ac_cv_func_vfork_works=no | 22312 | ac_cv_func_vfork_works=no |
| 22211 | fi | 22313 | fi |
| 22212 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 22314 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 22213 | fi | 22315 | fi |
| 22316 | |||
| 22317 | |||
| 22214 | fi | 22318 | fi |
| 22215 | echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 | 22319 | { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 |
| 22216 | echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 | 22320 | echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; } |
| 22217 | 22321 | ||
| 22218 | fi; | 22322 | fi; |
| 22219 | if test "x$ac_cv_func_fork_works" = xcross; then | 22323 | if test "x$ac_cv_func_fork_works" = xcross; then |
| @@ -22244,8 +22348,8 @@ _ACEOF | |||
| 22244 | fi | 22348 | fi |
| 22245 | 22349 | ||
| 22246 | 22350 | ||
| 22247 | echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 | 22351 | { echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 |
| 22248 | echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6 | 22352 | echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6; } |
| 22249 | if test "${emacs_cv_langinfo_codeset+set}" = set; then | 22353 | if test "${emacs_cv_langinfo_codeset+set}" = set; then |
| 22250 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22354 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 22251 | else | 22355 | else |
| @@ -22265,39 +22369,37 @@ char* cs = nl_langinfo(CODESET); | |||
| 22265 | } | 22369 | } |
| 22266 | _ACEOF | 22370 | _ACEOF |
| 22267 | rm -f conftest.$ac_objext conftest$ac_exeext | 22371 | rm -f conftest.$ac_objext conftest$ac_exeext |
| 22268 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 22372 | if { (ac_try="$ac_link" |
| 22269 | (eval $ac_link) 2>conftest.er1 | 22373 | case "(($ac_try" in |
| 22374 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22375 | *) ac_try_echo=$ac_try;; | ||
| 22376 | esac | ||
| 22377 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 22378 | (eval "$ac_link") 2>conftest.er1 | ||
| 22270 | ac_status=$? | 22379 | ac_status=$? |
| 22271 | grep -v '^ *+' conftest.er1 >conftest.err | 22380 | grep -v '^ *+' conftest.er1 >conftest.err |
| 22272 | rm -f conftest.er1 | 22381 | rm -f conftest.er1 |
| 22273 | cat conftest.err >&5 | 22382 | cat conftest.err >&5 |
| 22274 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22383 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 22275 | (exit $ac_status); } && | 22384 | (exit $ac_status); } && { |
| 22276 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 22385 | test -z "$ac_c_werror_flag" || |
| 22277 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22386 | test ! -s conftest.err |
| 22278 | (eval $ac_try) 2>&5 | 22387 | } && test -s conftest$ac_exeext && |
| 22279 | ac_status=$? | 22388 | $as_test_x conftest$ac_exeext; then |
| 22280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22281 | (exit $ac_status); }; } && | ||
| 22282 | { ac_try='test -s conftest$ac_exeext' | ||
| 22283 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 22284 | (eval $ac_try) 2>&5 | ||
| 22285 | ac_status=$? | ||
| 22286 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22287 | (exit $ac_status); }; }; then | ||
| 22288 | emacs_cv_langinfo_codeset=yes | 22389 | emacs_cv_langinfo_codeset=yes |
| 22289 | else | 22390 | else |
| 22290 | echo "$as_me: failed program was:" >&5 | 22391 | echo "$as_me: failed program was:" >&5 |
| 22291 | sed 's/^/| /' conftest.$ac_ext >&5 | 22392 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 22292 | 22393 | ||
| 22293 | emacs_cv_langinfo_codeset=no | 22394 | emacs_cv_langinfo_codeset=no |
| 22294 | fi | 22395 | fi |
| 22295 | rm -f conftest.err conftest.$ac_objext \ | 22396 | |
| 22397 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
| 22296 | conftest$ac_exeext conftest.$ac_ext | 22398 | conftest$ac_exeext conftest.$ac_ext |
| 22297 | 22399 | ||
| 22298 | fi | 22400 | fi |
| 22299 | echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5 | 22401 | { echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5 |
| 22300 | echo "${ECHO_T}$emacs_cv_langinfo_codeset" >&6 | 22402 | echo "${ECHO_T}$emacs_cv_langinfo_codeset" >&6; } |
| 22301 | if test $emacs_cv_langinfo_codeset = yes; then | 22403 | if test $emacs_cv_langinfo_codeset = yes; then |
| 22302 | 22404 | ||
| 22303 | cat >>confdefs.h <<\_ACEOF | 22405 | cat >>confdefs.h <<\_ACEOF |
| @@ -22306,8 +22408,8 @@ _ACEOF | |||
| 22306 | 22408 | ||
| 22307 | fi | 22409 | fi |
| 22308 | 22410 | ||
| 22309 | echo "$as_me:$LINENO: checking for size_t" >&5 | 22411 | { echo "$as_me:$LINENO: checking for size_t" >&5 |
| 22310 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | 22412 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } |
| 22311 | if test "${ac_cv_type_size_t+set}" = set; then | 22413 | if test "${ac_cv_type_size_t+set}" = set; then |
| 22312 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22414 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 22313 | else | 22415 | else |
| @@ -22318,49 +22420,47 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 22318 | cat >>conftest.$ac_ext <<_ACEOF | 22420 | cat >>conftest.$ac_ext <<_ACEOF |
| 22319 | /* end confdefs.h. */ | 22421 | /* end confdefs.h. */ |
| 22320 | $ac_includes_default | 22422 | $ac_includes_default |
| 22423 | typedef size_t ac__type_new_; | ||
| 22321 | int | 22424 | int |
| 22322 | main () | 22425 | main () |
| 22323 | { | 22426 | { |
| 22324 | if ((size_t *) 0) | 22427 | if ((ac__type_new_ *) 0) |
| 22325 | return 0; | 22428 | return 0; |
| 22326 | if (sizeof (size_t)) | 22429 | if (sizeof (ac__type_new_)) |
| 22327 | return 0; | 22430 | return 0; |
| 22328 | ; | 22431 | ; |
| 22329 | return 0; | 22432 | return 0; |
| 22330 | } | 22433 | } |
| 22331 | _ACEOF | 22434 | _ACEOF |
| 22332 | rm -f conftest.$ac_objext | 22435 | rm -f conftest.$ac_objext |
| 22333 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 22436 | if { (ac_try="$ac_compile" |
| 22334 | (eval $ac_compile) 2>conftest.er1 | 22437 | case "(($ac_try" in |
| 22438 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22439 | *) ac_try_echo=$ac_try;; | ||
| 22440 | esac | ||
| 22441 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 22442 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22335 | ac_status=$? | 22443 | ac_status=$? |
| 22336 | grep -v '^ *+' conftest.er1 >conftest.err | 22444 | grep -v '^ *+' conftest.er1 >conftest.err |
| 22337 | rm -f conftest.er1 | 22445 | rm -f conftest.er1 |
| 22338 | cat conftest.err >&5 | 22446 | cat conftest.err >&5 |
| 22339 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22447 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 22340 | (exit $ac_status); } && | 22448 | (exit $ac_status); } && { |
| 22341 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 22449 | test -z "$ac_c_werror_flag" || |
| 22342 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22450 | test ! -s conftest.err |
| 22343 | (eval $ac_try) 2>&5 | 22451 | } && test -s conftest.$ac_objext; then |
| 22344 | ac_status=$? | ||
| 22345 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22346 | (exit $ac_status); }; } && | ||
| 22347 | { ac_try='test -s conftest.$ac_objext' | ||
| 22348 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 22349 | (eval $ac_try) 2>&5 | ||
| 22350 | ac_status=$? | ||
| 22351 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22352 | (exit $ac_status); }; }; then | ||
| 22353 | ac_cv_type_size_t=yes | 22452 | ac_cv_type_size_t=yes |
| 22354 | else | 22453 | else |
| 22355 | echo "$as_me: failed program was:" >&5 | 22454 | echo "$as_me: failed program was:" >&5 |
| 22356 | sed 's/^/| /' conftest.$ac_ext >&5 | 22455 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 22357 | 22456 | ||
| 22358 | ac_cv_type_size_t=no | 22457 | ac_cv_type_size_t=no |
| 22359 | fi | 22458 | fi |
| 22360 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 22459 | |
| 22460 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22361 | fi | 22461 | fi |
| 22362 | echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | 22462 | { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
| 22363 | echo "${ECHO_T}$ac_cv_type_size_t" >&6 | 22463 | echo "${ECHO_T}$ac_cv_type_size_t" >&6; } |
| 22364 | if test $ac_cv_type_size_t = yes; then | 22464 | if test $ac_cv_type_size_t = yes; then |
| 22365 | 22465 | ||
| 22366 | cat >>confdefs.h <<_ACEOF | 22466 | cat >>confdefs.h <<_ACEOF |
| @@ -22371,8 +22471,8 @@ _ACEOF | |||
| 22371 | fi | 22471 | fi |
| 22372 | 22472 | ||
| 22373 | 22473 | ||
| 22374 | echo "$as_me:$LINENO: checking for mbstate_t" >&5 | 22474 | { echo "$as_me:$LINENO: checking for mbstate_t" >&5 |
| 22375 | echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6 | 22475 | echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; } |
| 22376 | if test "${ac_cv_type_mbstate_t+set}" = set; then | 22476 | if test "${ac_cv_type_mbstate_t+set}" = set; then |
| 22377 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22477 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 22378 | else | 22478 | else |
| @@ -22393,37 +22493,34 @@ mbstate_t x; return sizeof x; | |||
| 22393 | } | 22493 | } |
| 22394 | _ACEOF | 22494 | _ACEOF |
| 22395 | rm -f conftest.$ac_objext | 22495 | rm -f conftest.$ac_objext |
| 22396 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 22496 | if { (ac_try="$ac_compile" |
| 22397 | (eval $ac_compile) 2>conftest.er1 | 22497 | case "(($ac_try" in |
| 22498 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22499 | *) ac_try_echo=$ac_try;; | ||
| 22500 | esac | ||
| 22501 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 22502 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22398 | ac_status=$? | 22503 | ac_status=$? |
| 22399 | grep -v '^ *+' conftest.er1 >conftest.err | 22504 | grep -v '^ *+' conftest.er1 >conftest.err |
| 22400 | rm -f conftest.er1 | 22505 | rm -f conftest.er1 |
| 22401 | cat conftest.err >&5 | 22506 | cat conftest.err >&5 |
| 22402 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22507 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 22403 | (exit $ac_status); } && | 22508 | (exit $ac_status); } && { |
| 22404 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 22509 | test -z "$ac_c_werror_flag" || |
| 22405 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22510 | test ! -s conftest.err |
| 22406 | (eval $ac_try) 2>&5 | 22511 | } && test -s conftest.$ac_objext; then |
| 22407 | ac_status=$? | ||
| 22408 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22409 | (exit $ac_status); }; } && | ||
| 22410 | { ac_try='test -s conftest.$ac_objext' | ||
| 22411 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 22412 | (eval $ac_try) 2>&5 | ||
| 22413 | ac_status=$? | ||
| 22414 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22415 | (exit $ac_status); }; }; then | ||
| 22416 | ac_cv_type_mbstate_t=yes | 22512 | ac_cv_type_mbstate_t=yes |
| 22417 | else | 22513 | else |
| 22418 | echo "$as_me: failed program was:" >&5 | 22514 | echo "$as_me: failed program was:" >&5 |
| 22419 | sed 's/^/| /' conftest.$ac_ext >&5 | 22515 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 22420 | 22516 | ||
| 22421 | ac_cv_type_mbstate_t=no | 22517 | ac_cv_type_mbstate_t=no |
| 22422 | fi | 22518 | fi |
| 22423 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 22519 | |
| 22520 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22424 | fi | 22521 | fi |
| 22425 | echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 | 22522 | { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 |
| 22426 | echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6 | 22523 | echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; } |
| 22427 | if test $ac_cv_type_mbstate_t = yes; then | 22524 | if test $ac_cv_type_mbstate_t = yes; then |
| 22428 | 22525 | ||
| 22429 | cat >>confdefs.h <<\_ACEOF | 22526 | cat >>confdefs.h <<\_ACEOF |
| @@ -22438,8 +22535,8 @@ _ACEOF | |||
| 22438 | 22535 | ||
| 22439 | fi | 22536 | fi |
| 22440 | 22537 | ||
| 22441 | echo "$as_me:$LINENO: checking for C restrict keyword" >&5 | 22538 | { echo "$as_me:$LINENO: checking for C restrict keyword" >&5 |
| 22442 | echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6 | 22539 | echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6; } |
| 22443 | if test "${emacs_cv_c_restrict+set}" = set; then | 22540 | if test "${emacs_cv_c_restrict+set}" = set; then |
| 22444 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22541 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 22445 | else | 22542 | else |
| @@ -22459,32 +22556,28 @@ main () | |||
| 22459 | } | 22556 | } |
| 22460 | _ACEOF | 22557 | _ACEOF |
| 22461 | rm -f conftest.$ac_objext | 22558 | rm -f conftest.$ac_objext |
| 22462 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 22559 | if { (ac_try="$ac_compile" |
| 22463 | (eval $ac_compile) 2>conftest.er1 | 22560 | case "(($ac_try" in |
| 22561 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22562 | *) ac_try_echo=$ac_try;; | ||
| 22563 | esac | ||
| 22564 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 22565 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22464 | ac_status=$? | 22566 | ac_status=$? |
| 22465 | grep -v '^ *+' conftest.er1 >conftest.err | 22567 | grep -v '^ *+' conftest.er1 >conftest.err |
| 22466 | rm -f conftest.er1 | 22568 | rm -f conftest.er1 |
| 22467 | cat conftest.err >&5 | 22569 | cat conftest.err >&5 |
| 22468 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22570 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 22469 | (exit $ac_status); } && | 22571 | (exit $ac_status); } && { |
| 22470 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 22572 | test -z "$ac_c_werror_flag" || |
| 22471 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22573 | test ! -s conftest.err |
| 22472 | (eval $ac_try) 2>&5 | 22574 | } && test -s conftest.$ac_objext; then |
| 22473 | ac_status=$? | ||
| 22474 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22475 | (exit $ac_status); }; } && | ||
| 22476 | { ac_try='test -s conftest.$ac_objext' | ||
| 22477 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 22478 | (eval $ac_try) 2>&5 | ||
| 22479 | ac_status=$? | ||
| 22480 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22481 | (exit $ac_status); }; }; then | ||
| 22482 | emacs_cv_c_restrict=yes | 22575 | emacs_cv_c_restrict=yes |
| 22483 | else | 22576 | else |
| 22484 | echo "$as_me: failed program was:" >&5 | 22577 | echo "$as_me: failed program was:" >&5 |
| 22485 | sed 's/^/| /' conftest.$ac_ext >&5 | 22578 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 22486 | 22579 | ||
| 22487 | cat >conftest.$ac_ext <<_ACEOF | 22580 | cat >conftest.$ac_ext <<_ACEOF |
| 22488 | /* confdefs.h. */ | 22581 | /* confdefs.h. */ |
| 22489 | _ACEOF | 22582 | _ACEOF |
| 22490 | cat confdefs.h >>conftest.$ac_ext | 22583 | cat confdefs.h >>conftest.$ac_ext |
| @@ -22500,39 +22593,37 @@ main () | |||
| 22500 | } | 22593 | } |
| 22501 | _ACEOF | 22594 | _ACEOF |
| 22502 | rm -f conftest.$ac_objext | 22595 | rm -f conftest.$ac_objext |
| 22503 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 22596 | if { (ac_try="$ac_compile" |
| 22504 | (eval $ac_compile) 2>conftest.er1 | 22597 | case "(($ac_try" in |
| 22598 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22599 | *) ac_try_echo=$ac_try;; | ||
| 22600 | esac | ||
| 22601 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 22602 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22505 | ac_status=$? | 22603 | ac_status=$? |
| 22506 | grep -v '^ *+' conftest.er1 >conftest.err | 22604 | grep -v '^ *+' conftest.er1 >conftest.err |
| 22507 | rm -f conftest.er1 | 22605 | rm -f conftest.er1 |
| 22508 | cat conftest.err >&5 | 22606 | cat conftest.err >&5 |
| 22509 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22607 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 22510 | (exit $ac_status); } && | 22608 | (exit $ac_status); } && { |
| 22511 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 22609 | test -z "$ac_c_werror_flag" || |
| 22512 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22610 | test ! -s conftest.err |
| 22513 | (eval $ac_try) 2>&5 | 22611 | } && test -s conftest.$ac_objext; then |
| 22514 | ac_status=$? | ||
| 22515 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22516 | (exit $ac_status); }; } && | ||
| 22517 | { ac_try='test -s conftest.$ac_objext' | ||
| 22518 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 22519 | (eval $ac_try) 2>&5 | ||
| 22520 | ac_status=$? | ||
| 22521 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22522 | (exit $ac_status); }; }; then | ||
| 22523 | emacs_cv_c_restrict=__restrict | 22612 | emacs_cv_c_restrict=__restrict |
| 22524 | else | 22613 | else |
| 22525 | echo "$as_me: failed program was:" >&5 | 22614 | echo "$as_me: failed program was:" >&5 |
| 22526 | sed 's/^/| /' conftest.$ac_ext >&5 | 22615 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 22527 | 22616 | ||
| 22528 | emacs_cv_c_restrict=no | 22617 | emacs_cv_c_restrict=no |
| 22529 | fi | 22618 | fi |
| 22530 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 22619 | |
| 22620 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22531 | fi | 22621 | fi |
| 22532 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 22622 | |
| 22623 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22533 | fi | 22624 | fi |
| 22534 | echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5 | 22625 | { echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5 |
| 22535 | echo "${ECHO_T}$emacs_cv_c_restrict" >&6 | 22626 | echo "${ECHO_T}$emacs_cv_c_restrict" >&6; } |
| 22536 | case "$emacs_cv_c_restrict" in | 22627 | case "$emacs_cv_c_restrict" in |
| 22537 | yes) emacs_restrict=restrict;; | 22628 | yes) emacs_restrict=restrict;; |
| 22538 | no) emacs_restrict="";; | 22629 | no) emacs_restrict="";; |
| @@ -22546,8 +22637,8 @@ _ACEOF | |||
| 22546 | 22637 | ||
| 22547 | fi | 22638 | fi |
| 22548 | 22639 | ||
| 22549 | echo "$as_me:$LINENO: checking for C restricted array declarations" >&5 | 22640 | { echo "$as_me:$LINENO: checking for C restricted array declarations" >&5 |
| 22550 | echo $ECHO_N "checking for C restricted array declarations... $ECHO_C" >&6 | 22641 | echo $ECHO_N "checking for C restricted array declarations... $ECHO_C" >&6; } |
| 22551 | if test "${emacs_cv_c_restrict_arr+set}" = set; then | 22642 | if test "${emacs_cv_c_restrict_arr+set}" = set; then |
| 22552 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 22643 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 22553 | else | 22644 | else |
| @@ -22567,37 +22658,34 @@ main () | |||
| 22567 | } | 22658 | } |
| 22568 | _ACEOF | 22659 | _ACEOF |
| 22569 | rm -f conftest.$ac_objext | 22660 | rm -f conftest.$ac_objext |
| 22570 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 22661 | if { (ac_try="$ac_compile" |
| 22571 | (eval $ac_compile) 2>conftest.er1 | 22662 | case "(($ac_try" in |
| 22663 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
| 22664 | *) ac_try_echo=$ac_try;; | ||
| 22665 | esac | ||
| 22666 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
| 22667 | (eval "$ac_compile") 2>conftest.er1 | ||
| 22572 | ac_status=$? | 22668 | ac_status=$? |
| 22573 | grep -v '^ *+' conftest.er1 >conftest.err | 22669 | grep -v '^ *+' conftest.er1 >conftest.err |
| 22574 | rm -f conftest.er1 | 22670 | rm -f conftest.er1 |
| 22575 | cat conftest.err >&5 | 22671 | cat conftest.err >&5 |
| 22576 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22672 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 22577 | (exit $ac_status); } && | 22673 | (exit $ac_status); } && { |
| 22578 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | 22674 | test -z "$ac_c_werror_flag" || |
| 22579 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22675 | test ! -s conftest.err |
| 22580 | (eval $ac_try) 2>&5 | 22676 | } && test -s conftest.$ac_objext; then |
| 22581 | ac_status=$? | ||
| 22582 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22583 | (exit $ac_status); }; } && | ||
| 22584 | { ac_try='test -s conftest.$ac_objext' | ||
| 22585 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 22586 | (eval $ac_try) 2>&5 | ||
| 22587 | ac_status=$? | ||
| 22588 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 22589 | (exit $ac_status); }; }; then | ||
| 22590 | emacs_cv_c_restrict_arr=yes | 22677 | emacs_cv_c_restrict_arr=yes |
| 22591 | else | 22678 | else |
| 22592 | echo "$as_me: failed program was:" >&5 | 22679 | echo "$as_me: failed program was:" >&5 |
| 22593 | sed 's/^/| /' conftest.$ac_ext >&5 | 22680 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 22594 | 22681 | ||
| 22595 | emacs_cv_c_restrict_arr=no | 22682 | emacs_cv_c_restrict_arr=no |
| 22596 | fi | 22683 | fi |
| 22597 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 22684 | |
| 22685 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 22598 | fi | 22686 | fi |
| 22599 | echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5 | 22687 | { echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5 |
| 22600 | echo "${ECHO_T}$emacs_cv_c_restrict_arr" >&6 | 22688 | echo "${ECHO_T}$emacs_cv_c_restrict_arr" >&6; } |
| 22601 | if test "$emacs_cv_c_restrict_arr" = yes; then | 22689 | if test "$emacs_cv_c_restrict_arr" = yes; then |
| 22602 | 22690 | ||
| 22603 | cat >>confdefs.h <<\_ACEOF | 22691 | cat >>confdefs.h <<\_ACEOF |
| @@ -22829,8 +22917,10 @@ fi | |||
| 22829 | rm -f conftest* | 22917 | rm -f conftest* |
| 22830 | 22918 | ||
| 22831 | 22919 | ||
| 22832 | ac_config_files="$ac_config_files Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile man/Makefile lwlib/Makefile src/Makefile.c:src/Makefile.in lisp/Makefile lispref/Makefile lispintro/Makefile leim/Makefile" | 22920 | ac_config_files="$ac_config_files Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile man/Makefile lwlib/Makefile src/Makefile.c:src/Makefile.in lisp/Makefile lispref/Makefile lispintro/Makefile leim/Makefile" |
| 22833 | ac_config_commands="$ac_config_commands default" | 22921 | |
| 22922 | ac_config_commands="$ac_config_commands default" | ||
| 22923 | |||
| 22834 | cat >confcache <<\_ACEOF | 22924 | cat >confcache <<\_ACEOF |
| 22835 | # This file is a shell script that caches the results of configure | 22925 | # This file is a shell script that caches the results of configure |
| 22836 | # tests run on this system so they can be shared between configure | 22926 | # tests run on this system so they can be shared between configure |
| @@ -22849,39 +22939,58 @@ _ACEOF | |||
| 22849 | 22939 | ||
| 22850 | # The following way of writing the cache mishandles newlines in values, | 22940 | # The following way of writing the cache mishandles newlines in values, |
| 22851 | # but we know of no workaround that is simple, portable, and efficient. | 22941 | # but we know of no workaround that is simple, portable, and efficient. |
| 22852 | # So, don't put newlines in cache variables' values. | 22942 | # So, we kill variables containing newlines. |
| 22853 | # Ultrix sh set writes to stderr and can't be redirected directly, | 22943 | # Ultrix sh set writes to stderr and can't be redirected directly, |
| 22854 | # and sets the high bit in the cache file unless we assign to the vars. | 22944 | # and sets the high bit in the cache file unless we assign to the vars. |
| 22855 | { | 22945 | ( |
| 22946 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | ||
| 22947 | eval ac_val=\$$ac_var | ||
| 22948 | case $ac_val in #( | ||
| 22949 | *${as_nl}*) | ||
| 22950 | case $ac_var in #( | ||
| 22951 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | ||
| 22952 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | ||
| 22953 | esac | ||
| 22954 | case $ac_var in #( | ||
| 22955 | _ | IFS | as_nl) ;; #( | ||
| 22956 | *) $as_unset $ac_var ;; | ||
| 22957 | esac ;; | ||
| 22958 | esac | ||
| 22959 | done | ||
| 22960 | |||
| 22856 | (set) 2>&1 | | 22961 | (set) 2>&1 | |
| 22857 | case `(ac_space=' '; set | grep ac_space) 2>&1` in | 22962 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 22858 | *ac_space=\ *) | 22963 | *${as_nl}ac_space=\ *) |
| 22859 | # `set' does not quote correctly, so add quotes (double-quote | 22964 | # `set' does not quote correctly, so add quotes (double-quote |
| 22860 | # substitution turns \\\\ into \\, and sed turns \\ into \). | 22965 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
| 22861 | sed -n \ | 22966 | sed -n \ |
| 22862 | "s/'/'\\\\''/g; | 22967 | "s/'/'\\\\''/g; |
| 22863 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 22968 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 22864 | ;; | 22969 | ;; #( |
| 22865 | *) | 22970 | *) |
| 22866 | # `set' quotes correctly as required by POSIX, so do not add quotes. | 22971 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
| 22867 | sed -n \ | 22972 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 22868 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | ||
| 22869 | ;; | 22973 | ;; |
| 22870 | esac; | 22974 | esac | |
| 22871 | } | | 22975 | sort |
| 22976 | ) | | ||
| 22872 | sed ' | 22977 | sed ' |
| 22978 | /^ac_cv_env_/b end | ||
| 22873 | t clear | 22979 | t clear |
| 22874 | : clear | 22980 | :clear |
| 22875 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 22981 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
| 22876 | t end | 22982 | t end |
| 22877 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 22983 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 22878 | : end' >>confcache | 22984 | :end' >>confcache |
| 22879 | if diff $cache_file confcache >/dev/null 2>&1; then :; else | 22985 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 22880 | if test -w $cache_file; then | 22986 | if test -w "$cache_file"; then |
| 22881 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 22987 | test "x$cache_file" != "x/dev/null" && |
| 22988 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5 | ||
| 22989 | echo "$as_me: updating cache $cache_file" >&6;} | ||
| 22882 | cat confcache >$cache_file | 22990 | cat confcache >$cache_file |
| 22883 | else | 22991 | else |
| 22884 | echo "not updating unwritable cache $cache_file" | 22992 | { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
| 22993 | echo "$as_me: not updating unwritable cache $cache_file" >&6;} | ||
| 22885 | fi | 22994 | fi |
| 22886 | fi | 22995 | fi |
| 22887 | rm -f confcache | 22996 | rm -f confcache |
| @@ -22890,32 +22999,18 @@ test "x$prefix" = xNONE && prefix=$ac_default_prefix | |||
| 22890 | # Let make expand exec_prefix. | 22999 | # Let make expand exec_prefix. |
| 22891 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 23000 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 22892 | 23001 | ||
| 22893 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | ||
| 22894 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | ||
| 22895 | # trailing colons and then remove the whole line if VPATH becomes empty | ||
| 22896 | # (actually we leave an empty line to preserve line numbers). | ||
| 22897 | if test "x$srcdir" = x.; then | ||
| 22898 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | ||
| 22899 | s/:*\$(srcdir):*/:/; | ||
| 22900 | s/:*\${srcdir}:*/:/; | ||
| 22901 | s/:*@srcdir@:*/:/; | ||
| 22902 | s/^\([^=]*=[ ]*\):*/\1/; | ||
| 22903 | s/:*$//; | ||
| 22904 | s/^[^=]*=[ ]*$//; | ||
| 22905 | }' | ||
| 22906 | fi | ||
| 22907 | |||
| 22908 | DEFS=-DHAVE_CONFIG_H | 23002 | DEFS=-DHAVE_CONFIG_H |
| 22909 | 23003 | ||
| 22910 | ac_libobjs= | 23004 | ac_libobjs= |
| 22911 | ac_ltlibobjs= | 23005 | ac_ltlibobjs= |
| 22912 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 23006 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 22913 | # 1. Remove the extension, and $U if already installed. | 23007 | # 1. Remove the extension, and $U if already installed. |
| 22914 | ac_i=`echo "$ac_i" | | 23008 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 22915 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | 23009 | ac_i=`echo "$ac_i" | sed "$ac_script"` |
| 22916 | # 2. Add them. | 23010 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 22917 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | 23011 | # will be set to the directory where LIBOBJS objects are built. |
| 22918 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | 23012 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 23013 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | ||
| 22919 | done | 23014 | done |
| 22920 | LIBOBJS=$ac_libobjs | 23015 | LIBOBJS=$ac_libobjs |
| 22921 | 23016 | ||
| @@ -22946,17 +23041,45 @@ cat >>$CONFIG_STATUS <<\_ACEOF | |||
| 22946 | ## M4sh Initialization. ## | 23041 | ## M4sh Initialization. ## |
| 22947 | ## --------------------- ## | 23042 | ## --------------------- ## |
| 22948 | 23043 | ||
| 22949 | # Be Bourne compatible | 23044 | # Be more Bourne compatible |
| 23045 | DUALCASE=1; export DUALCASE # for MKS sh | ||
| 22950 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 23046 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| 22951 | emulate sh | 23047 | emulate sh |
| 22952 | NULLCMD=: | 23048 | NULLCMD=: |
| 22953 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 23049 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| 22954 | # is contrary to our usage. Disable this feature. | 23050 | # is contrary to our usage. Disable this feature. |
| 22955 | alias -g '${1+"$@"}'='"$@"' | 23051 | alias -g '${1+"$@"}'='"$@"' |
| 22956 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 23052 | setopt NO_GLOB_SUBST |
| 22957 | set -o posix | 23053 | else |
| 23054 | case `(set -o) 2>/dev/null` in | ||
| 23055 | *posix*) set -o posix ;; | ||
| 23056 | esac | ||
| 23057 | |||
| 23058 | fi | ||
| 23059 | |||
| 23060 | |||
| 23061 | |||
| 23062 | |||
| 23063 | # PATH needs CR | ||
| 23064 | # Avoid depending upon Character Ranges. | ||
| 23065 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 23066 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 23067 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 23068 | as_cr_digits='0123456789' | ||
| 23069 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 23070 | |||
| 23071 | # The user is always right. | ||
| 23072 | if test "${PATH_SEPARATOR+set}" != set; then | ||
| 23073 | echo "#! /bin/sh" >conf$$.sh | ||
| 23074 | echo "exit 0" >>conf$$.sh | ||
| 23075 | chmod +x conf$$.sh | ||
| 23076 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
| 23077 | PATH_SEPARATOR=';' | ||
| 23078 | else | ||
| 23079 | PATH_SEPARATOR=: | ||
| 23080 | fi | ||
| 23081 | rm -f conf$$.sh | ||
| 22958 | fi | 23082 | fi |
| 22959 | DUALCASE=1; export DUALCASE # for MKS sh | ||
| 22960 | 23083 | ||
| 22961 | # Support unset when possible. | 23084 | # Support unset when possible. |
| 22962 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 23085 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| @@ -22966,8 +23089,43 @@ else | |||
| 22966 | fi | 23089 | fi |
| 22967 | 23090 | ||
| 22968 | 23091 | ||
| 23092 | # IFS | ||
| 23093 | # We need space, tab and new line, in precisely that order. Quoting is | ||
| 23094 | # there to prevent editors from complaining about space-tab. | ||
| 23095 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | ||
| 23096 | # splitting by setting IFS to empty value.) | ||
| 23097 | as_nl=' | ||
| 23098 | ' | ||
| 23099 | IFS=" "" $as_nl" | ||
| 23100 | |||
| 23101 | # Find who we are. Look in the path if we contain no directory separator. | ||
| 23102 | case $0 in | ||
| 23103 | *[\\/]* ) as_myself=$0 ;; | ||
| 23104 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 23105 | for as_dir in $PATH | ||
| 23106 | do | ||
| 23107 | IFS=$as_save_IFS | ||
| 23108 | test -z "$as_dir" && as_dir=. | ||
| 23109 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
| 23110 | done | ||
| 23111 | IFS=$as_save_IFS | ||
| 23112 | |||
| 23113 | ;; | ||
| 23114 | esac | ||
| 23115 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
| 23116 | # in which case we are not to be found in the path. | ||
| 23117 | if test "x$as_myself" = x; then | ||
| 23118 | as_myself=$0 | ||
| 23119 | fi | ||
| 23120 | if test ! -f "$as_myself"; then | ||
| 23121 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | ||
| 23122 | { (exit 1); exit 1; } | ||
| 23123 | fi | ||
| 23124 | |||
| 22969 | # Work around bugs in pre-3.0 UWIN ksh. | 23125 | # Work around bugs in pre-3.0 UWIN ksh. |
| 22970 | $as_unset ENV MAIL MAILPATH | 23126 | for as_var in ENV MAIL MAILPATH |
| 23127 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
| 23128 | done | ||
| 22971 | PS1='$ ' | 23129 | PS1='$ ' |
| 22972 | PS2='> ' | 23130 | PS2='> ' |
| 22973 | PS4='+ ' | 23131 | PS4='+ ' |
| @@ -22981,18 +23139,19 @@ do | |||
| 22981 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 23139 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| 22982 | eval $as_var=C; export $as_var | 23140 | eval $as_var=C; export $as_var |
| 22983 | else | 23141 | else |
| 22984 | $as_unset $as_var | 23142 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| 22985 | fi | 23143 | fi |
| 22986 | done | 23144 | done |
| 22987 | 23145 | ||
| 22988 | # Required to use basename. | 23146 | # Required to use basename. |
| 22989 | if expr a : '\(a\)' >/dev/null 2>&1; then | 23147 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 23148 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 22990 | as_expr=expr | 23149 | as_expr=expr |
| 22991 | else | 23150 | else |
| 22992 | as_expr=false | 23151 | as_expr=false |
| 22993 | fi | 23152 | fi |
| 22994 | 23153 | ||
| 22995 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 23154 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 22996 | as_basename=basename | 23155 | as_basename=basename |
| 22997 | else | 23156 | else |
| 22998 | as_basename=false | 23157 | as_basename=false |
| @@ -23000,159 +23159,120 @@ fi | |||
| 23000 | 23159 | ||
| 23001 | 23160 | ||
| 23002 | # Name of the executable. | 23161 | # Name of the executable. |
| 23003 | as_me=`$as_basename "$0" || | 23162 | as_me=`$as_basename -- "$0" || |
| 23004 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 23163 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 23005 | X"$0" : 'X\(//\)$' \| \ | 23164 | X"$0" : 'X\(//\)$' \| \ |
| 23006 | X"$0" : 'X\(/\)$' \| \ | 23165 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 23007 | . : '\(.\)' 2>/dev/null || | ||
| 23008 | echo X/"$0" | | 23166 | echo X/"$0" | |
| 23009 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 23167 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 23010 | /^X\/\(\/\/\)$/{ s//\1/; q; } | 23168 | s//\1/ |
| 23011 | /^X\/\(\/\).*/{ s//\1/; q; } | 23169 | q |
| 23012 | s/.*/./; q'` | 23170 | } |
| 23013 | 23171 | /^X\/\(\/\/\)$/{ | |
| 23172 | s//\1/ | ||
| 23173 | q | ||
| 23174 | } | ||
| 23175 | /^X\/\(\/\).*/{ | ||
| 23176 | s//\1/ | ||
| 23177 | q | ||
| 23178 | } | ||
| 23179 | s/.*/./; q'` | ||
| 23014 | 23180 | ||
| 23015 | # PATH needs CR, and LINENO needs CR and PATH. | 23181 | # CDPATH. |
| 23016 | # Avoid depending upon Character Ranges. | 23182 | $as_unset CDPATH |
| 23017 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
| 23018 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
| 23019 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
| 23020 | as_cr_digits='0123456789' | ||
| 23021 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
| 23022 | 23183 | ||
| 23023 | # The user is always right. | ||
| 23024 | if test "${PATH_SEPARATOR+set}" != set; then | ||
| 23025 | echo "#! /bin/sh" >conf$$.sh | ||
| 23026 | echo "exit 0" >>conf$$.sh | ||
| 23027 | chmod +x conf$$.sh | ||
| 23028 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | ||
| 23029 | PATH_SEPARATOR=';' | ||
| 23030 | else | ||
| 23031 | PATH_SEPARATOR=: | ||
| 23032 | fi | ||
| 23033 | rm -f conf$$.sh | ||
| 23034 | fi | ||
| 23035 | 23184 | ||
| 23036 | 23185 | ||
| 23037 | as_lineno_1=$LINENO | 23186 | as_lineno_1=$LINENO |
| 23038 | as_lineno_2=$LINENO | 23187 | as_lineno_2=$LINENO |
| 23039 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
| 23040 | test "x$as_lineno_1" != "x$as_lineno_2" && | 23188 | test "x$as_lineno_1" != "x$as_lineno_2" && |
| 23041 | test "x$as_lineno_3" = "x$as_lineno_2" || { | 23189 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
| 23042 | # Find who we are. Look in the path if we contain no path at all | ||
| 23043 | # relative or not. | ||
| 23044 | case $0 in | ||
| 23045 | *[\\/]* ) as_myself=$0 ;; | ||
| 23046 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 23047 | for as_dir in $PATH | ||
| 23048 | do | ||
| 23049 | IFS=$as_save_IFS | ||
| 23050 | test -z "$as_dir" && as_dir=. | ||
| 23051 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
| 23052 | done | ||
| 23053 | |||
| 23054 | ;; | ||
| 23055 | esac | ||
| 23056 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
| 23057 | # in which case we are not to be found in the path. | ||
| 23058 | if test "x$as_myself" = x; then | ||
| 23059 | as_myself=$0 | ||
| 23060 | fi | ||
| 23061 | if test ! -f "$as_myself"; then | ||
| 23062 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | ||
| 23063 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | ||
| 23064 | { (exit 1); exit 1; }; } | ||
| 23065 | fi | ||
| 23066 | case $CONFIG_SHELL in | ||
| 23067 | '') | ||
| 23068 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
| 23069 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
| 23070 | do | ||
| 23071 | IFS=$as_save_IFS | ||
| 23072 | test -z "$as_dir" && as_dir=. | ||
| 23073 | for as_base in sh bash ksh sh5; do | ||
| 23074 | case $as_dir in | ||
| 23075 | /*) | ||
| 23076 | if ("$as_dir/$as_base" -c ' | ||
| 23077 | as_lineno_1=$LINENO | ||
| 23078 | as_lineno_2=$LINENO | ||
| 23079 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | ||
| 23080 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
| 23081 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | ||
| 23082 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | ||
| 23083 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | ||
| 23084 | CONFIG_SHELL=$as_dir/$as_base | ||
| 23085 | export CONFIG_SHELL | ||
| 23086 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} | ||
| 23087 | fi;; | ||
| 23088 | esac | ||
| 23089 | done | ||
| 23090 | done | ||
| 23091 | ;; | ||
| 23092 | esac | ||
| 23093 | 23190 | ||
| 23094 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 23191 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| 23095 | # uniformly replaced by the line number. The first 'sed' inserts a | 23192 | # uniformly replaced by the line number. The first 'sed' inserts a |
| 23096 | # line-number line before each line; the second 'sed' does the real | 23193 | # line-number line after each line using $LINENO; the second 'sed' |
| 23097 | # work. The second script uses 'N' to pair each line-number line | 23194 | # does the real work. The second script uses 'N' to pair each |
| 23098 | # with the numbered line, and appends trailing '-' during | 23195 | # line-number line with the line containing $LINENO, and appends |
| 23099 | # substitution so that $LINENO is not a special case at line end. | 23196 | # trailing '-' during substitution so that $LINENO is not a special |
| 23197 | # case at line end. | ||
| 23100 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 23198 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| 23101 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | 23199 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
| 23102 | sed '=' <$as_myself | | 23200 | # E. McMahon (1931-1989) for sed's syntax. :-) |
| 23201 | sed -n ' | ||
| 23202 | p | ||
| 23203 | /[$]LINENO/= | ||
| 23204 | ' <$as_myself | | ||
| 23103 | sed ' | 23205 | sed ' |
| 23206 | s/[$]LINENO.*/&-/ | ||
| 23207 | t lineno | ||
| 23208 | b | ||
| 23209 | :lineno | ||
| 23104 | N | 23210 | N |
| 23105 | s,$,-, | 23211 | :loop |
| 23106 | : loop | 23212 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 23107 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | ||
| 23108 | t loop | 23213 | t loop |
| 23109 | s,-$,, | 23214 | s/-\n.*// |
| 23110 | s,^['$as_cr_digits']*\n,, | ||
| 23111 | ' >$as_me.lineno && | 23215 | ' >$as_me.lineno && |
| 23112 | chmod +x $as_me.lineno || | 23216 | chmod +x "$as_me.lineno" || |
| 23113 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | 23217 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| 23114 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | ||
| 23115 | { (exit 1); exit 1; }; } | 23218 | { (exit 1); exit 1; }; } |
| 23116 | 23219 | ||
| 23117 | # Don't try to exec as it changes $[0], causing all sort of problems | 23220 | # Don't try to exec as it changes $[0], causing all sort of problems |
| 23118 | # (the dirname of $[0] is not the place where we might find the | 23221 | # (the dirname of $[0] is not the place where we might find the |
| 23119 | # original and so on. Autoconf is especially sensible to this). | 23222 | # original and so on. Autoconf is especially sensitive to this). |
| 23120 | . ./$as_me.lineno | 23223 | . "./$as_me.lineno" |
| 23121 | # Exit status is that of the last command. | 23224 | # Exit status is that of the last command. |
| 23122 | exit | 23225 | exit |
| 23123 | } | 23226 | } |
| 23124 | 23227 | ||
| 23125 | 23228 | ||
| 23126 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 23229 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 23127 | *c*,-n*) ECHO_N= ECHO_C=' | 23230 | as_dirname=dirname |
| 23128 | ' ECHO_T=' ' ;; | 23231 | else |
| 23129 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 23232 | as_dirname=false |
| 23130 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | 23233 | fi |
| 23234 | |||
| 23235 | ECHO_C= ECHO_N= ECHO_T= | ||
| 23236 | case `echo -n x` in | ||
| 23237 | -n*) | ||
| 23238 | case `echo 'x\c'` in | ||
| 23239 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | ||
| 23240 | *) ECHO_C='\c';; | ||
| 23241 | esac;; | ||
| 23242 | *) | ||
| 23243 | ECHO_N='-n';; | ||
| 23131 | esac | 23244 | esac |
| 23132 | 23245 | ||
| 23133 | if expr a : '\(a\)' >/dev/null 2>&1; then | 23246 | if expr a : '\(a\)' >/dev/null 2>&1 && |
| 23247 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
| 23134 | as_expr=expr | 23248 | as_expr=expr |
| 23135 | else | 23249 | else |
| 23136 | as_expr=false | 23250 | as_expr=false |
| 23137 | fi | 23251 | fi |
| 23138 | 23252 | ||
| 23139 | rm -f conf$$ conf$$.exe conf$$.file | 23253 | rm -f conf$$ conf$$.exe conf$$.file |
| 23254 | if test -d conf$$.dir; then | ||
| 23255 | rm -f conf$$.dir/conf$$.file | ||
| 23256 | else | ||
| 23257 | rm -f conf$$.dir | ||
| 23258 | mkdir conf$$.dir | ||
| 23259 | fi | ||
| 23140 | echo >conf$$.file | 23260 | echo >conf$$.file |
| 23141 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 23261 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 23142 | # We could just check for DJGPP; but this test a) works b) is more generic | 23262 | as_ln_s='ln -s' |
| 23143 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 23263 | # ... but there are two gotchas: |
| 23144 | if test -f conf$$.exe; then | 23264 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 23145 | # Don't use ln at all; we don't have any links | 23265 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 23266 | # In both cases, we have to default to `cp -p'. | ||
| 23267 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | ||
| 23146 | as_ln_s='cp -p' | 23268 | as_ln_s='cp -p' |
| 23147 | else | ||
| 23148 | as_ln_s='ln -s' | ||
| 23149 | fi | ||
| 23150 | elif ln conf$$.file conf$$ 2>/dev/null; then | 23269 | elif ln conf$$.file conf$$ 2>/dev/null; then |
| 23151 | as_ln_s=ln | 23270 | as_ln_s=ln |
| 23152 | else | 23271 | else |
| 23153 | as_ln_s='cp -p' | 23272 | as_ln_s='cp -p' |
| 23154 | fi | 23273 | fi |
| 23155 | rm -f conf$$ conf$$.exe conf$$.file | 23274 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 23275 | rmdir conf$$.dir 2>/dev/null | ||
| 23156 | 23276 | ||
| 23157 | if mkdir -p . 2>/dev/null; then | 23277 | if mkdir -p . 2>/dev/null; then |
| 23158 | as_mkdir_p=: | 23278 | as_mkdir_p=: |
| @@ -23161,7 +23281,28 @@ else | |||
| 23161 | as_mkdir_p=false | 23281 | as_mkdir_p=false |
| 23162 | fi | 23282 | fi |
| 23163 | 23283 | ||
| 23164 | as_executable_p="test -f" | 23284 | if test -x / >/dev/null 2>&1; then |
| 23285 | as_test_x='test -x' | ||
| 23286 | else | ||
| 23287 | if ls -dL / >/dev/null 2>&1; then | ||
| 23288 | as_ls_L_option=L | ||
| 23289 | else | ||
| 23290 | as_ls_L_option= | ||
| 23291 | fi | ||
| 23292 | as_test_x=' | ||
| 23293 | eval sh -c '\'' | ||
| 23294 | if test -d "$1"; then | ||
| 23295 | test -d "$1/."; | ||
| 23296 | else | ||
| 23297 | case $1 in | ||
| 23298 | -*)set "./$1";; | ||
| 23299 | esac; | ||
| 23300 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | ||
| 23301 | ???[sx]*):;;*)false;;esac;fi | ||
| 23302 | '\'' sh | ||
| 23303 | ' | ||
| 23304 | fi | ||
| 23305 | as_executable_p=$as_test_x | ||
| 23165 | 23306 | ||
| 23166 | # Sed expression to map a string onto a valid CPP name. | 23307 | # Sed expression to map a string onto a valid CPP name. |
| 23167 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 23308 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| @@ -23170,31 +23311,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |||
| 23170 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 23311 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 23171 | 23312 | ||
| 23172 | 23313 | ||
| 23173 | # IFS | ||
| 23174 | # We need space, tab and new line, in precisely that order. | ||
| 23175 | as_nl=' | ||
| 23176 | ' | ||
| 23177 | IFS=" $as_nl" | ||
| 23178 | |||
| 23179 | # CDPATH. | ||
| 23180 | $as_unset CDPATH | ||
| 23181 | |||
| 23182 | exec 6>&1 | 23314 | exec 6>&1 |
| 23183 | 23315 | ||
| 23184 | # Open the log real soon, to keep \$[0] and so on meaningful, and to | 23316 | # Save the log message, to keep $[0] and so on meaningful, and to |
| 23185 | # report actual input values of CONFIG_FILES etc. instead of their | 23317 | # report actual input values of CONFIG_FILES etc. instead of their |
| 23186 | # values after options handling. Logging --version etc. is OK. | 23318 | # values after options handling. |
| 23187 | exec 5>>config.log | 23319 | ac_log=" |
| 23188 | { | ||
| 23189 | echo | ||
| 23190 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | ||
| 23191 | ## Running $as_me. ## | ||
| 23192 | _ASBOX | ||
| 23193 | } >&5 | ||
| 23194 | cat >&5 <<_CSEOF | ||
| 23195 | |||
| 23196 | This file was extended by $as_me, which was | 23320 | This file was extended by $as_me, which was |
| 23197 | generated by GNU Autoconf 2.59. Invocation command line was | 23321 | generated by GNU Autoconf 2.61. Invocation command line was |
| 23198 | 23322 | ||
| 23199 | CONFIG_FILES = $CONFIG_FILES | 23323 | CONFIG_FILES = $CONFIG_FILES |
| 23200 | CONFIG_HEADERS = $CONFIG_HEADERS | 23324 | CONFIG_HEADERS = $CONFIG_HEADERS |
| @@ -23202,30 +23326,20 @@ generated by GNU Autoconf 2.59. Invocation command line was | |||
| 23202 | CONFIG_COMMANDS = $CONFIG_COMMANDS | 23326 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 23203 | $ $0 $@ | 23327 | $ $0 $@ |
| 23204 | 23328 | ||
| 23205 | _CSEOF | 23329 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 23206 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | 23330 | " |
| 23207 | echo >&5 | 23331 | |
| 23208 | _ACEOF | 23332 | _ACEOF |
| 23209 | 23333 | ||
| 23334 | cat >>$CONFIG_STATUS <<_ACEOF | ||
| 23210 | # Files that config.status was made for. | 23335 | # Files that config.status was made for. |
| 23211 | if test -n "$ac_config_files"; then | 23336 | config_files="$ac_config_files" |
| 23212 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | 23337 | config_headers="$ac_config_headers" |
| 23213 | fi | 23338 | config_commands="$ac_config_commands" |
| 23214 | |||
| 23215 | if test -n "$ac_config_headers"; then | ||
| 23216 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | ||
| 23217 | fi | ||
| 23218 | 23339 | ||
| 23219 | if test -n "$ac_config_links"; then | 23340 | _ACEOF |
| 23220 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | ||
| 23221 | fi | ||
| 23222 | |||
| 23223 | if test -n "$ac_config_commands"; then | ||
| 23224 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | ||
| 23225 | fi | ||
| 23226 | 23341 | ||
| 23227 | cat >>$CONFIG_STATUS <<\_ACEOF | 23342 | cat >>$CONFIG_STATUS <<\_ACEOF |
| 23228 | |||
| 23229 | ac_cs_usage="\ | 23343 | ac_cs_usage="\ |
| 23230 | \`$as_me' instantiates files from templates according to the | 23344 | \`$as_me' instantiates files from templates according to the |
| 23231 | current configuration. | 23345 | current configuration. |
| @@ -23233,7 +23347,7 @@ current configuration. | |||
| 23233 | Usage: $0 [OPTIONS] [FILE]... | 23347 | Usage: $0 [OPTIONS] [FILE]... |
| 23234 | 23348 | ||
| 23235 | -h, --help print this help, then exit | 23349 | -h, --help print this help, then exit |
| 23236 | -V, --version print version number, then exit | 23350 | -V, --version print version number and configuration settings, then exit |
| 23237 | -q, --quiet do not print progress messages | 23351 | -q, --quiet do not print progress messages |
| 23238 | -d, --debug don't remove temporary files | 23352 | -d, --debug don't remove temporary files |
| 23239 | --recheck update $as_me by reconfiguring in the same conditions | 23353 | --recheck update $as_me by reconfiguring in the same conditions |
| @@ -23252,19 +23366,21 @@ Configuration commands: | |||
| 23252 | $config_commands | 23366 | $config_commands |
| 23253 | 23367 | ||
| 23254 | Report bugs to <bug-autoconf@gnu.org>." | 23368 | Report bugs to <bug-autoconf@gnu.org>." |
| 23255 | _ACEOF | ||
| 23256 | 23369 | ||
| 23370 | _ACEOF | ||
| 23257 | cat >>$CONFIG_STATUS <<_ACEOF | 23371 | cat >>$CONFIG_STATUS <<_ACEOF |
| 23258 | ac_cs_version="\\ | 23372 | ac_cs_version="\\ |
| 23259 | config.status | 23373 | config.status |
| 23260 | configured by $0, generated by GNU Autoconf 2.59, | 23374 | configured by $0, generated by GNU Autoconf 2.61, |
| 23261 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 23375 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
| 23262 | 23376 | ||
| 23263 | Copyright (C) 2003 Free Software Foundation, Inc. | 23377 | Copyright (C) 2006 Free Software Foundation, Inc. |
| 23264 | This config.status script is free software; the Free Software Foundation | 23378 | This config.status script is free software; the Free Software Foundation |
| 23265 | gives unlimited permission to copy, distribute and modify it." | 23379 | gives unlimited permission to copy, distribute and modify it." |
| 23266 | srcdir=$srcdir | 23380 | |
| 23267 | INSTALL="$INSTALL" | 23381 | ac_pwd='$ac_pwd' |
| 23382 | srcdir='$srcdir' | ||
| 23383 | INSTALL='$INSTALL' | ||
| 23268 | _ACEOF | 23384 | _ACEOF |
| 23269 | 23385 | ||
| 23270 | cat >>$CONFIG_STATUS <<\_ACEOF | 23386 | cat >>$CONFIG_STATUS <<\_ACEOF |
| @@ -23275,39 +23391,24 @@ while test $# != 0 | |||
| 23275 | do | 23391 | do |
| 23276 | case $1 in | 23392 | case $1 in |
| 23277 | --*=*) | 23393 | --*=*) |
| 23278 | ac_option=`expr "x$1" : 'x\([^=]*\)='` | 23394 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 23279 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | 23395 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 23280 | ac_shift=: | 23396 | ac_shift=: |
| 23281 | ;; | 23397 | ;; |
| 23282 | -*) | 23398 | *) |
| 23283 | ac_option=$1 | 23399 | ac_option=$1 |
| 23284 | ac_optarg=$2 | 23400 | ac_optarg=$2 |
| 23285 | ac_shift=shift | 23401 | ac_shift=shift |
| 23286 | ;; | 23402 | ;; |
| 23287 | *) # This is not an option, so the user has probably given explicit | ||
| 23288 | # arguments. | ||
| 23289 | ac_option=$1 | ||
| 23290 | ac_need_defaults=false;; | ||
| 23291 | esac | 23403 | esac |
| 23292 | 23404 | ||
| 23293 | case $ac_option in | 23405 | case $ac_option in |
| 23294 | # Handling of the options. | 23406 | # Handling of the options. |
| 23295 | _ACEOF | ||
| 23296 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
| 23297 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 23407 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 23298 | ac_cs_recheck=: ;; | 23408 | ac_cs_recheck=: ;; |
| 23299 | --version | --vers* | -V ) | 23409 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 23300 | echo "$ac_cs_version"; exit 0 ;; | 23410 | echo "$ac_cs_version"; exit ;; |
| 23301 | --he | --h) | 23411 | --debug | --debu | --deb | --de | --d | -d ) |
| 23302 | # Conflict between --help and --header | ||
| 23303 | { { echo "$as_me:$LINENO: error: ambiguous option: $1 | ||
| 23304 | Try \`$0 --help' for more information." >&5 | ||
| 23305 | echo "$as_me: error: ambiguous option: $1 | ||
| 23306 | Try \`$0 --help' for more information." >&2;} | ||
| 23307 | { (exit 1); exit 1; }; };; | ||
| 23308 | --help | --hel | -h ) | ||
| 23309 | echo "$ac_cs_usage"; exit 0 ;; | ||
| 23310 | --debug | --d* | -d ) | ||
| 23311 | debug=: ;; | 23412 | debug=: ;; |
| 23312 | --file | --fil | --fi | --f ) | 23413 | --file | --fil | --fi | --f ) |
| 23313 | $ac_shift | 23414 | $ac_shift |
| @@ -23317,18 +23418,24 @@ Try \`$0 --help' for more information." >&2;} | |||
| 23317 | $ac_shift | 23418 | $ac_shift |
| 23318 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | 23419 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
| 23319 | ac_need_defaults=false;; | 23420 | ac_need_defaults=false;; |
| 23421 | --he | --h) | ||
| 23422 | # Conflict between --help and --header | ||
| 23423 | { echo "$as_me: error: ambiguous option: $1 | ||
| 23424 | Try \`$0 --help' for more information." >&2 | ||
| 23425 | { (exit 1); exit 1; }; };; | ||
| 23426 | --help | --hel | -h ) | ||
| 23427 | echo "$ac_cs_usage"; exit ;; | ||
| 23320 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 23428 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 23321 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | 23429 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 23322 | ac_cs_silent=: ;; | 23430 | ac_cs_silent=: ;; |
| 23323 | 23431 | ||
| 23324 | # This is an error. | 23432 | # This is an error. |
| 23325 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | 23433 | -*) { echo "$as_me: error: unrecognized option: $1 |
| 23326 | Try \`$0 --help' for more information." >&5 | 23434 | Try \`$0 --help' for more information." >&2 |
| 23327 | echo "$as_me: error: unrecognized option: $1 | ||
| 23328 | Try \`$0 --help' for more information." >&2;} | ||
| 23329 | { (exit 1); exit 1; }; } ;; | 23435 | { (exit 1); exit 1; }; } ;; |
| 23330 | 23436 | ||
| 23331 | *) ac_config_targets="$ac_config_targets $1" ;; | 23437 | *) ac_config_targets="$ac_config_targets $1" |
| 23438 | ac_need_defaults=false ;; | ||
| 23332 | 23439 | ||
| 23333 | esac | 23440 | esac |
| 23334 | shift | 23441 | shift |
| @@ -23344,46 +23451,58 @@ fi | |||
| 23344 | _ACEOF | 23451 | _ACEOF |
| 23345 | cat >>$CONFIG_STATUS <<_ACEOF | 23452 | cat >>$CONFIG_STATUS <<_ACEOF |
| 23346 | if \$ac_cs_recheck; then | 23453 | if \$ac_cs_recheck; then |
| 23347 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | 23454 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
| 23348 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 23455 | CONFIG_SHELL=$SHELL |
| 23456 | export CONFIG_SHELL | ||
| 23457 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | ||
| 23349 | fi | 23458 | fi |
| 23350 | 23459 | ||
| 23351 | _ACEOF | 23460 | _ACEOF |
| 23461 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
| 23462 | exec 5>>config.log | ||
| 23463 | { | ||
| 23464 | echo | ||
| 23465 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | ||
| 23466 | ## Running $as_me. ## | ||
| 23467 | _ASBOX | ||
| 23468 | echo "$ac_log" | ||
| 23469 | } >&5 | ||
| 23352 | 23470 | ||
| 23471 | _ACEOF | ||
| 23353 | cat >>$CONFIG_STATUS <<_ACEOF | 23472 | cat >>$CONFIG_STATUS <<_ACEOF |
| 23354 | # | 23473 | # |
| 23355 | # INIT-COMMANDS section. | 23474 | # INIT-COMMANDS |
| 23356 | # | 23475 | # |
| 23357 | |||
| 23358 | GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" | 23476 | GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" |
| 23359 | 23477 | ||
| 23360 | _ACEOF | 23478 | _ACEOF |
| 23361 | 23479 | ||
| 23362 | |||
| 23363 | |||
| 23364 | cat >>$CONFIG_STATUS <<\_ACEOF | 23480 | cat >>$CONFIG_STATUS <<\_ACEOF |
| 23481 | |||
| 23482 | # Handling of arguments. | ||
| 23365 | for ac_config_target in $ac_config_targets | 23483 | for ac_config_target in $ac_config_targets |
| 23366 | do | 23484 | do |
| 23367 | case "$ac_config_target" in | 23485 | case $ac_config_target in |
| 23368 | # Handling of arguments. | 23486 | "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; |
| 23369 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 23487 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 23370 | "lib-src/Makefile.c" ) CONFIG_FILES="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;; | 23488 | "lib-src/Makefile.c") CONFIG_FILES="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;; |
| 23371 | "oldXMenu/Makefile" ) CONFIG_FILES="$CONFIG_FILES oldXMenu/Makefile" ;; | 23489 | "oldXMenu/Makefile") CONFIG_FILES="$CONFIG_FILES oldXMenu/Makefile" ;; |
| 23372 | "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; | 23490 | "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; |
| 23373 | "lwlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; | 23491 | "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; |
| 23374 | "src/Makefile.c" ) CONFIG_FILES="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;; | 23492 | "src/Makefile.c") CONFIG_FILES="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;; |
| 23375 | "lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; | 23493 | "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; |
| 23376 | "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; | 23494 | "lispref/Makefile") CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; |
| 23377 | "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; | 23495 | "lispintro/Makefile") CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; |
| 23378 | "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; | 23496 | "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; |
| 23379 | "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 23497 | "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
| 23380 | "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; | 23498 | |
| 23381 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 23499 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
| 23382 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 23500 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
| 23383 | { (exit 1); exit 1; }; };; | 23501 | { (exit 1); exit 1; }; };; |
| 23384 | esac | 23502 | esac |
| 23385 | done | 23503 | done |
| 23386 | 23504 | ||
| 23505 | |||
| 23387 | # If the user did not use the arguments to specify the items to instantiate, | 23506 | # If the user did not use the arguments to specify the items to instantiate, |
| 23388 | # then the envvar interface is used. Set only those that are not. | 23507 | # then the envvar interface is used. Set only those that are not. |
| 23389 | # We use the long form for the default assignment because of an extremely | 23508 | # We use the long form for the default assignment because of an extremely |
| @@ -23395,351 +23514,458 @@ if $ac_need_defaults; then | |||
| 23395 | fi | 23514 | fi |
| 23396 | 23515 | ||
| 23397 | # Have a temporary directory for convenience. Make it in the build tree | 23516 | # Have a temporary directory for convenience. Make it in the build tree |
| 23398 | # simply because there is no reason to put it here, and in addition, | 23517 | # simply because there is no reason against having it here, and in addition, |
| 23399 | # creating and moving files from /tmp can sometimes cause problems. | 23518 | # creating and moving files from /tmp can sometimes cause problems. |
| 23400 | # Create a temporary directory, and hook for its removal unless debugging. | 23519 | # Hook for its removal unless debugging. |
| 23520 | # Note that there is a small window in which the directory will not be cleaned: | ||
| 23521 | # after its creation but before its name has been assigned to `$tmp'. | ||
| 23401 | $debug || | 23522 | $debug || |
| 23402 | { | 23523 | { |
| 23403 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 23524 | tmp= |
| 23525 | trap 'exit_status=$? | ||
| 23526 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | ||
| 23527 | ' 0 | ||
| 23404 | trap '{ (exit 1); exit 1; }' 1 2 13 15 | 23528 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
| 23405 | } | 23529 | } |
| 23406 | |||
| 23407 | # Create a (secure) tmp directory for tmp files. | 23530 | # Create a (secure) tmp directory for tmp files. |
| 23408 | 23531 | ||
| 23409 | { | 23532 | { |
| 23410 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | 23533 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 23411 | test -n "$tmp" && test -d "$tmp" | 23534 | test -n "$tmp" && test -d "$tmp" |
| 23412 | } || | 23535 | } || |
| 23413 | { | 23536 | { |
| 23414 | tmp=./confstat$$-$RANDOM | 23537 | tmp=./conf$$-$RANDOM |
| 23415 | (umask 077 && mkdir $tmp) | 23538 | (umask 077 && mkdir "$tmp") |
| 23416 | } || | 23539 | } || |
| 23417 | { | 23540 | { |
| 23418 | echo "$me: cannot create a temporary directory in ." >&2 | 23541 | echo "$me: cannot create a temporary directory in ." >&2 |
| 23419 | { (exit 1); exit 1; } | 23542 | { (exit 1); exit 1; } |
| 23420 | } | 23543 | } |
| 23421 | 23544 | ||
| 23422 | _ACEOF | ||
| 23423 | |||
| 23424 | cat >>$CONFIG_STATUS <<_ACEOF | ||
| 23425 | |||
| 23426 | # | 23545 | # |
| 23427 | # CONFIG_FILES section. | 23546 | # Set up the sed scripts for CONFIG_FILES section. |
| 23428 | # | 23547 | # |
| 23429 | 23548 | ||
| 23430 | # No need to generate the scripts if there are no CONFIG_FILES. | 23549 | # No need to generate the scripts if there are no CONFIG_FILES. |
| 23431 | # This happens for instance when ./config.status config.h | 23550 | # This happens for instance when ./config.status config.h |
| 23432 | if test -n "\$CONFIG_FILES"; then | 23551 | if test -n "$CONFIG_FILES"; then |
| 23433 | # Protect against being on the right side of a sed subst in config.status. | 23552 | |
| 23434 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 23553 | _ACEOF |
| 23435 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 23554 | |
| 23436 | s,@SHELL@,$SHELL,;t t | 23555 | |
| 23437 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 23556 | |
| 23438 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 23557 | ac_delim='%!_!# ' |
| 23439 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 23558 | for ac_last_try in false false false false false :; do |
| 23440 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 23559 | cat >conf$$subs.sed <<_ACEOF |
| 23441 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 23560 | SHELL!$SHELL$ac_delim |
| 23442 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | 23561 | PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
| 23443 | s,@exec_prefix@,$exec_prefix,;t t | 23562 | PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
| 23444 | s,@prefix@,$prefix,;t t | 23563 | PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
| 23445 | s,@program_transform_name@,$program_transform_name,;t t | 23564 | PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
| 23446 | s,@bindir@,$bindir,;t t | 23565 | PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
| 23447 | s,@sbindir@,$sbindir,;t t | 23566 | PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
| 23448 | s,@libexecdir@,$libexecdir,;t t | 23567 | exec_prefix!$exec_prefix$ac_delim |
| 23449 | s,@datadir@,$datadir,;t t | 23568 | prefix!$prefix$ac_delim |
| 23450 | s,@sysconfdir@,$sysconfdir,;t t | 23569 | program_transform_name!$program_transform_name$ac_delim |
| 23451 | s,@sharedstatedir@,$sharedstatedir,;t t | 23570 | bindir!$bindir$ac_delim |
| 23452 | s,@localstatedir@,$localstatedir,;t t | 23571 | sbindir!$sbindir$ac_delim |
| 23453 | s,@libdir@,$libdir,;t t | 23572 | libexecdir!$libexecdir$ac_delim |
| 23454 | s,@includedir@,$includedir,;t t | 23573 | datarootdir!$datarootdir$ac_delim |
| 23455 | s,@oldincludedir@,$oldincludedir,;t t | 23574 | datadir!$datadir$ac_delim |
| 23456 | s,@infodir@,$infodir,;t t | 23575 | sysconfdir!$sysconfdir$ac_delim |
| 23457 | s,@mandir@,$mandir,;t t | 23576 | sharedstatedir!$sharedstatedir$ac_delim |
| 23458 | s,@build_alias@,$build_alias,;t t | 23577 | localstatedir!$localstatedir$ac_delim |
| 23459 | s,@host_alias@,$host_alias,;t t | 23578 | includedir!$includedir$ac_delim |
| 23460 | s,@target_alias@,$target_alias,;t t | 23579 | oldincludedir!$oldincludedir$ac_delim |
| 23461 | s,@DEFS@,$DEFS,;t t | 23580 | docdir!$docdir$ac_delim |
| 23462 | s,@ECHO_C@,$ECHO_C,;t t | 23581 | infodir!$infodir$ac_delim |
| 23463 | s,@ECHO_N@,$ECHO_N,;t t | 23582 | htmldir!$htmldir$ac_delim |
| 23464 | s,@ECHO_T@,$ECHO_T,;t t | 23583 | dvidir!$dvidir$ac_delim |
| 23465 | s,@LIBS@,$LIBS,;t t | 23584 | pdfdir!$pdfdir$ac_delim |
| 23466 | s,@MAINT@,$MAINT,;t t | 23585 | psdir!$psdir$ac_delim |
| 23467 | s,@build@,$build,;t t | 23586 | libdir!$libdir$ac_delim |
| 23468 | s,@build_cpu@,$build_cpu,;t t | 23587 | localedir!$localedir$ac_delim |
| 23469 | s,@build_vendor@,$build_vendor,;t t | 23588 | mandir!$mandir$ac_delim |
| 23470 | s,@build_os@,$build_os,;t t | 23589 | DEFS!$DEFS$ac_delim |
| 23471 | s,@host@,$host,;t t | 23590 | ECHO_C!$ECHO_C$ac_delim |
| 23472 | s,@host_cpu@,$host_cpu,;t t | 23591 | ECHO_N!$ECHO_N$ac_delim |
| 23473 | s,@host_vendor@,$host_vendor,;t t | 23592 | ECHO_T!$ECHO_T$ac_delim |
| 23474 | s,@host_os@,$host_os,;t t | 23593 | LIBS!$LIBS$ac_delim |
| 23475 | s,@CC@,$CC,;t t | 23594 | build_alias!$build_alias$ac_delim |
| 23476 | s,@CFLAGS@,$CFLAGS,;t t | 23595 | host_alias!$host_alias$ac_delim |
| 23477 | s,@LDFLAGS@,$LDFLAGS,;t t | 23596 | target_alias!$target_alias$ac_delim |
| 23478 | s,@CPPFLAGS@,$CPPFLAGS,;t t | 23597 | MAINT!$MAINT$ac_delim |
| 23479 | s,@ac_ct_CC@,$ac_ct_CC,;t t | 23598 | build!$build$ac_delim |
| 23480 | s,@EXEEXT@,$EXEEXT,;t t | 23599 | build_cpu!$build_cpu$ac_delim |
| 23481 | s,@OBJEXT@,$OBJEXT,;t t | 23600 | build_vendor!$build_vendor$ac_delim |
| 23482 | s,@CPP@,$CPP,;t t | 23601 | build_os!$build_os$ac_delim |
| 23483 | s,@EGREP@,$EGREP,;t t | 23602 | host!$host$ac_delim |
| 23484 | s,@LN_S@,$LN_S,;t t | 23603 | host_cpu!$host_cpu$ac_delim |
| 23485 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 23604 | host_vendor!$host_vendor$ac_delim |
| 23486 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 23605 | host_os!$host_os$ac_delim |
| 23487 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 23606 | CC!$CC$ac_delim |
| 23488 | s,@RANLIB@,$RANLIB,;t t | 23607 | CFLAGS!$CFLAGS$ac_delim |
| 23489 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t | 23608 | LDFLAGS!$LDFLAGS$ac_delim |
| 23490 | s,@INSTALL_INFO@,$INSTALL_INFO,;t t | 23609 | CPPFLAGS!$CPPFLAGS$ac_delim |
| 23491 | s,@GZIP_PROG@,$GZIP_PROG,;t t | 23610 | ac_ct_CC!$ac_ct_CC$ac_delim |
| 23492 | s,@LIBSOUND@,$LIBSOUND,;t t | 23611 | EXEEXT!$EXEEXT$ac_delim |
| 23493 | s,@PKG_CONFIG@,$PKG_CONFIG,;t t | 23612 | OBJEXT!$OBJEXT$ac_delim |
| 23494 | s,@ALSA_CFLAGS@,$ALSA_CFLAGS,;t t | 23613 | CPP!$CPP$ac_delim |
| 23495 | s,@ALSA_LIBS@,$ALSA_LIBS,;t t | 23614 | GREP!$GREP$ac_delim |
| 23496 | s,@CFLAGS_SOUND@,$CFLAGS_SOUND,;t t | 23615 | EGREP!$EGREP$ac_delim |
| 23497 | s,@SET_MAKE@,$SET_MAKE,;t t | 23616 | LN_S!$LN_S$ac_delim |
| 23498 | s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t | 23617 | INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
| 23499 | s,@GTK_LIBS@,$GTK_LIBS,;t t | 23618 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
| 23500 | s,@ALLOCA@,$ALLOCA,;t t | 23619 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
| 23501 | s,@liblockfile@,$liblockfile,;t t | 23620 | RANLIB!$RANLIB$ac_delim |
| 23502 | s,@LIBOBJS@,$LIBOBJS,;t t | 23621 | INSTALL_INFO!$INSTALL_INFO$ac_delim |
| 23503 | s,@NEED_SETGID@,$NEED_SETGID,;t t | 23622 | GZIP_PROG!$GZIP_PROG$ac_delim |
| 23504 | s,@KMEM_GROUP@,$KMEM_GROUP,;t t | 23623 | LIBSOUND!$LIBSOUND$ac_delim |
| 23505 | s,@GETLOADAVG_LIBS@,$GETLOADAVG_LIBS,;t t | 23624 | PKG_CONFIG!$PKG_CONFIG$ac_delim |
| 23506 | s,@GETOPT_H@,$GETOPT_H,;t t | 23625 | ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim |
| 23507 | s,@GETOPTOBJS@,$GETOPTOBJS,;t t | 23626 | ALSA_LIBS!$ALSA_LIBS$ac_delim |
| 23508 | s,@version@,$version,;t t | 23627 | CFLAGS_SOUND!$CFLAGS_SOUND$ac_delim |
| 23509 | s,@configuration@,$configuration,;t t | 23628 | SET_MAKE!$SET_MAKE$ac_delim |
| 23510 | s,@canonical@,$canonical,;t t | 23629 | XMKMF!$XMKMF$ac_delim |
| 23511 | s,@srcdir@,$srcdir,;t t | 23630 | GTK_CFLAGS!$GTK_CFLAGS$ac_delim |
| 23512 | s,@lispdir@,$lispdir,;t t | 23631 | GTK_LIBS!$GTK_LIBS$ac_delim |
| 23513 | s,@locallisppath@,$locallisppath,;t t | 23632 | ALLOCA!$ALLOCA$ac_delim |
| 23514 | s,@lisppath@,$lisppath,;t t | 23633 | liblockfile!$liblockfile$ac_delim |
| 23515 | s,@x_default_search_path@,$x_default_search_path,;t t | 23634 | LIBOBJS!$LIBOBJS$ac_delim |
| 23516 | s,@etcdir@,$etcdir,;t t | 23635 | NEED_SETGID!$NEED_SETGID$ac_delim |
| 23517 | s,@archlibdir@,$archlibdir,;t t | 23636 | KMEM_GROUP!$KMEM_GROUP$ac_delim |
| 23518 | s,@docdir@,$docdir,;t t | 23637 | GETLOADAVG_LIBS!$GETLOADAVG_LIBS$ac_delim |
| 23519 | s,@bitmapdir@,$bitmapdir,;t t | 23638 | GETOPT_H!$GETOPT_H$ac_delim |
| 23520 | s,@gamedir@,$gamedir,;t t | 23639 | GETOPTOBJS!$GETOPTOBJS$ac_delim |
| 23521 | s,@gameuser@,$gameuser,;t t | 23640 | version!$version$ac_delim |
| 23522 | s,@c_switch_system@,$c_switch_system,;t t | 23641 | configuration!$configuration$ac_delim |
| 23523 | s,@c_switch_machine@,$c_switch_machine,;t t | 23642 | canonical!$canonical$ac_delim |
| 23524 | s,@LD_SWITCH_X_SITE@,$LD_SWITCH_X_SITE,;t t | 23643 | srcdir!$srcdir$ac_delim |
| 23525 | s,@LD_SWITCH_X_SITE_AUX@,$LD_SWITCH_X_SITE_AUX,;t t | 23644 | lispdir!$lispdir$ac_delim |
| 23526 | s,@C_SWITCH_X_SITE@,$C_SWITCH_X_SITE,;t t | 23645 | locallisppath!$locallisppath$ac_delim |
| 23527 | s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t | 23646 | lisppath!$lisppath$ac_delim |
| 23528 | s,@machfile@,$machfile,;t t | 23647 | x_default_search_path!$x_default_search_path$ac_delim |
| 23529 | s,@opsysfile@,$opsysfile,;t t | 23648 | etcdir!$etcdir$ac_delim |
| 23530 | s,@carbon_appdir@,$carbon_appdir,;t t | 23649 | archlibdir!$archlibdir$ac_delim |
| 23531 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t | 23650 | bitmapdir!$bitmapdir$ac_delim |
| 23532 | CEOF | 23651 | gamedir!$gamedir$ac_delim |
| 23533 | 23652 | gameuser!$gameuser$ac_delim | |
| 23534 | _ACEOF | 23653 | c_switch_system!$c_switch_system$ac_delim |
| 23535 | 23654 | c_switch_machine!$c_switch_machine$ac_delim | |
| 23536 | cat >>$CONFIG_STATUS <<\_ACEOF | 23655 | LD_SWITCH_X_SITE!$LD_SWITCH_X_SITE$ac_delim |
| 23537 | # Split the substitutions into bite-sized pieces for seds with | 23656 | LD_SWITCH_X_SITE_AUX!$LD_SWITCH_X_SITE_AUX$ac_delim |
| 23538 | # small command number limits, like on Digital OSF/1 and HP-UX. | 23657 | _ACEOF |
| 23539 | ac_max_sed_lines=48 | 23658 | |
| 23540 | ac_sed_frag=1 # Number of current file. | 23659 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
| 23541 | ac_beg=1 # First line for current file. | 23660 | break |
| 23542 | ac_end=$ac_max_sed_lines # Line after last line for current file. | 23661 | elif $ac_last_try; then |
| 23543 | ac_more_lines=: | 23662 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| 23544 | ac_sed_cmds= | 23663 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
| 23545 | while $ac_more_lines; do | 23664 | { (exit 1); exit 1; }; } |
| 23546 | if test $ac_beg -gt 1; then | 23665 | else |
| 23547 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 23666 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 23548 | else | ||
| 23549 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | ||
| 23550 | fi | ||
| 23551 | if test ! -s $tmp/subs.frag; then | ||
| 23552 | ac_more_lines=false | ||
| 23553 | else | ||
| 23554 | # The purpose of the label and of the branching condition is to | ||
| 23555 | # speed up the sed processing (if there are no `@' at all, there | ||
| 23556 | # is no need to browse any of the substitutions). | ||
| 23557 | # These are the two extra sed commands mentioned above. | ||
| 23558 | (echo ':t | ||
| 23559 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | ||
| 23560 | if test -z "$ac_sed_cmds"; then | ||
| 23561 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | ||
| 23562 | else | ||
| 23563 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | ||
| 23564 | fi | ||
| 23565 | ac_sed_frag=`expr $ac_sed_frag + 1` | ||
| 23566 | ac_beg=$ac_end | ||
| 23567 | ac_end=`expr $ac_end + $ac_max_sed_lines` | ||
| 23568 | fi | ||
| 23569 | done | ||
| 23570 | if test -z "$ac_sed_cmds"; then | ||
| 23571 | ac_sed_cmds=cat | ||
| 23572 | fi | 23667 | fi |
| 23573 | fi # test -n "$CONFIG_FILES" | 23668 | done |
| 23669 | |||
| 23670 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | ||
| 23671 | if test -n "$ac_eof"; then | ||
| 23672 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | ||
| 23673 | ac_eof=`expr $ac_eof + 1` | ||
| 23674 | fi | ||
| 23574 | 23675 | ||
| 23676 | cat >>$CONFIG_STATUS <<_ACEOF | ||
| 23677 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof | ||
| 23678 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | ||
| 23575 | _ACEOF | 23679 | _ACEOF |
| 23680 | sed ' | ||
| 23681 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | ||
| 23682 | s/^/s,@/; s/!/@,|#_!!_#|/ | ||
| 23683 | :n | ||
| 23684 | t n | ||
| 23685 | s/'"$ac_delim"'$/,g/; t | ||
| 23686 | s/$/\\/; p | ||
| 23687 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | ||
| 23688 | ' >>$CONFIG_STATUS <conf$$subs.sed | ||
| 23689 | rm -f conf$$subs.sed | ||
| 23690 | cat >>$CONFIG_STATUS <<_ACEOF | ||
| 23691 | CEOF$ac_eof | ||
| 23692 | _ACEOF | ||
| 23693 | |||
| 23694 | |||
| 23695 | ac_delim='%!_!# ' | ||
| 23696 | for ac_last_try in false false false false false :; do | ||
| 23697 | cat >conf$$subs.sed <<_ACEOF | ||
| 23698 | C_SWITCH_X_SITE!$C_SWITCH_X_SITE$ac_delim | ||
| 23699 | X_TOOLKIT_TYPE!$X_TOOLKIT_TYPE$ac_delim | ||
| 23700 | machfile!$machfile$ac_delim | ||
| 23701 | opsysfile!$opsysfile$ac_delim | ||
| 23702 | carbon_appdir!$carbon_appdir$ac_delim | ||
| 23703 | LTLIBOBJS!$LTLIBOBJS$ac_delim | ||
| 23704 | _ACEOF | ||
| 23705 | |||
| 23706 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then | ||
| 23707 | break | ||
| 23708 | elif $ac_last_try; then | ||
| 23709 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | ||
| 23710 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | ||
| 23711 | { (exit 1); exit 1; }; } | ||
| 23712 | else | ||
| 23713 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | ||
| 23714 | fi | ||
| 23715 | done | ||
| 23716 | |||
| 23717 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | ||
| 23718 | if test -n "$ac_eof"; then | ||
| 23719 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | ||
| 23720 | ac_eof=`expr $ac_eof + 1` | ||
| 23721 | fi | ||
| 23722 | |||
| 23723 | cat >>$CONFIG_STATUS <<_ACEOF | ||
| 23724 | cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof | ||
| 23725 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end | ||
| 23726 | _ACEOF | ||
| 23727 | sed ' | ||
| 23728 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | ||
| 23729 | s/^/s,@/; s/!/@,|#_!!_#|/ | ||
| 23730 | :n | ||
| 23731 | t n | ||
| 23732 | s/'"$ac_delim"'$/,g/; t | ||
| 23733 | s/$/\\/; p | ||
| 23734 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | ||
| 23735 | ' >>$CONFIG_STATUS <conf$$subs.sed | ||
| 23736 | rm -f conf$$subs.sed | ||
| 23737 | cat >>$CONFIG_STATUS <<_ACEOF | ||
| 23738 | :end | ||
| 23739 | s/|#_!!_#|//g | ||
| 23740 | CEOF$ac_eof | ||
| 23741 | _ACEOF | ||
| 23742 | |||
| 23743 | |||
| 23744 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | ||
| 23745 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | ||
| 23746 | # trailing colons and then remove the whole line if VPATH becomes empty | ||
| 23747 | # (actually we leave an empty line to preserve line numbers). | ||
| 23748 | if test "x$srcdir" = x.; then | ||
| 23749 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | ||
| 23750 | s/:*\$(srcdir):*/:/ | ||
| 23751 | s/:*\${srcdir}:*/:/ | ||
| 23752 | s/:*@srcdir@:*/:/ | ||
| 23753 | s/^\([^=]*=[ ]*\):*/\1/ | ||
| 23754 | s/:*$// | ||
| 23755 | s/^[^=]*=[ ]*$// | ||
| 23756 | }' | ||
| 23757 | fi | ||
| 23758 | |||
| 23576 | cat >>$CONFIG_STATUS <<\_ACEOF | 23759 | cat >>$CONFIG_STATUS <<\_ACEOF |
| 23577 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | 23760 | fi # test -n "$CONFIG_FILES" |
| 23578 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 23761 | |
| 23579 | case $ac_file in | 23762 | |
| 23580 | - | *:- | *:-:* ) # input from stdin | 23763 | for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS |
| 23581 | cat >$tmp/stdin | 23764 | do |
| 23582 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 23765 | case $ac_tag in |
| 23583 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 23766 | :[FHLC]) ac_mode=$ac_tag; continue;; |
| 23584 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 23767 | esac |
| 23585 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 23768 | case $ac_mode$ac_tag in |
| 23586 | * ) ac_file_in=$ac_file.in ;; | 23769 | :[FHL]*:*);; |
| 23770 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 | ||
| 23771 | echo "$as_me: error: Invalid tag $ac_tag." >&2;} | ||
| 23772 | { (exit 1); exit 1; }; };; | ||
| 23773 | :[FH]-) ac_tag=-:-;; | ||
| 23774 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | ||
| 23775 | esac | ||
| 23776 | ac_save_IFS=$IFS | ||
| 23777 | IFS=: | ||
| 23778 | set x $ac_tag | ||
| 23779 | IFS=$ac_save_IFS | ||
| 23780 | shift | ||
| 23781 | ac_file=$1 | ||
| 23782 | shift | ||
| 23783 | |||
| 23784 | case $ac_mode in | ||
| 23785 | :L) ac_source=$1;; | ||
| 23786 | :[FH]) | ||
| 23787 | ac_file_inputs= | ||
| 23788 | for ac_f | ||
| 23789 | do | ||
| 23790 | case $ac_f in | ||
| 23791 | -) ac_f="$tmp/stdin";; | ||
| 23792 | *) # Look for the file first in the build tree, then in the source tree | ||
| 23793 | # (if the path is not absolute). The absolute path cannot be DOS-style, | ||
| 23794 | # because $ac_f cannot contain `:'. | ||
| 23795 | test -f "$ac_f" || | ||
| 23796 | case $ac_f in | ||
| 23797 | [\\/$]*) false;; | ||
| 23798 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | ||
| 23799 | esac || | ||
| 23800 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | ||
| 23801 | echo "$as_me: error: cannot find input file: $ac_f" >&2;} | ||
| 23802 | { (exit 1); exit 1; }; };; | ||
| 23803 | esac | ||
| 23804 | ac_file_inputs="$ac_file_inputs $ac_f" | ||
| 23805 | done | ||
| 23806 | |||
| 23807 | # Let's still pretend it is `configure' which instantiates (i.e., don't | ||
| 23808 | # use $as_me), people would be surprised to read: | ||
| 23809 | # /* config.h. Generated by config.status. */ | ||
| 23810 | configure_input="Generated from "`IFS=: | ||
| 23811 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." | ||
| 23812 | if test x"$ac_file" != x-; then | ||
| 23813 | configure_input="$ac_file. $configure_input" | ||
| 23814 | { echo "$as_me:$LINENO: creating $ac_file" >&5 | ||
| 23815 | echo "$as_me: creating $ac_file" >&6;} | ||
| 23816 | fi | ||
| 23817 | |||
| 23818 | case $ac_tag in | ||
| 23819 | *:-:* | *:-) cat >"$tmp/stdin";; | ||
| 23820 | esac | ||
| 23821 | ;; | ||
| 23587 | esac | 23822 | esac |
| 23588 | 23823 | ||
| 23589 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | 23824 | ac_dir=`$as_dirname -- "$ac_file" || |
| 23590 | ac_dir=`(dirname "$ac_file") 2>/dev/null || | ||
| 23591 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 23825 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 23592 | X"$ac_file" : 'X\(//\)[^/]' \| \ | 23826 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 23593 | X"$ac_file" : 'X\(//\)$' \| \ | 23827 | X"$ac_file" : 'X\(//\)$' \| \ |
| 23594 | X"$ac_file" : 'X\(/\)' \| \ | 23828 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
| 23595 | . : '\(.\)' 2>/dev/null || | ||
| 23596 | echo X"$ac_file" | | 23829 | echo X"$ac_file" | |
| 23597 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 23830 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 23598 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 23831 | s//\1/ |
| 23599 | /^X\(\/\/\)$/{ s//\1/; q; } | 23832 | q |
| 23600 | /^X\(\/\).*/{ s//\1/; q; } | 23833 | } |
| 23601 | s/.*/./; q'` | 23834 | /^X\(\/\/\)[^/].*/{ |
| 23602 | { if $as_mkdir_p; then | 23835 | s//\1/ |
| 23603 | mkdir -p "$ac_dir" | 23836 | q |
| 23604 | else | 23837 | } |
| 23605 | as_dir="$ac_dir" | 23838 | /^X\(\/\/\)$/{ |
| 23839 | s//\1/ | ||
| 23840 | q | ||
| 23841 | } | ||
| 23842 | /^X\(\/\).*/{ | ||
| 23843 | s//\1/ | ||
| 23844 | q | ||
| 23845 | } | ||
| 23846 | s/.*/./; q'` | ||
| 23847 | { as_dir="$ac_dir" | ||
| 23848 | case $as_dir in #( | ||
| 23849 | -*) as_dir=./$as_dir;; | ||
| 23850 | esac | ||
| 23851 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | ||
| 23606 | as_dirs= | 23852 | as_dirs= |
| 23607 | while test ! -d "$as_dir"; do | 23853 | while :; do |
| 23608 | as_dirs="$as_dir $as_dirs" | 23854 | case $as_dir in #( |
| 23609 | as_dir=`(dirname "$as_dir") 2>/dev/null || | 23855 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
| 23856 | *) as_qdir=$as_dir;; | ||
| 23857 | esac | ||
| 23858 | as_dirs="'$as_qdir' $as_dirs" | ||
| 23859 | as_dir=`$as_dirname -- "$as_dir" || | ||
| 23610 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 23860 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 23611 | X"$as_dir" : 'X\(//\)[^/]' \| \ | 23861 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 23612 | X"$as_dir" : 'X\(//\)$' \| \ | 23862 | X"$as_dir" : 'X\(//\)$' \| \ |
| 23613 | X"$as_dir" : 'X\(/\)' \| \ | 23863 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 23614 | . : '\(.\)' 2>/dev/null || | ||
| 23615 | echo X"$as_dir" | | 23864 | echo X"$as_dir" | |
| 23616 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 23865 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 23617 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 23866 | s//\1/ |
| 23618 | /^X\(\/\/\)$/{ s//\1/; q; } | 23867 | q |
| 23619 | /^X\(\/\).*/{ s//\1/; q; } | 23868 | } |
| 23620 | s/.*/./; q'` | 23869 | /^X\(\/\/\)[^/].*/{ |
| 23870 | s//\1/ | ||
| 23871 | q | ||
| 23872 | } | ||
| 23873 | /^X\(\/\/\)$/{ | ||
| 23874 | s//\1/ | ||
| 23875 | q | ||
| 23876 | } | ||
| 23877 | /^X\(\/\).*/{ | ||
| 23878 | s//\1/ | ||
| 23879 | q | ||
| 23880 | } | ||
| 23881 | s/.*/./; q'` | ||
| 23882 | test -d "$as_dir" && break | ||
| 23621 | done | 23883 | done |
| 23622 | test ! -n "$as_dirs" || mkdir $as_dirs | 23884 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 23623 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 23885 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
| 23624 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 23886 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
| 23625 | { (exit 1); exit 1; }; }; } | 23887 | { (exit 1); exit 1; }; }; } |
| 23626 | |||
| 23627 | ac_builddir=. | 23888 | ac_builddir=. |
| 23628 | 23889 | ||
| 23629 | if test "$ac_dir" != .; then | 23890 | case "$ac_dir" in |
| 23891 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
| 23892 | *) | ||
| 23630 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 23893 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
| 23631 | # A "../" for each directory in $ac_dir_suffix. | 23894 | # A ".." for each directory in $ac_dir_suffix. |
| 23632 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 23895 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
| 23633 | else | 23896 | case $ac_top_builddir_sub in |
| 23634 | ac_dir_suffix= ac_top_builddir= | 23897 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 23635 | fi | 23898 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 23899 | esac ;; | ||
| 23900 | esac | ||
| 23901 | ac_abs_top_builddir=$ac_pwd | ||
| 23902 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
| 23903 | # for backward compatibility: | ||
| 23904 | ac_top_builddir=$ac_top_build_prefix | ||
| 23636 | 23905 | ||
| 23637 | case $srcdir in | 23906 | case $srcdir in |
| 23638 | .) # No --srcdir option. We are building in place. | 23907 | .) # We are building in place. |
| 23639 | ac_srcdir=. | 23908 | ac_srcdir=. |
| 23640 | if test -z "$ac_top_builddir"; then | 23909 | ac_top_srcdir=$ac_top_builddir_sub |
| 23641 | ac_top_srcdir=. | 23910 | ac_abs_top_srcdir=$ac_pwd ;; |
| 23642 | else | 23911 | [\\/]* | ?:[\\/]* ) # Absolute name. |
| 23643 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | ||
| 23644 | fi ;; | ||
| 23645 | [\\/]* | ?:[\\/]* ) # Absolute path. | ||
| 23646 | ac_srcdir=$srcdir$ac_dir_suffix; | 23912 | ac_srcdir=$srcdir$ac_dir_suffix; |
| 23647 | ac_top_srcdir=$srcdir ;; | 23913 | ac_top_srcdir=$srcdir |
| 23648 | *) # Relative path. | 23914 | ac_abs_top_srcdir=$srcdir ;; |
| 23649 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 23915 | *) # Relative name. |
| 23650 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | 23916 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 23917 | ac_top_srcdir=$ac_top_build_prefix$srcdir | ||
| 23918 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | ||
| 23651 | esac | 23919 | esac |
| 23920 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | ||
| 23652 | 23921 | ||
| 23653 | # Do not use `cd foo && pwd` to compute absolute paths, because | ||
| 23654 | # the directories may not exist. | ||
| 23655 | case `pwd` in | ||
| 23656 | .) ac_abs_builddir="$ac_dir";; | ||
| 23657 | *) | ||
| 23658 | case "$ac_dir" in | ||
| 23659 | .) ac_abs_builddir=`pwd`;; | ||
| 23660 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | ||
| 23661 | *) ac_abs_builddir=`pwd`/"$ac_dir";; | ||
| 23662 | esac;; | ||
| 23663 | esac | ||
| 23664 | case $ac_abs_builddir in | ||
| 23665 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
| 23666 | *) | ||
| 23667 | case ${ac_top_builddir}. in | ||
| 23668 | .) ac_abs_top_builddir=$ac_abs_builddir;; | ||
| 23669 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
| 23670 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | ||
| 23671 | esac;; | ||
| 23672 | esac | ||
| 23673 | case $ac_abs_builddir in | ||
| 23674 | .) ac_abs_srcdir=$ac_srcdir;; | ||
| 23675 | *) | ||
| 23676 | case $ac_srcdir in | ||
| 23677 | .) ac_abs_srcdir=$ac_abs_builddir;; | ||
| 23678 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | ||
| 23679 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | ||
| 23680 | esac;; | ||
| 23681 | esac | ||
| 23682 | case $ac_abs_builddir in | ||
| 23683 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
| 23684 | *) | ||
| 23685 | case $ac_top_srcdir in | ||
| 23686 | .) ac_abs_top_srcdir=$ac_abs_builddir;; | ||
| 23687 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
| 23688 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | ||
| 23689 | esac;; | ||
| 23690 | esac | ||
| 23691 | 23922 | ||
| 23923 | case $ac_mode in | ||
| 23924 | :F) | ||
| 23925 | # | ||
| 23926 | # CONFIG_FILE | ||
| 23927 | # | ||
| 23692 | 23928 | ||
| 23693 | case $INSTALL in | 23929 | case $INSTALL in |
| 23694 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 23930 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
| 23695 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 23931 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
| 23696 | esac | 23932 | esac |
| 23933 | _ACEOF | ||
| 23697 | 23934 | ||
| 23698 | # Let's still pretend it is `configure' which instantiates (i.e., don't | 23935 | cat >>$CONFIG_STATUS <<\_ACEOF |
| 23699 | # use $as_me), people would be surprised to read: | 23936 | # If the template does not know about datarootdir, expand it. |
| 23700 | # /* config.h. Generated by config.status. */ | 23937 | # FIXME: This hack should be removed a few years after 2.60. |
| 23701 | if test x"$ac_file" = x-; then | 23938 | ac_datarootdir_hack=; ac_datarootdir_seen= |
| 23702 | configure_input= | ||
| 23703 | else | ||
| 23704 | configure_input="$ac_file. " | ||
| 23705 | fi | ||
| 23706 | configure_input=$configure_input"Generated from `echo $ac_file_in | | ||
| 23707 | sed 's,.*/,,'` by configure." | ||
| 23708 | |||
| 23709 | # First look for the input files in the build tree, otherwise in the | ||
| 23710 | # src tree. | ||
| 23711 | ac_file_inputs=`IFS=: | ||
| 23712 | for f in $ac_file_in; do | ||
| 23713 | case $f in | ||
| 23714 | -) echo $tmp/stdin ;; | ||
| 23715 | [\\/$]*) | ||
| 23716 | # Absolute (can't be DOS-style, as IFS=:) | ||
| 23717 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | ||
| 23718 | echo "$as_me: error: cannot find input file: $f" >&2;} | ||
| 23719 | { (exit 1); exit 1; }; } | ||
| 23720 | echo "$f";; | ||
| 23721 | *) # Relative | ||
| 23722 | if test -f "$f"; then | ||
| 23723 | # Build tree | ||
| 23724 | echo "$f" | ||
| 23725 | elif test -f "$srcdir/$f"; then | ||
| 23726 | # Source tree | ||
| 23727 | echo "$srcdir/$f" | ||
| 23728 | else | ||
| 23729 | # /dev/null tree | ||
| 23730 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | ||
| 23731 | echo "$as_me: error: cannot find input file: $f" >&2;} | ||
| 23732 | { (exit 1); exit 1; }; } | ||
| 23733 | fi;; | ||
| 23734 | esac | ||
| 23735 | done` || { (exit 1); exit 1; } | ||
| 23736 | 23939 | ||
| 23737 | if test x"$ac_file" != x-; then | 23940 | case `sed -n '/datarootdir/ { |
| 23738 | { echo "$as_me:$LINENO: creating $ac_file" >&5 | 23941 | p |
| 23739 | echo "$as_me: creating $ac_file" >&6;} | 23942 | q |
| 23740 | rm -f "$ac_file" | 23943 | } |
| 23741 | fi | 23944 | /@datadir@/p |
| 23945 | /@docdir@/p | ||
| 23946 | /@infodir@/p | ||
| 23947 | /@localedir@/p | ||
| 23948 | /@mandir@/p | ||
| 23949 | ' $ac_file_inputs` in | ||
| 23950 | *datarootdir*) ac_datarootdir_seen=yes;; | ||
| 23951 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | ||
| 23952 | { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | ||
| 23953 | echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | ||
| 23954 | _ACEOF | ||
| 23955 | cat >>$CONFIG_STATUS <<_ACEOF | ||
| 23956 | ac_datarootdir_hack=' | ||
| 23957 | s&@datadir@&$datadir&g | ||
| 23958 | s&@docdir@&$docdir&g | ||
| 23959 | s&@infodir@&$infodir&g | ||
| 23960 | s&@localedir@&$localedir&g | ||
| 23961 | s&@mandir@&$mandir&g | ||
| 23962 | s&\\\${datarootdir}&$datarootdir&g' ;; | ||
| 23963 | esac | ||
| 23742 | _ACEOF | 23964 | _ACEOF |
| 23965 | |||
| 23966 | # Neutralize VPATH when `$srcdir' = `.'. | ||
| 23967 | # Shell code in configure.ac might set extrasub. | ||
| 23968 | # FIXME: do we really want to maintain this feature? | ||
| 23743 | cat >>$CONFIG_STATUS <<_ACEOF | 23969 | cat >>$CONFIG_STATUS <<_ACEOF |
| 23744 | sed "$ac_vpsub | 23970 | sed "$ac_vpsub |
| 23745 | $extrasub | 23971 | $extrasub |
| @@ -23747,365 +23973,140 @@ _ACEOF | |||
| 23747 | cat >>$CONFIG_STATUS <<\_ACEOF | 23973 | cat >>$CONFIG_STATUS <<\_ACEOF |
| 23748 | :t | 23974 | :t |
| 23749 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 23975 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 23750 | s,@configure_input@,$configure_input,;t t | 23976 | s&@configure_input@&$configure_input&;t t |
| 23751 | s,@srcdir@,$ac_srcdir,;t t | 23977 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
| 23752 | s,@abs_srcdir@,$ac_abs_srcdir,;t t | 23978 | s&@srcdir@&$ac_srcdir&;t t |
| 23753 | s,@top_srcdir@,$ac_top_srcdir,;t t | 23979 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
| 23754 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | 23980 | s&@top_srcdir@&$ac_top_srcdir&;t t |
| 23755 | s,@builddir@,$ac_builddir,;t t | 23981 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
| 23756 | s,@abs_builddir@,$ac_abs_builddir,;t t | 23982 | s&@builddir@&$ac_builddir&;t t |
| 23757 | s,@top_builddir@,$ac_top_builddir,;t t | 23983 | s&@abs_builddir@&$ac_abs_builddir&;t t |
| 23758 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | 23984 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
| 23759 | s,@INSTALL@,$ac_INSTALL,;t t | 23985 | s&@INSTALL@&$ac_INSTALL&;t t |
| 23760 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 23986 | $ac_datarootdir_hack |
| 23761 | rm -f $tmp/stdin | 23987 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
| 23762 | if test x"$ac_file" != x-; then | 23988 | |
| 23763 | mv $tmp/out $ac_file | 23989 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 23764 | else | 23990 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
| 23765 | cat $tmp/out | 23991 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
| 23766 | rm -f $tmp/out | 23992 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 23767 | fi | 23993 | which seems to be undefined. Please make sure it is defined." >&5 |
| 23768 | 23994 | echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
| 23769 | done | 23995 | which seems to be undefined. Please make sure it is defined." >&2;} |
| 23770 | _ACEOF | 23996 | |
| 23771 | cat >>$CONFIG_STATUS <<\_ACEOF | 23997 | rm -f "$tmp/stdin" |
| 23772 | |||
| 23773 | # | ||
| 23774 | # CONFIG_HEADER section. | ||
| 23775 | # | ||
| 23776 | |||
| 23777 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | ||
| 23778 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | ||
| 23779 | # | ||
| 23780 | # ac_d sets the value in "#define NAME VALUE" lines. | ||
| 23781 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' | ||
| 23782 | ac_dB='[ ].*$,\1#\2' | ||
| 23783 | ac_dC=' ' | ||
| 23784 | ac_dD=',;t' | ||
| 23785 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | ||
| 23786 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | ||
| 23787 | ac_uB='$,\1#\2define\3' | ||
| 23788 | ac_uC=' ' | ||
| 23789 | ac_uD=',;t' | ||
| 23790 | |||
| 23791 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | ||
| 23792 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | ||
| 23793 | case $ac_file in | 23998 | case $ac_file in |
| 23794 | - | *:- | *:-:* ) # input from stdin | 23999 | -) cat "$tmp/out"; rm -f "$tmp/out";; |
| 23795 | cat >$tmp/stdin | 24000 | *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
| 23796 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ||
| 23797 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ||
| 23798 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | ||
| 23799 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | ||
| 23800 | * ) ac_file_in=$ac_file.in ;; | ||
| 23801 | esac | 24001 | esac |
| 23802 | 24002 | ;; | |
| 23803 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | 24003 | :H) |
| 23804 | echo "$as_me: creating $ac_file" >&6;} | 24004 | # |
| 23805 | 24005 | # CONFIG_HEADER | |
| 23806 | # First look for the input files in the build tree, otherwise in the | 24006 | # |
| 23807 | # src tree. | 24007 | _ACEOF |
| 23808 | ac_file_inputs=`IFS=: | 24008 | |
| 23809 | for f in $ac_file_in; do | 24009 | # Transform confdefs.h into a sed script `conftest.defines', that |
| 23810 | case $f in | 24010 | # substitutes the proper values into config.h.in to produce config.h. |
| 23811 | -) echo $tmp/stdin ;; | 24011 | rm -f conftest.defines conftest.tail |
| 23812 | [\\/$]*) | 24012 | # First, append a space to every undef/define line, to ease matching. |
| 23813 | # Absolute (can't be DOS-style, as IFS=:) | 24013 | echo 's/$/ /' >conftest.defines |
| 23814 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 24014 | # Then, protect against being on the right side of a sed subst, or in |
| 23815 | echo "$as_me: error: cannot find input file: $f" >&2;} | 24015 | # an unquoted here document, in config.status. If some macros were |
| 23816 | { (exit 1); exit 1; }; } | 24016 | # called several times there might be several #defines for the same |
| 23817 | # Do quote $f, to prevent DOS paths from being IFS'd. | 24017 | # symbol, which is useless. But do not sort them, since the last |
| 23818 | echo "$f";; | 24018 | # AC_DEFINE must be honored. |
| 23819 | *) # Relative | 24019 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
| 23820 | if test -f "$f"; then | 24020 | # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
| 23821 | # Build tree | 24021 | # NAME is the cpp macro being defined, VALUE is the value it is being given. |
| 23822 | echo "$f" | 24022 | # PARAMS is the parameter list in the macro definition--in most cases, it's |
| 23823 | elif test -f "$srcdir/$f"; then | 24023 | # just an empty string. |
| 23824 | # Source tree | 24024 | ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
| 23825 | echo "$srcdir/$f" | 24025 | ac_dB='\\)[ (].*,\\1define\\2' |
| 23826 | else | 24026 | ac_dC=' ' |
| 23827 | # /dev/null tree | 24027 | ac_dD=' ,' |
| 23828 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 24028 | |
| 23829 | echo "$as_me: error: cannot find input file: $f" >&2;} | 24029 | uniq confdefs.h | |
| 23830 | { (exit 1); exit 1; }; } | 24030 | sed -n ' |
| 23831 | fi;; | 24031 | t rset |
| 23832 | esac | 24032 | :rset |
| 23833 | done` || { (exit 1); exit 1; } | 24033 | s/^[ ]*#[ ]*define[ ][ ]*// |
| 23834 | # Remove the trailing spaces. | 24034 | t ok |
| 23835 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in | 24035 | d |
| 23836 | 24036 | :ok | |
| 23837 | _ACEOF | 24037 | s/[\\&,]/\\&/g |
| 23838 | 24038 | s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p | |
| 23839 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | 24039 | s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
| 23840 | # `conftest.undefs', that substitutes the proper values into | 24040 | ' >>conftest.defines |
| 23841 | # config.h.in to produce config.h. The first handles `#define' | 24041 | |
| 23842 | # templates, and the second `#undef' templates. | 24042 | # Remove the space that was appended to ease matching. |
| 23843 | # And first: Protect against being on the right side of a sed subst in | 24043 | # Then replace #undef with comments. This is necessary, for |
| 23844 | # config.status. Protect against being in an unquoted here document | ||
| 23845 | # in config.status. | ||
| 23846 | rm -f conftest.defines conftest.undefs | ||
| 23847 | # Using a here document instead of a string reduces the quoting nightmare. | ||
| 23848 | # Putting comments in sed scripts is not portable. | ||
| 23849 | # | ||
| 23850 | # `end' is used to avoid that the second main sed command (meant for | ||
| 23851 | # 0-ary CPP macros) applies to n-ary macro definitions. | ||
| 23852 | # See the Autoconf documentation for `clear'. | ||
| 23853 | cat >confdef2sed.sed <<\_ACEOF | ||
| 23854 | s/[\\&,]/\\&/g | ||
| 23855 | s,[\\$`],\\&,g | ||
| 23856 | t clear | ||
| 23857 | : clear | ||
| 23858 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | ||
| 23859 | t end | ||
| 23860 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | ||
| 23861 | : end | ||
| 23862 | _ACEOF | ||
| 23863 | # If some macros were called several times there might be several times | ||
| 23864 | # the same #defines, which is useless. Nevertheless, we may not want to | ||
| 23865 | # sort them, since we want the *last* AC-DEFINE to be honored. | ||
| 23866 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | ||
| 23867 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | ||
| 23868 | rm -f confdef2sed.sed | ||
| 23869 | |||
| 23870 | # This sed command replaces #undef with comments. This is necessary, for | ||
| 23871 | # example, in the case of _POSIX_SOURCE, which is predefined and required | 24044 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
| 23872 | # on some systems where configure will not decide to define it. | 24045 | # on some systems where configure will not decide to define it. |
| 23873 | cat >>conftest.undefs <<\_ACEOF | 24046 | # (The regexp can be short, since the line contains either #define or #undef.) |
| 23874 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 24047 | echo 's/ $// |
| 23875 | _ACEOF | 24048 | s,^[ #]*u.*,/* & */,' >>conftest.defines |
| 23876 | 24049 | ||
| 23877 | # Break up conftest.defines because some shells have a limit on the size | 24050 | # Break up conftest.defines: |
| 23878 | # of here documents, and old seds have small limits too (100 cmds). | 24051 | ac_max_sed_lines=50 |
| 23879 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 24052 | |
| 23880 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 24053 | # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
| 23881 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | 24054 | # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
| 23882 | echo ' :' >>$CONFIG_STATUS | 24055 | # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
| 23883 | rm -f conftest.tail | 24056 | # et cetera. |
| 23884 | while grep . conftest.defines >/dev/null | 24057 | ac_in='$ac_file_inputs' |
| 24058 | ac_out='"$tmp/out1"' | ||
| 24059 | ac_nxt='"$tmp/out2"' | ||
| 24060 | |||
| 24061 | while : | ||
| 23885 | do | 24062 | do |
| 23886 | # Write a limited-size here document to $tmp/defines.sed. | 24063 | # Write a here document: |
| 23887 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | 24064 | cat >>$CONFIG_STATUS <<_ACEOF |
| 23888 | # Speed up: don't consider the non `#define' lines. | 24065 | # First, check the format of the line: |
| 23889 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS | 24066 | cat >"\$tmp/defines.sed" <<\\CEOF |
| 23890 | # Work around the forget-to-reset-the-flag bug. | 24067 | /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
| 23891 | echo 't clr' >>$CONFIG_STATUS | 24068 | /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
| 23892 | echo ': clr' >>$CONFIG_STATUS | 24069 | b |
| 23893 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | 24070 | :def |
| 24071 | _ACEOF | ||
| 24072 | sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS | ||
| 23894 | echo 'CEOF | 24073 | echo 'CEOF |
| 23895 | sed -f $tmp/defines.sed $tmp/in >$tmp/out | 24074 | sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
| 23896 | rm -f $tmp/in | 24075 | ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
| 23897 | mv $tmp/out $tmp/in | 24076 | sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
| 23898 | ' >>$CONFIG_STATUS | 24077 | grep . conftest.tail >/dev/null || break |
| 23899 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | ||
| 23900 | rm -f conftest.defines | 24078 | rm -f conftest.defines |
| 23901 | mv conftest.tail conftest.defines | 24079 | mv conftest.tail conftest.defines |
| 23902 | done | 24080 | done |
| 23903 | rm -f conftest.defines | 24081 | rm -f conftest.defines conftest.tail |
| 23904 | echo ' fi # grep' >>$CONFIG_STATUS | ||
| 23905 | echo >>$CONFIG_STATUS | ||
| 23906 | |||
| 23907 | # Break up conftest.undefs because some shells have a limit on the size | ||
| 23908 | # of here documents, and old seds have small limits too (100 cmds). | ||
| 23909 | echo ' # Handle all the #undef templates' >>$CONFIG_STATUS | ||
| 23910 | rm -f conftest.tail | ||
| 23911 | while grep . conftest.undefs >/dev/null | ||
| 23912 | do | ||
| 23913 | # Write a limited-size here document to $tmp/undefs.sed. | ||
| 23914 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | ||
| 23915 | # Speed up: don't consider the non `#undef' | ||
| 23916 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS | ||
| 23917 | # Work around the forget-to-reset-the-flag bug. | ||
| 23918 | echo 't clr' >>$CONFIG_STATUS | ||
| 23919 | echo ': clr' >>$CONFIG_STATUS | ||
| 23920 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | ||
| 23921 | echo 'CEOF | ||
| 23922 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out | ||
| 23923 | rm -f $tmp/in | ||
| 23924 | mv $tmp/out $tmp/in | ||
| 23925 | ' >>$CONFIG_STATUS | ||
| 23926 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | ||
| 23927 | rm -f conftest.undefs | ||
| 23928 | mv conftest.tail conftest.undefs | ||
| 23929 | done | ||
| 23930 | rm -f conftest.undefs | ||
| 23931 | 24082 | ||
| 24083 | echo "ac_result=$ac_in" >>$CONFIG_STATUS | ||
| 23932 | cat >>$CONFIG_STATUS <<\_ACEOF | 24084 | cat >>$CONFIG_STATUS <<\_ACEOF |
| 23933 | # Let's still pretend it is `configure' which instantiates (i.e., don't | ||
| 23934 | # use $as_me), people would be surprised to read: | ||
| 23935 | # /* config.h. Generated by config.status. */ | ||
| 23936 | if test x"$ac_file" = x-; then | ||
| 23937 | echo "/* Generated by configure. */" >$tmp/config.h | ||
| 23938 | else | ||
| 23939 | echo "/* $ac_file. Generated by configure. */" >$tmp/config.h | ||
| 23940 | fi | ||
| 23941 | cat $tmp/in >>$tmp/config.h | ||
| 23942 | rm -f $tmp/in | ||
| 23943 | if test x"$ac_file" != x-; then | 24085 | if test x"$ac_file" != x-; then |
| 23944 | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then | 24086 | echo "/* $configure_input */" >"$tmp/config.h" |
| 24087 | cat "$ac_result" >>"$tmp/config.h" | ||
| 24088 | if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then | ||
| 23945 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 24089 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
| 23946 | echo "$as_me: $ac_file is unchanged" >&6;} | 24090 | echo "$as_me: $ac_file is unchanged" >&6;} |
| 23947 | else | 24091 | else |
| 23948 | ac_dir=`(dirname "$ac_file") 2>/dev/null || | ||
| 23949 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 23950 | X"$ac_file" : 'X\(//\)[^/]' \| \ | ||
| 23951 | X"$ac_file" : 'X\(//\)$' \| \ | ||
| 23952 | X"$ac_file" : 'X\(/\)' \| \ | ||
| 23953 | . : '\(.\)' 2>/dev/null || | ||
| 23954 | echo X"$ac_file" | | ||
| 23955 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
| 23956 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
| 23957 | /^X\(\/\/\)$/{ s//\1/; q; } | ||
| 23958 | /^X\(\/\).*/{ s//\1/; q; } | ||
| 23959 | s/.*/./; q'` | ||
| 23960 | { if $as_mkdir_p; then | ||
| 23961 | mkdir -p "$ac_dir" | ||
| 23962 | else | ||
| 23963 | as_dir="$ac_dir" | ||
| 23964 | as_dirs= | ||
| 23965 | while test ! -d "$as_dir"; do | ||
| 23966 | as_dirs="$as_dir $as_dirs" | ||
| 23967 | as_dir=`(dirname "$as_dir") 2>/dev/null || | ||
| 23968 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 23969 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
| 23970 | X"$as_dir" : 'X\(//\)$' \| \ | ||
| 23971 | X"$as_dir" : 'X\(/\)' \| \ | ||
| 23972 | . : '\(.\)' 2>/dev/null || | ||
| 23973 | echo X"$as_dir" | | ||
| 23974 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
| 23975 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
| 23976 | /^X\(\/\/\)$/{ s//\1/; q; } | ||
| 23977 | /^X\(\/\).*/{ s//\1/; q; } | ||
| 23978 | s/.*/./; q'` | ||
| 23979 | done | ||
| 23980 | test ! -n "$as_dirs" || mkdir $as_dirs | ||
| 23981 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | ||
| 23982 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | ||
| 23983 | { (exit 1); exit 1; }; }; } | ||
| 23984 | |||
| 23985 | rm -f $ac_file | 24092 | rm -f $ac_file |
| 23986 | mv $tmp/config.h $ac_file | 24093 | mv "$tmp/config.h" $ac_file |
| 23987 | fi | 24094 | fi |
| 23988 | else | 24095 | else |
| 23989 | cat $tmp/config.h | 24096 | echo "/* $configure_input */" |
| 23990 | rm -f $tmp/config.h | 24097 | cat "$ac_result" |
| 23991 | fi | 24098 | fi |
| 23992 | done | 24099 | rm -f "$tmp/out12" |
| 23993 | _ACEOF | 24100 | ;; |
| 23994 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
| 23995 | |||
| 23996 | # | ||
| 23997 | # CONFIG_COMMANDS section. | ||
| 23998 | # | ||
| 23999 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue | ||
| 24000 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'` | ||
| 24001 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` | ||
| 24002 | ac_dir=`(dirname "$ac_dest") 2>/dev/null || | ||
| 24003 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 24004 | X"$ac_dest" : 'X\(//\)[^/]' \| \ | ||
| 24005 | X"$ac_dest" : 'X\(//\)$' \| \ | ||
| 24006 | X"$ac_dest" : 'X\(/\)' \| \ | ||
| 24007 | . : '\(.\)' 2>/dev/null || | ||
| 24008 | echo X"$ac_dest" | | ||
| 24009 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
| 24010 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
| 24011 | /^X\(\/\/\)$/{ s//\1/; q; } | ||
| 24012 | /^X\(\/\).*/{ s//\1/; q; } | ||
| 24013 | s/.*/./; q'` | ||
| 24014 | { if $as_mkdir_p; then | ||
| 24015 | mkdir -p "$ac_dir" | ||
| 24016 | else | ||
| 24017 | as_dir="$ac_dir" | ||
| 24018 | as_dirs= | ||
| 24019 | while test ! -d "$as_dir"; do | ||
| 24020 | as_dirs="$as_dir $as_dirs" | ||
| 24021 | as_dir=`(dirname "$as_dir") 2>/dev/null || | ||
| 24022 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
| 24023 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
| 24024 | X"$as_dir" : 'X\(//\)$' \| \ | ||
| 24025 | X"$as_dir" : 'X\(/\)' \| \ | ||
| 24026 | . : '\(.\)' 2>/dev/null || | ||
| 24027 | echo X"$as_dir" | | ||
| 24028 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | ||
| 24029 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | ||
| 24030 | /^X\(\/\/\)$/{ s//\1/; q; } | ||
| 24031 | /^X\(\/\).*/{ s//\1/; q; } | ||
| 24032 | s/.*/./; q'` | ||
| 24033 | done | ||
| 24034 | test ! -n "$as_dirs" || mkdir $as_dirs | ||
| 24035 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | ||
| 24036 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | ||
| 24037 | { (exit 1); exit 1; }; }; } | ||
| 24038 | |||
| 24039 | ac_builddir=. | ||
| 24040 | |||
| 24041 | if test "$ac_dir" != .; then | ||
| 24042 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | ||
| 24043 | # A "../" for each directory in $ac_dir_suffix. | ||
| 24044 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | ||
| 24045 | else | ||
| 24046 | ac_dir_suffix= ac_top_builddir= | ||
| 24047 | fi | ||
| 24048 | |||
| 24049 | case $srcdir in | ||
| 24050 | .) # No --srcdir option. We are building in place. | ||
| 24051 | ac_srcdir=. | ||
| 24052 | if test -z "$ac_top_builddir"; then | ||
| 24053 | ac_top_srcdir=. | ||
| 24054 | else | ||
| 24055 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | ||
| 24056 | fi ;; | ||
| 24057 | [\\/]* | ?:[\\/]* ) # Absolute path. | ||
| 24058 | ac_srcdir=$srcdir$ac_dir_suffix; | ||
| 24059 | ac_top_srcdir=$srcdir ;; | ||
| 24060 | *) # Relative path. | ||
| 24061 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | ||
| 24062 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | ||
| 24063 | esac | ||
| 24064 | 24101 | ||
| 24065 | # Do not use `cd foo && pwd` to compute absolute paths, because | 24102 | :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 |
| 24066 | # the directories may not exist. | 24103 | echo "$as_me: executing $ac_file commands" >&6;} |
| 24067 | case `pwd` in | 24104 | ;; |
| 24068 | .) ac_abs_builddir="$ac_dir";; | 24105 | esac |
| 24069 | *) | ||
| 24070 | case "$ac_dir" in | ||
| 24071 | .) ac_abs_builddir=`pwd`;; | ||
| 24072 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | ||
| 24073 | *) ac_abs_builddir=`pwd`/"$ac_dir";; | ||
| 24074 | esac;; | ||
| 24075 | esac | ||
| 24076 | case $ac_abs_builddir in | ||
| 24077 | .) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
| 24078 | *) | ||
| 24079 | case ${ac_top_builddir}. in | ||
| 24080 | .) ac_abs_top_builddir=$ac_abs_builddir;; | ||
| 24081 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | ||
| 24082 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | ||
| 24083 | esac;; | ||
| 24084 | esac | ||
| 24085 | case $ac_abs_builddir in | ||
| 24086 | .) ac_abs_srcdir=$ac_srcdir;; | ||
| 24087 | *) | ||
| 24088 | case $ac_srcdir in | ||
| 24089 | .) ac_abs_srcdir=$ac_abs_builddir;; | ||
| 24090 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | ||
| 24091 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | ||
| 24092 | esac;; | ||
| 24093 | esac | ||
| 24094 | case $ac_abs_builddir in | ||
| 24095 | .) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
| 24096 | *) | ||
| 24097 | case $ac_top_srcdir in | ||
| 24098 | .) ac_abs_top_srcdir=$ac_abs_builddir;; | ||
| 24099 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | ||
| 24100 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | ||
| 24101 | esac;; | ||
| 24102 | esac | ||
| 24103 | 24106 | ||
| 24104 | 24107 | ||
| 24105 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 | 24108 | case $ac_file$ac_mode in |
| 24106 | echo "$as_me: executing $ac_dest commands" >&6;} | 24109 | "default":C) |
| 24107 | case $ac_dest in | ||
| 24108 | default ) | ||
| 24109 | 24110 | ||
| 24110 | ### Make the necessary directories, if they don't exist. | 24111 | ### Make the necessary directories, if they don't exist. |
| 24111 | for dir in etc lisp ; do | 24112 | for dir in etc lisp ; do |
| @@ -24178,11 +24179,10 @@ fi | |||
| 24178 | touch src/config.stamp | 24179 | touch src/config.stamp |
| 24179 | 24180 | ||
| 24180 | ;; | 24181 | ;; |
| 24182 | |||
| 24181 | esac | 24183 | esac |
| 24182 | done | 24184 | done # for ac_tag |
| 24183 | _ACEOF | ||
| 24184 | 24185 | ||
| 24185 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
| 24186 | 24186 | ||
| 24187 | { (exit 0); exit 0; } | 24187 | { (exit 0); exit 0; } |
| 24188 | _ACEOF | 24188 | _ACEOF |