| @@ -1,208 +1,9260 @@ | | | @@ -1,208 +1,9260 @@ |
1 | $NetBSD: patch-ac,v 1.7 2007/03/08 19:24:24 rillig Exp $ | | 1 | $NetBSD: patch-ac,v 1.8 2009/08/09 16:00:53 drochner Exp $ |
2 | | | 2 | |
3 | --- configure.orig 2000-04-15 08:13:01.000000000 -0700 | | 3 | --- configure.orig 2006-08-16 20:02:25.000000000 +0200 |
4 | +++ configure | | 4 | +++ configure |
5 | @@ -884,6 +884,16 @@ else | | 5 | @@ -1,25 +1,82 @@ |
6 | echo "$ac_t""no" 1>&6 | | 6 | #! /bin/sh |
| | | 7 | # Guess values for system-dependent variables and create Makefiles. |
| | | 8 | -# Generated by GNU Autoconf 2.59. |
| | | 9 | +# Generated by GNU Autoconf 2.63. |
| | | 10 | # |
| | | 11 | -# Copyright (C) 2003 Free Software Foundation, Inc. |
| | | 12 | +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| | | 13 | +# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| | | 14 | # This configure script is free software; the Free Software Foundation |
| | | 15 | # gives unlimited permission to copy, distribute and modify it. |
| | | 16 | ## --------------------- ## |
| | | 17 | ## M4sh Initialization. ## |
| | | 18 | ## --------------------- ## |
| | | 19 | |
| | | 20 | -# Be Bourne compatible |
| | | 21 | +# Be more Bourne compatible |
| | | 22 | +DUALCASE=1; export DUALCASE # for MKS sh |
| | | 23 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| | | 24 | emulate sh |
| | | 25 | NULLCMD=: |
| | | 26 | - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| | | 27 | + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| | | 28 | # is contrary to our usage. Disable this feature. |
| | | 29 | alias -g '${1+"$@"}'='"$@"' |
| | | 30 | -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| | | 31 | - set -o posix |
| | | 32 | + setopt NO_GLOB_SUBST |
| | | 33 | +else |
| | | 34 | + case `(set -o) 2>/dev/null` in |
| | | 35 | + *posix*) set -o posix ;; |
| | | 36 | +esac |
| | | 37 | + |
| | | 38 | +fi |
| | | 39 | + |
| | | 40 | + |
| | | 41 | + |
| | | 42 | + |
| | | 43 | +# PATH needs CR |
| | | 44 | +# Avoid depending upon Character Ranges. |
| | | 45 | +as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| | | 46 | +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| | | 47 | +as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| | | 48 | +as_cr_digits='0123456789' |
| | | 49 | +as_cr_alnum=$as_cr_Letters$as_cr_digits |
| | | 50 | + |
| | | 51 | +as_nl=' |
| | | 52 | +' |
| | | 53 | +export as_nl |
| | | 54 | +# Printing a long string crashes Solaris 7 /usr/bin/printf. |
| | | 55 | +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| | | 56 | +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| | | 57 | +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| | | 58 | +if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| | | 59 | + as_echo='printf %s\n' |
| | | 60 | + as_echo_n='printf %s' |
| | | 61 | +else |
| | | 62 | + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
| | | 63 | + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
| | | 64 | + as_echo_n='/usr/ucb/echo -n' |
| | | 65 | + else |
| | | 66 | + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| | | 67 | + as_echo_n_body='eval |
| | | 68 | + arg=$1; |
| | | 69 | + case $arg in |
| | | 70 | + *"$as_nl"*) |
| | | 71 | + expr "X$arg" : "X\\(.*\\)$as_nl"; |
| | | 72 | + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| | | 73 | + esac; |
| | | 74 | + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
| | | 75 | + ' |
| | | 76 | + export as_echo_n_body |
| | | 77 | + as_echo_n='sh -c $as_echo_n_body as_echo' |
| | | 78 | + fi |
| | | 79 | + export as_echo_body |
| | | 80 | + as_echo='sh -c $as_echo_body as_echo' |
| | | 81 | +fi |
| | | 82 | + |
| | | 83 | +# The user is always right. |
| | | 84 | +if test "${PATH_SEPARATOR+set}" != set; then |
| | | 85 | + PATH_SEPARATOR=: |
| | | 86 | + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| | | 87 | + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| | | 88 | + PATH_SEPARATOR=';' |
| | | 89 | + } |
| | | 90 | fi |
| | | 91 | -DUALCASE=1; export DUALCASE # for MKS sh |
| | | 92 | |
| | | 93 | # Support unset when possible. |
| | | 94 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| | | 95 | @@ -29,33 +86,60 @@ else |
| | | 96 | fi |
| | | 97 | |
| | | 98 | |
| | | 99 | +# IFS |
| | | 100 | +# We need space, tab and new line, in precisely that order. Quoting is |
| | | 101 | +# there to prevent editors from complaining about space-tab. |
| | | 102 | +# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| | | 103 | +# splitting by setting IFS to empty value.) |
| | | 104 | +IFS=" "" $as_nl" |
| | | 105 | + |
| | | 106 | +# Find who we are. Look in the path if we contain no directory separator. |
| | | 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 | +IFS=$as_save_IFS |
| | | 117 | + |
| | | 118 | + ;; |
| | | 119 | +esac |
| | | 120 | +# We did not find ourselves, most probably we were run as `sh COMMAND' |
| | | 121 | +# in which case we are not to be found in the path. |
| | | 122 | +if test "x$as_myself" = x; then |
| | | 123 | + as_myself=$0 |
| | | 124 | +fi |
| | | 125 | +if test ! -f "$as_myself"; then |
| | | 126 | + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| | | 127 | + { (exit 1); exit 1; } |
| | | 128 | +fi |
| | | 129 | + |
| | | 130 | # Work around bugs in pre-3.0 UWIN ksh. |
| | | 131 | -$as_unset ENV MAIL MAILPATH |
| | | 132 | +for as_var in ENV MAIL MAILPATH |
| | | 133 | +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| | | 134 | +done |
| | | 135 | PS1='$ ' |
| | | 136 | PS2='> ' |
| | | 137 | PS4='+ ' |
| | | 138 | |
| | | 139 | # NLS nuisances. |
| | | 140 | -for as_var in \ |
| | | 141 | - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
| | | 142 | - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
| | | 143 | - LC_TELEPHONE LC_TIME |
| | | 144 | -do |
| | | 145 | - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| | | 146 | - eval $as_var=C; export $as_var |
| | | 147 | - else |
| | | 148 | - $as_unset $as_var |
| | | 149 | - fi |
| | | 150 | -done |
| | | 151 | +LC_ALL=C |
| | | 152 | +export LC_ALL |
| | | 153 | +LANGUAGE=C |
| | | 154 | +export LANGUAGE |
| | | 155 | |
| | | 156 | # Required to use basename. |
| | | 157 | -if expr a : '\(a\)' >/dev/null 2>&1; then |
| | | 158 | +if expr a : '\(a\)' >/dev/null 2>&1 && |
| | | 159 | + test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| | | 160 | as_expr=expr |
| | | 161 | else |
| | | 162 | as_expr=false |
| | | 163 | fi |
| | | 164 | |
| | | 165 | -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
| | | 166 | +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| | | 167 | as_basename=basename |
| | | 168 | else |
| | | 169 | as_basename=false |
| | | 170 | @@ -63,157 +147,391 @@ fi |
| | | 171 | |
| | | 172 | |
| | | 173 | # Name of the executable. |
| | | 174 | -as_me=`$as_basename "$0" || |
| | | 175 | +as_me=`$as_basename -- "$0" || |
| | | 176 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| | | 177 | X"$0" : 'X\(//\)$' \| \ |
| | | 178 | - X"$0" : 'X\(/\)$' \| \ |
| | | 179 | - . : '\(.\)' 2>/dev/null || |
| | | 180 | -echo X/"$0" | |
| | | 181 | - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
| | | 182 | - /^X\/\(\/\/\)$/{ s//\1/; q; } |
| | | 183 | - /^X\/\(\/\).*/{ s//\1/; q; } |
| | | 184 | - s/.*/./; q'` |
| | | 185 | + X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| | | 186 | +$as_echo X/"$0" | |
| | | 187 | + sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| | | 188 | + s//\1/ |
| | | 189 | + q |
| | | 190 | + } |
| | | 191 | + /^X\/\(\/\/\)$/{ |
| | | 192 | + s//\1/ |
| | | 193 | + q |
| | | 194 | + } |
| | | 195 | + /^X\/\(\/\).*/{ |
| | | 196 | + s//\1/ |
| | | 197 | + q |
| | | 198 | + } |
| | | 199 | + s/.*/./; q'` |
| | | 200 | |
| | | 201 | +# CDPATH. |
| | | 202 | +$as_unset CDPATH |
| | | 203 | |
| | | 204 | -# PATH needs CR, and LINENO needs CR and PATH. |
| | | 205 | -# Avoid depending upon Character Ranges. |
| | | 206 | -as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| | | 207 | -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| | | 208 | -as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| | | 209 | -as_cr_digits='0123456789' |
| | | 210 | -as_cr_alnum=$as_cr_Letters$as_cr_digits |
| | | 211 | |
| | | 212 | -# The user is always right. |
| | | 213 | -if test "${PATH_SEPARATOR+set}" != set; then |
| | | 214 | - echo "#! /bin/sh" >conf$$.sh |
| | | 215 | - echo "exit 0" >>conf$$.sh |
| | | 216 | - chmod +x conf$$.sh |
| | | 217 | - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| | | 218 | - PATH_SEPARATOR=';' |
| | | 219 | - else |
| | | 220 | - PATH_SEPARATOR=: |
| | | 221 | - fi |
| | | 222 | - rm -f conf$$.sh |
| | | 223 | +if test "x$CONFIG_SHELL" = x; then |
| | | 224 | + if (eval ":") 2>/dev/null; then |
| | | 225 | + as_have_required=yes |
| | | 226 | +else |
| | | 227 | + as_have_required=no |
| | | 228 | fi |
| | | 229 | |
| | | 230 | + if test $as_have_required = yes && (eval ": |
| | | 231 | +(as_func_return () { |
| | | 232 | + (exit \$1) |
| | | 233 | +} |
| | | 234 | +as_func_success () { |
| | | 235 | + as_func_return 0 |
| | | 236 | +} |
| | | 237 | +as_func_failure () { |
| | | 238 | + as_func_return 1 |
| | | 239 | +} |
| | | 240 | +as_func_ret_success () { |
| | | 241 | + return 0 |
| | | 242 | +} |
| | | 243 | +as_func_ret_failure () { |
| | | 244 | + return 1 |
| | | 245 | +} |
| | | 246 | |
| | | 247 | - as_lineno_1=$LINENO |
| | | 248 | - as_lineno_2=$LINENO |
| | | 249 | - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| | | 250 | - test "x$as_lineno_1" != "x$as_lineno_2" && |
| | | 251 | - test "x$as_lineno_3" = "x$as_lineno_2" || { |
| | | 252 | - # Find who we are. Look in the path if we contain no path at all |
| | | 253 | - # relative or not. |
| | | 254 | - case $0 in |
| | | 255 | - *[\\/]* ) as_myself=$0 ;; |
| | | 256 | - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| | | 257 | -for as_dir in $PATH |
| | | 258 | -do |
| | | 259 | - IFS=$as_save_IFS |
| | | 260 | - test -z "$as_dir" && as_dir=. |
| | | 261 | - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| | | 262 | -done |
| | | 263 | +exitcode=0 |
| | | 264 | +if as_func_success; then |
| | | 265 | + : |
| | | 266 | +else |
| | | 267 | + exitcode=1 |
| | | 268 | + echo as_func_success failed. |
| | | 269 | +fi |
| | | 270 | |
| | | 271 | - ;; |
| | | 272 | - esac |
| | | 273 | - # We did not find ourselves, most probably we were run as `sh COMMAND' |
| | | 274 | - # in which case we are not to be found in the path. |
| | | 275 | - if test "x$as_myself" = x; then |
| | | 276 | - as_myself=$0 |
| | | 277 | - fi |
| | | 278 | - if test ! -f "$as_myself"; then |
| | | 279 | - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
| | | 280 | - { (exit 1); exit 1; }; } |
| | | 281 | - fi |
| | | 282 | - case $CONFIG_SHELL in |
| | | 283 | - '') |
| | | 284 | +if as_func_failure; then |
| | | 285 | + exitcode=1 |
| | | 286 | + echo as_func_failure succeeded. |
| | | 287 | +fi |
| | | 288 | + |
| | | 289 | +if as_func_ret_success; then |
| | | 290 | + : |
| | | 291 | +else |
| | | 292 | + exitcode=1 |
| | | 293 | + echo as_func_ret_success failed. |
| | | 294 | +fi |
| | | 295 | + |
| | | 296 | +if as_func_ret_failure; then |
| | | 297 | + exitcode=1 |
| | | 298 | + echo as_func_ret_failure succeeded. |
| | | 299 | +fi |
| | | 300 | + |
| | | 301 | +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
| | | 302 | + : |
| | | 303 | +else |
| | | 304 | + exitcode=1 |
| | | 305 | + echo positional parameters were not saved. |
| | | 306 | +fi |
| | | 307 | + |
| | | 308 | +test \$exitcode = 0) || { (exit 1); exit 1; } |
| | | 309 | + |
| | | 310 | +( |
| | | 311 | + as_lineno_1=\$LINENO |
| | | 312 | + as_lineno_2=\$LINENO |
| | | 313 | + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
| | | 314 | + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
| | | 315 | +") 2> /dev/null; then |
| | | 316 | + : |
| | | 317 | +else |
| | | 318 | + as_candidate_shells= |
| | | 319 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| | | 320 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| | | 321 | do |
| | | 322 | IFS=$as_save_IFS |
| | | 323 | test -z "$as_dir" && as_dir=. |
| | | 324 | - for as_base in sh bash ksh sh5; do |
| | | 325 | - case $as_dir in |
| | | 326 | + case $as_dir in |
| | | 327 | /*) |
| | | 328 | - if ("$as_dir/$as_base" -c ' |
| | | 329 | + for as_base in sh bash ksh sh5; do |
| | | 330 | + as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
| | | 331 | + done;; |
| | | 332 | + esac |
| | | 333 | +done |
| | | 334 | +IFS=$as_save_IFS |
| | | 335 | + |
| | | 336 | + |
| | | 337 | + for as_shell in $as_candidate_shells $SHELL; do |
| | | 338 | + # Try only shells that exist, to save several forks. |
| | | 339 | + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
| | | 340 | + { ("$as_shell") 2> /dev/null <<\_ASEOF |
| | | 341 | +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| | | 342 | + emulate sh |
| | | 343 | + NULLCMD=: |
| | | 344 | + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| | | 345 | + # is contrary to our usage. Disable this feature. |
| | | 346 | + alias -g '${1+"$@"}'='"$@"' |
| | | 347 | + setopt NO_GLOB_SUBST |
| | | 348 | +else |
| | | 349 | + case `(set -o) 2>/dev/null` in |
| | | 350 | + *posix*) set -o posix ;; |
| | | 351 | +esac |
| | | 352 | + |
| | | 353 | +fi |
| | | 354 | + |
| | | 355 | + |
| | | 356 | +: |
| | | 357 | +_ASEOF |
| | | 358 | +}; then |
| | | 359 | + CONFIG_SHELL=$as_shell |
| | | 360 | + as_have_required=yes |
| | | 361 | + if { "$as_shell" 2> /dev/null <<\_ASEOF |
| | | 362 | +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| | | 363 | + emulate sh |
| | | 364 | + NULLCMD=: |
| | | 365 | + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| | | 366 | + # is contrary to our usage. Disable this feature. |
| | | 367 | + alias -g '${1+"$@"}'='"$@"' |
| | | 368 | + setopt NO_GLOB_SUBST |
| | | 369 | +else |
| | | 370 | + case `(set -o) 2>/dev/null` in |
| | | 371 | + *posix*) set -o posix ;; |
| | | 372 | +esac |
| | | 373 | + |
| | | 374 | +fi |
| | | 375 | + |
| | | 376 | + |
| | | 377 | +: |
| | | 378 | +(as_func_return () { |
| | | 379 | + (exit $1) |
| | | 380 | +} |
| | | 381 | +as_func_success () { |
| | | 382 | + as_func_return 0 |
| | | 383 | +} |
| | | 384 | +as_func_failure () { |
| | | 385 | + as_func_return 1 |
| | | 386 | +} |
| | | 387 | +as_func_ret_success () { |
| | | 388 | + return 0 |
| | | 389 | +} |
| | | 390 | +as_func_ret_failure () { |
| | | 391 | + return 1 |
| | | 392 | +} |
| | | 393 | + |
| | | 394 | +exitcode=0 |
| | | 395 | +if as_func_success; then |
| | | 396 | + : |
| | | 397 | +else |
| | | 398 | + exitcode=1 |
| | | 399 | + echo as_func_success failed. |
| | | 400 | +fi |
| | | 401 | + |
| | | 402 | +if as_func_failure; then |
| | | 403 | + exitcode=1 |
| | | 404 | + echo as_func_failure succeeded. |
| | | 405 | +fi |
| | | 406 | + |
| | | 407 | +if as_func_ret_success; then |
| | | 408 | + : |
| | | 409 | +else |
| | | 410 | + exitcode=1 |
| | | 411 | + echo as_func_ret_success failed. |
| | | 412 | +fi |
| | | 413 | + |
| | | 414 | +if as_func_ret_failure; then |
| | | 415 | + exitcode=1 |
| | | 416 | + echo as_func_ret_failure succeeded. |
| | | 417 | +fi |
| | | 418 | + |
| | | 419 | +if ( set x; as_func_ret_success y && test x = "$1" ); then |
| | | 420 | + : |
| | | 421 | +else |
| | | 422 | + exitcode=1 |
| | | 423 | + echo positional parameters were not saved. |
| | | 424 | +fi |
| | | 425 | + |
| | | 426 | +test $exitcode = 0) || { (exit 1); exit 1; } |
| | | 427 | + |
| | | 428 | +( |
| | | 429 | as_lineno_1=$LINENO |
| | | 430 | as_lineno_2=$LINENO |
| | | 431 | - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| | | 432 | test "x$as_lineno_1" != "x$as_lineno_2" && |
| | | 433 | - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
| | | 434 | - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
| | | 435 | - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
| | | 436 | - CONFIG_SHELL=$as_dir/$as_base |
| | | 437 | - export CONFIG_SHELL |
| | | 438 | - exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
| | | 439 | - fi;; |
| | | 440 | - esac |
| | | 441 | - done |
| | | 442 | -done |
| | | 443 | -;; |
| | | 444 | - esac |
| | | 445 | + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
| | | 446 | + |
| | | 447 | +_ASEOF |
| | | 448 | +}; then |
| | | 449 | + break |
| | | 450 | +fi |
| | | 451 | + |
| | | 452 | +fi |
| | | 453 | + |
| | | 454 | + done |
| | | 455 | + |
| | | 456 | + if test "x$CONFIG_SHELL" != x; then |
| | | 457 | + for as_var in BASH_ENV ENV |
| | | 458 | + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| | | 459 | + done |
| | | 460 | + export CONFIG_SHELL |
| | | 461 | + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
| | | 462 | +fi |
| | | 463 | + |
| | | 464 | + |
| | | 465 | + if test $as_have_required = no; then |
| | | 466 | + echo This script requires a shell more modern than all the |
| | | 467 | + echo shells that I found on your system. Please install a |
| | | 468 | + echo modern shell, or manually run the script under such a |
| | | 469 | + echo shell if you do have one. |
| | | 470 | + { (exit 1); exit 1; } |
| | | 471 | +fi |
| | | 472 | + |
| | | 473 | + |
| | | 474 | +fi |
| | | 475 | + |
| | | 476 | +fi |
| | | 477 | + |
| | | 478 | + |
| | | 479 | + |
| | | 480 | +(eval "as_func_return () { |
| | | 481 | + (exit \$1) |
| | | 482 | +} |
| | | 483 | +as_func_success () { |
| | | 484 | + as_func_return 0 |
| | | 485 | +} |
| | | 486 | +as_func_failure () { |
| | | 487 | + as_func_return 1 |
| | | 488 | +} |
| | | 489 | +as_func_ret_success () { |
| | | 490 | + return 0 |
| | | 491 | +} |
| | | 492 | +as_func_ret_failure () { |
| | | 493 | + return 1 |
| | | 494 | +} |
| | | 495 | + |
| | | 496 | +exitcode=0 |
| | | 497 | +if as_func_success; then |
| | | 498 | + : |
| | | 499 | +else |
| | | 500 | + exitcode=1 |
| | | 501 | + echo as_func_success failed. |
| | | 502 | +fi |
| | | 503 | + |
| | | 504 | +if as_func_failure; then |
| | | 505 | + exitcode=1 |
| | | 506 | + echo as_func_failure succeeded. |
| | | 507 | +fi |
| | | 508 | + |
| | | 509 | +if as_func_ret_success; then |
| | | 510 | + : |
| | | 511 | +else |
| | | 512 | + exitcode=1 |
| | | 513 | + echo as_func_ret_success failed. |
| | | 514 | +fi |
| | | 515 | + |
| | | 516 | +if as_func_ret_failure; then |
| | | 517 | + exitcode=1 |
| | | 518 | + echo as_func_ret_failure succeeded. |
| | | 519 | +fi |
| | | 520 | + |
| | | 521 | +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
| | | 522 | + : |
| | | 523 | +else |
| | | 524 | + exitcode=1 |
| | | 525 | + echo positional parameters were not saved. |
| | | 526 | +fi |
| | | 527 | + |
| | | 528 | +test \$exitcode = 0") || { |
| | | 529 | + echo No shell found that supports shell functions. |
| | | 530 | + echo Please tell bug-autoconf@gnu.org about your system, |
| | | 531 | + echo including any error possibly output before this message. |
| | | 532 | + echo This can help us improve future autoconf versions. |
| | | 533 | + echo Configuration will now proceed without shell functions. |
| | | 534 | +} |
| | | 535 | + |
| | | 536 | + |
| | | 537 | + |
| | | 538 | + as_lineno_1=$LINENO |
| | | 539 | + as_lineno_2=$LINENO |
| | | 540 | + test "x$as_lineno_1" != "x$as_lineno_2" && |
| | | 541 | + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
| | | 542 | |
| | | 543 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| | | 544 | # uniformly replaced by the line number. The first 'sed' inserts a |
| | | 545 | - # line-number line before each line; the second 'sed' does the real |
| | | 546 | - # work. The second script uses 'N' to pair each line-number line |
| | | 547 | - # with the numbered line, and appends trailing '-' during |
| | | 548 | - # substitution so that $LINENO is not a special case at line end. |
| | | 549 | + # line-number line after each line using $LINENO; the second 'sed' |
| | | 550 | + # does the real work. The second script uses 'N' to pair each |
| | | 551 | + # line-number line with the line containing $LINENO, and appends |
| | | 552 | + # trailing '-' during substitution so that $LINENO is not a special |
| | | 553 | + # case at line end. |
| | | 554 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| | | 555 | - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
| | | 556 | - sed '=' <$as_myself | |
| | | 557 | + # scripts with optimization help from Paolo Bonzini. Blame Lee |
| | | 558 | + # E. McMahon (1931-1989) for sed's syntax. :-) |
| | | 559 | + sed -n ' |
| | | 560 | + p |
| | | 561 | + /[$]LINENO/= |
| | | 562 | + ' <$as_myself | |
| | | 563 | sed ' |
| | | 564 | + s/[$]LINENO.*/&-/ |
| | | 565 | + t lineno |
| | | 566 | + b |
| | | 567 | + :lineno |
| | | 568 | N |
| | | 569 | - s,$,-, |
| | | 570 | - : loop |
| | | 571 | - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
| | | 572 | + :loop |
| | | 573 | + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| | | 574 | t loop |
| | | 575 | - s,-$,, |
| | | 576 | - s,^['$as_cr_digits']*\n,, |
| | | 577 | + s/-\n.*// |
| | | 578 | ' >$as_me.lineno && |
| | | 579 | - chmod +x $as_me.lineno || |
| | | 580 | - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| | | 581 | + chmod +x "$as_me.lineno" || |
| | | 582 | + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| | | 583 | { (exit 1); exit 1; }; } |
| | | 584 | |
| | | 585 | # Don't try to exec as it changes $[0], causing all sort of problems |
| | | 586 | # (the dirname of $[0] is not the place where we might find the |
| | | 587 | - # original and so on. Autoconf is especially sensible to this). |
| | | 588 | - . ./$as_me.lineno |
| | | 589 | + # original and so on. Autoconf is especially sensitive to this). |
| | | 590 | + . "./$as_me.lineno" |
| | | 591 | # Exit status is that of the last command. |
| | | 592 | exit |
| | | 593 | } |
| | | 594 | |
| | | 595 | |
| | | 596 | -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
| | | 597 | - *c*,-n*) ECHO_N= ECHO_C=' |
| | | 598 | -' ECHO_T=' ' ;; |
| | | 599 | - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
| | | 600 | - *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
| | | 601 | -esac |
| | | 602 | +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| | | 603 | + as_dirname=dirname |
| | | 604 | +else |
| | | 605 | + as_dirname=false |
| | | 606 | +fi |
| | | 607 | |
| | | 608 | -if expr a : '\(a\)' >/dev/null 2>&1; then |
| | | 609 | +ECHO_C= ECHO_N= ECHO_T= |
| | | 610 | +case `echo -n x` in |
| | | 611 | +-n*) |
| | | 612 | + case `echo 'x\c'` in |
| | | 613 | + *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| | | 614 | + *) ECHO_C='\c';; |
| | | 615 | + esac;; |
| | | 616 | +*) |
| | | 617 | + ECHO_N='-n';; |
| | | 618 | +esac |
| | | 619 | +if expr a : '\(a\)' >/dev/null 2>&1 && |
| | | 620 | + test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| | | 621 | as_expr=expr |
| | | 622 | else |
| | | 623 | as_expr=false |
| | | 624 | fi |
| | | 625 | |
| | | 626 | rm -f conf$$ conf$$.exe conf$$.file |
| | | 627 | -echo >conf$$.file |
| | | 628 | -if ln -s conf$$.file conf$$ 2>/dev/null; then |
| | | 629 | - # We could just check for DJGPP; but this test a) works b) is more generic |
| | | 630 | - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
| | | 631 | - if test -f conf$$.exe; then |
| | | 632 | - # Don't use ln at all; we don't have any links |
| | | 633 | - as_ln_s='cp -p' |
| | | 634 | - else |
| | | 635 | +if test -d conf$$.dir; then |
| | | 636 | + rm -f conf$$.dir/conf$$.file |
| | | 637 | +else |
| | | 638 | + rm -f conf$$.dir |
| | | 639 | + mkdir conf$$.dir 2>/dev/null |
| | | 640 | +fi |
| | | 641 | +if (echo >conf$$.file) 2>/dev/null; then |
| | | 642 | + if ln -s conf$$.file conf$$ 2>/dev/null; then |
| | | 643 | as_ln_s='ln -s' |
| | | 644 | + # ... but there are two gotchas: |
| | | 645 | + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| | | 646 | + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| | | 647 | + # In both cases, we have to default to `cp -p'. |
| | | 648 | + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| | | 649 | + as_ln_s='cp -p' |
| | | 650 | + elif ln conf$$.file conf$$ 2>/dev/null; then |
| | | 651 | + as_ln_s=ln |
| | | 652 | + else |
| | | 653 | + as_ln_s='cp -p' |
| | | 654 | fi |
| | | 655 | -elif ln conf$$.file conf$$ 2>/dev/null; then |
| | | 656 | - as_ln_s=ln |
| | | 657 | else |
| | | 658 | as_ln_s='cp -p' |
| | | 659 | fi |
| | | 660 | -rm -f conf$$ conf$$.exe conf$$.file |
| | | 661 | +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| | | 662 | +rmdir conf$$.dir 2>/dev/null |
| | | 663 | |
| | | 664 | if mkdir -p . 2>/dev/null; then |
| | | 665 | as_mkdir_p=: |
| | | 666 | @@ -222,7 +540,28 @@ else |
| | | 667 | as_mkdir_p=false |
| | | 668 | fi |
| | | 669 | |
| | | 670 | -as_executable_p="test -f" |
| | | 671 | +if test -x / >/dev/null 2>&1; then |
| | | 672 | + as_test_x='test -x' |
| | | 673 | +else |
| | | 674 | + if ls -dL / >/dev/null 2>&1; then |
| | | 675 | + as_ls_L_option=L |
| | | 676 | + else |
| | | 677 | + as_ls_L_option= |
| | | 678 | + fi |
| | | 679 | + as_test_x=' |
| | | 680 | + eval sh -c '\'' |
| | | 681 | + if test -d "$1"; then |
| | | 682 | + test -d "$1/."; |
| | | 683 | + else |
| | | 684 | + case $1 in |
| | | 685 | + -*)set "./$1";; |
| | | 686 | + esac; |
| | | 687 | + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
| | | 688 | + ???[sx]*):;;*)false;;esac;fi |
| | | 689 | + '\'' sh |
| | | 690 | + ' |
| | | 691 | +fi |
| | | 692 | +as_executable_p=$as_test_x |
| | | 693 | |
| | | 694 | # Sed expression to map a string onto a valid CPP name. |
| | | 695 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| | | 696 | @@ -231,39 +570,27 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P |
| | | 697 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| | | 698 | |
| | | 699 | |
| | | 700 | -# IFS |
| | | 701 | -# We need space, tab and new line, in precisely that order. |
| | | 702 | -as_nl=' |
| | | 703 | -' |
| | | 704 | -IFS=" $as_nl" |
| | | 705 | - |
| | | 706 | -# CDPATH. |
| | | 707 | -$as_unset CDPATH |
| | | 708 | |
| | | 709 | +exec 7<&0 </dev/null 6>&1 |
| | | 710 | |
| | | 711 | # Name of the host. |
| | | 712 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
| | | 713 | # so uname gets run too. |
| | | 714 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| | | 715 | |
| | | 716 | -exec 6>&1 |
| | | 717 | - |
| | | 718 | # |
| | | 719 | # Initializations. |
| | | 720 | # |
| | | 721 | ac_default_prefix=/usr/local |
| | | 722 | +ac_clean_files= |
| | | 723 | ac_config_libobj_dir=. |
| | | 724 | +LIBOBJS= |
| | | 725 | cross_compiling=no |
| | | 726 | subdirs= |
| | | 727 | MFLAGS= |
| | | 728 | MAKEFLAGS= |
| | | 729 | SHELL=${CONFIG_SHELL-/bin/sh} |
| | | 730 | |
| | | 731 | -# Maximum number of lines to put in a shell here document. |
| | | 732 | -# This variable seems obsolete. It should probably be removed, and |
| | | 733 | -# only ac_max_sed_lines should be used. |
| | | 734 | -: ${ac_max_here_lines=38} |
| | | 735 | - |
| | | 736 | # Identity of this package. |
| | | 737 | PACKAGE_NAME= |
| | | 738 | PACKAGE_TARNAME= |
| | | 739 | @@ -275,46 +602,130 @@ ac_unique_file="interface/interface.c" |
| | | 740 | # Factoring default headers for most tests. |
| | | 741 | ac_includes_default="\ |
| | | 742 | #include <stdio.h> |
| | | 743 | -#if HAVE_SYS_TYPES_H |
| | | 744 | +#ifdef HAVE_SYS_TYPES_H |
| | | 745 | # include <sys/types.h> |
| | | 746 | #endif |
| | | 747 | -#if HAVE_SYS_STAT_H |
| | | 748 | +#ifdef HAVE_SYS_STAT_H |
| | | 749 | # include <sys/stat.h> |
| | | 750 | #endif |
| | | 751 | -#if STDC_HEADERS |
| | | 752 | +#ifdef STDC_HEADERS |
| | | 753 | # include <stdlib.h> |
| | | 754 | # include <stddef.h> |
| | | 755 | #else |
| | | 756 | -# if HAVE_STDLIB_H |
| | | 757 | +# ifdef HAVE_STDLIB_H |
| | | 758 | # include <stdlib.h> |
| | | 759 | # endif |
| | | 760 | #endif |
| | | 761 | -#if HAVE_STRING_H |
| | | 762 | -# if !STDC_HEADERS && HAVE_MEMORY_H |
| | | 763 | +#ifdef HAVE_STRING_H |
| | | 764 | +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
| | | 765 | # include <memory.h> |
| | | 766 | # endif |
| | | 767 | # include <string.h> |
| | | 768 | #endif |
| | | 769 | -#if HAVE_STRINGS_H |
| | | 770 | +#ifdef HAVE_STRINGS_H |
| | | 771 | # include <strings.h> |
| | | 772 | #endif |
| | | 773 | -#if HAVE_INTTYPES_H |
| | | 774 | +#ifdef HAVE_INTTYPES_H |
| | | 775 | # include <inttypes.h> |
| | | 776 | -#else |
| | | 777 | -# if HAVE_STDINT_H |
| | | 778 | -# include <stdint.h> |
| | | 779 | -# endif |
| | | 780 | #endif |
| | | 781 | -#if HAVE_UNISTD_H |
| | | 782 | +#ifdef HAVE_STDINT_H |
| | | 783 | +# include <stdint.h> |
| | | 784 | +#endif |
| | | 785 | +#ifdef HAVE_UNISTD_H |
| | | 786 | # include <unistd.h> |
| | | 787 | #endif" |
| | | 788 | |
| | | 789 | -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB AR INSTALL CPP EGREP SET_MAKE SBPCD_H UCDROM_H TYPESIZES OPT DEBUG LIBOBJS LTLIBOBJS' |
| | | 790 | +ac_subst_vars='LTLIBOBJS |
| | | 791 | +LIBOBJS |
| | | 792 | +EXTRA_LIBS |
| | | 793 | +EXTRA_OBJS |
| | | 794 | +LIBUTIL |
| | | 795 | +DEBUG |
| | | 796 | +OPT |
| | | 797 | +TYPESIZES |
| | | 798 | +RAWPART |
| | | 799 | +GETOPT_LONG |
| | | 800 | +UCDROM_H |
| | | 801 | +SBPCD_H |
| | | 802 | +SET_MAKE |
| | | 803 | +EGREP |
| | | 804 | +GREP |
| | | 805 | +CPP |
| | | 806 | +INSTALL |
| | | 807 | +AR |
| | | 808 | +RANLIB |
| | | 809 | +OBJEXT |
| | | 810 | +EXEEXT |
| | | 811 | +ac_ct_CC |
| | | 812 | +CPPFLAGS |
| | | 813 | +LDFLAGS |
| | | 814 | +CFLAGS |
| | | 815 | +CC |
| | | 816 | +host_os |
| | | 817 | +host_vendor |
| | | 818 | +host_cpu |
| | | 819 | +host |
| | | 820 | +build_os |
| | | 821 | +build_vendor |
| | | 822 | +build_cpu |
| | | 823 | +build |
| | | 824 | +target_alias |
| | | 825 | +host_alias |
| | | 826 | +build_alias |
| | | 827 | +LIBS |
| | | 828 | +ECHO_T |
| | | 829 | +ECHO_N |
| | | 830 | +ECHO_C |
| | | 831 | +DEFS |
| | | 832 | +mandir |
| | | 833 | +localedir |
| | | 834 | +libdir |
| | | 835 | +psdir |
| | | 836 | +pdfdir |
| | | 837 | +dvidir |
| | | 838 | +htmldir |
| | | 839 | +infodir |
| | | 840 | +docdir |
| | | 841 | +oldincludedir |
| | | 842 | +includedir |
| | | 843 | +localstatedir |
| | | 844 | +sharedstatedir |
| | | 845 | +sysconfdir |
| | | 846 | +datadir |
| | | 847 | +datarootdir |
| | | 848 | +libexecdir |
| | | 849 | +sbindir |
| | | 850 | +bindir |
| | | 851 | +program_transform_name |
| | | 852 | +prefix |
| | | 853 | +exec_prefix |
| | | 854 | +PACKAGE_BUGREPORT |
| | | 855 | +PACKAGE_STRING |
| | | 856 | +PACKAGE_VERSION |
| | | 857 | +PACKAGE_TARNAME |
| | | 858 | +PACKAGE_NAME |
| | | 859 | +PATH_SEPARATOR |
| | | 860 | +SHELL' |
| | | 861 | ac_subst_files='' |
| | | 862 | +ac_user_opts=' |
| | | 863 | +enable_option_checking |
| | | 864 | +' |
| | | 865 | + ac_precious_vars='build_alias |
| | | 866 | +host_alias |
| | | 867 | +target_alias |
| | | 868 | +CC |
| | | 869 | +CFLAGS |
| | | 870 | +LDFLAGS |
| | | 871 | +LIBS |
| | | 872 | +CPPFLAGS |
| | | 873 | +CPP' |
| | | 874 | + |
| | | 875 | |
| | | 876 | # Initialize some variables set by options. |
| | | 877 | ac_init_help= |
| | | 878 | ac_init_version=false |
| | | 879 | +ac_unrecognized_opts= |
| | | 880 | +ac_unrecognized_sep= |
| | | 881 | # The variables have the same names as the options, with |
| | | 882 | # dashes changed to underlines. |
| | | 883 | cache_file=/dev/null |
| | | 884 | @@ -337,34 +748,48 @@ x_libraries=NONE |
| | | 885 | # and all the variables that are supposed to be based on exec_prefix |
| | | 886 | # by default will actually change. |
| | | 887 | # Use braces instead of parens because sh, perl, etc. also accept them. |
| | | 888 | +# (The list follows the same order as the GNU Coding Standards.) |
| | | 889 | bindir='${exec_prefix}/bin' |
| | | 890 | sbindir='${exec_prefix}/sbin' |
| | | 891 | libexecdir='${exec_prefix}/libexec' |
| | | 892 | -datadir='${prefix}/share' |
| | | 893 | +datarootdir='${prefix}/share' |
| | | 894 | +datadir='${datarootdir}' |
| | | 895 | sysconfdir='${prefix}/etc' |
| | | 896 | sharedstatedir='${prefix}/com' |
| | | 897 | localstatedir='${prefix}/var' |
| | | 898 | -libdir='${exec_prefix}/lib' |
| | | 899 | includedir='${prefix}/include' |
| | | 900 | oldincludedir='/usr/include' |
| | | 901 | -infodir='${prefix}/info' |
| | | 902 | -mandir='${prefix}/man' |
| | | 903 | +docdir='${datarootdir}/doc/${PACKAGE}' |
| | | 904 | +infodir='${datarootdir}/info' |
| | | 905 | +htmldir='${docdir}' |
| | | 906 | +dvidir='${docdir}' |
| | | 907 | +pdfdir='${docdir}' |
| | | 908 | +psdir='${docdir}' |
| | | 909 | +libdir='${exec_prefix}/lib' |
| | | 910 | +localedir='${datarootdir}/locale' |
| | | 911 | +mandir='${datarootdir}/man' |
| | | 912 | |
| | | 913 | ac_prev= |
| | | 914 | +ac_dashdash= |
| | | 915 | for ac_option |
| | | 916 | do |
| | | 917 | # If the previous option needs an argument, assign it. |
| | | 918 | if test -n "$ac_prev"; then |
| | | 919 | - eval "$ac_prev=\$ac_option" |
| | | 920 | + eval $ac_prev=\$ac_option |
| | | 921 | ac_prev= |
| | | 922 | continue |
| | | 923 | fi |
| | | 924 | |
| | | 925 | - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
| | | 926 | + case $ac_option in |
| | | 927 | + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| | | 928 | + *) ac_optarg=yes ;; |
| | | 929 | + esac |
| | | 930 | |
| | | 931 | # Accept the important Cygnus configure options, so we can diagnose typos. |
| | | 932 | |
| | | 933 | - case $ac_option in |
| | | 934 | + case $ac_dashdash$ac_option in |
| | | 935 | + --) |
| | | 936 | + ac_dashdash=yes ;; |
| | | 937 | |
| | | 938 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
| | | 939 | ac_prev=bindir ;; |
| | | 940 | @@ -386,33 +811,61 @@ do |
| | | 941 | --config-cache | -C) |
| | | 942 | cache_file=config.cache ;; |
| | | 943 | |
| | | 944 | - -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
| | | 945 | + -datadir | --datadir | --datadi | --datad) |
| | | 946 | ac_prev=datadir ;; |
| | | 947 | - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
| | | 948 | - | --da=*) |
| | | 949 | + -datadir=* | --datadir=* | --datadi=* | --datad=*) |
| | | 950 | datadir=$ac_optarg ;; |
| | | 951 | |
| | | 952 | + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
| | | 953 | + | --dataroo | --dataro | --datar) |
| | | 954 | + ac_prev=datarootdir ;; |
| | | 955 | + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
| | | 956 | + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
| | | 957 | + datarootdir=$ac_optarg ;; |
| | | 958 | + |
| | | 959 | -disable-* | --disable-*) |
| | | 960 | - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| | | 961 | + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| | | 962 | # Reject names that are not valid shell variable names. |
| | | 963 | - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| | | 964 | - { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| | | 965 | + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| | | 966 | + { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
| | | 967 | { (exit 1); exit 1; }; } |
| | | 968 | - ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
| | | 969 | - eval "enable_$ac_feature=no" ;; |
| | | 970 | + ac_useropt_orig=$ac_useropt |
| | | 971 | + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| | | 972 | + case $ac_user_opts in |
| | | 973 | + *" |
| | | 974 | +"enable_$ac_useropt" |
| | | 975 | +"*) ;; |
| | | 976 | + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
| | | 977 | + ac_unrecognized_sep=', ';; |
| | | 978 | + esac |
| | | 979 | + eval enable_$ac_useropt=no ;; |
| | | 980 | + |
| | | 981 | + -docdir | --docdir | --docdi | --doc | --do) |
| | | 982 | + ac_prev=docdir ;; |
| | | 983 | + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
| | | 984 | + docdir=$ac_optarg ;; |
| | | 985 | + |
| | | 986 | + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
| | | 987 | + ac_prev=dvidir ;; |
| | | 988 | + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
| | | 989 | + dvidir=$ac_optarg ;; |
| | | 990 | |
| | | 991 | -enable-* | --enable-*) |
| | | 992 | - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| | | 993 | + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| | | 994 | # Reject names that are not valid shell variable names. |
| | | 995 | - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| | | 996 | - { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
| | | 997 | + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| | | 998 | + { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
| | | 999 | { (exit 1); exit 1; }; } |
| | | 1000 | - ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
| | | 1001 | - case $ac_option in |
| | | 1002 | - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
| | | 1003 | - *) ac_optarg=yes ;; |
| | | 1004 | + ac_useropt_orig=$ac_useropt |
| | | 1005 | + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| | | 1006 | + case $ac_user_opts in |
| | | 1007 | + *" |
| | | 1008 | +"enable_$ac_useropt" |
| | | 1009 | +"*) ;; |
| | | 1010 | + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
| | | 1011 | + ac_unrecognized_sep=', ';; |
| | | 1012 | esac |
| | | 1013 | - eval "enable_$ac_feature='$ac_optarg'" ;; |
| | | 1014 | + eval enable_$ac_useropt=\$ac_optarg ;; |
| | | 1015 | |
| | | 1016 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| | | 1017 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| | | 1018 | @@ -439,6 +892,12 @@ do |
| | | 1019 | -host=* | --host=* | --hos=* | --ho=*) |
| | | 1020 | host_alias=$ac_optarg ;; |
| | | 1021 | |
| | | 1022 | + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
| | | 1023 | + ac_prev=htmldir ;; |
| | | 1024 | + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
| | | 1025 | + | --ht=*) |
| | | 1026 | + htmldir=$ac_optarg ;; |
| | | 1027 | + |
| | | 1028 | -includedir | --includedir | --includedi | --included | --include \ |
| | | 1029 | | --includ | --inclu | --incl | --inc) |
| | | 1030 | ac_prev=includedir ;; |
| | | 1031 | @@ -463,13 +922,16 @@ do |
| | | 1032 | | --libexe=* | --libex=* | --libe=*) |
| | | 1033 | libexecdir=$ac_optarg ;; |
| | | 1034 | |
| | | 1035 | + -localedir | --localedir | --localedi | --localed | --locale) |
| | | 1036 | + ac_prev=localedir ;; |
| | | 1037 | + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
| | | 1038 | + localedir=$ac_optarg ;; |
| | | 1039 | + |
| | | 1040 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
| | | 1041 | - | --localstate | --localstat | --localsta | --localst \ |
| | | 1042 | - | --locals | --local | --loca | --loc | --lo) |
| | | 1043 | + | --localstate | --localstat | --localsta | --localst | --locals) |
| | | 1044 | ac_prev=localstatedir ;; |
| | | 1045 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| | | 1046 | - | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
| | | 1047 | - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
| | | 1048 | + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
| | | 1049 | localstatedir=$ac_optarg ;; |
| | | 1050 | |
| | | 1051 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| | | 1052 | @@ -534,6 +996,16 @@ do |
| | | 1053 | | --progr-tra=* | --program-tr=* | --program-t=*) |
| | | 1054 | program_transform_name=$ac_optarg ;; |
| | | 1055 | |
| | | 1056 | + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
| | | 1057 | + ac_prev=pdfdir ;; |
| | | 1058 | + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
| | | 1059 | + pdfdir=$ac_optarg ;; |
| | | 1060 | + |
| | | 1061 | + -psdir | --psdir | --psdi | --psd | --ps) |
| | | 1062 | + ac_prev=psdir ;; |
| | | 1063 | + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
| | | 1064 | + psdir=$ac_optarg ;; |
| | | 1065 | + |
| | | 1066 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| | | 1067 | | -silent | --silent | --silen | --sile | --sil) |
| | | 1068 | silent=yes ;; |
| | | 1069 | @@ -584,26 +1056,38 @@ do |
| | | 1070 | ac_init_version=: ;; |
| | | 1071 | |
| | | 1072 | -with-* | --with-*) |
| | | 1073 | - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| | | 1074 | + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| | | 1075 | # Reject names that are not valid shell variable names. |
| | | 1076 | - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| | | 1077 | - { echo "$as_me: error: invalid package name: $ac_package" >&2 |
| | | 1078 | + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| | | 1079 | + { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
| | | 1080 | { (exit 1); exit 1; }; } |
| | | 1081 | - ac_package=`echo $ac_package| sed 's/-/_/g'` |
| | | 1082 | - case $ac_option in |
| | | 1083 | - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
| | | 1084 | - *) ac_optarg=yes ;; |
| | | 1085 | + ac_useropt_orig=$ac_useropt |
| | | 1086 | + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| | | 1087 | + case $ac_user_opts in |
| | | 1088 | + *" |
| | | 1089 | +"with_$ac_useropt" |
| | | 1090 | +"*) ;; |
| | | 1091 | + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
| | | 1092 | + ac_unrecognized_sep=', ';; |
| | | 1093 | esac |
| | | 1094 | - eval "with_$ac_package='$ac_optarg'" ;; |
| | | 1095 | + eval with_$ac_useropt=\$ac_optarg ;; |
| | | 1096 | |
| | | 1097 | -without-* | --without-*) |
| | | 1098 | - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| | | 1099 | + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| | | 1100 | # Reject names that are not valid shell variable names. |
| | | 1101 | - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
| | | 1102 | - { echo "$as_me: error: invalid package name: $ac_package" >&2 |
| | | 1103 | + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| | | 1104 | + { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
| | | 1105 | { (exit 1); exit 1; }; } |
| | | 1106 | - ac_package=`echo $ac_package | sed 's/-/_/g'` |
| | | 1107 | - eval "with_$ac_package=no" ;; |
| | | 1108 | + ac_useropt_orig=$ac_useropt |
| | | 1109 | + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| | | 1110 | + case $ac_user_opts in |
| | | 1111 | + *" |
| | | 1112 | +"with_$ac_useropt" |
| | | 1113 | +"*) ;; |
| | | 1114 | + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
| | | 1115 | + ac_unrecognized_sep=', ';; |
| | | 1116 | + esac |
| | | 1117 | + eval with_$ac_useropt=no ;; |
| | | 1118 | |
| | | 1119 | --x) |
| | | 1120 | # Obsolete; use --with-x. |
| | | 1121 | @@ -623,7 +1107,7 @@ do |
| | | 1122 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| | | 1123 | x_libraries=$ac_optarg ;; |
| | | 1124 | |
| | | 1125 | - -*) { echo "$as_me: error: unrecognized option: $ac_option |
| | | 1126 | + -*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
| | | 1127 | Try \`$0 --help' for more information." >&2 |
| | | 1128 | { (exit 1); exit 1; }; } |
| | | 1129 | ;; |
| | | 1130 | @@ -632,17 +1116,16 @@ Try \`$0 --help' for more information." |
| | | 1131 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
| | | 1132 | # Reject names that are not valid shell variable names. |
| | | 1133 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
| | | 1134 | - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
| | | 1135 | + { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
| | | 1136 | { (exit 1); exit 1; }; } |
| | | 1137 | - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
| | | 1138 | - eval "$ac_envvar='$ac_optarg'" |
| | | 1139 | + eval $ac_envvar=\$ac_optarg |
| | | 1140 | export $ac_envvar ;; |
| | | 1141 | |
| | | 1142 | *) |
| | | 1143 | # FIXME: should be removed in autoconf 3.0. |
| | | 1144 | - echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| | | 1145 | + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| | | 1146 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| | | 1147 | - echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| | | 1148 | + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| | | 1149 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
| | | 1150 | ;; |
| | | 1151 | |
| | | 1152 | @@ -651,31 +1134,39 @@ done |
| | | 1153 | |
| | | 1154 | if test -n "$ac_prev"; then |
| | | 1155 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| | | 1156 | - { echo "$as_me: error: missing argument to $ac_option" >&2 |
| | | 1157 | + { $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
| | | 1158 | { (exit 1); exit 1; }; } |
| | | 1159 | fi |
| | | 1160 | |
| | | 1161 | -# Be sure to have absolute paths. |
| | | 1162 | -for ac_var in exec_prefix prefix |
| | | 1163 | -do |
| | | 1164 | - eval ac_val=$`echo $ac_var` |
| | | 1165 | - case $ac_val in |
| | | 1166 | - [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
| | | 1167 | - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| | | 1168 | - { (exit 1); exit 1; }; };; |
| | | 1169 | +if test -n "$ac_unrecognized_opts"; then |
| | | 1170 | + case $enable_option_checking in |
| | | 1171 | + no) ;; |
| | | 1172 | + fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 |
| | | 1173 | + { (exit 1); exit 1; }; } ;; |
| | | 1174 | + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| | | 1175 | esac |
| | | 1176 | -done |
| | | 1177 | +fi |
| | | 1178 | |
| | | 1179 | -# Be sure to have absolute paths. |
| | | 1180 | -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
| | | 1181 | - localstatedir libdir includedir oldincludedir infodir mandir |
| | | 1182 | +# Check all directory arguments for consistency. |
| | | 1183 | +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| | | 1184 | + datadir sysconfdir sharedstatedir localstatedir includedir \ |
| | | 1185 | + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| | | 1186 | + libdir localedir mandir |
| | | 1187 | do |
| | | 1188 | - eval ac_val=$`echo $ac_var` |
| | | 1189 | + eval ac_val=\$$ac_var |
| | | 1190 | + # Remove trailing slashes. |
| | | 1191 | case $ac_val in |
| | | 1192 | - [\\/$]* | ?:[\\/]* ) ;; |
| | | 1193 | - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| | | 1194 | - { (exit 1); exit 1; }; };; |
| | | 1195 | + */ ) |
| | | 1196 | + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
| | | 1197 | + eval $ac_var=\$ac_val;; |
| | | 1198 | + esac |
| | | 1199 | + # Be sure to have absolute directory names. |
| | | 1200 | + case $ac_val in |
| | | 1201 | + [\\/$]* | ?:[\\/]* ) continue;; |
| | | 1202 | + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| | | 1203 | esac |
| | | 1204 | + { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
| | | 1205 | + { (exit 1); exit 1; }; } |
| | | 1206 | done |
| | | 1207 | |
| | | 1208 | # There might be people who depend on the old broken behavior: `$host' |
| | | 1209 | @@ -689,7 +1180,7 @@ target=$target_alias |
| | | 1210 | if test "x$host_alias" != x; then |
| | | 1211 | if test "x$build_alias" = x; then |
| | | 1212 | cross_compiling=maybe |
| | | 1213 | - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
| | | 1214 | + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
| | | 1215 | If a cross compiler is detected then cross compile mode will be used." >&2 |
| | | 1216 | elif test "x$build_alias" != "x$host_alias"; then |
| | | 1217 | cross_compiling=yes |
| | | 1218 | @@ -702,74 +1193,76 @@ test -n "$host_alias" && ac_tool_prefix= |
| | | 1219 | test "$silent" = yes && exec 6>/dev/null |
| | | 1220 | |
| | | 1221 | |
| | | 1222 | +ac_pwd=`pwd` && test -n "$ac_pwd" && |
| | | 1223 | +ac_ls_di=`ls -di .` && |
| | | 1224 | +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| | | 1225 | + { $as_echo "$as_me: error: working directory cannot be determined" >&2 |
| | | 1226 | + { (exit 1); exit 1; }; } |
| | | 1227 | +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| | | 1228 | + { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
| | | 1229 | + { (exit 1); exit 1; }; } |
| | | 1230 | + |
| | | 1231 | + |
| | | 1232 | # Find the source files, if location was not specified. |
| | | 1233 | if test -z "$srcdir"; then |
| | | 1234 | ac_srcdir_defaulted=yes |
| | | 1235 | - # Try the directory containing this script, then its parent. |
| | | 1236 | - ac_confdir=`(dirname "$0") 2>/dev/null || |
| | | 1237 | -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| | | 1238 | - X"$0" : 'X\(//\)[^/]' \| \ |
| | | 1239 | - X"$0" : 'X\(//\)$' \| \ |
| | | 1240 | - X"$0" : 'X\(/\)' \| \ |
| | | 1241 | - . : '\(.\)' 2>/dev/null || |
| | | 1242 | -echo X"$0" | |
| | | 1243 | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| | | 1244 | - /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| | | 1245 | - /^X\(\/\/\)$/{ s//\1/; q; } |
| | | 1246 | - /^X\(\/\).*/{ s//\1/; q; } |
| | | 1247 | - s/.*/./; q'` |
| | | 1248 | + # Try the directory containing this script, then the parent directory. |
| | | 1249 | + ac_confdir=`$as_dirname -- "$as_myself" || |
| | | 1250 | +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| | | 1251 | + X"$as_myself" : 'X\(//\)[^/]' \| \ |
| | | 1252 | + X"$as_myself" : 'X\(//\)$' \| \ |
| | | 1253 | + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
| | | 1254 | +$as_echo X"$as_myself" | |
| | | 1255 | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| | | 1256 | + s//\1/ |
| | | 1257 | + q |
| | | 1258 | + } |
| | | 1259 | + /^X\(\/\/\)[^/].*/{ |
| | | 1260 | + s//\1/ |
| | | 1261 | + q |
| | | 1262 | + } |
| | | 1263 | + /^X\(\/\/\)$/{ |
| | | 1264 | + s//\1/ |
| | | 1265 | + q |
| | | 1266 | + } |
| | | 1267 | + /^X\(\/\).*/{ |
| | | 1268 | + s//\1/ |
| | | 1269 | + q |
| | | 1270 | + } |
| | | 1271 | + s/.*/./; q'` |
| | | 1272 | srcdir=$ac_confdir |
| | | 1273 | - if test ! -r $srcdir/$ac_unique_file; then |
| | | 1274 | + if test ! -r "$srcdir/$ac_unique_file"; then |
| | | 1275 | srcdir=.. |
| | | 1276 | fi |
| | | 1277 | else |
| | | 1278 | ac_srcdir_defaulted=no |
| | | 1279 | fi |
| | | 1280 | -if test ! -r $srcdir/$ac_unique_file; then |
| | | 1281 | - if test "$ac_srcdir_defaulted" = yes; then |
| | | 1282 | - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
| | | 1283 | - { (exit 1); exit 1; }; } |
| | | 1284 | - else |
| | | 1285 | - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
| | | 1286 | +if test ! -r "$srcdir/$ac_unique_file"; then |
| | | 1287 | + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| | | 1288 | + { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
| | | 1289 | { (exit 1); exit 1; }; } |
| | | 1290 | - fi |
| | | 1291 | fi |
| | | 1292 | -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
| | | 1293 | - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
| | | 1294 | +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| | | 1295 | +ac_abs_confdir=`( |
| | | 1296 | + cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
| | | 1297 | { (exit 1); exit 1; }; } |
| | | 1298 | -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
| | | 1299 | -ac_env_build_alias_set=${build_alias+set} |
| | | 1300 | -ac_env_build_alias_value=$build_alias |
| | | 1301 | -ac_cv_env_build_alias_set=${build_alias+set} |
| | | 1302 | -ac_cv_env_build_alias_value=$build_alias |
| | | 1303 | -ac_env_host_alias_set=${host_alias+set} |
| | | 1304 | -ac_env_host_alias_value=$host_alias |
| | | 1305 | -ac_cv_env_host_alias_set=${host_alias+set} |
| | | 1306 | -ac_cv_env_host_alias_value=$host_alias |
| | | 1307 | -ac_env_target_alias_set=${target_alias+set} |
| | | 1308 | -ac_env_target_alias_value=$target_alias |
| | | 1309 | -ac_cv_env_target_alias_set=${target_alias+set} |
| | | 1310 | -ac_cv_env_target_alias_value=$target_alias |
| | | 1311 | -ac_env_CC_set=${CC+set} |
| | | 1312 | -ac_env_CC_value=$CC |
| | | 1313 | -ac_cv_env_CC_set=${CC+set} |
| | | 1314 | -ac_cv_env_CC_value=$CC |
| | | 1315 | -ac_env_CFLAGS_set=${CFLAGS+set} |
| | | 1316 | -ac_env_CFLAGS_value=$CFLAGS |
| | | 1317 | -ac_cv_env_CFLAGS_set=${CFLAGS+set} |
| | | 1318 | -ac_cv_env_CFLAGS_value=$CFLAGS |
| | | 1319 | -ac_env_LDFLAGS_set=${LDFLAGS+set} |
| | | 1320 | -ac_env_LDFLAGS_value=$LDFLAGS |
| | | 1321 | -ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
| | | 1322 | -ac_cv_env_LDFLAGS_value=$LDFLAGS |
| | | 1323 | -ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
| | | 1324 | -ac_env_CPPFLAGS_value=$CPPFLAGS |
| | | 1325 | -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
| | | 1326 | -ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
| | | 1327 | -ac_env_CPP_set=${CPP+set} |
| | | 1328 | -ac_env_CPP_value=$CPP |
| | | 1329 | -ac_cv_env_CPP_set=${CPP+set} |
| | | 1330 | -ac_cv_env_CPP_value=$CPP |
| | | 1331 | + pwd)` |
| | | 1332 | +# When building in place, set srcdir=. |
| | | 1333 | +if test "$ac_abs_confdir" = "$ac_pwd"; then |
| | | 1334 | + srcdir=. |
| | | 1335 | +fi |
| | | 1336 | +# Remove unnecessary trailing slashes from srcdir. |
| | | 1337 | +# Double slashes in file names in object file debugging info |
| | | 1338 | +# mess up M-x gdb in Emacs. |
| | | 1339 | +case $srcdir in |
| | | 1340 | +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
| | | 1341 | +esac |
| | | 1342 | +for ac_var in $ac_precious_vars; do |
| | | 1343 | + eval ac_env_${ac_var}_set=\${${ac_var}+set} |
| | | 1344 | + eval ac_env_${ac_var}_value=\$${ac_var} |
| | | 1345 | + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
| | | 1346 | + eval ac_cv_env_${ac_var}_value=\$${ac_var} |
| | | 1347 | +done |
| | | 1348 | |
| | | 1349 | # |
| | | 1350 | # Report the --help message. |
| | | 1351 | @@ -798,14 +1291,11 @@ Configuration: |
| | | 1352 | -n, --no-create do not create output files |
| | | 1353 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
| | | 1354 | |
| | | 1355 | -_ACEOF |
| | | 1356 | - |
| | | 1357 | - cat <<_ACEOF |
| | | 1358 | Installation directories: |
| | | 1359 | --prefix=PREFIX install architecture-independent files in PREFIX |
| | | 1360 | - [$ac_default_prefix] |
| | | 1361 | + [$ac_default_prefix] |
| | | 1362 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
| | | 1363 | - [PREFIX] |
| | | 1364 | + [PREFIX] |
| | | 1365 | |
| | | 1366 | By default, \`make install' will install all the files in |
| | | 1367 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
| | | 1368 | @@ -815,18 +1305,25 @@ for instance \`--prefix=\$HOME'. |
| | | 1369 | For better control, use the options below. |
| | | 1370 | |
| | | 1371 | Fine tuning of the installation directories: |
| | | 1372 | - --bindir=DIR user executables [EPREFIX/bin] |
| | | 1373 | - --sbindir=DIR system admin executables [EPREFIX/sbin] |
| | | 1374 | - --libexecdir=DIR program executables [EPREFIX/libexec] |
| | | 1375 | - --datadir=DIR read-only architecture-independent data [PREFIX/share] |
| | | 1376 | - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| | | 1377 | - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| | | 1378 | - --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| | | 1379 | - --libdir=DIR object code libraries [EPREFIX/lib] |
| | | 1380 | - --includedir=DIR C header files [PREFIX/include] |
| | | 1381 | - --oldincludedir=DIR C header files for non-gcc [/usr/include] |
| | | 1382 | - --infodir=DIR info documentation [PREFIX/info] |
| | | 1383 | - --mandir=DIR man documentation [PREFIX/man] |
| | | 1384 | + --bindir=DIR user executables [EPREFIX/bin] |
| | | 1385 | + --sbindir=DIR system admin executables [EPREFIX/sbin] |
| | | 1386 | + --libexecdir=DIR program executables [EPREFIX/libexec] |
| | | 1387 | + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
| | | 1388 | + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
| | | 1389 | + --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
| | | 1390 | + --libdir=DIR object code libraries [EPREFIX/lib] |
| | | 1391 | + --includedir=DIR C header files [PREFIX/include] |
| | | 1392 | + --oldincludedir=DIR C header files for non-gcc [/usr/include] |
| | | 1393 | + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
| | | 1394 | + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
| | | 1395 | + --infodir=DIR info documentation [DATAROOTDIR/info] |
| | | 1396 | + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
| | | 1397 | + --mandir=DIR man documentation [DATAROOTDIR/man] |
| | | 1398 | + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
| | | 1399 | + --htmldir=DIR html documentation [DOCDIR] |
| | | 1400 | + --dvidir=DIR dvi documentation [DOCDIR] |
| | | 1401 | + --pdfdir=DIR pdf documentation [DOCDIR] |
| | | 1402 | + --psdir=DIR ps documentation [DOCDIR] |
| | | 1403 | _ACEOF |
| | | 1404 | |
| | | 1405 | cat <<\_ACEOF |
| | | 1406 | @@ -846,126 +1343,97 @@ Some influential environment variables: |
| | | 1407 | CFLAGS C compiler flags |
| | | 1408 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| | | 1409 | nonstandard directory <lib dir> |
| | | 1410 | - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
| | | 1411 | - headers in a nonstandard directory <include dir> |
| | | 1412 | + LIBS libraries to pass to the linker, e.g. -l<library> |
| | | 1413 | + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
| | | 1414 | + you have headers in a nonstandard directory <include dir> |
| | | 1415 | CPP C preprocessor |
| | | 1416 | |
| | | 1417 | Use these variables to override the choices made by `configure' or to help |
| | | 1418 | it to find libraries and programs with nonstandard names/locations. |
| | | 1419 | |
| | | 1420 | _ACEOF |
| | | 1421 | +ac_status=$? |
| | | 1422 | fi |
| | | 1423 | |
| | | 1424 | if test "$ac_init_help" = "recursive"; then |
| | | 1425 | # If there are subdirs, report their specific --help. |
| | | 1426 | - ac_popdir=`pwd` |
| | | 1427 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
| | | 1428 | - test -d $ac_dir || continue |
| | | 1429 | + test -d "$ac_dir" || |
| | | 1430 | + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
| | | 1431 | + continue |
| | | 1432 | ac_builddir=. |
| | | 1433 | |
| | | 1434 | -if test "$ac_dir" != .; then |
| | | 1435 | - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
| | | 1436 | - # A "../" for each directory in $ac_dir_suffix. |
| | | 1437 | - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
| | | 1438 | -else |
| | | 1439 | - ac_dir_suffix= ac_top_builddir= |
| | | 1440 | -fi |
| | | 1441 | +case "$ac_dir" in |
| | | 1442 | +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| | | 1443 | +*) |
| | | 1444 | + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
| | | 1445 | + # A ".." for each directory in $ac_dir_suffix. |
| | | 1446 | + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| | | 1447 | + case $ac_top_builddir_sub in |
| | | 1448 | + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| | | 1449 | + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| | | 1450 | + esac ;; |
| | | 1451 | +esac |
| | | 1452 | +ac_abs_top_builddir=$ac_pwd |
| | | 1453 | +ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| | | 1454 | +# for backward compatibility: |
| | | 1455 | +ac_top_builddir=$ac_top_build_prefix |
| | | 1456 | |
| | | 1457 | case $srcdir in |
| | | 1458 | - .) # No --srcdir option. We are building in place. |
| | | 1459 | + .) # We are building in place. |
| | | 1460 | ac_srcdir=. |
| | | 1461 | - if test -z "$ac_top_builddir"; then |
| | | 1462 | - ac_top_srcdir=. |
| | | 1463 | - else |
| | | 1464 | - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
| | | 1465 | - fi ;; |
| | | 1466 | - [\\/]* | ?:[\\/]* ) # Absolute path. |
| | | 1467 | + ac_top_srcdir=$ac_top_builddir_sub |
| | | 1468 | + ac_abs_top_srcdir=$ac_pwd ;; |
| | | 1469 | + [\\/]* | ?:[\\/]* ) # Absolute name. |
| | | 1470 | ac_srcdir=$srcdir$ac_dir_suffix; |
| | | 1471 | - ac_top_srcdir=$srcdir ;; |
| | | 1472 | - *) # Relative path. |
| | | 1473 | - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| | | 1474 | - ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| | | 1475 | -esac |
| | | 1476 | - |
| | | 1477 | -# Do not use `cd foo && pwd` to compute absolute paths, because |
| | | 1478 | -# the directories may not exist. |
| | | 1479 | -case `pwd` in |
| | | 1480 | -.) ac_abs_builddir="$ac_dir";; |
| | | 1481 | -*) |
| | | 1482 | - case "$ac_dir" in |
| | | 1483 | - .) ac_abs_builddir=`pwd`;; |
| | | 1484 | - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
| | | 1485 | - *) ac_abs_builddir=`pwd`/"$ac_dir";; |
| | | 1486 | - esac;; |
| | | 1487 | -esac |
| | | 1488 | -case $ac_abs_builddir in |
| | | 1489 | -.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| | | 1490 | -*) |
| | | 1491 | - case ${ac_top_builddir}. in |
| | | 1492 | - .) ac_abs_top_builddir=$ac_abs_builddir;; |
| | | 1493 | - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| | | 1494 | - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| | | 1495 | - esac;; |
| | | 1496 | -esac |
| | | 1497 | -case $ac_abs_builddir in |
| | | 1498 | -.) ac_abs_srcdir=$ac_srcdir;; |
| | | 1499 | -*) |
| | | 1500 | - case $ac_srcdir in |
| | | 1501 | - .) ac_abs_srcdir=$ac_abs_builddir;; |
| | | 1502 | - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| | | 1503 | - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| | | 1504 | - esac;; |
| | | 1505 | -esac |
| | | 1506 | -case $ac_abs_builddir in |
| | | 1507 | -.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| | | 1508 | -*) |
| | | 1509 | - case $ac_top_srcdir in |
| | | 1510 | - .) ac_abs_top_srcdir=$ac_abs_builddir;; |
| | | 1511 | - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| | | 1512 | - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| | | 1513 | - esac;; |
| | | 1514 | + ac_top_srcdir=$srcdir |
| | | 1515 | + ac_abs_top_srcdir=$srcdir ;; |
| | | 1516 | + *) # Relative name. |
| | | 1517 | + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| | | 1518 | + ac_top_srcdir=$ac_top_build_prefix$srcdir |
| | | 1519 | + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| | | 1520 | esac |
| | | 1521 | +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| | | 1522 | |
| | | 1523 | - cd $ac_dir |
| | | 1524 | - # Check for guested configure; otherwise get Cygnus style configure. |
| | | 1525 | - if test -f $ac_srcdir/configure.gnu; then |
| | | 1526 | - echo |
| | | 1527 | - $SHELL $ac_srcdir/configure.gnu --help=recursive |
| | | 1528 | - elif test -f $ac_srcdir/configure; then |
| | | 1529 | - echo |
| | | 1530 | - $SHELL $ac_srcdir/configure --help=recursive |
| | | 1531 | - elif test -f $ac_srcdir/configure.ac || |
| | | 1532 | - test -f $ac_srcdir/configure.in; then |
| | | 1533 | - echo |
| | | 1534 | - $ac_configure --help |
| | | 1535 | + cd "$ac_dir" || { ac_status=$?; continue; } |
| | | 1536 | + # Check for guested configure. |
| | | 1537 | + if test -f "$ac_srcdir/configure.gnu"; then |
| | | 1538 | + echo && |
| | | 1539 | + $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
| | | 1540 | + elif test -f "$ac_srcdir/configure"; then |
| | | 1541 | + echo && |
| | | 1542 | + $SHELL "$ac_srcdir/configure" --help=recursive |
| | | 1543 | else |
| | | 1544 | - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| | | 1545 | - fi |
| | | 1546 | - cd $ac_popdir |
| | | 1547 | + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| | | 1548 | + fi || ac_status=$? |
| | | 1549 | + cd "$ac_pwd" || { ac_status=$?; break; } |
| | | 1550 | done |
| | | 1551 | fi |
| | | 1552 | |
| | | 1553 | -test -n "$ac_init_help" && exit 0 |
| | | 1554 | +test -n "$ac_init_help" && exit $ac_status |
| | | 1555 | if $ac_init_version; then |
| | | 1556 | cat <<\_ACEOF |
| | | 1557 | +configure |
| | | 1558 | +generated by GNU Autoconf 2.63 |
| | | 1559 | |
| | | 1560 | -Copyright (C) 2003 Free Software Foundation, Inc. |
| | | 1561 | +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
| | | 1562 | +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| | | 1563 | This configure script is free software; the Free Software Foundation |
| | | 1564 | gives unlimited permission to copy, distribute and modify it. |
| | | 1565 | _ACEOF |
| | | 1566 | - exit 0 |
| | | 1567 | + exit |
| | | 1568 | fi |
| | | 1569 | -exec 5>config.log |
| | | 1570 | -cat >&5 <<_ACEOF |
| | | 1571 | +cat >config.log <<_ACEOF |
| | | 1572 | This file contains any messages produced by compilers while |
| | | 1573 | running configure, to aid debugging if configure makes a mistake. |
| | | 1574 | |
| | | 1575 | It was created by $as_me, which was |
| | | 1576 | -generated by GNU Autoconf 2.59. Invocation command line was |
| | | 1577 | +generated by GNU Autoconf 2.63. Invocation command line was |
| | | 1578 | |
| | | 1579 | $ $0 $@ |
| | | 1580 | |
| | | 1581 | _ACEOF |
| | | 1582 | +exec 5>>config.log |
| | | 1583 | { |
| | | 1584 | cat <<_ASUNAME |
| | | 1585 | ## --------- ## |
| | | 1586 | @@ -984,7 +1452,7 @@ uname -v = `(uname -v) 2>/dev/null || ec |
| | | 1587 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
| | | 1588 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
| | | 1589 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
| | | 1590 | -hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
| | | 1591 | +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
| | | 1592 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
| | | 1593 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
| | | 1594 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
| | | 1595 | @@ -996,8 +1464,9 @@ for as_dir in $PATH |
| | | 1596 | do |
| | | 1597 | IFS=$as_save_IFS |
| | | 1598 | test -z "$as_dir" && as_dir=. |
| | | 1599 | - echo "PATH: $as_dir" |
| | | 1600 | + $as_echo "PATH: $as_dir" |
| | | 1601 | done |
| | | 1602 | +IFS=$as_save_IFS |
| | | 1603 | |
| | | 1604 | } >&5 |
| | | 1605 | |
| | | 1606 | @@ -1019,7 +1488,6 @@ _ACEOF |
| | | 1607 | ac_configure_args= |
| | | 1608 | ac_configure_args0= |
| | | 1609 | ac_configure_args1= |
| | | 1610 | -ac_sep= |
| | | 1611 | ac_must_keep_next=false |
| | | 1612 | for ac_pass in 1 2 |
| | | 1613 | do |
| | | 1614 | @@ -1030,8 +1498,8 @@ do |
| | | 1615 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| | | 1616 | | -silent | --silent | --silen | --sile | --sil) |
| | | 1617 | continue ;; |
| | | 1618 | - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
| | | 1619 | - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| | | 1620 | + *\'*) |
| | | 1621 | + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| | | 1622 | esac |
| | | 1623 | case $ac_pass in |
| | | 1624 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
| | | 1625 | @@ -1052,9 +1520,7 @@ do |
| | | 1626 | -* ) ac_must_keep_next=true ;; |
| | | 1627 | esac |
| | | 1628 | fi |
| | | 1629 | - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
| | | 1630 | - # Get rid of the leading space. |
| | | 1631 | - ac_sep=" " |
| | | 1632 | + ac_configure_args="$ac_configure_args '$ac_arg'" |
| | | 1633 | ;; |
| | | 1634 | esac |
| | | 1635 | done |
| | | 1636 | @@ -1065,8 +1531,8 @@ $as_unset ac_configure_args1 || test "${ |
| | | 1637 | # When interrupted or exit'd, cleanup temporary files, and complete |
| | | 1638 | # config.log. We remove comments because anyway the quotes in there |
| | | 1639 | # would cause problems or look ugly. |
| | | 1640 | -# WARNING: Be sure not to use single quotes in there, as some shells, |
| | | 1641 | -# such as our DU 5.0 friend, will then `close' the trap. |
| | | 1642 | +# WARNING: Use '\'' to represent an apostrophe within the trap. |
| | | 1643 | +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
| | | 1644 | trap 'exit_status=$? |
| | | 1645 | # Save into config.log some information that might help in debugging. |
| | | 1646 | { |
| | | 1647 | @@ -1079,20 +1545,35 @@ trap 'exit_status=$? |
| | | 1648 | _ASBOX |
| | | 1649 | echo |
| | | 1650 | # The following way of writing the cache mishandles newlines in values, |
| | | 1651 | -{ |
| | | 1652 | +( |
| | | 1653 | + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
| | | 1654 | + eval ac_val=\$$ac_var |
| | | 1655 | + case $ac_val in #( |
| | | 1656 | + *${as_nl}*) |
| | | 1657 | + case $ac_var in #( |
| | | 1658 | + *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
| | | 1659 | +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| | | 1660 | + esac |
| | | 1661 | + case $ac_var in #( |
| | | 1662 | + _ | IFS | as_nl) ;; #( |
| | | 1663 | + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| | | 1664 | + *) $as_unset $ac_var ;; |
| | | 1665 | + esac ;; |
| | | 1666 | + esac |
| | | 1667 | + done |
| | | 1668 | (set) 2>&1 | |
| | | 1669 | - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
| | | 1670 | - *ac_space=\ *) |
| | | 1671 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
| | | 1672 | + *${as_nl}ac_space=\ *) |
| | | 1673 | sed -n \ |
| | | 1674 | - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
| | | 1675 | - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
| | | 1676 | - ;; |
| | | 1677 | + "s/'\''/'\''\\\\'\'''\''/g; |
| | | 1678 | + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
| | | 1679 | + ;; #( |
| | | 1680 | *) |
| | | 1681 | - sed -n \ |
| | | 1682 | - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| | | 1683 | + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| | | 1684 | ;; |
| | | 1685 | - esac; |
| | | 1686 | -} |
| | | 1687 | + esac | |
| | | 1688 | + sort |
| | | 1689 | +) |
| | | 1690 | echo |
| | | 1691 | |
| | | 1692 | cat <<\_ASBOX |
| | | 1693 | @@ -1103,22 +1584,28 @@ _ASBOX |
| | | 1694 | echo |
| | | 1695 | for ac_var in $ac_subst_vars |
| | | 1696 | do |
| | | 1697 | - eval ac_val=$`echo $ac_var` |
| | | 1698 | - echo "$ac_var='"'"'$ac_val'"'"'" |
| | | 1699 | + eval ac_val=\$$ac_var |
| | | 1700 | + case $ac_val in |
| | | 1701 | + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| | | 1702 | + esac |
| | | 1703 | + $as_echo "$ac_var='\''$ac_val'\''" |
| | | 1704 | done | sort |
| | | 1705 | echo |
| | | 1706 | |
| | | 1707 | if test -n "$ac_subst_files"; then |
| | | 1708 | cat <<\_ASBOX |
| | | 1709 | -## ------------- ## |
| | | 1710 | -## Output files. ## |
| | | 1711 | -## ------------- ## |
| | | 1712 | +## ------------------- ## |
| | | 1713 | +## File substitutions. ## |
| | | 1714 | +## ------------------- ## |
| | | 1715 | _ASBOX |
| | | 1716 | echo |
| | | 1717 | for ac_var in $ac_subst_files |
| | | 1718 | do |
| | | 1719 | - eval ac_val=$`echo $ac_var` |
| | | 1720 | - echo "$ac_var='"'"'$ac_val'"'"'" |
| | | 1721 | + eval ac_val=\$$ac_var |
| | | 1722 | + case $ac_val in |
| | | 1723 | + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| | | 1724 | + esac |
| | | 1725 | + $as_echo "$ac_var='\''$ac_val'\''" |
| | | 1726 | done | sort |
| | | 1727 | echo |
| | | 1728 | fi |
| | | 1729 | @@ -1130,26 +1617,24 @@ _ASBOX |
| | | 1730 | ## ----------- ## |
| | | 1731 | _ASBOX |
| | | 1732 | echo |
| | | 1733 | - sed "/^$/d" confdefs.h | sort |
| | | 1734 | + cat confdefs.h |
| | | 1735 | echo |
| | | 1736 | fi |
| | | 1737 | test "$ac_signal" != 0 && |
| | | 1738 | - echo "$as_me: caught signal $ac_signal" |
| | | 1739 | - echo "$as_me: exit $exit_status" |
| | | 1740 | + $as_echo "$as_me: caught signal $ac_signal" |
| | | 1741 | + $as_echo "$as_me: exit $exit_status" |
| | | 1742 | } >&5 |
| | | 1743 | - rm -f core *.core && |
| | | 1744 | - rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
| | | 1745 | + rm -f core *.core core.conftest.* && |
| | | 1746 | + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
| | | 1747 | exit $exit_status |
| | | 1748 | - ' 0 |
| | | 1749 | +' 0 |
| | | 1750 | for ac_signal in 1 2 13 15; do |
| | | 1751 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
| | | 1752 | done |
| | | 1753 | ac_signal=0 |
| | | 1754 | |
| | | 1755 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
| | | 1756 | -rm -rf conftest* confdefs.h |
| | | 1757 | -# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
| | | 1758 | -echo >confdefs.h |
| | | 1759 | +rm -f -r conftest* confdefs.h |
| | | 1760 | |
| | | 1761 | # Predefined preprocessor variables. |
| | | 1762 | |
| | | 1763 | @@ -1179,18 +1664,24 @@ _ACEOF |
| | | 1764 | |
| | | 1765 | |
| | | 1766 | # Let the site file select an alternate cache file if it wants to. |
| | | 1767 | -# Prefer explicitly selected file to automatically selected ones. |
| | | 1768 | -if test -z "$CONFIG_SITE"; then |
| | | 1769 | - if test "x$prefix" != xNONE; then |
| | | 1770 | - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
| | | 1771 | - else |
| | | 1772 | - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
| | | 1773 | - fi |
| | | 1774 | +# Prefer an explicitly selected file to automatically selected ones. |
| | | 1775 | +ac_site_file1=NONE |
| | | 1776 | +ac_site_file2=NONE |
| | | 1777 | +if test -n "$CONFIG_SITE"; then |
| | | 1778 | + ac_site_file1=$CONFIG_SITE |
| | | 1779 | +elif test "x$prefix" != xNONE; then |
| | | 1780 | + ac_site_file1=$prefix/share/config.site |
| | | 1781 | + ac_site_file2=$prefix/etc/config.site |
| | | 1782 | +else |
| | | 1783 | + ac_site_file1=$ac_default_prefix/share/config.site |
| | | 1784 | + ac_site_file2=$ac_default_prefix/etc/config.site |
| | | 1785 | fi |
| | | 1786 | -for ac_site_file in $CONFIG_SITE; do |
| | | 1787 | +for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
| | | 1788 | +do |
| | | 1789 | + test "x$ac_site_file" = xNONE && continue |
| | | 1790 | if test -r "$ac_site_file"; then |
| | | 1791 | - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
| | | 1792 | -echo "$as_me: loading site script $ac_site_file" >&6;} |
| | | 1793 | + { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
| | | 1794 | +$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
| | | 1795 | sed 's/^/| /' "$ac_site_file" >&5 |
| | | 1796 | . "$ac_site_file" |
| | | 1797 | fi |
| | | 1798 | @@ -1200,54 +1691,61 @@ if test -r "$cache_file"; then |
| | | 1799 | # Some versions of bash will fail to source /dev/null (special |
| | | 1800 | # files actually), so we avoid doing that. |
| | | 1801 | if test -f "$cache_file"; then |
| | | 1802 | - { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
| | | 1803 | -echo "$as_me: loading cache $cache_file" >&6;} |
| | | 1804 | + { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
| | | 1805 | +$as_echo "$as_me: loading cache $cache_file" >&6;} |
| | | 1806 | case $cache_file in |
| | | 1807 | - [\\/]* | ?:[\\/]* ) . $cache_file;; |
| | | 1808 | - *) . ./$cache_file;; |
| | | 1809 | + [\\/]* | ?:[\\/]* ) . "$cache_file";; |
| | | 1810 | + *) . "./$cache_file";; |
| | | 1811 | esac |
| | | 1812 | fi |
| | | 1813 | else |
| | | 1814 | - { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
| | | 1815 | -echo "$as_me: creating cache $cache_file" >&6;} |
| | | 1816 | + { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
| | | 1817 | +$as_echo "$as_me: creating cache $cache_file" >&6;} |
| | | 1818 | >$cache_file |
| | | 1819 | fi |
| | | 1820 | |
| | | 1821 | # Check that the precious variables saved in the cache have kept the same |
| | | 1822 | # value. |
| | | 1823 | ac_cache_corrupted=false |
| | | 1824 | -for ac_var in `(set) 2>&1 | |
| | | 1825 | - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
| | | 1826 | +for ac_var in $ac_precious_vars; do |
| | | 1827 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| | | 1828 | eval ac_new_set=\$ac_env_${ac_var}_set |
| | | 1829 | - eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
| | | 1830 | - eval ac_new_val="\$ac_env_${ac_var}_value" |
| | | 1831 | + eval ac_old_val=\$ac_cv_env_${ac_var}_value |
| | | 1832 | + eval ac_new_val=\$ac_env_${ac_var}_value |
| | | 1833 | case $ac_old_set,$ac_new_set in |
| | | 1834 | set,) |
| | | 1835 | - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| | | 1836 | -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
| | | 1837 | + { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| | | 1838 | +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
| | | 1839 | ac_cache_corrupted=: ;; |
| | | 1840 | ,set) |
| | | 1841 | - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
| | | 1842 | -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| | | 1843 | + { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
| | | 1844 | +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| | | 1845 | ac_cache_corrupted=: ;; |
| | | 1846 | ,);; |
| | | 1847 | *) |
| | | 1848 | if test "x$ac_old_val" != "x$ac_new_val"; then |
| | | 1849 | - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
| | | 1850 | -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| | | 1851 | - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
| | | 1852 | -echo "$as_me: former value: $ac_old_val" >&2;} |
| | | 1853 | - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
| | | 1854 | -echo "$as_me: current value: $ac_new_val" >&2;} |
| | | 1855 | - ac_cache_corrupted=: |
| | | 1856 | + # differences in whitespace do not lead to failure. |
| | | 1857 | + ac_old_val_w=`echo x $ac_old_val` |
| | | 1858 | + ac_new_val_w=`echo x $ac_new_val` |
| | | 1859 | + if test "$ac_old_val_w" != "$ac_new_val_w"; then |
| | | 1860 | + { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
| | | 1861 | +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| | | 1862 | + ac_cache_corrupted=: |
| | | 1863 | + else |
| | | 1864 | + { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
| | | 1865 | +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
| | | 1866 | + eval $ac_var=\$ac_old_val |
| | | 1867 | + fi |
| | | 1868 | + { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
| | | 1869 | +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
| | | 1870 | + { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
| | | 1871 | +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
| | | 1872 | fi;; |
| | | 1873 | esac |
| | | 1874 | # Pass precious variables to config.status. |
| | | 1875 | if test "$ac_new_set" = set; then |
| | | 1876 | case $ac_new_val in |
| | | 1877 | - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
| | | 1878 | - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| | | 1879 | + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| | | 1880 | *) ac_arg=$ac_var=$ac_new_val ;; |
| | | 1881 | esac |
| | | 1882 | case " $ac_configure_args " in |
| | | 1883 | @@ -1257,19 +1755,15 @@ echo "$as_me: current value: $ac_new_v |
| | | 1884 | fi |
| | | 1885 | done |
| | | 1886 | if $ac_cache_corrupted; then |
| | | 1887 | - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
| | | 1888 | -echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| | | 1889 | - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
| | | 1890 | -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
| | | 1891 | + { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| | | 1892 | +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| | | 1893 | + { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
| | | 1894 | +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| | | 1895 | + { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
| | | 1896 | +$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
| | | 1897 | { (exit 1); exit 1; }; } |
| | | 1898 | fi |
| | | 1899 | |
| | | 1900 | -ac_ext=c |
| | | 1901 | -ac_cpp='$CPP $CPPFLAGS' |
| | | 1902 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| | | 1903 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| | | 1904 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| | | 1905 | - |
| | | 1906 | |
| | | 1907 | |
| | | 1908 | |
| | | 1909 | @@ -1286,6 +1780,11 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| | | 1910 | |
| | | 1911 | |
| | | 1912 | |
| | | 1913 | +ac_ext=c |
| | | 1914 | +ac_cpp='$CPP $CPPFLAGS' |
| | | 1915 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| | | 1916 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| | | 1917 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| | | 1918 | |
| | | 1919 | |
| | | 1920 | |
| | | 1921 | @@ -1293,82 +1792,117 @@ cp $srcdir/configure.guess $srcdir/confi |
| | | 1922 | cp $srcdir/configure.sub $srcdir/config.sub |
| | | 1923 | |
| | | 1924 | ac_aux_dir= |
| | | 1925 | -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
| | | 1926 | - if test -f $ac_dir/install-sh; then |
| | | 1927 | +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| | | 1928 | + if test -f "$ac_dir/install-sh"; then |
| | | 1929 | ac_aux_dir=$ac_dir |
| | | 1930 | ac_install_sh="$ac_aux_dir/install-sh -c" |
| | | 1931 | break |
| | | 1932 | - elif test -f $ac_dir/install.sh; then |
| | | 1933 | + elif test -f "$ac_dir/install.sh"; then |
| | | 1934 | ac_aux_dir=$ac_dir |
| | | 1935 | ac_install_sh="$ac_aux_dir/install.sh -c" |
| | | 1936 | break |
| | | 1937 | - elif test -f $ac_dir/shtool; then |
| | | 1938 | + elif test -f "$ac_dir/shtool"; then |
| | | 1939 | ac_aux_dir=$ac_dir |
| | | 1940 | ac_install_sh="$ac_aux_dir/shtool install -c" |
| | | 1941 | break |
| | | 1942 | fi |
| | | 1943 | done |
| | | 1944 | if test -z "$ac_aux_dir"; then |
| | | 1945 | - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
| | | 1946 | -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
| | | 1947 | + { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
| | | 1948 | +$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
| | | 1949 | { (exit 1); exit 1; }; } |
| | | 1950 | fi |
| | | 1951 | -ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
| | | 1952 | -ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
| | | 1953 | -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
| | | 1954 | + |
| | | 1955 | +# These three variables are undocumented and unsupported, |
| | | 1956 | +# and are intended to be withdrawn in a future Autoconf release. |
| | | 1957 | +# They can cause serious problems if a builder's source tree is in a directory |
| | | 1958 | +# whose full name contains unusual characters. |
| | | 1959 | +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
| | | 1960 | +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
| | | 1961 | +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
| | | 1962 | + |
| | | 1963 | |
| | | 1964 | # Make sure we can run config.sub. |
| | | 1965 | -$ac_config_sub sun4 >/dev/null 2>&1 || |
| | | 1966 | - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
| | | 1967 | -echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
| | | 1968 | +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| | | 1969 | + { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
| | | 1970 | +$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
| | | 1971 | { (exit 1); exit 1; }; } |
| | | 1972 | |
| | | 1973 | -echo "$as_me:$LINENO: checking build system type" >&5 |
| | | 1974 | -echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
| | | 1975 | +{ $as_echo "$as_me:$LINENO: checking build system type" >&5 |
| | | 1976 | +$as_echo_n "checking build system type... " >&6; } |
| | | 1977 | if test "${ac_cv_build+set}" = set; then |
| | | 1978 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 1979 | + $as_echo_n "(cached) " >&6 |
| | | 1980 | else |
| | | 1981 | - ac_cv_build_alias=$build_alias |
| | | 1982 | -test -z "$ac_cv_build_alias" && |
| | | 1983 | - ac_cv_build_alias=`$ac_config_guess` |
| | | 1984 | -test -z "$ac_cv_build_alias" && |
| | | 1985 | - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
| | | 1986 | -echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
| | | 1987 | + ac_build_alias=$build_alias |
| | | 1988 | +test "x$ac_build_alias" = x && |
| | | 1989 | + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| | | 1990 | +test "x$ac_build_alias" = x && |
| | | 1991 | + { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
| | | 1992 | +$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
| | | 1993 | { (exit 1); exit 1; }; } |
| | | 1994 | -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
| | | 1995 | - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
| | | 1996 | -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
| | | 1997 | +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| | | 1998 | + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
| | | 1999 | +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
| | | 2000 | { (exit 1); exit 1; }; } |
| | | 2001 | |
| | | 2002 | fi |
| | | 2003 | -echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
| | | 2004 | -echo "${ECHO_T}$ac_cv_build" >&6 |
| | | 2005 | +{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
| | | 2006 | +$as_echo "$ac_cv_build" >&6; } |
| | | 2007 | +case $ac_cv_build in |
| | | 2008 | +*-*-*) ;; |
| | | 2009 | +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
| | | 2010 | +$as_echo "$as_me: error: invalid value of canonical build" >&2;} |
| | | 2011 | + { (exit 1); exit 1; }; };; |
| | | 2012 | +esac |
| | | 2013 | build=$ac_cv_build |
| | | 2014 | -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
| | | 2015 | -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
| | | 2016 | -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
| | | 2017 | +ac_save_IFS=$IFS; IFS='-' |
| | | 2018 | +set x $ac_cv_build |
| | | 2019 | +shift |
| | | 2020 | +build_cpu=$1 |
| | | 2021 | +build_vendor=$2 |
| | | 2022 | +shift; shift |
| | | 2023 | +# Remember, the first character of IFS is used to create $*, |
| | | 2024 | +# except with old shells: |
| | | 2025 | +build_os=$* |
| | | 2026 | +IFS=$ac_save_IFS |
| | | 2027 | +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
| | | 2028 | |
| | | 2029 | |
| | | 2030 | -echo "$as_me:$LINENO: checking host system type" >&5 |
| | | 2031 | -echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
| | | 2032 | +{ $as_echo "$as_me:$LINENO: checking host system type" >&5 |
| | | 2033 | +$as_echo_n "checking host system type... " >&6; } |
| | | 2034 | if test "${ac_cv_host+set}" = set; then |
| | | 2035 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 2036 | + $as_echo_n "(cached) " >&6 |
| | | 2037 | +else |
| | | 2038 | + if test "x$host_alias" = x; then |
| | | 2039 | + ac_cv_host=$ac_cv_build |
| | | 2040 | else |
| | | 2041 | - ac_cv_host_alias=$host_alias |
| | | 2042 | -test -z "$ac_cv_host_alias" && |
| | | 2043 | - ac_cv_host_alias=$ac_cv_build_alias |
| | | 2044 | -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
| | | 2045 | - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
| | | 2046 | -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
| | | 2047 | + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| | | 2048 | + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
| | | 2049 | +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
| | | 2050 | { (exit 1); exit 1; }; } |
| | | 2051 | +fi |
| | | 2052 | |
| | | 2053 | fi |
| | | 2054 | -echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
| | | 2055 | -echo "${ECHO_T}$ac_cv_host" >&6 |
| | | 2056 | +{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
| | | 2057 | +$as_echo "$ac_cv_host" >&6; } |
| | | 2058 | +case $ac_cv_host in |
| | | 2059 | +*-*-*) ;; |
| | | 2060 | +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
| | | 2061 | +$as_echo "$as_me: error: invalid value of canonical host" >&2;} |
| | | 2062 | + { (exit 1); exit 1; }; };; |
| | | 2063 | +esac |
| | | 2064 | host=$ac_cv_host |
| | | 2065 | -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
| | | 2066 | -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
| | | 2067 | -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
| | | 2068 | +ac_save_IFS=$IFS; IFS='-' |
| | | 2069 | +set x $ac_cv_host |
| | | 2070 | +shift |
| | | 2071 | +host_cpu=$1 |
| | | 2072 | +host_vendor=$2 |
| | | 2073 | +shift; shift |
| | | 2074 | +# Remember, the first character of IFS is used to create $*, |
| | | 2075 | +# except with old shells: |
| | | 2076 | +host_os=$* |
| | | 2077 | +IFS=$ac_save_IFS |
| | | 2078 | +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
| | | 2079 | |
| | | 2080 | |
| | | 2081 | |
| | | 2082 | @@ -1381,10 +1915,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| | | 2083 | if test -n "$ac_tool_prefix"; then |
| | | 2084 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| | | 2085 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| | | 2086 | -echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| | | 2087 | -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| | | 2088 | +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| | | 2089 | +$as_echo_n "checking for $ac_word... " >&6; } |
| | | 2090 | if test "${ac_cv_prog_CC+set}" = set; then |
| | | 2091 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 2092 | + $as_echo_n "(cached) " >&6 |
| | | 2093 | else |
| | | 2094 | if test -n "$CC"; then |
| | | 2095 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| | | 2096 | @@ -1395,34 +1929,36 @@ do |
| | | 2097 | IFS=$as_save_IFS |
| | | 2098 | test -z "$as_dir" && as_dir=. |
| | | 2099 | for ac_exec_ext in '' $ac_executable_extensions; do |
| | | 2100 | - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | | 2101 | + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| | | 2102 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| | | 2103 | - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 2104 | + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 2105 | break 2 |
| | | 2106 | fi |
| | | 2107 | done |
| | | 2108 | done |
| | | 2109 | +IFS=$as_save_IFS |
| | | 2110 | |
| | | 2111 | fi |
| | | 2112 | fi |
| | | 2113 | CC=$ac_cv_prog_CC |
| | | 2114 | if test -n "$CC"; then |
| | | 2115 | - echo "$as_me:$LINENO: result: $CC" >&5 |
| | | 2116 | -echo "${ECHO_T}$CC" >&6 |
| | | 2117 | + { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| | | 2118 | +$as_echo "$CC" >&6; } |
| | | 2119 | else |
| | | 2120 | - echo "$as_me:$LINENO: result: no" >&5 |
| | | 2121 | -echo "${ECHO_T}no" >&6 |
| | | 2122 | + { $as_echo "$as_me:$LINENO: result: no" >&5 |
| | | 2123 | +$as_echo "no" >&6; } |
| | | 2124 | fi |
| | | 2125 | |
| | | 2126 | + |
| | | 2127 | fi |
| | | 2128 | if test -z "$ac_cv_prog_CC"; then |
| | | 2129 | ac_ct_CC=$CC |
| | | 2130 | # Extract the first word of "gcc", so it can be a program name with args. |
| | | 2131 | set dummy gcc; ac_word=$2 |
| | | 2132 | -echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| | | 2133 | -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| | | 2134 | +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| | | 2135 | +$as_echo_n "checking for $ac_word... " >&6; } |
| | | 2136 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| | | 2137 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 2138 | + $as_echo_n "(cached) " >&6 |
| | | 2139 | else |
| | | 2140 | if test -n "$ac_ct_CC"; then |
| | | 2141 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| | | 2142 | @@ -1433,38 +1969,49 @@ do |
| | | 2143 | IFS=$as_save_IFS |
| | | 2144 | test -z "$as_dir" && as_dir=. |
| | | 2145 | for ac_exec_ext in '' $ac_executable_extensions; do |
| | | 2146 | - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | | 2147 | + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| | | 2148 | ac_cv_prog_ac_ct_CC="gcc" |
| | | 2149 | - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 2150 | + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 2151 | break 2 |
| | | 2152 | fi |
| | | 2153 | done |
| | | 2154 | done |
| | | 2155 | +IFS=$as_save_IFS |
| | | 2156 | |
| | | 2157 | fi |
| | | 2158 | fi |
| | | 2159 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| | | 2160 | if test -n "$ac_ct_CC"; then |
| | | 2161 | - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| | | 2162 | -echo "${ECHO_T}$ac_ct_CC" >&6 |
| | | 2163 | + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| | | 2164 | +$as_echo "$ac_ct_CC" >&6; } |
| | | 2165 | else |
| | | 2166 | - echo "$as_me:$LINENO: result: no" >&5 |
| | | 2167 | -echo "${ECHO_T}no" >&6 |
| | | 2168 | + { $as_echo "$as_me:$LINENO: result: no" >&5 |
| | | 2169 | +$as_echo "no" >&6; } |
| | | 2170 | fi |
| | | 2171 | |
| | | 2172 | - CC=$ac_ct_CC |
| | | 2173 | + if test "x$ac_ct_CC" = x; then |
| | | 2174 | + CC="" |
| | | 2175 | + else |
| | | 2176 | + case $cross_compiling:$ac_tool_warned in |
| | | 2177 | +yes:) |
| | | 2178 | +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
| | | 2179 | +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| | | 2180 | +ac_tool_warned=yes ;; |
| | | 2181 | +esac |
| | | 2182 | + CC=$ac_ct_CC |
| | | 2183 | + fi |
| | | 2184 | else |
| | | 2185 | CC="$ac_cv_prog_CC" |
| | | 2186 | fi |
| | | 2187 | |
| | | 2188 | if test -z "$CC"; then |
| | | 2189 | - if test -n "$ac_tool_prefix"; then |
| | | 2190 | - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| | | 2191 | + if test -n "$ac_tool_prefix"; then |
| | | 2192 | + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| | | 2193 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| | | 2194 | -echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| | | 2195 | -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| | | 2196 | +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| | | 2197 | +$as_echo_n "checking for $ac_word... " >&6; } |
| | | 2198 | if test "${ac_cv_prog_CC+set}" = set; then |
| | | 2199 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 2200 | + $as_echo_n "(cached) " >&6 |
| | | 2201 | else |
| | | 2202 | if test -n "$CC"; then |
| | | 2203 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| | | 2204 | @@ -1475,76 +2022,36 @@ do |
| | | 2205 | IFS=$as_save_IFS |
| | | 2206 | test -z "$as_dir" && as_dir=. |
| | | 2207 | for ac_exec_ext in '' $ac_executable_extensions; do |
| | | 2208 | - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | | 2209 | + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| | | 2210 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
| | | 2211 | - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 2212 | + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 2213 | break 2 |
| | | 2214 | fi |
| | | 2215 | done |
| | | 2216 | done |
| | | 2217 | +IFS=$as_save_IFS |
| | | 2218 | |
| | | 2219 | fi |
| | | 2220 | fi |
| | | 2221 | CC=$ac_cv_prog_CC |
| | | 2222 | if test -n "$CC"; then |
| | | 2223 | - echo "$as_me:$LINENO: result: $CC" >&5 |
| | | 2224 | -echo "${ECHO_T}$CC" >&6 |
| | | 2225 | -else |
| | | 2226 | - echo "$as_me:$LINENO: result: no" >&5 |
| | | 2227 | -echo "${ECHO_T}no" >&6 |
| | | 2228 | -fi |
| | | 2229 | - |
| | | 2230 | -fi |
| | | 2231 | -if test -z "$ac_cv_prog_CC"; then |
| | | 2232 | - ac_ct_CC=$CC |
| | | 2233 | - # Extract the first word of "cc", so it can be a program name with args. |
| | | 2234 | -set dummy cc; ac_word=$2 |
| | | 2235 | -echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| | | 2236 | -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| | | 2237 | -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| | | 2238 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 2239 | -else |
| | | 2240 | - if test -n "$ac_ct_CC"; then |
| | | 2241 | - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| | | 2242 | -else |
| | | 2243 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| | | 2244 | -for as_dir in $PATH |
| | | 2245 | -do |
| | | 2246 | - IFS=$as_save_IFS |
| | | 2247 | - test -z "$as_dir" && as_dir=. |
| | | 2248 | - for ac_exec_ext in '' $ac_executable_extensions; do |
| | | 2249 | - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | | 2250 | - ac_cv_prog_ac_ct_CC="cc" |
| | | 2251 | - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 2252 | - break 2 |
| | | 2253 | - fi |
| | | 2254 | -done |
| | | 2255 | -done |
| | | 2256 | - |
| | | 2257 | -fi |
| | | 2258 | -fi |
| | | 2259 | -ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| | | 2260 | -if test -n "$ac_ct_CC"; then |
| | | 2261 | - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| | | 2262 | -echo "${ECHO_T}$ac_ct_CC" >&6 |
| | | 2263 | + { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| | | 2264 | +$as_echo "$CC" >&6; } |
| | | 2265 | else |
| | | 2266 | - echo "$as_me:$LINENO: result: no" >&5 |
| | | 2267 | -echo "${ECHO_T}no" >&6 |
| | | 2268 | + { $as_echo "$as_me:$LINENO: result: no" >&5 |
| | | 2269 | +$as_echo "no" >&6; } |
| | | 2270 | fi |
| | | 2271 | |
| | | 2272 | - CC=$ac_ct_CC |
| | | 2273 | -else |
| | | 2274 | - CC="$ac_cv_prog_CC" |
| | | 2275 | -fi |
| | | 2276 | |
| | | 2277 | + fi |
| | | 2278 | fi |
| | | 2279 | if test -z "$CC"; then |
| | | 2280 | # Extract the first word of "cc", so it can be a program name with args. |
| | | 2281 | set dummy cc; ac_word=$2 |
| | | 2282 | -echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| | | 2283 | -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| | | 2284 | +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| | | 2285 | +$as_echo_n "checking for $ac_word... " >&6; } |
| | | 2286 | if test "${ac_cv_prog_CC+set}" = set; then |
| | | 2287 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 2288 | + $as_echo_n "(cached) " >&6 |
| | | 2289 | else |
| | | 2290 | if test -n "$CC"; then |
| | | 2291 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| | | 2292 | @@ -1556,17 +2063,18 @@ do |
| | | 2293 | IFS=$as_save_IFS |
| | | 2294 | test -z "$as_dir" && as_dir=. |
| | | 2295 | for ac_exec_ext in '' $ac_executable_extensions; do |
| | | 2296 | - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | | 2297 | + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| | | 2298 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| | | 2299 | ac_prog_rejected=yes |
| | | 2300 | continue |
| | | 2301 | fi |
| | | 2302 | ac_cv_prog_CC="cc" |
| | | 2303 | - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 2304 | + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 2305 | break 2 |
| | | 2306 | fi |
| | | 2307 | done |
| | | 2308 | done |
| | | 2309 | +IFS=$as_save_IFS |
| | | 2310 | |
| | | 2311 | if test $ac_prog_rejected = yes; then |
| | | 2312 | # We found a bogon in the path, so make sure we never use it. |
| | | 2313 | @@ -1584,24 +2092,25 @@ fi |
| | | 2314 | fi |
| | | 2315 | CC=$ac_cv_prog_CC |
| | | 2316 | if test -n "$CC"; then |
| | | 2317 | - echo "$as_me:$LINENO: result: $CC" >&5 |
| | | 2318 | -echo "${ECHO_T}$CC" >&6 |
| | | 2319 | + { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| | | 2320 | +$as_echo "$CC" >&6; } |
| | | 2321 | else |
| | | 2322 | - echo "$as_me:$LINENO: result: no" >&5 |
| | | 2323 | -echo "${ECHO_T}no" >&6 |
| | | 2324 | + { $as_echo "$as_me:$LINENO: result: no" >&5 |
| | | 2325 | +$as_echo "no" >&6; } |
| | | 2326 | fi |
| | | 2327 | |
| | | 2328 | + |
| | | 2329 | fi |
| | | 2330 | if test -z "$CC"; then |
| | | 2331 | if test -n "$ac_tool_prefix"; then |
| | | 2332 | - for ac_prog in cl |
| | | 2333 | + for ac_prog in cl.exe |
| | | 2334 | do |
| | | 2335 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| | | 2336 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| | | 2337 | -echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| | | 2338 | -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| | | 2339 | +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| | | 2340 | +$as_echo_n "checking for $ac_word... " >&6; } |
| | | 2341 | if test "${ac_cv_prog_CC+set}" = set; then |
| | | 2342 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 2343 | + $as_echo_n "(cached) " >&6 |
| | | 2344 | else |
| | | 2345 | if test -n "$CC"; then |
| | | 2346 | ac_cv_prog_CC="$CC" # Let the user override the test. |
| | | 2347 | @@ -1612,38 +2121,40 @@ do |
| | | 2348 | IFS=$as_save_IFS |
| | | 2349 | test -z "$as_dir" && as_dir=. |
| | | 2350 | for ac_exec_ext in '' $ac_executable_extensions; do |
| | | 2351 | - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | | 2352 | + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| | | 2353 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| | | 2354 | - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 2355 | + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 2356 | break 2 |
| | | 2357 | fi |
| | | 2358 | done |
| | | 2359 | done |
| | | 2360 | +IFS=$as_save_IFS |
| | | 2361 | |
| | | 2362 | fi |
| | | 2363 | fi |
| | | 2364 | CC=$ac_cv_prog_CC |
| | | 2365 | if test -n "$CC"; then |
| | | 2366 | - echo "$as_me:$LINENO: result: $CC" >&5 |
| | | 2367 | -echo "${ECHO_T}$CC" >&6 |
| | | 2368 | + { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
| | | 2369 | +$as_echo "$CC" >&6; } |
| | | 2370 | else |
| | | 2371 | - echo "$as_me:$LINENO: result: no" >&5 |
| | | 2372 | -echo "${ECHO_T}no" >&6 |
| | | 2373 | + { $as_echo "$as_me:$LINENO: result: no" >&5 |
| | | 2374 | +$as_echo "no" >&6; } |
| | | 2375 | fi |
| | | 2376 | |
| | | 2377 | + |
| | | 2378 | test -n "$CC" && break |
| | | 2379 | done |
| | | 2380 | fi |
| | | 2381 | if test -z "$CC"; then |
| | | 2382 | ac_ct_CC=$CC |
| | | 2383 | - for ac_prog in cl |
| | | 2384 | + for ac_prog in cl.exe |
| | | 2385 | do |
| | | 2386 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| | | 2387 | set dummy $ac_prog; ac_word=$2 |
| | | 2388 | -echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| | | 2389 | -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| | | 2390 | +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| | | 2391 | +$as_echo_n "checking for $ac_word... " >&6; } |
| | | 2392 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| | | 2393 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 2394 | + $as_echo_n "(cached) " >&6 |
| | | 2395 | else |
| | | 2396 | if test -n "$ac_ct_CC"; then |
| | | 2397 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| | | 2398 | @@ -1654,58 +2165,90 @@ do |
| | | 2399 | IFS=$as_save_IFS |
| | | 2400 | test -z "$as_dir" && as_dir=. |
| | | 2401 | for ac_exec_ext in '' $ac_executable_extensions; do |
| | | 2402 | - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | | 2403 | + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| | | 2404 | ac_cv_prog_ac_ct_CC="$ac_prog" |
| | | 2405 | - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 2406 | + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 2407 | break 2 |
| | | 2408 | fi |
| | | 2409 | done |
| | | 2410 | done |
| | | 2411 | +IFS=$as_save_IFS |
| | | 2412 | |
| | | 2413 | fi |
| | | 2414 | fi |
| | | 2415 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| | | 2416 | if test -n "$ac_ct_CC"; then |
| | | 2417 | - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| | | 2418 | -echo "${ECHO_T}$ac_ct_CC" >&6 |
| | | 2419 | + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| | | 2420 | +$as_echo "$ac_ct_CC" >&6; } |
| | | 2421 | else |
| | | 2422 | - echo "$as_me:$LINENO: result: no" >&5 |
| | | 2423 | -echo "${ECHO_T}no" >&6 |
| | | 2424 | + { $as_echo "$as_me:$LINENO: result: no" >&5 |
| | | 2425 | +$as_echo "no" >&6; } |
| | | 2426 | fi |
| | | 2427 | |
| | | 2428 | + |
| | | 2429 | test -n "$ac_ct_CC" && break |
| | | 2430 | done |
| | | 2431 | |
| | | 2432 | - CC=$ac_ct_CC |
| | | 2433 | + if test "x$ac_ct_CC" = x; then |
| | | 2434 | + CC="" |
| | | 2435 | + else |
| | | 2436 | + case $cross_compiling:$ac_tool_warned in |
| | | 2437 | +yes:) |
| | | 2438 | +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
| | | 2439 | +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| | | 2440 | +ac_tool_warned=yes ;; |
| | | 2441 | +esac |
| | | 2442 | + CC=$ac_ct_CC |
| | | 2443 | + fi |
| | | 2444 | fi |
| | | 2445 | |
| | | 2446 | fi |
| | | 2447 | |
| | | 2448 | |
| | | 2449 | -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
| | | 2450 | +test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| | | 2451 | +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| | | 2452 | +{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
| | | 2453 | See \`config.log' for more details." >&5 |
| | | 2454 | -echo "$as_me: error: no acceptable C compiler found in \$PATH |
| | | 2455 | +$as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
| | | 2456 | See \`config.log' for more details." >&2;} |
| | | 2457 | - { (exit 1); exit 1; }; } |
| | | 2458 | + { (exit 1); exit 1; }; }; } |
| | | 2459 | |
| | | 2460 | # Provide some information about the compiler. |
| | | 2461 | -echo "$as_me:$LINENO:" \ |
| | | 2462 | - "checking for C compiler version" >&5 |
| | | 2463 | -ac_compiler=`set X $ac_compile; echo $2` |
| | | 2464 | -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| | | 2465 | - (eval $ac_compiler --version </dev/null >&5) 2>&5 |
| | | 2466 | +$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
| | | 2467 | +set X $ac_compile |
| | | 2468 | +ac_compiler=$2 |
| | | 2469 | +{ (ac_try="$ac_compiler --version >&5" |
| | | 2470 | +case "(($ac_try" in |
| | | 2471 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 2472 | + *) ac_try_echo=$ac_try;; |
| | | 2473 | +esac |
| | | 2474 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2475 | +$as_echo "$ac_try_echo") >&5 |
| | | 2476 | + (eval "$ac_compiler --version >&5") 2>&5 |
| | | 2477 | ac_status=$? |
| | | 2478 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2479 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2480 | (exit $ac_status); } |
| | | 2481 | -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
| | | 2482 | - (eval $ac_compiler -v </dev/null >&5) 2>&5 |
| | | 2483 | +{ (ac_try="$ac_compiler -v >&5" |
| | | 2484 | +case "(($ac_try" in |
| | | 2485 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 2486 | + *) ac_try_echo=$ac_try;; |
| | | 2487 | +esac |
| | | 2488 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2489 | +$as_echo "$ac_try_echo") >&5 |
| | | 2490 | + (eval "$ac_compiler -v >&5") 2>&5 |
| | | 2491 | ac_status=$? |
| | | 2492 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2493 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2494 | (exit $ac_status); } |
| | | 2495 | -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
| | | 2496 | - (eval $ac_compiler -V </dev/null >&5) 2>&5 |
| | | 2497 | +{ (ac_try="$ac_compiler -V >&5" |
| | | 2498 | +case "(($ac_try" in |
| | | 2499 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 2500 | + *) ac_try_echo=$ac_try;; |
| | | 2501 | +esac |
| | | 2502 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2503 | +$as_echo "$ac_try_echo") >&5 |
| | | 2504 | + (eval "$ac_compiler -V >&5") 2>&5 |
| | | 2505 | ac_status=$? |
| | | 2506 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2507 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2508 | (exit $ac_status); } |
| | | 2509 | |
| | | 2510 | cat >conftest.$ac_ext <<_ACEOF |
| | | 2511 | @@ -1724,111 +2267,150 @@ main () |
| | | 2512 | } |
| | | 2513 | _ACEOF |
| | | 2514 | ac_clean_files_save=$ac_clean_files |
| | | 2515 | -ac_clean_files="$ac_clean_files a.out a.exe b.out" |
| | | 2516 | +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
| | | 2517 | # Try to create an executable without -o first, disregard a.out. |
| | | 2518 | # It will help us diagnose broken compilers, and finding out an intuition |
| | | 2519 | # of exeext. |
| | | 2520 | -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
| | | 2521 | -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
| | | 2522 | -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| | | 2523 | -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
| | | 2524 | - (eval $ac_link_default) 2>&5 |
| | | 2525 | +{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
| | | 2526 | +$as_echo_n "checking for C compiler default output file name... " >&6; } |
| | | 2527 | +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| | | 2528 | + |
| | | 2529 | +# The possible output files: |
| | | 2530 | +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
| | | 2531 | + |
| | | 2532 | +ac_rmfiles= |
| | | 2533 | +for ac_file in $ac_files |
| | | 2534 | +do |
| | | 2535 | + case $ac_file in |
| | | 2536 | + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| | | 2537 | + * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
| | | 2538 | + esac |
| | | 2539 | +done |
| | | 2540 | +rm -f $ac_rmfiles |
| | | 2541 | + |
| | | 2542 | +if { (ac_try="$ac_link_default" |
| | | 2543 | +case "(($ac_try" in |
| | | 2544 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 2545 | + *) ac_try_echo=$ac_try;; |
| | | 2546 | +esac |
| | | 2547 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2548 | +$as_echo "$ac_try_echo") >&5 |
| | | 2549 | + (eval "$ac_link_default") 2>&5 |
| | | 2550 | ac_status=$? |
| | | 2551 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2552 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2553 | (exit $ac_status); }; then |
| | | 2554 | - # Find the output, starting from the most likely. This scheme is |
| | | 2555 | -# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
| | | 2556 | -# resort. |
| | | 2557 | - |
| | | 2558 | -# Be careful to initialize this variable, since it used to be cached. |
| | | 2559 | -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
| | | 2560 | -ac_cv_exeext= |
| | | 2561 | -# b.out is created by i960 compilers. |
| | | 2562 | -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
| | | 2563 | + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
| | | 2564 | +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
| | | 2565 | +# in a Makefile. We should not override ac_cv_exeext if it was cached, |
| | | 2566 | +# so that the user can short-circuit this test for compilers unknown to |
| | | 2567 | +# Autoconf. |
| | | 2568 | +for ac_file in $ac_files '' |
| | | 2569 | do |
| | | 2570 | test -f "$ac_file" || continue |
| | | 2571 | case $ac_file in |
| | | 2572 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
| | | 2573 | - ;; |
| | | 2574 | - conftest.$ac_ext ) |
| | | 2575 | - # This is the source file. |
| | | 2576 | + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
| | | 2577 | ;; |
| | | 2578 | [ab].out ) |
| | | 2579 | # We found the default executable, but exeext='' is most |
| | | 2580 | # certainly right. |
| | | 2581 | break;; |
| | | 2582 | *.* ) |
| | | 2583 | - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| | | 2584 | - # FIXME: I believe we export ac_cv_exeext for Libtool, |
| | | 2585 | - # but it would be cool to find out if it's true. Does anybody |
| | | 2586 | - # maintain Libtool? --akim. |
| | | 2587 | - export ac_cv_exeext |
| | | 2588 | + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
| | | 2589 | + then :; else |
| | | 2590 | + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| | | 2591 | + fi |
| | | 2592 | + # We set ac_cv_exeext here because the later test for it is not |
| | | 2593 | + # safe: cross compilers may not add the suffix if given an `-o' |
| | | 2594 | + # argument, so we may need to know it at that point already. |
| | | 2595 | + # Even if this section looks crufty: it has the advantage of |
| | | 2596 | + # actually working. |
| | | 2597 | break;; |
| | | 2598 | * ) |
| | | 2599 | break;; |
| | | 2600 | esac |
| | | 2601 | done |
| | | 2602 | +test "$ac_cv_exeext" = no && ac_cv_exeext= |
| | | 2603 | + |
| | | 2604 | else |
| | | 2605 | - echo "$as_me: failed program was:" >&5 |
| | | 2606 | + ac_file='' |
| | | 2607 | +fi |
| | | 2608 | + |
| | | 2609 | +{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
| | | 2610 | +$as_echo "$ac_file" >&6; } |
| | | 2611 | +if test -z "$ac_file"; then |
| | | 2612 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 2613 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 2614 | |
| | | 2615 | -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
| | | 2616 | +{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| | | 2617 | +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| | | 2618 | +{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables |
| | | 2619 | See \`config.log' for more details." >&5 |
| | | 2620 | -echo "$as_me: error: C compiler cannot create executables |
| | | 2621 | +$as_echo "$as_me: error: C compiler cannot create executables |
| | | 2622 | See \`config.log' for more details." >&2;} |
| | | 2623 | - { (exit 77); exit 77; }; } |
| | | 2624 | + { (exit 77); exit 77; }; }; } |
| | | 2625 | fi |
| | | 2626 | |
| | | 2627 | ac_exeext=$ac_cv_exeext |
| | | 2628 | -echo "$as_me:$LINENO: result: $ac_file" >&5 |
| | | 2629 | -echo "${ECHO_T}$ac_file" >&6 |
| | | 2630 | |
| | | 2631 | -# Check the compiler produces executables we can run. If not, either |
| | | 2632 | +# Check that the compiler produces executables we can run. If not, either |
| | | 2633 | # the compiler is broken, or we cross compile. |
| | | 2634 | -echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
| | | 2635 | -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
| | | 2636 | +{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
| | | 2637 | +$as_echo_n "checking whether the C compiler works... " >&6; } |
| | | 2638 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
| | | 2639 | # If not cross compiling, check that we can run a simple program. |
| | | 2640 | if test "$cross_compiling" != yes; then |
| | | 2641 | if { ac_try='./$ac_file' |
| | | 2642 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 2643 | - (eval $ac_try) 2>&5 |
| | | 2644 | + { (case "(($ac_try" in |
| | | 2645 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 2646 | + *) ac_try_echo=$ac_try;; |
| | | 2647 | +esac |
| | | 2648 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2649 | +$as_echo "$ac_try_echo") >&5 |
| | | 2650 | + (eval "$ac_try") 2>&5 |
| | | 2651 | ac_status=$? |
| | | 2652 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2653 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2654 | (exit $ac_status); }; }; then |
| | | 2655 | cross_compiling=no |
| | | 2656 | else |
| | | 2657 | if test "$cross_compiling" = maybe; then |
| | | 2658 | cross_compiling=yes |
| | | 2659 | else |
| | | 2660 | - { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
| | | 2661 | + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| | | 2662 | +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| | | 2663 | +{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. |
| | | 2664 | If you meant to cross compile, use \`--host'. |
| | | 2665 | See \`config.log' for more details." >&5 |
| | | 2666 | -echo "$as_me: error: cannot run C compiled programs. |
| | | 2667 | +$as_echo "$as_me: error: cannot run C compiled programs. |
| | | 2668 | If you meant to cross compile, use \`--host'. |
| | | 2669 | See \`config.log' for more details." >&2;} |
| | | 2670 | - { (exit 1); exit 1; }; } |
| | | 2671 | + { (exit 1); exit 1; }; }; } |
| | | 2672 | fi |
| | | 2673 | fi |
| | | 2674 | fi |
| | | 2675 | -echo "$as_me:$LINENO: result: yes" >&5 |
| | | 2676 | -echo "${ECHO_T}yes" >&6 |
| | | 2677 | +{ $as_echo "$as_me:$LINENO: result: yes" >&5 |
| | | 2678 | +$as_echo "yes" >&6; } |
| | | 2679 | |
| | | 2680 | -rm -f a.out a.exe conftest$ac_cv_exeext b.out |
| | | 2681 | +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
| | | 2682 | ac_clean_files=$ac_clean_files_save |
| | | 2683 | -# Check the compiler produces executables we can run. If not, either |
| | | 2684 | +# Check that the compiler produces executables we can run. If not, either |
| | | 2685 | # the compiler is broken, or we cross compile. |
| | | 2686 | -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
| | | 2687 | -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
| | | 2688 | -echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
| | | 2689 | -echo "${ECHO_T}$cross_compiling" >&6 |
| | | 2690 | - |
| | | 2691 | -echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
| | | 2692 | -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
| | | 2693 | -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| | | 2694 | - (eval $ac_link) 2>&5 |
| | | 2695 | +{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
| | | 2696 | +$as_echo_n "checking whether we are cross compiling... " >&6; } |
| | | 2697 | +{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
| | | 2698 | +$as_echo "$cross_compiling" >&6; } |
| | | 2699 | + |
| | | 2700 | +{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
| | | 2701 | +$as_echo_n "checking for suffix of executables... " >&6; } |
| | | 2702 | +if { (ac_try="$ac_link" |
| | | 2703 | +case "(($ac_try" in |
| | | 2704 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 2705 | + *) ac_try_echo=$ac_try;; |
| | | 2706 | +esac |
| | | 2707 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2708 | +$as_echo "$ac_try_echo") >&5 |
| | | 2709 | + (eval "$ac_link") 2>&5 |
| | | 2710 | ac_status=$? |
| | | 2711 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2712 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2713 | (exit $ac_status); }; then |
| | | 2714 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
| | | 2715 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
| | | 2716 | @@ -1837,32 +2419,33 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l |
| | | 2717 | for ac_file in conftest.exe conftest conftest.*; do |
| | | 2718 | test -f "$ac_file" || continue |
| | | 2719 | case $ac_file in |
| | | 2720 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
| | | 2721 | + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| | | 2722 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| | | 2723 | - export ac_cv_exeext |
| | | 2724 | break;; |
| | | 2725 | * ) break;; |
| | | 2726 | esac |
| | | 2727 | done |
| | | 2728 | else |
| | | 2729 | - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
| | | 2730 | + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| | | 2731 | +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| | | 2732 | +{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
| | | 2733 | See \`config.log' for more details." >&5 |
| | | 2734 | -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
| | | 2735 | +$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
| | | 2736 | See \`config.log' for more details." >&2;} |
| | | 2737 | - { (exit 1); exit 1; }; } |
| | | 2738 | + { (exit 1); exit 1; }; }; } |
| | | 2739 | fi |
| | | 2740 | |
| | | 2741 | rm -f conftest$ac_cv_exeext |
| | | 2742 | -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
| | | 2743 | -echo "${ECHO_T}$ac_cv_exeext" >&6 |
| | | 2744 | +{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
| | | 2745 | +$as_echo "$ac_cv_exeext" >&6; } |
| | | 2746 | |
| | | 2747 | rm -f conftest.$ac_ext |
| | | 2748 | EXEEXT=$ac_cv_exeext |
| | | 2749 | ac_exeext=$EXEEXT |
| | | 2750 | -echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| | | 2751 | -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
| | | 2752 | +{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| | | 2753 | +$as_echo_n "checking for suffix of object files... " >&6; } |
| | | 2754 | if test "${ac_cv_objext+set}" = set; then |
| | | 2755 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 2756 | + $as_echo_n "(cached) " >&6 |
| | | 2757 | else |
| | | 2758 | cat >conftest.$ac_ext <<_ACEOF |
| | | 2759 | /* confdefs.h. */ |
| | | 2760 | @@ -1880,39 +2463,48 @@ main () |
| | | 2761 | } |
| | | 2762 | _ACEOF |
| | | 2763 | rm -f conftest.o conftest.obj |
| | | 2764 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 2765 | - (eval $ac_compile) 2>&5 |
| | | 2766 | +if { (ac_try="$ac_compile" |
| | | 2767 | +case "(($ac_try" in |
| | | 2768 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 2769 | + *) ac_try_echo=$ac_try;; |
| | | 2770 | +esac |
| | | 2771 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2772 | +$as_echo "$ac_try_echo") >&5 |
| | | 2773 | + (eval "$ac_compile") 2>&5 |
| | | 2774 | ac_status=$? |
| | | 2775 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2776 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2777 | (exit $ac_status); }; then |
| | | 2778 | - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
| | | 2779 | + for ac_file in conftest.o conftest.obj conftest.*; do |
| | | 2780 | + test -f "$ac_file" || continue; |
| | | 2781 | case $ac_file in |
| | | 2782 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
| | | 2783 | + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
| | | 2784 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| | | 2785 | break;; |
| | | 2786 | esac |
| | | 2787 | done |
| | | 2788 | else |
| | | 2789 | - echo "$as_me: failed program was:" >&5 |
| | | 2790 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 2791 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 2792 | |
| | | 2793 | -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
| | | 2794 | +{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| | | 2795 | +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| | | 2796 | +{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
| | | 2797 | See \`config.log' for more details." >&5 |
| | | 2798 | -echo "$as_me: error: cannot compute suffix of object files: cannot compile |
| | | 2799 | +$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
| | | 2800 | See \`config.log' for more details." >&2;} |
| | | 2801 | - { (exit 1); exit 1; }; } |
| | | 2802 | + { (exit 1); exit 1; }; }; } |
| | | 2803 | fi |
| | | 2804 | |
| | | 2805 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| | | 2806 | fi |
| | | 2807 | -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| | | 2808 | -echo "${ECHO_T}$ac_cv_objext" >&6 |
| | | 2809 | +{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| | | 2810 | +$as_echo "$ac_cv_objext" >&6; } |
| | | 2811 | OBJEXT=$ac_cv_objext |
| | | 2812 | ac_objext=$OBJEXT |
| | | 2813 | -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| | | 2814 | -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
| | | 2815 | +{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| | | 2816 | +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
| | | 2817 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
| | | 2818 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 2819 | + $as_echo_n "(cached) " >&6 |
| | | 2820 | else |
| | | 2821 | cat >conftest.$ac_ext <<_ACEOF |
| | | 2822 | /* confdefs.h. */ |
| | | 2823 | @@ -1933,50 +2525,54 @@ main () |
| | | 2824 | } |
| | | 2825 | _ACEOF |
| | | 2826 | rm -f conftest.$ac_objext |
| | | 2827 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 2828 | - (eval $ac_compile) 2>conftest.er1 |
| | | 2829 | +if { (ac_try="$ac_compile" |
| | | 2830 | +case "(($ac_try" in |
| | | 2831 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 2832 | + *) ac_try_echo=$ac_try;; |
| | | 2833 | +esac |
| | | 2834 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2835 | +$as_echo "$ac_try_echo") >&5 |
| | | 2836 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 2837 | ac_status=$? |
| | | 2838 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 2839 | rm -f conftest.er1 |
| | | 2840 | cat conftest.err >&5 |
| | | 2841 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2842 | - (exit $ac_status); } && |
| | | 2843 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 2844 | - || test ! -s conftest.err' |
| | | 2845 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 2846 | - (eval $ac_try) 2>&5 |
| | | 2847 | - ac_status=$? |
| | | 2848 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2849 | - (exit $ac_status); }; } && |
| | | 2850 | - { ac_try='test -s conftest.$ac_objext' |
| | | 2851 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 2852 | - (eval $ac_try) 2>&5 |
| | | 2853 | - ac_status=$? |
| | | 2854 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2855 | - (exit $ac_status); }; }; then |
| | | 2856 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2857 | + (exit $ac_status); } && { |
| | | 2858 | + test -z "$ac_c_werror_flag" || |
| | | 2859 | + test ! -s conftest.err |
| | | 2860 | + } && test -s conftest.$ac_objext; then |
| | | 2861 | ac_compiler_gnu=yes |
| | | 2862 | else |
| | | 2863 | - echo "$as_me: failed program was:" >&5 |
| | | 2864 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 2865 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 2866 | |
| | | 2867 | -ac_compiler_gnu=no |
| | | 2868 | + ac_compiler_gnu=no |
| | | 2869 | fi |
| | | 2870 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 2871 | + |
| | | 2872 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 2873 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| | | 2874 | |
| | | 2875 | fi |
| | | 2876 | -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| | | 2877 | -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
| | | 2878 | -GCC=`test $ac_compiler_gnu = yes && echo yes` |
| | | 2879 | +{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| | | 2880 | +$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
| | | 2881 | +if test $ac_compiler_gnu = yes; then |
| | | 2882 | + GCC=yes |
| | | 2883 | +else |
| | | 2884 | + GCC= |
| | | 2885 | +fi |
| | | 2886 | ac_test_CFLAGS=${CFLAGS+set} |
| | | 2887 | ac_save_CFLAGS=$CFLAGS |
| | | 2888 | -CFLAGS="-g" |
| | | 2889 | -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| | | 2890 | -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
| | | 2891 | +{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| | | 2892 | +$as_echo_n "checking whether $CC accepts -g... " >&6; } |
| | | 2893 | if test "${ac_cv_prog_cc_g+set}" = set; then |
| | | 2894 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 2895 | + $as_echo_n "(cached) " >&6 |
| | | 2896 | else |
| | | 2897 | - cat >conftest.$ac_ext <<_ACEOF |
| | | 2898 | + ac_save_c_werror_flag=$ac_c_werror_flag |
| | | 2899 | + ac_c_werror_flag=yes |
| | | 2900 | + ac_cv_prog_cc_g=no |
| | | 2901 | + CFLAGS="-g" |
| | | 2902 | + cat >conftest.$ac_ext <<_ACEOF |
| | | 2903 | /* confdefs.h. */ |
| | | 2904 | _ACEOF |
| | | 2905 | cat confdefs.h >>conftest.$ac_ext |
| | | 2906 | @@ -1992,38 +2588,121 @@ main () |
| | | 2907 | } |
| | | 2908 | _ACEOF |
| | | 2909 | rm -f conftest.$ac_objext |
| | | 2910 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 2911 | - (eval $ac_compile) 2>conftest.er1 |
| | | 2912 | +if { (ac_try="$ac_compile" |
| | | 2913 | +case "(($ac_try" in |
| | | 2914 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 2915 | + *) ac_try_echo=$ac_try;; |
| | | 2916 | +esac |
| | | 2917 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2918 | +$as_echo "$ac_try_echo") >&5 |
| | | 2919 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 2920 | ac_status=$? |
| | | 2921 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 2922 | rm -f conftest.er1 |
| | | 2923 | cat conftest.err >&5 |
| | | 2924 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2925 | - (exit $ac_status); } && |
| | | 2926 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 2927 | - || test ! -s conftest.err' |
| | | 2928 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 2929 | - (eval $ac_try) 2>&5 |
| | | 2930 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2931 | + (exit $ac_status); } && { |
| | | 2932 | + test -z "$ac_c_werror_flag" || |
| | | 2933 | + test ! -s conftest.err |
| | | 2934 | + } && test -s conftest.$ac_objext; then |
| | | 2935 | + ac_cv_prog_cc_g=yes |
| | | 2936 | +else |
| | | 2937 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 2938 | +sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 2939 | + |
| | | 2940 | + CFLAGS="" |
| | | 2941 | + cat >conftest.$ac_ext <<_ACEOF |
| | | 2942 | +/* confdefs.h. */ |
| | | 2943 | +_ACEOF |
| | | 2944 | +cat confdefs.h >>conftest.$ac_ext |
| | | 2945 | +cat >>conftest.$ac_ext <<_ACEOF |
| | | 2946 | +/* end confdefs.h. */ |
| | | 2947 | + |
| | | 2948 | +int |
| | | 2949 | +main () |
| | | 2950 | +{ |
| | | 2951 | + |
| | | 2952 | + ; |
| | | 2953 | + return 0; |
| | | 2954 | +} |
| | | 2955 | +_ACEOF |
| | | 2956 | +rm -f conftest.$ac_objext |
| | | 2957 | +if { (ac_try="$ac_compile" |
| | | 2958 | +case "(($ac_try" in |
| | | 2959 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 2960 | + *) ac_try_echo=$ac_try;; |
| | | 2961 | +esac |
| | | 2962 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 2963 | +$as_echo "$ac_try_echo") >&5 |
| | | 2964 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 2965 | ac_status=$? |
| | | 2966 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2967 | - (exit $ac_status); }; } && |
| | | 2968 | - { ac_try='test -s conftest.$ac_objext' |
| | | 2969 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 2970 | - (eval $ac_try) 2>&5 |
| | | 2971 | + grep -v '^ *+' conftest.er1 >conftest.err |
| | | 2972 | + rm -f conftest.er1 |
| | | 2973 | + cat conftest.err >&5 |
| | | 2974 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 2975 | + (exit $ac_status); } && { |
| | | 2976 | + test -z "$ac_c_werror_flag" || |
| | | 2977 | + test ! -s conftest.err |
| | | 2978 | + } && test -s conftest.$ac_objext; then |
| | | 2979 | + : |
| | | 2980 | +else |
| | | 2981 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 2982 | +sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 2983 | + |
| | | 2984 | + ac_c_werror_flag=$ac_save_c_werror_flag |
| | | 2985 | + CFLAGS="-g" |
| | | 2986 | + cat >conftest.$ac_ext <<_ACEOF |
| | | 2987 | +/* confdefs.h. */ |
| | | 2988 | +_ACEOF |
| | | 2989 | +cat confdefs.h >>conftest.$ac_ext |
| | | 2990 | +cat >>conftest.$ac_ext <<_ACEOF |
| | | 2991 | +/* end confdefs.h. */ |
| | | 2992 | + |
| | | 2993 | +int |
| | | 2994 | +main () |
| | | 2995 | +{ |
| | | 2996 | + |
| | | 2997 | + ; |
| | | 2998 | + return 0; |
| | | 2999 | +} |
| | | 3000 | +_ACEOF |
| | | 3001 | +rm -f conftest.$ac_objext |
| | | 3002 | +if { (ac_try="$ac_compile" |
| | | 3003 | +case "(($ac_try" in |
| | | 3004 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 3005 | + *) ac_try_echo=$ac_try;; |
| | | 3006 | +esac |
| | | 3007 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 3008 | +$as_echo "$ac_try_echo") >&5 |
| | | 3009 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 3010 | ac_status=$? |
| | | 3011 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3012 | - (exit $ac_status); }; }; then |
| | | 3013 | + grep -v '^ *+' conftest.er1 >conftest.err |
| | | 3014 | + rm -f conftest.er1 |
| | | 3015 | + cat conftest.err >&5 |
| | | 3016 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3017 | + (exit $ac_status); } && { |
| | | 3018 | + test -z "$ac_c_werror_flag" || |
| | | 3019 | + test ! -s conftest.err |
| | | 3020 | + } && test -s conftest.$ac_objext; then |
| | | 3021 | ac_cv_prog_cc_g=yes |
| | | 3022 | else |
| | | 3023 | - echo "$as_me: failed program was:" >&5 |
| | | 3024 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 3025 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 3026 | |
| | | 3027 | -ac_cv_prog_cc_g=no |
| | | 3028 | + |
| | | 3029 | +fi |
| | | 3030 | + |
| | | 3031 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 3032 | +fi |
| | | 3033 | + |
| | | 3034 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 3035 | fi |
| | | 3036 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 3037 | + |
| | | 3038 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 3039 | + ac_c_werror_flag=$ac_save_c_werror_flag |
| | | 3040 | fi |
| | | 3041 | -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| | | 3042 | -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
| | | 3043 | +{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| | | 3044 | +$as_echo "$ac_cv_prog_cc_g" >&6; } |
| | | 3045 | if test "$ac_test_CFLAGS" = set; then |
| | | 3046 | CFLAGS=$ac_save_CFLAGS |
| | | 3047 | elif test $ac_cv_prog_cc_g = yes; then |
| | | 3048 | @@ -2039,12 +2718,12 @@ else |
| | | 3049 | CFLAGS= |
| | | 3050 | fi |
| | | 3051 | fi |
| | | 3052 | -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
| | | 3053 | -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
| | | 3054 | -if test "${ac_cv_prog_cc_stdc+set}" = set; then |
| | | 3055 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 3056 | +{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
| | | 3057 | +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| | | 3058 | +if test "${ac_cv_prog_cc_c89+set}" = set; then |
| | | 3059 | + $as_echo_n "(cached) " >&6 |
| | | 3060 | else |
| | | 3061 | - ac_cv_prog_cc_stdc=no |
| | | 3062 | + ac_cv_prog_cc_c89=no |
| | | 3063 | ac_save_CC=$CC |
| | | 3064 | cat >conftest.$ac_ext <<_ACEOF |
| | | 3065 | /* confdefs.h. */ |
| | | 3066 | @@ -2078,12 +2757,17 @@ static char *f (char * (*g) (char **, in |
| | | 3067 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| | | 3068 | function prototypes and stuff, but not '\xHH' hex character constants. |
| | | 3069 | These don't provoke an error unfortunately, instead are silently treated |
| | | 3070 | - as 'x'. The following induces an error, until -std1 is added to get |
| | | 3071 | + as 'x'. The following induces an error, until -std is added to get |
| | | 3072 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| | | 3073 | array size at least. It's necessary to write '\x00'==0 to get something |
| | | 3074 | - that's true only with -std1. */ |
| | | 3075 | + that's true only with -std. */ |
| | | 3076 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| | | 3077 | |
| | | 3078 | +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
| | | 3079 | + inside strings and character constants. */ |
| | | 3080 | +#define FOO(x) 'x' |
| | | 3081 | +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
| | | 3082 | + |
| | | 3083 | int test (int i, double x); |
| | | 3084 | struct s1 {int (*f) (int a);}; |
| | | 3085 | struct s2 {int (*f) (double a);}; |
| | | 3086 | @@ -2098,219 +2782,72 @@ return f (e, argv, 0) != argv[0] || f |
| | | 3087 | return 0; |
| | | 3088 | } |
| | | 3089 | _ACEOF |
| | | 3090 | -# Don't try gcc -ansi; that turns off useful extensions and |
| | | 3091 | -# breaks some systems' header files. |
| | | 3092 | -# AIX -qlanglvl=ansi |
| | | 3093 | -# Ultrix and OSF/1 -std1 |
| | | 3094 | -# HP-UX 10.20 and later -Ae |
| | | 3095 | -# HP-UX older versions -Aa -D_HPUX_SOURCE |
| | | 3096 | -# SVR4 -Xc -D__EXTENSIONS__ |
| | | 3097 | -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| | | 3098 | +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
| | | 3099 | + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| | | 3100 | do |
| | | 3101 | CC="$ac_save_CC $ac_arg" |
| | | 3102 | rm -f conftest.$ac_objext |
| | | 3103 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 3104 | - (eval $ac_compile) 2>conftest.er1 |
| | | 3105 | +if { (ac_try="$ac_compile" |
| | | 3106 | +case "(($ac_try" in |
| | | 3107 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 3108 | + *) ac_try_echo=$ac_try;; |
| | | 3109 | +esac |
| | | 3110 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 3111 | +$as_echo "$ac_try_echo") >&5 |
| | | 3112 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 3113 | ac_status=$? |
| | | 3114 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 3115 | rm -f conftest.er1 |
| | | 3116 | cat conftest.err >&5 |
| | | 3117 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3118 | - (exit $ac_status); } && |
| | | 3119 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 3120 | - || test ! -s conftest.err' |
| | | 3121 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 3122 | - (eval $ac_try) 2>&5 |
| | | 3123 | - ac_status=$? |
| | | 3124 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3125 | - (exit $ac_status); }; } && |
| | | 3126 | - { ac_try='test -s conftest.$ac_objext' |
| | | 3127 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 3128 | - (eval $ac_try) 2>&5 |
| | | 3129 | - ac_status=$? |
| | | 3130 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3131 | - (exit $ac_status); }; }; then |
| | | 3132 | - ac_cv_prog_cc_stdc=$ac_arg |
| | | 3133 | -break |
| | | 3134 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3135 | + (exit $ac_status); } && { |
| | | 3136 | + test -z "$ac_c_werror_flag" || |
| | | 3137 | + test ! -s conftest.err |
| | | 3138 | + } && test -s conftest.$ac_objext; then |
| | | 3139 | + ac_cv_prog_cc_c89=$ac_arg |
| | | 3140 | else |
| | | 3141 | - echo "$as_me: failed program was:" >&5 |
| | | 3142 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 3143 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 3144 | |
| | | 3145 | + |
| | | 3146 | fi |
| | | 3147 | -rm -f conftest.err conftest.$ac_objext |
| | | 3148 | + |
| | | 3149 | +rm -f core conftest.err conftest.$ac_objext |
| | | 3150 | + test "x$ac_cv_prog_cc_c89" != "xno" && break |
| | | 3151 | done |
| | | 3152 | -rm -f conftest.$ac_ext conftest.$ac_objext |
| | | 3153 | +rm -f conftest.$ac_ext |
| | | 3154 | CC=$ac_save_CC |
| | | 3155 | |
| | | 3156 | fi |
| | | 3157 | - |
| | | 3158 | -case "x$ac_cv_prog_cc_stdc" in |
| | | 3159 | - x|xno) |
| | | 3160 | - echo "$as_me:$LINENO: result: none needed" >&5 |
| | | 3161 | -echo "${ECHO_T}none needed" >&6 ;; |
| | | 3162 | +# AC_CACHE_VAL |
| | | 3163 | +case "x$ac_cv_prog_cc_c89" in |
| | | 3164 | + x) |
| | | 3165 | + { $as_echo "$as_me:$LINENO: result: none needed" >&5 |
| | | 3166 | +$as_echo "none needed" >&6; } ;; |
| | | 3167 | + xno) |
| | | 3168 | + { $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
| | | 3169 | +$as_echo "unsupported" >&6; } ;; |
| | | 3170 | *) |
| | | 3171 | - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
| | | 3172 | -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
| | | 3173 | - CC="$CC $ac_cv_prog_cc_stdc" ;; |
| | | 3174 | + CC="$CC $ac_cv_prog_cc_c89" |
| | | 3175 | + { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
| | | 3176 | +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
| | | 3177 | esac |
| | | 3178 | |
| | | 3179 | -# Some people use a C++ compiler to compile C. Since we use `exit', |
| | | 3180 | -# in C++ we need to declare it. In case someone uses the same compiler |
| | | 3181 | -# for both compiling C and C++ we need to have the C++ compiler decide |
| | | 3182 | -# the declaration of exit, since it's the most demanding environment. |
| | | 3183 | -cat >conftest.$ac_ext <<_ACEOF |
| | | 3184 | -#ifndef __cplusplus |
| | | 3185 | - choke me |
| | | 3186 | -#endif |
| | | 3187 | -_ACEOF |
| | | 3188 | -rm -f conftest.$ac_objext |
| | | 3189 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 3190 | - (eval $ac_compile) 2>conftest.er1 |
| | | 3191 | - ac_status=$? |
| | | 3192 | - grep -v '^ *+' conftest.er1 >conftest.err |
| | | 3193 | - rm -f conftest.er1 |
| | | 3194 | - cat conftest.err >&5 |
| | | 3195 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3196 | - (exit $ac_status); } && |
| | | 3197 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 3198 | - || test ! -s conftest.err' |
| | | 3199 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 3200 | - (eval $ac_try) 2>&5 |
| | | 3201 | - ac_status=$? |
| | | 3202 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3203 | - (exit $ac_status); }; } && |
| | | 3204 | - { ac_try='test -s conftest.$ac_objext' |
| | | 3205 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 3206 | - (eval $ac_try) 2>&5 |
| | | 3207 | - ac_status=$? |
| | | 3208 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3209 | - (exit $ac_status); }; }; then |
| | | 3210 | - for ac_declaration in \ |
| | | 3211 | - '' \ |
| | | 3212 | - 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| | | 3213 | - 'extern "C" void std::exit (int); using std::exit;' \ |
| | | 3214 | - 'extern "C" void exit (int) throw ();' \ |
| | | 3215 | - 'extern "C" void exit (int);' \ |
| | | 3216 | - 'void exit (int);' |
| | | 3217 | -do |
| | | 3218 | - cat >conftest.$ac_ext <<_ACEOF |
| | | 3219 | -/* confdefs.h. */ |
| | | 3220 | -_ACEOF |
| | | 3221 | -cat confdefs.h >>conftest.$ac_ext |
| | | 3222 | -cat >>conftest.$ac_ext <<_ACEOF |
| | | 3223 | -/* end confdefs.h. */ |
| | | 3224 | -$ac_declaration |
| | | 3225 | -#include <stdlib.h> |
| | | 3226 | -int |
| | | 3227 | -main () |
| | | 3228 | -{ |
| | | 3229 | -exit (42); |
| | | 3230 | - ; |
| | | 3231 | - return 0; |
| | | 3232 | -} |
| | | 3233 | -_ACEOF |
| | | 3234 | -rm -f conftest.$ac_objext |
| | | 3235 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 3236 | - (eval $ac_compile) 2>conftest.er1 |
| | | 3237 | - ac_status=$? |
| | | 3238 | - grep -v '^ *+' conftest.er1 >conftest.err |
| | | 3239 | - rm -f conftest.er1 |
| | | 3240 | - cat conftest.err >&5 |
| | | 3241 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3242 | - (exit $ac_status); } && |
| | | 3243 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 3244 | - || test ! -s conftest.err' |
| | | 3245 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 3246 | - (eval $ac_try) 2>&5 |
| | | 3247 | - ac_status=$? |
| | | 3248 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3249 | - (exit $ac_status); }; } && |
| | | 3250 | - { ac_try='test -s conftest.$ac_objext' |
| | | 3251 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 3252 | - (eval $ac_try) 2>&5 |
| | | 3253 | - ac_status=$? |
| | | 3254 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3255 | - (exit $ac_status); }; }; then |
| | | 3256 | - : |
| | | 3257 | -else |
| | | 3258 | - echo "$as_me: failed program was:" >&5 |
| | | 3259 | -sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 3260 | - |
| | | 3261 | -continue |
| | | 3262 | -fi |
| | | 3263 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 3264 | - cat >conftest.$ac_ext <<_ACEOF |
| | | 3265 | -/* confdefs.h. */ |
| | | 3266 | -_ACEOF |
| | | 3267 | -cat confdefs.h >>conftest.$ac_ext |
| | | 3268 | -cat >>conftest.$ac_ext <<_ACEOF |
| | | 3269 | -/* end confdefs.h. */ |
| | | 3270 | -$ac_declaration |
| | | 3271 | -int |
| | | 3272 | -main () |
| | | 3273 | -{ |
| | | 3274 | -exit (42); |
| | | 3275 | - ; |
| | | 3276 | - return 0; |
| | | 3277 | -} |
| | | 3278 | -_ACEOF |
| | | 3279 | -rm -f conftest.$ac_objext |
| | | 3280 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 3281 | - (eval $ac_compile) 2>conftest.er1 |
| | | 3282 | - ac_status=$? |
| | | 3283 | - grep -v '^ *+' conftest.er1 >conftest.err |
| | | 3284 | - rm -f conftest.er1 |
| | | 3285 | - cat conftest.err >&5 |
| | | 3286 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3287 | - (exit $ac_status); } && |
| | | 3288 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 3289 | - || test ! -s conftest.err' |
| | | 3290 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 3291 | - (eval $ac_try) 2>&5 |
| | | 3292 | - ac_status=$? |
| | | 3293 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3294 | - (exit $ac_status); }; } && |
| | | 3295 | - { ac_try='test -s conftest.$ac_objext' |
| | | 3296 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 3297 | - (eval $ac_try) 2>&5 |
| | | 3298 | - ac_status=$? |
| | | 3299 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3300 | - (exit $ac_status); }; }; then |
| | | 3301 | - break |
| | | 3302 | -else |
| | | 3303 | - echo "$as_me: failed program was:" >&5 |
| | | 3304 | -sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 3305 | - |
| | | 3306 | -fi |
| | | 3307 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 3308 | -done |
| | | 3309 | -rm -f conftest* |
| | | 3310 | -if test -n "$ac_declaration"; then |
| | | 3311 | - echo '#ifdef __cplusplus' >>confdefs.h |
| | | 3312 | - echo $ac_declaration >>confdefs.h |
| | | 3313 | - echo '#endif' >>confdefs.h |
| | | 3314 | -fi |
| | | 3315 | - |
| | | 3316 | -else |
| | | 3317 | - echo "$as_me: failed program was:" >&5 |
| | | 3318 | -sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 3319 | - |
| | | 3320 | -fi |
| | | 3321 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 3322 | -ac_ext=c |
| | | 3323 | -ac_cpp='$CPP $CPPFLAGS' |
| | | 3324 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| | | 3325 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| | | 3326 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| | | 3327 | + |
| | | 3328 | +ac_ext=c |
| | | 3329 | +ac_cpp='$CPP $CPPFLAGS' |
| | | 3330 | +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| | | 3331 | +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| | | 3332 | +ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| | | 3333 | |
| | | 3334 | fi |
| | | 3335 | if test -n "$ac_tool_prefix"; then |
| | | 3336 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
| | | 3337 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
| | | 3338 | -echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| | | 3339 | -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| | | 3340 | +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| | | 3341 | +$as_echo_n "checking for $ac_word... " >&6; } |
| | | 3342 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
| | | 3343 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 3344 | + $as_echo_n "(cached) " >&6 |
| | | 3345 | else |
| | | 3346 | if test -n "$RANLIB"; then |
| | | 3347 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| | | 3348 | @@ -2321,34 +2858,36 @@ do |
| | | 3349 | IFS=$as_save_IFS |
| | | 3350 | test -z "$as_dir" && as_dir=. |
| | | 3351 | for ac_exec_ext in '' $ac_executable_extensions; do |
| | | 3352 | - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | | 3353 | + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| | | 3354 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
| | | 3355 | - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 3356 | + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 3357 | break 2 |
| | | 3358 | fi |
| | | 3359 | done |
| | | 3360 | done |
| | | 3361 | +IFS=$as_save_IFS |
| | | 3362 | |
| | | 3363 | fi |
| | | 3364 | fi |
| | | 3365 | RANLIB=$ac_cv_prog_RANLIB |
| | | 3366 | if test -n "$RANLIB"; then |
| | | 3367 | - echo "$as_me:$LINENO: result: $RANLIB" >&5 |
| | | 3368 | -echo "${ECHO_T}$RANLIB" >&6 |
| | | 3369 | + { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 |
| | | 3370 | +$as_echo "$RANLIB" >&6; } |
| | | 3371 | else |
| | | 3372 | - echo "$as_me:$LINENO: result: no" >&5 |
| | | 3373 | -echo "${ECHO_T}no" >&6 |
| | | 3374 | + { $as_echo "$as_me:$LINENO: result: no" >&5 |
| | | 3375 | +$as_echo "no" >&6; } |
| | | 3376 | fi |
| | | 3377 | |
| | | 3378 | + |
| | | 3379 | fi |
| | | 3380 | if test -z "$ac_cv_prog_RANLIB"; then |
| | | 3381 | ac_ct_RANLIB=$RANLIB |
| | | 3382 | # Extract the first word of "ranlib", so it can be a program name with args. |
| | | 3383 | set dummy ranlib; ac_word=$2 |
| | | 3384 | -echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| | | 3385 | -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| | | 3386 | +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| | | 3387 | +$as_echo_n "checking for $ac_word... " >&6; } |
| | | 3388 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
| | | 3389 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 3390 | + $as_echo_n "(cached) " >&6 |
| | | 3391 | else |
| | | 3392 | if test -n "$ac_ct_RANLIB"; then |
| | | 3393 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
| | | 3394 | @@ -2359,37 +2898,47 @@ do |
| | | 3395 | IFS=$as_save_IFS |
| | | 3396 | test -z "$as_dir" && as_dir=. |
| | | 3397 | for ac_exec_ext in '' $ac_executable_extensions; do |
| | | 3398 | - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | | 3399 | + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| | | 3400 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
| | | 3401 | - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 3402 | + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 3403 | break 2 |
| | | 3404 | fi |
| | | 3405 | done |
| | | 3406 | done |
| | | 3407 | +IFS=$as_save_IFS |
| | | 3408 | |
| | | 3409 | - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
| | | 3410 | fi |
| | | 3411 | fi |
| | | 3412 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
| | | 3413 | if test -n "$ac_ct_RANLIB"; then |
| | | 3414 | - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
| | | 3415 | -echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
| | | 3416 | + { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
| | | 3417 | +$as_echo "$ac_ct_RANLIB" >&6; } |
| | | 3418 | else |
| | | 3419 | - echo "$as_me:$LINENO: result: no" >&5 |
| | | 3420 | -echo "${ECHO_T}no" >&6 |
| | | 3421 | + { $as_echo "$as_me:$LINENO: result: no" >&5 |
| | | 3422 | +$as_echo "no" >&6; } |
| | | 3423 | fi |
| | | 3424 | |
| | | 3425 | - RANLIB=$ac_ct_RANLIB |
| | | 3426 | + if test "x$ac_ct_RANLIB" = x; then |
| | | 3427 | + RANLIB=":" |
| | | 3428 | + else |
| | | 3429 | + case $cross_compiling:$ac_tool_warned in |
| | | 3430 | +yes:) |
| | | 3431 | +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
| | | 3432 | +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| | | 3433 | +ac_tool_warned=yes ;; |
| | | 3434 | +esac |
| | | 3435 | + RANLIB=$ac_ct_RANLIB |
| | | 3436 | + fi |
| | | 3437 | else |
| | | 3438 | RANLIB="$ac_cv_prog_RANLIB" |
| | | 3439 | fi |
| | | 3440 | |
| | | 3441 | # Extract the first word of "ar", so it can be a program name with args. |
| | | 3442 | set dummy ar; ac_word=$2 |
| | | 3443 | -echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| | | 3444 | -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| | | 3445 | +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| | | 3446 | +$as_echo_n "checking for $ac_word... " >&6; } |
| | | 3447 | if test "${ac_cv_prog_AR+set}" = set; then |
| | | 3448 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 3449 | + $as_echo_n "(cached) " >&6 |
| | | 3450 | else |
| | | 3451 | if test -n "$AR"; then |
| | | 3452 | ac_cv_prog_AR="$AR" # Let the user override the test. |
| | | 3453 | @@ -2400,31 +2949,33 @@ do |
| | | 3454 | IFS=$as_save_IFS |
| | | 3455 | test -z "$as_dir" && as_dir=. |
| | | 3456 | for ac_exec_ext in '' $ac_executable_extensions; do |
| | | 3457 | - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | | 3458 | + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| | | 3459 | ac_cv_prog_AR="ar" |
| | | 3460 | - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 3461 | + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 3462 | break 2 |
| | | 3463 | fi |
| | | 3464 | done |
| | | 3465 | done |
| | | 3466 | +IFS=$as_save_IFS |
| | | 3467 | |
| | | 3468 | fi |
| | | 3469 | fi |
| | | 3470 | AR=$ac_cv_prog_AR |
| | | 3471 | if test -n "$AR"; then |
| | | 3472 | - echo "$as_me:$LINENO: result: $AR" >&5 |
| | | 3473 | -echo "${ECHO_T}$AR" >&6 |
| | | 3474 | + { $as_echo "$as_me:$LINENO: result: $AR" >&5 |
| | | 3475 | +$as_echo "$AR" >&6; } |
| | | 3476 | else |
| | | 3477 | - echo "$as_me:$LINENO: result: no" >&5 |
| | | 3478 | -echo "${ECHO_T}no" >&6 |
| | | 3479 | + { $as_echo "$as_me:$LINENO: result: no" >&5 |
| | | 3480 | +$as_echo "no" >&6; } |
| | | 3481 | fi |
| | | 3482 | |
| | | 3483 | + |
| | | 3484 | # Extract the first word of "install", so it can be a program name with args. |
| | | 3485 | set dummy install; ac_word=$2 |
| | | 3486 | -echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| | | 3487 | -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| | | 3488 | +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| | | 3489 | +$as_echo_n "checking for $ac_word... " >&6; } |
| | | 3490 | if test "${ac_cv_prog_INSTALL+set}" = set; then |
| | | 3491 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 3492 | + $as_echo_n "(cached) " >&6 |
| | | 3493 | else |
| | | 3494 | if test -n "$INSTALL"; then |
| | | 3495 | ac_cv_prog_INSTALL="$INSTALL" # Let the user override the test. |
| | | 3496 | @@ -2435,26 +2986,39 @@ do |
| | | 3497 | IFS=$as_save_IFS |
| | | 3498 | test -z "$as_dir" && as_dir=. |
| | | 3499 | for ac_exec_ext in '' $ac_executable_extensions; do |
| | | 3500 | - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| | | 3501 | + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
| | | 3502 | ac_cv_prog_INSTALL="install" |
| | | 3503 | - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 3504 | + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| | | 3505 | break 2 |
| | | 3506 | fi |
| | | 3507 | done |
| | | 3508 | done |
| | | 3509 | +IFS=$as_save_IFS |
| | | 3510 | |
| | | 3511 | fi |
| | | 3512 | fi |
| | | 3513 | INSTALL=$ac_cv_prog_INSTALL |
| | | 3514 | if test -n "$INSTALL"; then |
| | | 3515 | - echo "$as_me:$LINENO: result: $INSTALL" >&5 |
| | | 3516 | -echo "${ECHO_T}$INSTALL" >&6 |
| | | 3517 | + { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
| | | 3518 | +$as_echo "$INSTALL" >&6; } |
| | | 3519 | else |
| | | 3520 | - echo "$as_me:$LINENO: result: no" >&5 |
| | | 3521 | -echo "${ECHO_T}no" >&6 |
| | | 3522 | + { $as_echo "$as_me:$LINENO: result: no" >&5 |
| | | 3523 | +$as_echo "no" >&6; } |
| | | 3524 | fi |
| | | 3525 | |
| | | 3526 | |
| | | 3527 | + |
| | | 3528 | +case $host in |
| | | 3529 | +*-*-darwin*) |
| | | 3530 | + EXTRA_OBJS=osx_interface.o |
| | | 3531 | + EXTRA_LIBS=-framework CoreFoundation -framework IOKit |
| | | 3532 | + ;; |
| | | 3533 | +*) |
| | | 3534 | + EXTRA_OBJS="cooked_interface.o scsi_interface.o" |
| | | 3535 | + EXTRA_LIBS= |
| | | 3536 | + ;; |
| | | 3537 | +esac |
| | | 3538 | + |
| | | 3539 | if test -z "$GCC"; then |
| | | 3540 | DEBUG="-g" |
| | | 3541 | OPT="-O" |
| | | 3542 | @@ -2463,6 +3027,12 @@ else |
| | | 3543 | i?86-*-linux*) |
| | | 3544 | DEBUG="-g -Wall -fsigned-char" |
| | | 3545 | OPT="-O2 -ffast-math -fsigned-char -finline-functions";; |
| | | 3546 | + i?86-*-netbsd*) |
| | | 3547 | + DEBUG="-g -Wall -fsigned-char" |
| | | 3548 | + OPT="-O2 -ffast-math -fsigned-char -finline-functions";; |
| | | 3549 | + *-netbsd*) |
| | | 3550 | + DEBUG="-g -Wall" |
| | | 3551 | + OPT="-O";; |
| | | 3552 | *) |
| | | 3553 | DEBUG="-g -Wall -fsigned-char" |
| | | 3554 | OPT="-O2 -fsigned-char";; |
| | | 3555 | @@ -2475,15 +3045,15 @@ ac_cpp='$CPP $CPPFLAGS' |
| | | 3556 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| | | 3557 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| | | 3558 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| | | 3559 | -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| | | 3560 | -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
| | | 3561 | +{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
| | | 3562 | +$as_echo_n "checking how to run the C preprocessor... " >&6; } |
| | | 3563 | # On Suns, sometimes $CPP names a directory. |
| | | 3564 | if test -n "$CPP" && test -d "$CPP"; then |
| | | 3565 | CPP= |
| | | 3566 | fi |
| | | 3567 | if test -z "$CPP"; then |
| | | 3568 | if test "${ac_cv_prog_CPP+set}" = set; then |
| | | 3569 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 3570 | + $as_echo_n "(cached) " >&6 |
| | | 3571 | else |
| | | 3572 | # Double quotes because CPP needs to be expanded |
| | | 3573 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| | | 3574 | @@ -2510,35 +3080,35 @@ cat >>conftest.$ac_ext <<_ACEOF |
| | | 3575 | #endif |
| | | 3576 | Syntax error |
| | | 3577 | _ACEOF |
| | | 3578 | -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| | | 3579 | - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| | | 3580 | +if { (ac_try="$ac_cpp conftest.$ac_ext" |
| | | 3581 | +case "(($ac_try" in |
| | | 3582 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 3583 | + *) ac_try_echo=$ac_try;; |
| | | 3584 | +esac |
| | | 3585 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 3586 | +$as_echo "$ac_try_echo") >&5 |
| | | 3587 | + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| | | 3588 | ac_status=$? |
| | | 3589 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 3590 | rm -f conftest.er1 |
| | | 3591 | cat conftest.err >&5 |
| | | 3592 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3593 | - (exit $ac_status); } >/dev/null; then |
| | | 3594 | - if test -s conftest.err; then |
| | | 3595 | - ac_cpp_err=$ac_c_preproc_warn_flag |
| | | 3596 | - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| | | 3597 | - else |
| | | 3598 | - ac_cpp_err= |
| | | 3599 | - fi |
| | | 3600 | -else |
| | | 3601 | - ac_cpp_err=yes |
| | | 3602 | -fi |
| | | 3603 | -if test -z "$ac_cpp_err"; then |
| | | 3604 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3605 | + (exit $ac_status); } >/dev/null && { |
| | | 3606 | + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| | | 3607 | + test ! -s conftest.err |
| | | 3608 | + }; then |
| | | 3609 | : |
| | | 3610 | else |
| | | 3611 | - echo "$as_me: failed program was:" >&5 |
| | | 3612 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 3613 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 3614 | |
| | | 3615 | # Broken: fails on valid input. |
| | | 3616 | continue |
| | | 3617 | fi |
| | | 3618 | + |
| | | 3619 | rm -f conftest.err conftest.$ac_ext |
| | | 3620 | |
| | | 3621 | - # OK, works on sane cases. Now check whether non-existent headers |
| | | 3622 | + # OK, works on sane cases. Now check whether nonexistent headers |
| | | 3623 | # can be detected and how. |
| | | 3624 | cat >conftest.$ac_ext <<_ACEOF |
| | | 3625 | /* confdefs.h. */ |
| | | 3626 | @@ -2548,34 +3118,34 @@ cat >>conftest.$ac_ext <<_ACEOF |
| | | 3627 | /* end confdefs.h. */ |
| | | 3628 | #include <ac_nonexistent.h> |
| | | 3629 | _ACEOF |
| | | 3630 | -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| | | 3631 | - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| | | 3632 | +if { (ac_try="$ac_cpp conftest.$ac_ext" |
| | | 3633 | +case "(($ac_try" in |
| | | 3634 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 3635 | + *) ac_try_echo=$ac_try;; |
| | | 3636 | +esac |
| | | 3637 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 3638 | +$as_echo "$ac_try_echo") >&5 |
| | | 3639 | + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| | | 3640 | ac_status=$? |
| | | 3641 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 3642 | rm -f conftest.er1 |
| | | 3643 | cat conftest.err >&5 |
| | | 3644 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3645 | - (exit $ac_status); } >/dev/null; then |
| | | 3646 | - if test -s conftest.err; then |
| | | 3647 | - ac_cpp_err=$ac_c_preproc_warn_flag |
| | | 3648 | - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| | | 3649 | - else |
| | | 3650 | - ac_cpp_err= |
| | | 3651 | - fi |
| | | 3652 | -else |
| | | 3653 | - ac_cpp_err=yes |
| | | 3654 | -fi |
| | | 3655 | -if test -z "$ac_cpp_err"; then |
| | | 3656 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3657 | + (exit $ac_status); } >/dev/null && { |
| | | 3658 | + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| | | 3659 | + test ! -s conftest.err |
| | | 3660 | + }; then |
| | | 3661 | # Broken: success on invalid input. |
| | | 3662 | continue |
| | | 3663 | else |
| | | 3664 | - echo "$as_me: failed program was:" >&5 |
| | | 3665 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 3666 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 3667 | |
| | | 3668 | # Passes both tests. |
| | | 3669 | ac_preproc_ok=: |
| | | 3670 | break |
| | | 3671 | fi |
| | | 3672 | + |
| | | 3673 | rm -f conftest.err conftest.$ac_ext |
| | | 3674 | |
| | | 3675 | done |
| | | 3676 | @@ -2593,8 +3163,8 @@ fi |
| | | 3677 | else |
| | | 3678 | ac_cv_prog_CPP=$CPP |
| | | 3679 | fi |
| | | 3680 | -echo "$as_me:$LINENO: result: $CPP" >&5 |
| | | 3681 | -echo "${ECHO_T}$CPP" >&6 |
| | | 3682 | +{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
| | | 3683 | +$as_echo "$CPP" >&6; } |
| | | 3684 | ac_preproc_ok=false |
| | | 3685 | for ac_c_preproc_warn_flag in '' yes |
| | | 3686 | do |
| | | 3687 | @@ -2617,35 +3187,35 @@ cat >>conftest.$ac_ext <<_ACEOF |
| | | 3688 | #endif |
| | | 3689 | Syntax error |
| | | 3690 | _ACEOF |
| | | 3691 | -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| | | 3692 | - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| | | 3693 | +if { (ac_try="$ac_cpp conftest.$ac_ext" |
| | | 3694 | +case "(($ac_try" in |
| | | 3695 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 3696 | + *) ac_try_echo=$ac_try;; |
| | | 3697 | +esac |
| | | 3698 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 3699 | +$as_echo "$ac_try_echo") >&5 |
| | | 3700 | + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| | | 3701 | ac_status=$? |
| | | 3702 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 3703 | rm -f conftest.er1 |
| | | 3704 | cat conftest.err >&5 |
| | | 3705 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3706 | - (exit $ac_status); } >/dev/null; then |
| | | 3707 | - if test -s conftest.err; then |
| | | 3708 | - ac_cpp_err=$ac_c_preproc_warn_flag |
| | | 3709 | - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| | | 3710 | - else |
| | | 3711 | - ac_cpp_err= |
| | | 3712 | - fi |
| | | 3713 | -else |
| | | 3714 | - ac_cpp_err=yes |
| | | 3715 | -fi |
| | | 3716 | -if test -z "$ac_cpp_err"; then |
| | | 3717 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3718 | + (exit $ac_status); } >/dev/null && { |
| | | 3719 | + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| | | 3720 | + test ! -s conftest.err |
| | | 3721 | + }; then |
| | | 3722 | : |
| | | 3723 | else |
| | | 3724 | - echo "$as_me: failed program was:" >&5 |
| | | 3725 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 3726 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 3727 | |
| | | 3728 | # Broken: fails on valid input. |
| | | 3729 | continue |
| | | 3730 | fi |
| | | 3731 | + |
| | | 3732 | rm -f conftest.err conftest.$ac_ext |
| | | 3733 | |
| | | 3734 | - # OK, works on sane cases. Now check whether non-existent headers |
| | | 3735 | + # OK, works on sane cases. Now check whether nonexistent headers |
| | | 3736 | # can be detected and how. |
| | | 3737 | cat >conftest.$ac_ext <<_ACEOF |
| | | 3738 | /* confdefs.h. */ |
| | | 3739 | @@ -2655,34 +3225,34 @@ cat >>conftest.$ac_ext <<_ACEOF |
| | | 3740 | /* end confdefs.h. */ |
| | | 3741 | #include <ac_nonexistent.h> |
| | | 3742 | _ACEOF |
| | | 3743 | -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| | | 3744 | - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| | | 3745 | +if { (ac_try="$ac_cpp conftest.$ac_ext" |
| | | 3746 | +case "(($ac_try" in |
| | | 3747 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 3748 | + *) ac_try_echo=$ac_try;; |
| | | 3749 | +esac |
| | | 3750 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 3751 | +$as_echo "$ac_try_echo") >&5 |
| | | 3752 | + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| | | 3753 | ac_status=$? |
| | | 3754 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 3755 | rm -f conftest.er1 |
| | | 3756 | cat conftest.err >&5 |
| | | 3757 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3758 | - (exit $ac_status); } >/dev/null; then |
| | | 3759 | - if test -s conftest.err; then |
| | | 3760 | - ac_cpp_err=$ac_c_preproc_warn_flag |
| | | 3761 | - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| | | 3762 | - else |
| | | 3763 | - ac_cpp_err= |
| | | 3764 | - fi |
| | | 3765 | -else |
| | | 3766 | - ac_cpp_err=yes |
| | | 3767 | -fi |
| | | 3768 | -if test -z "$ac_cpp_err"; then |
| | | 3769 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3770 | + (exit $ac_status); } >/dev/null && { |
| | | 3771 | + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| | | 3772 | + test ! -s conftest.err |
| | | 3773 | + }; then |
| | | 3774 | # Broken: success on invalid input. |
| | | 3775 | continue |
| | | 3776 | else |
| | | 3777 | - echo "$as_me: failed program was:" >&5 |
| | | 3778 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 3779 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 3780 | |
| | | 3781 | # Passes both tests. |
| | | 3782 | ac_preproc_ok=: |
| | | 3783 | break |
| | | 3784 | fi |
| | | 3785 | + |
| | | 3786 | rm -f conftest.err conftest.$ac_ext |
| | | 3787 | |
| | | 3788 | done |
| | | 3789 | @@ -2691,11 +3261,13 @@ rm -f conftest.err conftest.$ac_ext |
| | | 3790 | if $ac_preproc_ok; then |
| | | 3791 | : |
| | | 3792 | else |
| | | 3793 | - { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| | | 3794 | + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| | | 3795 | +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| | | 3796 | +{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
| | | 3797 | See \`config.log' for more details." >&5 |
| | | 3798 | -echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| | | 3799 | +$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
| | | 3800 | See \`config.log' for more details." >&2;} |
| | | 3801 | - { (exit 1); exit 1; }; } |
| | | 3802 | + { (exit 1); exit 1; }; }; } |
| | | 3803 | fi |
| | | 3804 | |
| | | 3805 | ac_ext=c |
| | | 3806 | @@ -2705,25 +3277,144 @@ ac_link='$CC -o conftest$ac_exeext $CFLA |
| | | 3807 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| | | 3808 | |
| | | 3809 | |
| | | 3810 | -echo "$as_me:$LINENO: checking for egrep" >&5 |
| | | 3811 | -echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
| | | 3812 | -if test "${ac_cv_prog_egrep+set}" = set; then |
| | | 3813 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 3814 | -else |
| | | 3815 | - if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
| | | 3816 | - then ac_cv_prog_egrep='grep -E' |
| | | 3817 | - else ac_cv_prog_egrep='egrep' |
| | | 3818 | +{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
| | | 3819 | +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
| | | 3820 | +if test "${ac_cv_path_GREP+set}" = set; then |
| | | 3821 | + $as_echo_n "(cached) " >&6 |
| | | 3822 | +else |
| | | 3823 | + if test -z "$GREP"; then |
| | | 3824 | + ac_path_GREP_found=false |
| | | 3825 | + # Loop through the user's path and test for each of PROGNAME-LIST |
| | | 3826 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| | | 3827 | +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| | | 3828 | +do |
| | | 3829 | + IFS=$as_save_IFS |
| | | 3830 | + test -z "$as_dir" && as_dir=. |
| | | 3831 | + for ac_prog in grep ggrep; do |
| | | 3832 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| | | 3833 | + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| | | 3834 | + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
| | | 3835 | +# Check for GNU ac_path_GREP and select it if it is found. |
| | | 3836 | + # Check for GNU $ac_path_GREP |
| | | 3837 | +case `"$ac_path_GREP" --version 2>&1` in |
| | | 3838 | +*GNU*) |
| | | 3839 | + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
| | | 3840 | +*) |
| | | 3841 | + ac_count=0 |
| | | 3842 | + $as_echo_n 0123456789 >"conftest.in" |
| | | 3843 | + while : |
| | | 3844 | + do |
| | | 3845 | + cat "conftest.in" "conftest.in" >"conftest.tmp" |
| | | 3846 | + mv "conftest.tmp" "conftest.in" |
| | | 3847 | + cp "conftest.in" "conftest.nl" |
| | | 3848 | + $as_echo 'GREP' >> "conftest.nl" |
| | | 3849 | + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| | | 3850 | + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| | | 3851 | + ac_count=`expr $ac_count + 1` |
| | | 3852 | + if test $ac_count -gt ${ac_path_GREP_max-0}; then |
| | | 3853 | + # Best one so far, save it but keep looking for a better one |
| | | 3854 | + ac_cv_path_GREP="$ac_path_GREP" |
| | | 3855 | + ac_path_GREP_max=$ac_count |
| | | 3856 | + fi |
| | | 3857 | + # 10*(2^10) chars as input seems more than enough |
| | | 3858 | + test $ac_count -gt 10 && break |
| | | 3859 | + done |
| | | 3860 | + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| | | 3861 | +esac |
| | | 3862 | + |
| | | 3863 | + $ac_path_GREP_found && break 3 |
| | | 3864 | + done |
| | | 3865 | + done |
| | | 3866 | +done |
| | | 3867 | +IFS=$as_save_IFS |
| | | 3868 | + if test -z "$ac_cv_path_GREP"; then |
| | | 3869 | + { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
| | | 3870 | +$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
| | | 3871 | + { (exit 1); exit 1; }; } |
| | | 3872 | + fi |
| | | 3873 | +else |
| | | 3874 | + ac_cv_path_GREP=$GREP |
| | | 3875 | +fi |
| | | 3876 | + |
| | | 3877 | +fi |
| | | 3878 | +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
| | | 3879 | +$as_echo "$ac_cv_path_GREP" >&6; } |
| | | 3880 | + GREP="$ac_cv_path_GREP" |
| | | 3881 | + |
| | | 3882 | + |
| | | 3883 | +{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 |
| | | 3884 | +$as_echo_n "checking for egrep... " >&6; } |
| | | 3885 | +if test "${ac_cv_path_EGREP+set}" = set; then |
| | | 3886 | + $as_echo_n "(cached) " >&6 |
| | | 3887 | +else |
| | | 3888 | + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| | | 3889 | + then ac_cv_path_EGREP="$GREP -E" |
| | | 3890 | + else |
| | | 3891 | + if test -z "$EGREP"; then |
| | | 3892 | + ac_path_EGREP_found=false |
| | | 3893 | + # Loop through the user's path and test for each of PROGNAME-LIST |
| | | 3894 | + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| | | 3895 | +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| | | 3896 | +do |
| | | 3897 | + IFS=$as_save_IFS |
| | | 3898 | + test -z "$as_dir" && as_dir=. |
| | | 3899 | + for ac_prog in egrep; do |
| | | 3900 | + for ac_exec_ext in '' $ac_executable_extensions; do |
| | | 3901 | + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| | | 3902 | + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
| | | 3903 | +# Check for GNU ac_path_EGREP and select it if it is found. |
| | | 3904 | + # Check for GNU $ac_path_EGREP |
| | | 3905 | +case `"$ac_path_EGREP" --version 2>&1` in |
| | | 3906 | +*GNU*) |
| | | 3907 | + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
| | | 3908 | +*) |
| | | 3909 | + ac_count=0 |
| | | 3910 | + $as_echo_n 0123456789 >"conftest.in" |
| | | 3911 | + while : |
| | | 3912 | + do |
| | | 3913 | + cat "conftest.in" "conftest.in" >"conftest.tmp" |
| | | 3914 | + mv "conftest.tmp" "conftest.in" |
| | | 3915 | + cp "conftest.in" "conftest.nl" |
| | | 3916 | + $as_echo 'EGREP' >> "conftest.nl" |
| | | 3917 | + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| | | 3918 | + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| | | 3919 | + ac_count=`expr $ac_count + 1` |
| | | 3920 | + if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
| | | 3921 | + # Best one so far, save it but keep looking for a better one |
| | | 3922 | + ac_cv_path_EGREP="$ac_path_EGREP" |
| | | 3923 | + ac_path_EGREP_max=$ac_count |
| | | 3924 | fi |
| | | 3925 | + # 10*(2^10) chars as input seems more than enough |
| | | 3926 | + test $ac_count -gt 10 && break |
| | | 3927 | + done |
| | | 3928 | + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| | | 3929 | +esac |
| | | 3930 | + |
| | | 3931 | + $ac_path_EGREP_found && break 3 |
| | | 3932 | + done |
| | | 3933 | + done |
| | | 3934 | +done |
| | | 3935 | +IFS=$as_save_IFS |
| | | 3936 | + if test -z "$ac_cv_path_EGREP"; then |
| | | 3937 | + { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
| | | 3938 | +$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
| | | 3939 | + { (exit 1); exit 1; }; } |
| | | 3940 | + fi |
| | | 3941 | +else |
| | | 3942 | + ac_cv_path_EGREP=$EGREP |
| | | 3943 | fi |
| | | 3944 | -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
| | | 3945 | -echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
| | | 3946 | - EGREP=$ac_cv_prog_egrep |
| | | 3947 | + |
| | | 3948 | + fi |
| | | 3949 | +fi |
| | | 3950 | +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
| | | 3951 | +$as_echo "$ac_cv_path_EGREP" >&6; } |
| | | 3952 | + EGREP="$ac_cv_path_EGREP" |
| | | 3953 | |
| | | 3954 | |
| | | 3955 | -echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| | | 3956 | -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
| | | 3957 | +{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
| | | 3958 | +$as_echo_n "checking for ANSI C header files... " >&6; } |
| | | 3959 | if test "${ac_cv_header_stdc+set}" = set; then |
| | | 3960 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 3961 | + $as_echo_n "(cached) " >&6 |
| | | 3962 | else |
| | | 3963 | cat >conftest.$ac_ext <<_ACEOF |
| | | 3964 | /* confdefs.h. */ |
| | | 3965 | @@ -2745,35 +3436,32 @@ main () |
| | | 3966 | } |
| | | 3967 | _ACEOF |
| | | 3968 | rm -f conftest.$ac_objext |
| | | 3969 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 3970 | - (eval $ac_compile) 2>conftest.er1 |
| | | 3971 | +if { (ac_try="$ac_compile" |
| | | 3972 | +case "(($ac_try" in |
| | | 3973 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 3974 | + *) ac_try_echo=$ac_try;; |
| | | 3975 | +esac |
| | | 3976 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 3977 | +$as_echo "$ac_try_echo") >&5 |
| | | 3978 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 3979 | ac_status=$? |
| | | 3980 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 3981 | rm -f conftest.er1 |
| | | 3982 | cat conftest.err >&5 |
| | | 3983 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3984 | - (exit $ac_status); } && |
| | | 3985 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 3986 | - || test ! -s conftest.err' |
| | | 3987 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 3988 | - (eval $ac_try) 2>&5 |
| | | 3989 | - ac_status=$? |
| | | 3990 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3991 | - (exit $ac_status); }; } && |
| | | 3992 | - { ac_try='test -s conftest.$ac_objext' |
| | | 3993 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 3994 | - (eval $ac_try) 2>&5 |
| | | 3995 | - ac_status=$? |
| | | 3996 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3997 | - (exit $ac_status); }; }; then |
| | | 3998 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 3999 | + (exit $ac_status); } && { |
| | | 4000 | + test -z "$ac_c_werror_flag" || |
| | | 4001 | + test ! -s conftest.err |
| | | 4002 | + } && test -s conftest.$ac_objext; then |
| | | 4003 | ac_cv_header_stdc=yes |
| | | 4004 | else |
| | | 4005 | - echo "$as_me: failed program was:" >&5 |
| | | 4006 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 4007 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 4008 | |
| | | 4009 | -ac_cv_header_stdc=no |
| | | 4010 | + ac_cv_header_stdc=no |
| | | 4011 | fi |
| | | 4012 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 4013 | + |
| | | 4014 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 4015 | |
| | | 4016 | if test $ac_cv_header_stdc = yes; then |
| | | 4017 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| | | 4018 | @@ -2829,6 +3517,7 @@ cat confdefs.h >>conftest.$ac_ext |
| | | 4019 | cat >>conftest.$ac_ext <<_ACEOF |
| | | 4020 | /* end confdefs.h. */ |
| | | 4021 | #include <ctype.h> |
| | | 4022 | +#include <stdlib.h> |
| | | 4023 | #if ((' ' & 0x0FF) == 0x020) |
| | | 4024 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| | | 4025 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| | | 4026 | @@ -2848,36 +3537,50 @@ main () |
| | | 4027 | for (i = 0; i < 256; i++) |
| | | 4028 | if (XOR (islower (i), ISLOWER (i)) |
| | | 4029 | || toupper (i) != TOUPPER (i)) |
| | | 4030 | - exit(2); |
| | | 4031 | - exit (0); |
| | | 4032 | + return 2; |
| | | 4033 | + return 0; |
| | | 4034 | } |
| | | 4035 | _ACEOF |
| | | 4036 | rm -f conftest$ac_exeext |
| | | 4037 | -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| | | 4038 | - (eval $ac_link) 2>&5 |
| | | 4039 | +if { (ac_try="$ac_link" |
| | | 4040 | +case "(($ac_try" in |
| | | 4041 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 4042 | + *) ac_try_echo=$ac_try;; |
| | | 4043 | +esac |
| | | 4044 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4045 | +$as_echo "$ac_try_echo") >&5 |
| | | 4046 | + (eval "$ac_link") 2>&5 |
| | | 4047 | ac_status=$? |
| | | 4048 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4049 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4050 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| | | 4051 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4052 | - (eval $ac_try) 2>&5 |
| | | 4053 | + { (case "(($ac_try" in |
| | | 4054 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 4055 | + *) ac_try_echo=$ac_try;; |
| | | 4056 | +esac |
| | | 4057 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4058 | +$as_echo "$ac_try_echo") >&5 |
| | | 4059 | + (eval "$ac_try") 2>&5 |
| | | 4060 | ac_status=$? |
| | | 4061 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4062 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4063 | (exit $ac_status); }; }; then |
| | | 4064 | : |
| | | 4065 | else |
| | | 4066 | - echo "$as_me: program exited with status $ac_status" >&5 |
| | | 4067 | -echo "$as_me: failed program was:" >&5 |
| | | 4068 | + $as_echo "$as_me: program exited with status $ac_status" >&5 |
| | | 4069 | +$as_echo "$as_me: failed program was:" >&5 |
| | | 4070 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 4071 | |
| | | 4072 | ( exit $ac_status ) |
| | | 4073 | ac_cv_header_stdc=no |
| | | 4074 | fi |
| | | 4075 | -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| | | 4076 | +rm -rf conftest.dSYM |
| | | 4077 | +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| | | 4078 | fi |
| | | 4079 | + |
| | | 4080 | + |
| | | 4081 | fi |
| | | 4082 | fi |
| | | 4083 | -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| | | 4084 | -echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
| | | 4085 | +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
| | | 4086 | +$as_echo "$ac_cv_header_stdc" >&6; } |
| | | 4087 | if test $ac_cv_header_stdc = yes; then |
| | | 4088 | |
| | | 4089 | cat >>confdefs.h <<\_ACEOF |
| | | 4090 | @@ -2900,11 +3603,11 @@ fi |
| | | 4091 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| | | 4092 | inttypes.h stdint.h unistd.h |
| | | 4093 | do |
| | | 4094 | -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| | | 4095 | -echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| | | 4096 | -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| | | 4097 | -if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| | | 4098 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 4099 | +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| | | 4100 | +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| | | 4101 | +$as_echo_n "checking for $ac_header... " >&6; } |
| | | 4102 | +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| | | 4103 | + $as_echo_n "(cached) " >&6 |
| | | 4104 | else |
| | | 4105 | cat >conftest.$ac_ext <<_ACEOF |
| | | 4106 | /* confdefs.h. */ |
| | | 4107 | @@ -2917,41 +3620,42 @@ $ac_includes_default |
| | | 4108 | #include <$ac_header> |
| | | 4109 | _ACEOF |
| | | 4110 | rm -f conftest.$ac_objext |
| | | 4111 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 4112 | - (eval $ac_compile) 2>conftest.er1 |
| | | 4113 | +if { (ac_try="$ac_compile" |
| | | 4114 | +case "(($ac_try" in |
| | | 4115 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 4116 | + *) ac_try_echo=$ac_try;; |
| | | 4117 | +esac |
| | | 4118 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4119 | +$as_echo "$ac_try_echo") >&5 |
| | | 4120 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 4121 | ac_status=$? |
| | | 4122 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 4123 | rm -f conftest.er1 |
| | | 4124 | cat conftest.err >&5 |
| | | 4125 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4126 | - (exit $ac_status); } && |
| | | 4127 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 4128 | - || test ! -s conftest.err' |
| | | 4129 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4130 | - (eval $ac_try) 2>&5 |
| | | 4131 | - ac_status=$? |
| | | 4132 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4133 | - (exit $ac_status); }; } && |
| | | 4134 | - { ac_try='test -s conftest.$ac_objext' |
| | | 4135 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4136 | - (eval $ac_try) 2>&5 |
| | | 4137 | - ac_status=$? |
| | | 4138 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4139 | - (exit $ac_status); }; }; then |
| | | 4140 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4141 | + (exit $ac_status); } && { |
| | | 4142 | + test -z "$ac_c_werror_flag" || |
| | | 4143 | + test ! -s conftest.err |
| | | 4144 | + } && test -s conftest.$ac_objext; then |
| | | 4145 | eval "$as_ac_Header=yes" |
| | | 4146 | else |
| | | 4147 | - echo "$as_me: failed program was:" >&5 |
| | | 4148 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 4149 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 4150 | |
| | | 4151 | -eval "$as_ac_Header=no" |
| | | 4152 | + eval "$as_ac_Header=no" |
| | | 4153 | fi |
| | | 4154 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 4155 | + |
| | | 4156 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 4157 | fi |
| | | 4158 | -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| | | 4159 | -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| | | 4160 | -if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| | | 4161 | +ac_res=`eval 'as_val=${'$as_ac_Header'} |
| | | 4162 | + $as_echo "$as_val"'` |
| | | 4163 | + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| | | 4164 | +$as_echo "$ac_res" >&6; } |
| | | 4165 | +as_val=`eval 'as_val=${'$as_ac_Header'} |
| | | 4166 | + $as_echo "$as_val"'` |
| | | 4167 | + if test "x$as_val" = x""yes; then |
| | | 4168 | cat >>confdefs.h <<_ACEOF |
| | | 4169 | -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| | | 4170 | +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| | | 4171 | _ACEOF |
| | | 4172 | |
| | | 4173 | fi |
| | | 4174 | @@ -2959,73 +3663,15 @@ fi |
| | | 4175 | done |
| | | 4176 | |
| | | 4177 | |
| | | 4178 | -echo "$as_me:$LINENO: checking for short" >&5 |
| | | 4179 | -echo $ECHO_N "checking for short... $ECHO_C" >&6 |
| | | 4180 | -if test "${ac_cv_type_short+set}" = set; then |
| | | 4181 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 4182 | -else |
| | | 4183 | - cat >conftest.$ac_ext <<_ACEOF |
| | | 4184 | -/* confdefs.h. */ |
| | | 4185 | -_ACEOF |
| | | 4186 | -cat confdefs.h >>conftest.$ac_ext |
| | | 4187 | -cat >>conftest.$ac_ext <<_ACEOF |
| | | 4188 | -/* end confdefs.h. */ |
| | | 4189 | -$ac_includes_default |
| | | 4190 | -int |
| | | 4191 | -main () |
| | | 4192 | -{ |
| | | 4193 | -if ((short *) 0) |
| | | 4194 | - return 0; |
| | | 4195 | -if (sizeof (short)) |
| | | 4196 | - return 0; |
| | | 4197 | - ; |
| | | 4198 | - return 0; |
| | | 4199 | -} |
| | | 4200 | -_ACEOF |
| | | 4201 | -rm -f conftest.$ac_objext |
| | | 4202 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 4203 | - (eval $ac_compile) 2>conftest.er1 |
| | | 4204 | - ac_status=$? |
| | | 4205 | - grep -v '^ *+' conftest.er1 >conftest.err |
| | | 4206 | - rm -f conftest.er1 |
| | | 4207 | - cat conftest.err >&5 |
| | | 4208 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4209 | - (exit $ac_status); } && |
| | | 4210 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 4211 | - || test ! -s conftest.err' |
| | | 4212 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4213 | - (eval $ac_try) 2>&5 |
| | | 4214 | - ac_status=$? |
| | | 4215 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4216 | - (exit $ac_status); }; } && |
| | | 4217 | - { ac_try='test -s conftest.$ac_objext' |
| | | 4218 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4219 | - (eval $ac_try) 2>&5 |
| | | 4220 | - ac_status=$? |
| | | 4221 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4222 | - (exit $ac_status); }; }; then |
| | | 4223 | - ac_cv_type_short=yes |
| | | 4224 | -else |
| | | 4225 | - echo "$as_me: failed program was:" >&5 |
| | | 4226 | -sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 4227 | - |
| | | 4228 | -ac_cv_type_short=no |
| | | 4229 | -fi |
| | | 4230 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 4231 | -fi |
| | | 4232 | -echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5 |
| | | 4233 | -echo "${ECHO_T}$ac_cv_type_short" >&6 |
| | | 4234 | - |
| | | 4235 | -echo "$as_me:$LINENO: checking size of short" >&5 |
| | | 4236 | -echo $ECHO_N "checking size of short... $ECHO_C" >&6 |
| | | 4237 | +# The cast to long int works around a bug in the HP C Compiler |
| | | 4238 | +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| | | 4239 | +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| | | 4240 | +# This bug is HP SR number 8606223364. |
| | | 4241 | +{ $as_echo "$as_me:$LINENO: checking size of short" >&5 |
| | | 4242 | +$as_echo_n "checking size of short... " >&6; } |
| | | 4243 | if test "${ac_cv_sizeof_short+set}" = set; then |
| | | 4244 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 4245 | + $as_echo_n "(cached) " >&6 |
| | | 4246 | else |
| | | 4247 | - if test "$ac_cv_type_short" = yes; then |
| | | 4248 | - # The cast to unsigned long works around a bug in the HP C Compiler |
| | | 4249 | - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| | | 4250 | - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| | | 4251 | - # This bug is HP SR number 8606223364. |
| | | 4252 | if test "$cross_compiling" = yes; then |
| | | 4253 | # Depending upon the size, compute the lo and hi bounds. |
| | | 4254 | cat >conftest.$ac_ext <<_ACEOF |
| | | 4255 | @@ -3038,7 +3684,7 @@ $ac_includes_default |
| | | 4256 | int |
| | | 4257 | main () |
| | | 4258 | { |
| | | 4259 | -static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)]; |
| | | 4260 | +static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= 0)]; |
| | | 4261 | test_array [0] = 0 |
| | | 4262 | |
| | | 4263 | ; |
| | | 4264 | @@ -3046,27 +3692,23 @@ test_array [0] = 0 |
| | | 4265 | } |
| | | 4266 | _ACEOF |
| | | 4267 | rm -f conftest.$ac_objext |
| | | 4268 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 4269 | - (eval $ac_compile) 2>conftest.er1 |
| | | 4270 | +if { (ac_try="$ac_compile" |
| | | 4271 | +case "(($ac_try" in |
| | | 4272 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 4273 | + *) ac_try_echo=$ac_try;; |
| | | 4274 | +esac |
| | | 4275 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4276 | +$as_echo "$ac_try_echo") >&5 |
| | | 4277 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 4278 | ac_status=$? |
| | | 4279 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 4280 | rm -f conftest.er1 |
| | | 4281 | cat conftest.err >&5 |
| | | 4282 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4283 | - (exit $ac_status); } && |
| | | 4284 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 4285 | - || test ! -s conftest.err' |
| | | 4286 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4287 | - (eval $ac_try) 2>&5 |
| | | 4288 | - ac_status=$? |
| | | 4289 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4290 | - (exit $ac_status); }; } && |
| | | 4291 | - { ac_try='test -s conftest.$ac_objext' |
| | | 4292 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4293 | - (eval $ac_try) 2>&5 |
| | | 4294 | - ac_status=$? |
| | | 4295 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4296 | - (exit $ac_status); }; }; then |
| | | 4297 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4298 | + (exit $ac_status); } && { |
| | | 4299 | + test -z "$ac_c_werror_flag" || |
| | | 4300 | + test ! -s conftest.err |
| | | 4301 | + } && test -s conftest.$ac_objext; then |
| | | 4302 | ac_lo=0 ac_mid=0 |
| | | 4303 | while :; do |
| | | 4304 | cat >conftest.$ac_ext <<_ACEOF |
| | | 4305 | @@ -3079,7 +3721,7 @@ $ac_includes_default |
| | | 4306 | int |
| | | 4307 | main () |
| | | 4308 | { |
| | | 4309 | -static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)]; |
| | | 4310 | +static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)]; |
| | | 4311 | test_array [0] = 0 |
| | | 4312 | |
| | | 4313 | ; |
| | | 4314 | @@ -3087,46 +3729,43 @@ test_array [0] = 0 |
| | | 4315 | } |
| | | 4316 | _ACEOF |
| | | 4317 | rm -f conftest.$ac_objext |
| | | 4318 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 4319 | - (eval $ac_compile) 2>conftest.er1 |
| | | 4320 | +if { (ac_try="$ac_compile" |
| | | 4321 | +case "(($ac_try" in |
| | | 4322 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 4323 | + *) ac_try_echo=$ac_try;; |
| | | 4324 | +esac |
| | | 4325 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4326 | +$as_echo "$ac_try_echo") >&5 |
| | | 4327 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 4328 | ac_status=$? |
| | | 4329 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 4330 | rm -f conftest.er1 |
| | | 4331 | cat conftest.err >&5 |
| | | 4332 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4333 | - (exit $ac_status); } && |
| | | 4334 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 4335 | - || test ! -s conftest.err' |
| | | 4336 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4337 | - (eval $ac_try) 2>&5 |
| | | 4338 | - ac_status=$? |
| | | 4339 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4340 | - (exit $ac_status); }; } && |
| | | 4341 | - { ac_try='test -s conftest.$ac_objext' |
| | | 4342 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4343 | - (eval $ac_try) 2>&5 |
| | | 4344 | - ac_status=$? |
| | | 4345 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4346 | - (exit $ac_status); }; }; then |
| | | 4347 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4348 | + (exit $ac_status); } && { |
| | | 4349 | + test -z "$ac_c_werror_flag" || |
| | | 4350 | + test ! -s conftest.err |
| | | 4351 | + } && test -s conftest.$ac_objext; then |
| | | 4352 | ac_hi=$ac_mid; break |
| | | 4353 | else |
| | | 4354 | - echo "$as_me: failed program was:" >&5 |
| | | 4355 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 4356 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 4357 | |
| | | 4358 | -ac_lo=`expr $ac_mid + 1` |
| | | 4359 | - if test $ac_lo -le $ac_mid; then |
| | | 4360 | - ac_lo= ac_hi= |
| | | 4361 | - break |
| | | 4362 | - fi |
| | | 4363 | - ac_mid=`expr 2 '*' $ac_mid + 1` |
| | | 4364 | + ac_lo=`expr $ac_mid + 1` |
| | | 4365 | + if test $ac_lo -le $ac_mid; then |
| | | 4366 | + ac_lo= ac_hi= |
| | | 4367 | + break |
| | | 4368 | + fi |
| | | 4369 | + ac_mid=`expr 2 '*' $ac_mid + 1` |
| | | 4370 | fi |
| | | 4371 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 4372 | + |
| | | 4373 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 4374 | done |
| | | 4375 | else |
| | | 4376 | - echo "$as_me: failed program was:" >&5 |
| | | 4377 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 4378 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 4379 | |
| | | 4380 | -cat >conftest.$ac_ext <<_ACEOF |
| | | 4381 | + cat >conftest.$ac_ext <<_ACEOF |
| | | 4382 | /* confdefs.h. */ |
| | | 4383 | _ACEOF |
| | | 4384 | cat confdefs.h >>conftest.$ac_ext |
| | | 4385 | @@ -3136,7 +3775,7 @@ $ac_includes_default |
| | | 4386 | int |
| | | 4387 | main () |
| | | 4388 | { |
| | | 4389 | -static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)]; |
| | | 4390 | +static int test_array [1 - 2 * !(((long int) (sizeof (short))) < 0)]; |
| | | 4391 | test_array [0] = 0 |
| | | 4392 | |
| | | 4393 | ; |
| | | 4394 | @@ -3144,27 +3783,23 @@ test_array [0] = 0 |
| | | 4395 | } |
| | | 4396 | _ACEOF |
| | | 4397 | rm -f conftest.$ac_objext |
| | | 4398 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 4399 | - (eval $ac_compile) 2>conftest.er1 |
| | | 4400 | +if { (ac_try="$ac_compile" |
| | | 4401 | +case "(($ac_try" in |
| | | 4402 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 4403 | + *) ac_try_echo=$ac_try;; |
| | | 4404 | +esac |
| | | 4405 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4406 | +$as_echo "$ac_try_echo") >&5 |
| | | 4407 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 4408 | ac_status=$? |
| | | 4409 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 4410 | rm -f conftest.er1 |
| | | 4411 | cat conftest.err >&5 |
| | | 4412 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4413 | - (exit $ac_status); } && |
| | | 4414 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 4415 | - || test ! -s conftest.err' |
| | | 4416 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4417 | - (eval $ac_try) 2>&5 |
| | | 4418 | - ac_status=$? |
| | | 4419 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4420 | - (exit $ac_status); }; } && |
| | | 4421 | - { ac_try='test -s conftest.$ac_objext' |
| | | 4422 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4423 | - (eval $ac_try) 2>&5 |
| | | 4424 | - ac_status=$? |
| | | 4425 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4426 | - (exit $ac_status); }; }; then |
| | | 4427 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4428 | + (exit $ac_status); } && { |
| | | 4429 | + test -z "$ac_c_werror_flag" || |
| | | 4430 | + test ! -s conftest.err |
| | | 4431 | + } && test -s conftest.$ac_objext; then |
| | | 4432 | ac_hi=-1 ac_mid=-1 |
| | | 4433 | while :; do |
| | | 4434 | cat >conftest.$ac_ext <<_ACEOF |
| | | 4435 | @@ -3177,7 +3812,7 @@ $ac_includes_default |
| | | 4436 | int |
| | | 4437 | main () |
| | | 4438 | { |
| | | 4439 | -static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)]; |
| | | 4440 | +static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= $ac_mid)]; |
| | | 4441 | test_array [0] = 0 |
| | | 4442 | |
| | | 4443 | ; |
| | | 4444 | @@ -3185,50 +3820,49 @@ test_array [0] = 0 |
| | | 4445 | } |
| | | 4446 | _ACEOF |
| | | 4447 | rm -f conftest.$ac_objext |
| | | 4448 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 4449 | - (eval $ac_compile) 2>conftest.er1 |
| | | 4450 | +if { (ac_try="$ac_compile" |
| | | 4451 | +case "(($ac_try" in |
| | | 4452 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 4453 | + *) ac_try_echo=$ac_try;; |
| | | 4454 | +esac |
| | | 4455 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4456 | +$as_echo "$ac_try_echo") >&5 |
| | | 4457 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 4458 | ac_status=$? |
| | | 4459 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 4460 | rm -f conftest.er1 |
| | | 4461 | cat conftest.err >&5 |
| | | 4462 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4463 | - (exit $ac_status); } && |
| | | 4464 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 4465 | - || test ! -s conftest.err' |
| | | 4466 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4467 | - (eval $ac_try) 2>&5 |
| | | 4468 | - ac_status=$? |
| | | 4469 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4470 | - (exit $ac_status); }; } && |
| | | 4471 | - { ac_try='test -s conftest.$ac_objext' |
| | | 4472 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4473 | - (eval $ac_try) 2>&5 |
| | | 4474 | - ac_status=$? |
| | | 4475 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4476 | - (exit $ac_status); }; }; then |
| | | 4477 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4478 | + (exit $ac_status); } && { |
| | | 4479 | + test -z "$ac_c_werror_flag" || |
| | | 4480 | + test ! -s conftest.err |
| | | 4481 | + } && test -s conftest.$ac_objext; then |
| | | 4482 | ac_lo=$ac_mid; break |
| | | 4483 | else |
| | | 4484 | - echo "$as_me: failed program was:" >&5 |
| | | 4485 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 4486 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 4487 | |
| | | 4488 | -ac_hi=`expr '(' $ac_mid ')' - 1` |
| | | 4489 | - if test $ac_mid -le $ac_hi; then |
| | | 4490 | - ac_lo= ac_hi= |
| | | 4491 | - break |
| | | 4492 | - fi |
| | | 4493 | - ac_mid=`expr 2 '*' $ac_mid` |
| | | 4494 | + ac_hi=`expr '(' $ac_mid ')' - 1` |
| | | 4495 | + if test $ac_mid -le $ac_hi; then |
| | | 4496 | + ac_lo= ac_hi= |
| | | 4497 | + break |
| | | 4498 | + fi |
| | | 4499 | + ac_mid=`expr 2 '*' $ac_mid` |
| | | 4500 | fi |
| | | 4501 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 4502 | + |
| | | 4503 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 4504 | done |
| | | 4505 | else |
| | | 4506 | - echo "$as_me: failed program was:" >&5 |
| | | 4507 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 4508 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 4509 | |
| | | 4510 | -ac_lo= ac_hi= |
| | | 4511 | + ac_lo= ac_hi= |
| | | 4512 | fi |
| | | 4513 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 4514 | + |
| | | 4515 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 4516 | fi |
| | | 4517 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 4518 | + |
| | | 4519 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 4520 | # Binary search between lo and hi bounds. |
| | | 4521 | while test "x$ac_lo" != "x$ac_hi"; do |
| | | 4522 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
| | | 4523 | @@ -3242,7 +3876,7 @@ $ac_includes_default |
| | | 4524 | int |
| | | 4525 | main () |
| | | 4526 | { |
| | | 4527 | -static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)]; |
| | | 4528 | +static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)]; |
| | | 4529 | test_array [0] = 0 |
| | | 4530 | |
| | | 4531 | ; |
| | | 4532 | @@ -3250,52 +3884,48 @@ test_array [0] = 0 |
| | | 4533 | } |
| | | 4534 | _ACEOF |
| | | 4535 | rm -f conftest.$ac_objext |
| | | 4536 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 4537 | - (eval $ac_compile) 2>conftest.er1 |
| | | 4538 | +if { (ac_try="$ac_compile" |
| | | 4539 | +case "(($ac_try" in |
| | | 4540 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 4541 | + *) ac_try_echo=$ac_try;; |
| | | 4542 | +esac |
| | | 4543 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4544 | +$as_echo "$ac_try_echo") >&5 |
| | | 4545 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 4546 | ac_status=$? |
| | | 4547 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 4548 | rm -f conftest.er1 |
| | | 4549 | cat conftest.err >&5 |
| | | 4550 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4551 | - (exit $ac_status); } && |
| | | 4552 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 4553 | - || test ! -s conftest.err' |
| | | 4554 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4555 | - (eval $ac_try) 2>&5 |
| | | 4556 | - ac_status=$? |
| | | 4557 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4558 | - (exit $ac_status); }; } && |
| | | 4559 | - { ac_try='test -s conftest.$ac_objext' |
| | | 4560 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4561 | - (eval $ac_try) 2>&5 |
| | | 4562 | - ac_status=$? |
| | | 4563 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4564 | - (exit $ac_status); }; }; then |
| | | 4565 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4566 | + (exit $ac_status); } && { |
| | | 4567 | + test -z "$ac_c_werror_flag" || |
| | | 4568 | + test ! -s conftest.err |
| | | 4569 | + } && test -s conftest.$ac_objext; then |
| | | 4570 | ac_hi=$ac_mid |
| | | 4571 | else |
| | | 4572 | - echo "$as_me: failed program was:" >&5 |
| | | 4573 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 4574 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 4575 | |
| | | 4576 | -ac_lo=`expr '(' $ac_mid ')' + 1` |
| | | 4577 | + ac_lo=`expr '(' $ac_mid ')' + 1` |
| | | 4578 | fi |
| | | 4579 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 4580 | + |
| | | 4581 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 4582 | done |
| | | 4583 | case $ac_lo in |
| | | 4584 | ?*) ac_cv_sizeof_short=$ac_lo;; |
| | | 4585 | -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77 |
| | | 4586 | +'') if test "$ac_cv_type_short" = yes; then |
| | | 4587 | + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| | | 4588 | +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| | | 4589 | +{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short) |
| | | 4590 | See \`config.log' for more details." >&5 |
| | | 4591 | -echo "$as_me: error: cannot compute sizeof (short), 77 |
| | | 4592 | +$as_echo "$as_me: error: cannot compute sizeof (short) |
| | | 4593 | See \`config.log' for more details." >&2;} |
| | | 4594 | - { (exit 1); exit 1; }; } ;; |
| | | 4595 | + { (exit 77); exit 77; }; }; } |
| | | 4596 | + else |
| | | 4597 | + ac_cv_sizeof_short=0 |
| | | 4598 | + fi ;; |
| | | 4599 | esac |
| | | 4600 | else |
| | | 4601 | - if test "$cross_compiling" = yes; then |
| | | 4602 | - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
| | | 4603 | -See \`config.log' for more details." >&5 |
| | | 4604 | -echo "$as_me: error: cannot run test program while cross compiling |
| | | 4605 | -See \`config.log' for more details." >&2;} |
| | | 4606 | - { (exit 1); exit 1; }; } |
| | | 4607 | -else |
| | | 4608 | cat >conftest.$ac_ext <<_ACEOF |
| | | 4609 | /* confdefs.h. */ |
| | | 4610 | _ACEOF |
| | | 4611 | @@ -3303,8 +3933,8 @@ cat confdefs.h >>conftest.$ac_ext |
| | | 4612 | cat >>conftest.$ac_ext <<_ACEOF |
| | | 4613 | /* end confdefs.h. */ |
| | | 4614 | $ac_includes_default |
| | | 4615 | -long longval () { return (long) (sizeof (short)); } |
| | | 4616 | -unsigned long ulongval () { return (long) (sizeof (short)); } |
| | | 4617 | +static long int longval () { return (long int) (sizeof (short)); } |
| | | 4618 | +static unsigned long int ulongval () { return (long int) (sizeof (short)); } |
| | | 4619 | #include <stdio.h> |
| | | 4620 | #include <stdlib.h> |
| | | 4621 | int |
| | | 4622 | @@ -3313,133 +3943,94 @@ main () |
| | | 4623 | |
| | | 4624 | FILE *f = fopen ("conftest.val", "w"); |
| | | 4625 | if (! f) |
| | | 4626 | - exit (1); |
| | | 4627 | - if (((long) (sizeof (short))) < 0) |
| | | 4628 | + return 1; |
| | | 4629 | + if (((long int) (sizeof (short))) < 0) |
| | | 4630 | { |
| | | 4631 | - long i = longval (); |
| | | 4632 | - if (i != ((long) (sizeof (short)))) |
| | | 4633 | - exit (1); |
| | | 4634 | - fprintf (f, "%ld\n", i); |
| | | 4635 | + long int i = longval (); |
| | | 4636 | + if (i != ((long int) (sizeof (short)))) |
| | | 4637 | + return 1; |
| | | 4638 | + fprintf (f, "%ld", i); |
| | | 4639 | } |
| | | 4640 | else |
| | | 4641 | { |
| | | 4642 | - unsigned long i = ulongval (); |
| | | 4643 | - if (i != ((long) (sizeof (short)))) |
| | | 4644 | - exit (1); |
| | | 4645 | - fprintf (f, "%lu\n", i); |
| | | 4646 | + unsigned long int i = ulongval (); |
| | | 4647 | + if (i != ((long int) (sizeof (short)))) |
| | | 4648 | + return 1; |
| | | 4649 | + fprintf (f, "%lu", i); |
| | | 4650 | } |
| | | 4651 | - exit (ferror (f) || fclose (f) != 0); |
| | | 4652 | + /* Do not output a trailing newline, as this causes \r\n confusion |
| | | 4653 | + on some platforms. */ |
| | | 4654 | + return ferror (f) || fclose (f) != 0; |
| | | 4655 | |
| | | 4656 | ; |
| | | 4657 | return 0; |
| | | 4658 | } |
| | | 4659 | _ACEOF |
| | | 4660 | rm -f conftest$ac_exeext |
| | | 4661 | -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| | | 4662 | - (eval $ac_link) 2>&5 |
| | | 4663 | +if { (ac_try="$ac_link" |
| | | 4664 | +case "(($ac_try" in |
| | | 4665 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 4666 | + *) ac_try_echo=$ac_try;; |
| | | 4667 | +esac |
| | | 4668 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4669 | +$as_echo "$ac_try_echo") >&5 |
| | | 4670 | + (eval "$ac_link") 2>&5 |
| | | 4671 | ac_status=$? |
| | | 4672 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4673 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4674 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| | | 4675 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4676 | - (eval $ac_try) 2>&5 |
| | | 4677 | + { (case "(($ac_try" in |
| | | 4678 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 4679 | + *) ac_try_echo=$ac_try;; |
| | | 4680 | +esac |
| | | 4681 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4682 | +$as_echo "$ac_try_echo") >&5 |
| | | 4683 | + (eval "$ac_try") 2>&5 |
| | | 4684 | ac_status=$? |
| | | 4685 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4686 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4687 | (exit $ac_status); }; }; then |
| | | 4688 | ac_cv_sizeof_short=`cat conftest.val` |
| | | 4689 | else |
| | | 4690 | - echo "$as_me: program exited with status $ac_status" >&5 |
| | | 4691 | -echo "$as_me: failed program was:" >&5 |
| | | 4692 | + $as_echo "$as_me: program exited with status $ac_status" >&5 |
| | | 4693 | +$as_echo "$as_me: failed program was:" >&5 |
| | | 4694 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 4695 | |
| | | 4696 | ( exit $ac_status ) |
| | | 4697 | -{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77 |
| | | 4698 | +if test "$ac_cv_type_short" = yes; then |
| | | 4699 | + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| | | 4700 | +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| | | 4701 | +{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short) |
| | | 4702 | See \`config.log' for more details." >&5 |
| | | 4703 | -echo "$as_me: error: cannot compute sizeof (short), 77 |
| | | 4704 | +$as_echo "$as_me: error: cannot compute sizeof (short) |
| | | 4705 | See \`config.log' for more details." >&2;} |
| | | 4706 | - { (exit 1); exit 1; }; } |
| | | 4707 | -fi |
| | | 4708 | -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| | | 4709 | + { (exit 77); exit 77; }; }; } |
| | | 4710 | + else |
| | | 4711 | + ac_cv_sizeof_short=0 |
| | | 4712 | + fi |
| | | 4713 | fi |
| | | 4714 | +rm -rf conftest.dSYM |
| | | 4715 | +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| | | 4716 | fi |
| | | 4717 | rm -f conftest.val |
| | | 4718 | -else |
| | | 4719 | - ac_cv_sizeof_short=0 |
| | | 4720 | -fi |
| | | 4721 | fi |
| | | 4722 | -echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 |
| | | 4723 | -echo "${ECHO_T}$ac_cv_sizeof_short" >&6 |
| | | 4724 | -cat >>confdefs.h <<_ACEOF |
| | | 4725 | -#define SIZEOF_SHORT $ac_cv_sizeof_short |
| | | 4726 | -_ACEOF |
| | | 4727 | +{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 |
| | | 4728 | +$as_echo "$ac_cv_sizeof_short" >&6; } |
| | | 4729 | |
| | | 4730 | |
| | | 4731 | -echo "$as_me:$LINENO: checking for int" >&5 |
| | | 4732 | -echo $ECHO_N "checking for int... $ECHO_C" >&6 |
| | | 4733 | -if test "${ac_cv_type_int+set}" = set; then |
| | | 4734 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 4735 | -else |
| | | 4736 | - cat >conftest.$ac_ext <<_ACEOF |
| | | 4737 | -/* confdefs.h. */ |
| | | 4738 | -_ACEOF |
| | | 4739 | -cat confdefs.h >>conftest.$ac_ext |
| | | 4740 | -cat >>conftest.$ac_ext <<_ACEOF |
| | | 4741 | -/* end confdefs.h. */ |
| | | 4742 | -$ac_includes_default |
| | | 4743 | -int |
| | | 4744 | -main () |
| | | 4745 | -{ |
| | | 4746 | -if ((int *) 0) |
| | | 4747 | - return 0; |
| | | 4748 | -if (sizeof (int)) |
| | | 4749 | - return 0; |
| | | 4750 | - ; |
| | | 4751 | - return 0; |
| | | 4752 | -} |
| | | 4753 | + |
| | | 4754 | +cat >>confdefs.h <<_ACEOF |
| | | 4755 | +#define SIZEOF_SHORT $ac_cv_sizeof_short |
| | | 4756 | _ACEOF |
| | | 4757 | -rm -f conftest.$ac_objext |
| | | 4758 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 4759 | - (eval $ac_compile) 2>conftest.er1 |
| | | 4760 | - ac_status=$? |
| | | 4761 | - grep -v '^ *+' conftest.er1 >conftest.err |
| | | 4762 | - rm -f conftest.er1 |
| | | 4763 | - cat conftest.err >&5 |
| | | 4764 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4765 | - (exit $ac_status); } && |
| | | 4766 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 4767 | - || test ! -s conftest.err' |
| | | 4768 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4769 | - (eval $ac_try) 2>&5 |
| | | 4770 | - ac_status=$? |
| | | 4771 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4772 | - (exit $ac_status); }; } && |
| | | 4773 | - { ac_try='test -s conftest.$ac_objext' |
| | | 4774 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4775 | - (eval $ac_try) 2>&5 |
| | | 4776 | - ac_status=$? |
| | | 4777 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4778 | - (exit $ac_status); }; }; then |
| | | 4779 | - ac_cv_type_int=yes |
| | | 4780 | -else |
| | | 4781 | - echo "$as_me: failed program was:" >&5 |
| | | 4782 | -sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 4783 | |
| | | 4784 | -ac_cv_type_int=no |
| | | 4785 | -fi |
| | | 4786 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 4787 | -fi |
| | | 4788 | -echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 |
| | | 4789 | -echo "${ECHO_T}$ac_cv_type_int" >&6 |
| | | 4790 | |
| | | 4791 | -echo "$as_me:$LINENO: checking size of int" >&5 |
| | | 4792 | -echo $ECHO_N "checking size of int... $ECHO_C" >&6 |
| | | 4793 | +# The cast to long int works around a bug in the HP C Compiler |
| | | 4794 | +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| | | 4795 | +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| | | 4796 | +# This bug is HP SR number 8606223364. |
| | | 4797 | +{ $as_echo "$as_me:$LINENO: checking size of int" >&5 |
| | | 4798 | +$as_echo_n "checking size of int... " >&6; } |
| | | 4799 | if test "${ac_cv_sizeof_int+set}" = set; then |
| | | 4800 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 4801 | + $as_echo_n "(cached) " >&6 |
| | | 4802 | else |
| | | 4803 | - if test "$ac_cv_type_int" = yes; then |
| | | 4804 | - # The cast to unsigned long works around a bug in the HP C Compiler |
| | | 4805 | - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| | | 4806 | - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| | | 4807 | - # This bug is HP SR number 8606223364. |
| | | 4808 | if test "$cross_compiling" = yes; then |
| | | 4809 | # Depending upon the size, compute the lo and hi bounds. |
| | | 4810 | cat >conftest.$ac_ext <<_ACEOF |
| | | 4811 | @@ -3452,7 +4043,7 @@ $ac_includes_default |
| | | 4812 | int |
| | | 4813 | main () |
| | | 4814 | { |
| | | 4815 | -static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)]; |
| | | 4816 | +static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)]; |
| | | 4817 | test_array [0] = 0 |
| | | 4818 | |
| | | 4819 | ; |
| | | 4820 | @@ -3460,27 +4051,23 @@ test_array [0] = 0 |
| | | 4821 | } |
| | | 4822 | _ACEOF |
| | | 4823 | rm -f conftest.$ac_objext |
| | | 4824 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 4825 | - (eval $ac_compile) 2>conftest.er1 |
| | | 4826 | +if { (ac_try="$ac_compile" |
| | | 4827 | +case "(($ac_try" in |
| | | 4828 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 4829 | + *) ac_try_echo=$ac_try;; |
| | | 4830 | +esac |
| | | 4831 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4832 | +$as_echo "$ac_try_echo") >&5 |
| | | 4833 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 4834 | ac_status=$? |
| | | 4835 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 4836 | rm -f conftest.er1 |
| | | 4837 | cat conftest.err >&5 |
| | | 4838 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4839 | - (exit $ac_status); } && |
| | | 4840 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 4841 | - || test ! -s conftest.err' |
| | | 4842 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4843 | - (eval $ac_try) 2>&5 |
| | | 4844 | - ac_status=$? |
| | | 4845 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4846 | - (exit $ac_status); }; } && |
| | | 4847 | - { ac_try='test -s conftest.$ac_objext' |
| | | 4848 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4849 | - (eval $ac_try) 2>&5 |
| | | 4850 | - ac_status=$? |
| | | 4851 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4852 | - (exit $ac_status); }; }; then |
| | | 4853 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4854 | + (exit $ac_status); } && { |
| | | 4855 | + test -z "$ac_c_werror_flag" || |
| | | 4856 | + test ! -s conftest.err |
| | | 4857 | + } && test -s conftest.$ac_objext; then |
| | | 4858 | ac_lo=0 ac_mid=0 |
| | | 4859 | while :; do |
| | | 4860 | cat >conftest.$ac_ext <<_ACEOF |
| | | 4861 | @@ -3493,7 +4080,7 @@ $ac_includes_default |
| | | 4862 | int |
| | | 4863 | main () |
| | | 4864 | { |
| | | 4865 | -static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; |
| | | 4866 | +static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; |
| | | 4867 | test_array [0] = 0 |
| | | 4868 | |
| | | 4869 | ; |
| | | 4870 | @@ -3501,46 +4088,43 @@ test_array [0] = 0 |
| | | 4871 | } |
| | | 4872 | _ACEOF |
| | | 4873 | rm -f conftest.$ac_objext |
| | | 4874 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 4875 | - (eval $ac_compile) 2>conftest.er1 |
| | | 4876 | +if { (ac_try="$ac_compile" |
| | | 4877 | +case "(($ac_try" in |
| | | 4878 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 4879 | + *) ac_try_echo=$ac_try;; |
| | | 4880 | +esac |
| | | 4881 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4882 | +$as_echo "$ac_try_echo") >&5 |
| | | 4883 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 4884 | ac_status=$? |
| | | 4885 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 4886 | rm -f conftest.er1 |
| | | 4887 | cat conftest.err >&5 |
| | | 4888 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4889 | - (exit $ac_status); } && |
| | | 4890 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 4891 | - || test ! -s conftest.err' |
| | | 4892 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4893 | - (eval $ac_try) 2>&5 |
| | | 4894 | - ac_status=$? |
| | | 4895 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4896 | - (exit $ac_status); }; } && |
| | | 4897 | - { ac_try='test -s conftest.$ac_objext' |
| | | 4898 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4899 | - (eval $ac_try) 2>&5 |
| | | 4900 | - ac_status=$? |
| | | 4901 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4902 | - (exit $ac_status); }; }; then |
| | | 4903 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4904 | + (exit $ac_status); } && { |
| | | 4905 | + test -z "$ac_c_werror_flag" || |
| | | 4906 | + test ! -s conftest.err |
| | | 4907 | + } && test -s conftest.$ac_objext; then |
| | | 4908 | ac_hi=$ac_mid; break |
| | | 4909 | else |
| | | 4910 | - echo "$as_me: failed program was:" >&5 |
| | | 4911 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 4912 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 4913 | |
| | | 4914 | -ac_lo=`expr $ac_mid + 1` |
| | | 4915 | - if test $ac_lo -le $ac_mid; then |
| | | 4916 | - ac_lo= ac_hi= |
| | | 4917 | - break |
| | | 4918 | - fi |
| | | 4919 | - ac_mid=`expr 2 '*' $ac_mid + 1` |
| | | 4920 | + ac_lo=`expr $ac_mid + 1` |
| | | 4921 | + if test $ac_lo -le $ac_mid; then |
| | | 4922 | + ac_lo= ac_hi= |
| | | 4923 | + break |
| | | 4924 | + fi |
| | | 4925 | + ac_mid=`expr 2 '*' $ac_mid + 1` |
| | | 4926 | fi |
| | | 4927 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 4928 | + |
| | | 4929 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 4930 | done |
| | | 4931 | else |
| | | 4932 | - echo "$as_me: failed program was:" >&5 |
| | | 4933 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 4934 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 4935 | |
| | | 4936 | -cat >conftest.$ac_ext <<_ACEOF |
| | | 4937 | + cat >conftest.$ac_ext <<_ACEOF |
| | | 4938 | /* confdefs.h. */ |
| | | 4939 | _ACEOF |
| | | 4940 | cat confdefs.h >>conftest.$ac_ext |
| | | 4941 | @@ -3550,7 +4134,7 @@ $ac_includes_default |
| | | 4942 | int |
| | | 4943 | main () |
| | | 4944 | { |
| | | 4945 | -static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)]; |
| | | 4946 | +static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)]; |
| | | 4947 | test_array [0] = 0 |
| | | 4948 | |
| | | 4949 | ; |
| | | 4950 | @@ -3558,27 +4142,23 @@ test_array [0] = 0 |
| | | 4951 | } |
| | | 4952 | _ACEOF |
| | | 4953 | rm -f conftest.$ac_objext |
| | | 4954 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 4955 | - (eval $ac_compile) 2>conftest.er1 |
| | | 4956 | +if { (ac_try="$ac_compile" |
| | | 4957 | +case "(($ac_try" in |
| | | 4958 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 4959 | + *) ac_try_echo=$ac_try;; |
| | | 4960 | +esac |
| | | 4961 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 4962 | +$as_echo "$ac_try_echo") >&5 |
| | | 4963 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 4964 | ac_status=$? |
| | | 4965 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 4966 | rm -f conftest.er1 |
| | | 4967 | cat conftest.err >&5 |
| | | 4968 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4969 | - (exit $ac_status); } && |
| | | 4970 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 4971 | - || test ! -s conftest.err' |
| | | 4972 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4973 | - (eval $ac_try) 2>&5 |
| | | 4974 | - ac_status=$? |
| | | 4975 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4976 | - (exit $ac_status); }; } && |
| | | 4977 | - { ac_try='test -s conftest.$ac_objext' |
| | | 4978 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 4979 | - (eval $ac_try) 2>&5 |
| | | 4980 | - ac_status=$? |
| | | 4981 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4982 | - (exit $ac_status); }; }; then |
| | | 4983 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 4984 | + (exit $ac_status); } && { |
| | | 4985 | + test -z "$ac_c_werror_flag" || |
| | | 4986 | + test ! -s conftest.err |
| | | 4987 | + } && test -s conftest.$ac_objext; then |
| | | 4988 | ac_hi=-1 ac_mid=-1 |
| | | 4989 | while :; do |
| | | 4990 | cat >conftest.$ac_ext <<_ACEOF |
| | | 4991 | @@ -3591,7 +4171,7 @@ $ac_includes_default |
| | | 4992 | int |
| | | 4993 | main () |
| | | 4994 | { |
| | | 4995 | -static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)]; |
| | | 4996 | +static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)]; |
| | | 4997 | test_array [0] = 0 |
| | | 4998 | |
| | | 4999 | ; |
| | | 5000 | @@ -3599,50 +4179,49 @@ test_array [0] = 0 |
| | | 5001 | } |
| | | 5002 | _ACEOF |
| | | 5003 | rm -f conftest.$ac_objext |
| | | 5004 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 5005 | - (eval $ac_compile) 2>conftest.er1 |
| | | 5006 | +if { (ac_try="$ac_compile" |
| | | 5007 | +case "(($ac_try" in |
| | | 5008 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 5009 | + *) ac_try_echo=$ac_try;; |
| | | 5010 | +esac |
| | | 5011 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 5012 | +$as_echo "$ac_try_echo") >&5 |
| | | 5013 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 5014 | ac_status=$? |
| | | 5015 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 5016 | rm -f conftest.er1 |
| | | 5017 | cat conftest.err >&5 |
| | | 5018 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5019 | - (exit $ac_status); } && |
| | | 5020 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 5021 | - || test ! -s conftest.err' |
| | | 5022 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5023 | - (eval $ac_try) 2>&5 |
| | | 5024 | - ac_status=$? |
| | | 5025 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5026 | - (exit $ac_status); }; } && |
| | | 5027 | - { ac_try='test -s conftest.$ac_objext' |
| | | 5028 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5029 | - (eval $ac_try) 2>&5 |
| | | 5030 | - ac_status=$? |
| | | 5031 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5032 | - (exit $ac_status); }; }; then |
| | | 5033 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5034 | + (exit $ac_status); } && { |
| | | 5035 | + test -z "$ac_c_werror_flag" || |
| | | 5036 | + test ! -s conftest.err |
| | | 5037 | + } && test -s conftest.$ac_objext; then |
| | | 5038 | ac_lo=$ac_mid; break |
| | | 5039 | else |
| | | 5040 | - echo "$as_me: failed program was:" >&5 |
| | | 5041 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 5042 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 5043 | |
| | | 5044 | -ac_hi=`expr '(' $ac_mid ')' - 1` |
| | | 5045 | - if test $ac_mid -le $ac_hi; then |
| | | 5046 | - ac_lo= ac_hi= |
| | | 5047 | - break |
| | | 5048 | - fi |
| | | 5049 | - ac_mid=`expr 2 '*' $ac_mid` |
| | | 5050 | + ac_hi=`expr '(' $ac_mid ')' - 1` |
| | | 5051 | + if test $ac_mid -le $ac_hi; then |
| | | 5052 | + ac_lo= ac_hi= |
| | | 5053 | + break |
| | | 5054 | + fi |
| | | 5055 | + ac_mid=`expr 2 '*' $ac_mid` |
| | | 5056 | fi |
| | | 5057 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 5058 | + |
| | | 5059 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 5060 | done |
| | | 5061 | else |
| | | 5062 | - echo "$as_me: failed program was:" >&5 |
| | | 5063 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 5064 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 5065 | |
| | | 5066 | -ac_lo= ac_hi= |
| | | 5067 | + ac_lo= ac_hi= |
| | | 5068 | fi |
| | | 5069 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 5070 | + |
| | | 5071 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 5072 | fi |
| | | 5073 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 5074 | + |
| | | 5075 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 5076 | # Binary search between lo and hi bounds. |
| | | 5077 | while test "x$ac_lo" != "x$ac_hi"; do |
| | | 5078 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
| | | 5079 | @@ -3656,7 +4235,7 @@ $ac_includes_default |
| | | 5080 | int |
| | | 5081 | main () |
| | | 5082 | { |
| | | 5083 | -static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; |
| | | 5084 | +static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; |
| | | 5085 | test_array [0] = 0 |
| | | 5086 | |
| | | 5087 | ; |
| | | 5088 | @@ -3664,52 +4243,48 @@ test_array [0] = 0 |
| | | 5089 | } |
| | | 5090 | _ACEOF |
| | | 5091 | rm -f conftest.$ac_objext |
| | | 5092 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 5093 | - (eval $ac_compile) 2>conftest.er1 |
| | | 5094 | +if { (ac_try="$ac_compile" |
| | | 5095 | +case "(($ac_try" in |
| | | 5096 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 5097 | + *) ac_try_echo=$ac_try;; |
| | | 5098 | +esac |
| | | 5099 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 5100 | +$as_echo "$ac_try_echo") >&5 |
| | | 5101 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 5102 | ac_status=$? |
| | | 5103 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 5104 | rm -f conftest.er1 |
| | | 5105 | cat conftest.err >&5 |
| | | 5106 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5107 | - (exit $ac_status); } && |
| | | 5108 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 5109 | - || test ! -s conftest.err' |
| | | 5110 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5111 | - (eval $ac_try) 2>&5 |
| | | 5112 | - ac_status=$? |
| | | 5113 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5114 | - (exit $ac_status); }; } && |
| | | 5115 | - { ac_try='test -s conftest.$ac_objext' |
| | | 5116 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5117 | - (eval $ac_try) 2>&5 |
| | | 5118 | - ac_status=$? |
| | | 5119 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5120 | - (exit $ac_status); }; }; then |
| | | 5121 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5122 | + (exit $ac_status); } && { |
| | | 5123 | + test -z "$ac_c_werror_flag" || |
| | | 5124 | + test ! -s conftest.err |
| | | 5125 | + } && test -s conftest.$ac_objext; then |
| | | 5126 | ac_hi=$ac_mid |
| | | 5127 | else |
| | | 5128 | - echo "$as_me: failed program was:" >&5 |
| | | 5129 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 5130 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 5131 | |
| | | 5132 | -ac_lo=`expr '(' $ac_mid ')' + 1` |
| | | 5133 | + ac_lo=`expr '(' $ac_mid ')' + 1` |
| | | 5134 | fi |
| | | 5135 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 5136 | + |
| | | 5137 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 5138 | done |
| | | 5139 | case $ac_lo in |
| | | 5140 | ?*) ac_cv_sizeof_int=$ac_lo;; |
| | | 5141 | -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 |
| | | 5142 | +'') if test "$ac_cv_type_int" = yes; then |
| | | 5143 | + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| | | 5144 | +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| | | 5145 | +{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) |
| | | 5146 | See \`config.log' for more details." >&5 |
| | | 5147 | -echo "$as_me: error: cannot compute sizeof (int), 77 |
| | | 5148 | +$as_echo "$as_me: error: cannot compute sizeof (int) |
| | | 5149 | See \`config.log' for more details." >&2;} |
| | | 5150 | - { (exit 1); exit 1; }; } ;; |
| | | 5151 | + { (exit 77); exit 77; }; }; } |
| | | 5152 | + else |
| | | 5153 | + ac_cv_sizeof_int=0 |
| | | 5154 | + fi ;; |
| | | 5155 | esac |
| | | 5156 | else |
| | | 5157 | - if test "$cross_compiling" = yes; then |
| | | 5158 | - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
| | | 5159 | -See \`config.log' for more details." >&5 |
| | | 5160 | -echo "$as_me: error: cannot run test program while cross compiling |
| | | 5161 | -See \`config.log' for more details." >&2;} |
| | | 5162 | - { (exit 1); exit 1; }; } |
| | | 5163 | -else |
| | | 5164 | cat >conftest.$ac_ext <<_ACEOF |
| | | 5165 | /* confdefs.h. */ |
| | | 5166 | _ACEOF |
| | | 5167 | @@ -3717,8 +4292,8 @@ cat confdefs.h >>conftest.$ac_ext |
| | | 5168 | cat >>conftest.$ac_ext <<_ACEOF |
| | | 5169 | /* end confdefs.h. */ |
| | | 5170 | $ac_includes_default |
| | | 5171 | -long longval () { return (long) (sizeof (int)); } |
| | | 5172 | -unsigned long ulongval () { return (long) (sizeof (int)); } |
| | | 5173 | +static long int longval () { return (long int) (sizeof (int)); } |
| | | 5174 | +static unsigned long int ulongval () { return (long int) (sizeof (int)); } |
| | | 5175 | #include <stdio.h> |
| | | 5176 | #include <stdlib.h> |
| | | 5177 | int |
| | | 5178 | @@ -3727,133 +4302,94 @@ main () |
| | | 5179 | |
| | | 5180 | FILE *f = fopen ("conftest.val", "w"); |
| | | 5181 | if (! f) |
| | | 5182 | - exit (1); |
| | | 5183 | - if (((long) (sizeof (int))) < 0) |
| | | 5184 | + return 1; |
| | | 5185 | + if (((long int) (sizeof (int))) < 0) |
| | | 5186 | { |
| | | 5187 | - long i = longval (); |
| | | 5188 | - if (i != ((long) (sizeof (int)))) |
| | | 5189 | - exit (1); |
| | | 5190 | - fprintf (f, "%ld\n", i); |
| | | 5191 | + long int i = longval (); |
| | | 5192 | + if (i != ((long int) (sizeof (int)))) |
| | | 5193 | + return 1; |
| | | 5194 | + fprintf (f, "%ld", i); |
| | | 5195 | } |
| | | 5196 | else |
| | | 5197 | { |
| | | 5198 | - unsigned long i = ulongval (); |
| | | 5199 | - if (i != ((long) (sizeof (int)))) |
| | | 5200 | - exit (1); |
| | | 5201 | - fprintf (f, "%lu\n", i); |
| | | 5202 | + unsigned long int i = ulongval (); |
| | | 5203 | + if (i != ((long int) (sizeof (int)))) |
| | | 5204 | + return 1; |
| | | 5205 | + fprintf (f, "%lu", i); |
| | | 5206 | } |
| | | 5207 | - exit (ferror (f) || fclose (f) != 0); |
| | | 5208 | + /* Do not output a trailing newline, as this causes \r\n confusion |
| | | 5209 | + on some platforms. */ |
| | | 5210 | + return ferror (f) || fclose (f) != 0; |
| | | 5211 | |
| | | 5212 | ; |
| | | 5213 | return 0; |
| | | 5214 | } |
| | | 5215 | _ACEOF |
| | | 5216 | rm -f conftest$ac_exeext |
| | | 5217 | -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| | | 5218 | - (eval $ac_link) 2>&5 |
| | | 5219 | +if { (ac_try="$ac_link" |
| | | 5220 | +case "(($ac_try" in |
| | | 5221 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 5222 | + *) ac_try_echo=$ac_try;; |
| | | 5223 | +esac |
| | | 5224 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 5225 | +$as_echo "$ac_try_echo") >&5 |
| | | 5226 | + (eval "$ac_link") 2>&5 |
| | | 5227 | ac_status=$? |
| | | 5228 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5229 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5230 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| | | 5231 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5232 | - (eval $ac_try) 2>&5 |
| | | 5233 | + { (case "(($ac_try" in |
| | | 5234 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 5235 | + *) ac_try_echo=$ac_try;; |
| | | 5236 | +esac |
| | | 5237 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 5238 | +$as_echo "$ac_try_echo") >&5 |
| | | 5239 | + (eval "$ac_try") 2>&5 |
| | | 5240 | ac_status=$? |
| | | 5241 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5242 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5243 | (exit $ac_status); }; }; then |
| | | 5244 | ac_cv_sizeof_int=`cat conftest.val` |
| | | 5245 | else |
| | | 5246 | - echo "$as_me: program exited with status $ac_status" >&5 |
| | | 5247 | -echo "$as_me: failed program was:" >&5 |
| | | 5248 | + $as_echo "$as_me: program exited with status $ac_status" >&5 |
| | | 5249 | +$as_echo "$as_me: failed program was:" >&5 |
| | | 5250 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 5251 | |
| | | 5252 | ( exit $ac_status ) |
| | | 5253 | -{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 |
| | | 5254 | +if test "$ac_cv_type_int" = yes; then |
| | | 5255 | + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| | | 5256 | +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| | | 5257 | +{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) |
| | | 5258 | See \`config.log' for more details." >&5 |
| | | 5259 | -echo "$as_me: error: cannot compute sizeof (int), 77 |
| | | 5260 | +$as_echo "$as_me: error: cannot compute sizeof (int) |
| | | 5261 | See \`config.log' for more details." >&2;} |
| | | 5262 | - { (exit 1); exit 1; }; } |
| | | 5263 | -fi |
| | | 5264 | -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| | | 5265 | + { (exit 77); exit 77; }; }; } |
| | | 5266 | + else |
| | | 5267 | + ac_cv_sizeof_int=0 |
| | | 5268 | + fi |
| | | 5269 | fi |
| | | 5270 | +rm -rf conftest.dSYM |
| | | 5271 | +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| | | 5272 | fi |
| | | 5273 | rm -f conftest.val |
| | | 5274 | -else |
| | | 5275 | - ac_cv_sizeof_int=0 |
| | | 5276 | -fi |
| | | 5277 | fi |
| | | 5278 | -echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
| | | 5279 | -echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
| | | 5280 | -cat >>confdefs.h <<_ACEOF |
| | | 5281 | -#define SIZEOF_INT $ac_cv_sizeof_int |
| | | 5282 | -_ACEOF |
| | | 5283 | +{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
| | | 5284 | +$as_echo "$ac_cv_sizeof_int" >&6; } |
| | | 5285 | |
| | | 5286 | |
| | | 5287 | -echo "$as_me:$LINENO: checking for long" >&5 |
| | | 5288 | -echo $ECHO_N "checking for long... $ECHO_C" >&6 |
| | | 5289 | -if test "${ac_cv_type_long+set}" = set; then |
| | | 5290 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 5291 | -else |
| | | 5292 | - cat >conftest.$ac_ext <<_ACEOF |
| | | 5293 | -/* confdefs.h. */ |
| | | 5294 | -_ACEOF |
| | | 5295 | -cat confdefs.h >>conftest.$ac_ext |
| | | 5296 | -cat >>conftest.$ac_ext <<_ACEOF |
| | | 5297 | -/* end confdefs.h. */ |
| | | 5298 | -$ac_includes_default |
| | | 5299 | -int |
| | | 5300 | -main () |
| | | 5301 | -{ |
| | | 5302 | -if ((long *) 0) |
| | | 5303 | - return 0; |
| | | 5304 | -if (sizeof (long)) |
| | | 5305 | - return 0; |
| | | 5306 | - ; |
| | | 5307 | - return 0; |
| | | 5308 | -} |
| | | 5309 | + |
| | | 5310 | +cat >>confdefs.h <<_ACEOF |
| | | 5311 | +#define SIZEOF_INT $ac_cv_sizeof_int |
| | | 5312 | _ACEOF |
| | | 5313 | -rm -f conftest.$ac_objext |
| | | 5314 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 5315 | - (eval $ac_compile) 2>conftest.er1 |
| | | 5316 | - ac_status=$? |
| | | 5317 | - grep -v '^ *+' conftest.er1 >conftest.err |
| | | 5318 | - rm -f conftest.er1 |
| | | 5319 | - cat conftest.err >&5 |
| | | 5320 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5321 | - (exit $ac_status); } && |
| | | 5322 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 5323 | - || test ! -s conftest.err' |
| | | 5324 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5325 | - (eval $ac_try) 2>&5 |
| | | 5326 | - ac_status=$? |
| | | 5327 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5328 | - (exit $ac_status); }; } && |
| | | 5329 | - { ac_try='test -s conftest.$ac_objext' |
| | | 5330 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5331 | - (eval $ac_try) 2>&5 |
| | | 5332 | - ac_status=$? |
| | | 5333 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5334 | - (exit $ac_status); }; }; then |
| | | 5335 | - ac_cv_type_long=yes |
| | | 5336 | -else |
| | | 5337 | - echo "$as_me: failed program was:" >&5 |
| | | 5338 | -sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 5339 | |
| | | 5340 | -ac_cv_type_long=no |
| | | 5341 | -fi |
| | | 5342 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 5343 | -fi |
| | | 5344 | -echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 |
| | | 5345 | -echo "${ECHO_T}$ac_cv_type_long" >&6 |
| | | 5346 | |
| | | 5347 | -echo "$as_me:$LINENO: checking size of long" >&5 |
| | | 5348 | -echo $ECHO_N "checking size of long... $ECHO_C" >&6 |
| | | 5349 | +# The cast to long int works around a bug in the HP C Compiler |
| | | 5350 | +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| | | 5351 | +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| | | 5352 | +# This bug is HP SR number 8606223364. |
| | | 5353 | +{ $as_echo "$as_me:$LINENO: checking size of long" >&5 |
| | | 5354 | +$as_echo_n "checking size of long... " >&6; } |
| | | 5355 | if test "${ac_cv_sizeof_long+set}" = set; then |
| | | 5356 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 5357 | + $as_echo_n "(cached) " >&6 |
| | | 5358 | else |
| | | 5359 | - if test "$ac_cv_type_long" = yes; then |
| | | 5360 | - # The cast to unsigned long works around a bug in the HP C Compiler |
| | | 5361 | - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| | | 5362 | - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| | | 5363 | - # This bug is HP SR number 8606223364. |
| | | 5364 | if test "$cross_compiling" = yes; then |
| | | 5365 | # Depending upon the size, compute the lo and hi bounds. |
| | | 5366 | cat >conftest.$ac_ext <<_ACEOF |
| | | 5367 | @@ -3866,7 +4402,7 @@ $ac_includes_default |
| | | 5368 | int |
| | | 5369 | main () |
| | | 5370 | { |
| | | 5371 | -static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)]; |
| | | 5372 | +static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)]; |
| | | 5373 | test_array [0] = 0 |
| | | 5374 | |
| | | 5375 | ; |
| | | 5376 | @@ -3874,27 +4410,23 @@ test_array [0] = 0 |
| | | 5377 | } |
| | | 5378 | _ACEOF |
| | | 5379 | rm -f conftest.$ac_objext |
| | | 5380 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 5381 | - (eval $ac_compile) 2>conftest.er1 |
| | | 5382 | +if { (ac_try="$ac_compile" |
| | | 5383 | +case "(($ac_try" in |
| | | 5384 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 5385 | + *) ac_try_echo=$ac_try;; |
| | | 5386 | +esac |
| | | 5387 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 5388 | +$as_echo "$ac_try_echo") >&5 |
| | | 5389 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 5390 | ac_status=$? |
| | | 5391 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 5392 | rm -f conftest.er1 |
| | | 5393 | cat conftest.err >&5 |
| | | 5394 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5395 | - (exit $ac_status); } && |
| | | 5396 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 5397 | - || test ! -s conftest.err' |
| | | 5398 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5399 | - (eval $ac_try) 2>&5 |
| | | 5400 | - ac_status=$? |
| | | 5401 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5402 | - (exit $ac_status); }; } && |
| | | 5403 | - { ac_try='test -s conftest.$ac_objext' |
| | | 5404 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5405 | - (eval $ac_try) 2>&5 |
| | | 5406 | - ac_status=$? |
| | | 5407 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5408 | - (exit $ac_status); }; }; then |
| | | 5409 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5410 | + (exit $ac_status); } && { |
| | | 5411 | + test -z "$ac_c_werror_flag" || |
| | | 5412 | + test ! -s conftest.err |
| | | 5413 | + } && test -s conftest.$ac_objext; then |
| | | 5414 | ac_lo=0 ac_mid=0 |
| | | 5415 | while :; do |
| | | 5416 | cat >conftest.$ac_ext <<_ACEOF |
| | | 5417 | @@ -3907,7 +4439,7 @@ $ac_includes_default |
| | | 5418 | int |
| | | 5419 | main () |
| | | 5420 | { |
| | | 5421 | -static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
| | | 5422 | +static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; |
| | | 5423 | test_array [0] = 0 |
| | | 5424 | |
| | | 5425 | ; |
| | | 5426 | @@ -3915,46 +4447,43 @@ test_array [0] = 0 |
| | | 5427 | } |
| | | 5428 | _ACEOF |
| | | 5429 | rm -f conftest.$ac_objext |
| | | 5430 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 5431 | - (eval $ac_compile) 2>conftest.er1 |
| | | 5432 | +if { (ac_try="$ac_compile" |
| | | 5433 | +case "(($ac_try" in |
| | | 5434 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 5435 | + *) ac_try_echo=$ac_try;; |
| | | 5436 | +esac |
| | | 5437 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 5438 | +$as_echo "$ac_try_echo") >&5 |
| | | 5439 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 5440 | ac_status=$? |
| | | 5441 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 5442 | rm -f conftest.er1 |
| | | 5443 | cat conftest.err >&5 |
| | | 5444 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5445 | - (exit $ac_status); } && |
| | | 5446 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 5447 | - || test ! -s conftest.err' |
| | | 5448 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5449 | - (eval $ac_try) 2>&5 |
| | | 5450 | - ac_status=$? |
| | | 5451 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5452 | - (exit $ac_status); }; } && |
| | | 5453 | - { ac_try='test -s conftest.$ac_objext' |
| | | 5454 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5455 | - (eval $ac_try) 2>&5 |
| | | 5456 | - ac_status=$? |
| | | 5457 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5458 | - (exit $ac_status); }; }; then |
| | | 5459 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5460 | + (exit $ac_status); } && { |
| | | 5461 | + test -z "$ac_c_werror_flag" || |
| | | 5462 | + test ! -s conftest.err |
| | | 5463 | + } && test -s conftest.$ac_objext; then |
| | | 5464 | ac_hi=$ac_mid; break |
| | | 5465 | else |
| | | 5466 | - echo "$as_me: failed program was:" >&5 |
| | | 5467 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 5468 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 5469 | |
| | | 5470 | -ac_lo=`expr $ac_mid + 1` |
| | | 5471 | - if test $ac_lo -le $ac_mid; then |
| | | 5472 | - ac_lo= ac_hi= |
| | | 5473 | - break |
| | | 5474 | - fi |
| | | 5475 | - ac_mid=`expr 2 '*' $ac_mid + 1` |
| | | 5476 | + ac_lo=`expr $ac_mid + 1` |
| | | 5477 | + if test $ac_lo -le $ac_mid; then |
| | | 5478 | + ac_lo= ac_hi= |
| | | 5479 | + break |
| | | 5480 | + fi |
| | | 5481 | + ac_mid=`expr 2 '*' $ac_mid + 1` |
| | | 5482 | fi |
| | | 5483 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 5484 | + |
| | | 5485 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 5486 | done |
| | | 5487 | else |
| | | 5488 | - echo "$as_me: failed program was:" >&5 |
| | | 5489 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 5490 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 5491 | |
| | | 5492 | -cat >conftest.$ac_ext <<_ACEOF |
| | | 5493 | + cat >conftest.$ac_ext <<_ACEOF |
| | | 5494 | /* confdefs.h. */ |
| | | 5495 | _ACEOF |
| | | 5496 | cat confdefs.h >>conftest.$ac_ext |
| | | 5497 | @@ -3964,7 +4493,7 @@ $ac_includes_default |
| | | 5498 | int |
| | | 5499 | main () |
| | | 5500 | { |
| | | 5501 | -static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)]; |
| | | 5502 | +static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)]; |
| | | 5503 | test_array [0] = 0 |
| | | 5504 | |
| | | 5505 | ; |
| | | 5506 | @@ -3972,27 +4501,23 @@ test_array [0] = 0 |
| | | 5507 | } |
| | | 5508 | _ACEOF |
| | | 5509 | rm -f conftest.$ac_objext |
| | | 5510 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 5511 | - (eval $ac_compile) 2>conftest.er1 |
| | | 5512 | +if { (ac_try="$ac_compile" |
| | | 5513 | +case "(($ac_try" in |
| | | 5514 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 5515 | + *) ac_try_echo=$ac_try;; |
| | | 5516 | +esac |
| | | 5517 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 5518 | +$as_echo "$ac_try_echo") >&5 |
| | | 5519 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 5520 | ac_status=$? |
| | | 5521 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 5522 | rm -f conftest.er1 |
| | | 5523 | cat conftest.err >&5 |
| | | 5524 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5525 | - (exit $ac_status); } && |
| | | 5526 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 5527 | - || test ! -s conftest.err' |
| | | 5528 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5529 | - (eval $ac_try) 2>&5 |
| | | 5530 | - ac_status=$? |
| | | 5531 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5532 | - (exit $ac_status); }; } && |
| | | 5533 | - { ac_try='test -s conftest.$ac_objext' |
| | | 5534 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5535 | - (eval $ac_try) 2>&5 |
| | | 5536 | - ac_status=$? |
| | | 5537 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5538 | - (exit $ac_status); }; }; then |
| | | 5539 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5540 | + (exit $ac_status); } && { |
| | | 5541 | + test -z "$ac_c_werror_flag" || |
| | | 5542 | + test ! -s conftest.err |
| | | 5543 | + } && test -s conftest.$ac_objext; then |
| | | 5544 | ac_hi=-1 ac_mid=-1 |
| | | 5545 | while :; do |
| | | 5546 | cat >conftest.$ac_ext <<_ACEOF |
| | | 5547 | @@ -4005,7 +4530,7 @@ $ac_includes_default |
| | | 5548 | int |
| | | 5549 | main () |
| | | 5550 | { |
| | | 5551 | -static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)]; |
| | | 5552 | +static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)]; |
| | | 5553 | test_array [0] = 0 |
| | | 5554 | |
| | | 5555 | ; |
| | | 5556 | @@ -4013,50 +4538,49 @@ test_array [0] = 0 |
| | | 5557 | } |
| | | 5558 | _ACEOF |
| | | 5559 | rm -f conftest.$ac_objext |
| | | 5560 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 5561 | - (eval $ac_compile) 2>conftest.er1 |
| | | 5562 | +if { (ac_try="$ac_compile" |
| | | 5563 | +case "(($ac_try" in |
| | | 5564 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 5565 | + *) ac_try_echo=$ac_try;; |
| | | 5566 | +esac |
| | | 5567 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 5568 | +$as_echo "$ac_try_echo") >&5 |
| | | 5569 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 5570 | ac_status=$? |
| | | 5571 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 5572 | rm -f conftest.er1 |
| | | 5573 | cat conftest.err >&5 |
| | | 5574 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5575 | - (exit $ac_status); } && |
| | | 5576 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 5577 | - || test ! -s conftest.err' |
| | | 5578 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5579 | - (eval $ac_try) 2>&5 |
| | | 5580 | - ac_status=$? |
| | | 5581 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5582 | - (exit $ac_status); }; } && |
| | | 5583 | - { ac_try='test -s conftest.$ac_objext' |
| | | 5584 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5585 | - (eval $ac_try) 2>&5 |
| | | 5586 | - ac_status=$? |
| | | 5587 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5588 | - (exit $ac_status); }; }; then |
| | | 5589 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5590 | + (exit $ac_status); } && { |
| | | 5591 | + test -z "$ac_c_werror_flag" || |
| | | 5592 | + test ! -s conftest.err |
| | | 5593 | + } && test -s conftest.$ac_objext; then |
| | | 5594 | ac_lo=$ac_mid; break |
| | | 5595 | else |
| | | 5596 | - echo "$as_me: failed program was:" >&5 |
| | | 5597 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 5598 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 5599 | |
| | | 5600 | -ac_hi=`expr '(' $ac_mid ')' - 1` |
| | | 5601 | - if test $ac_mid -le $ac_hi; then |
| | | 5602 | - ac_lo= ac_hi= |
| | | 5603 | - break |
| | | 5604 | - fi |
| | | 5605 | - ac_mid=`expr 2 '*' $ac_mid` |
| | | 5606 | + ac_hi=`expr '(' $ac_mid ')' - 1` |
| | | 5607 | + if test $ac_mid -le $ac_hi; then |
| | | 5608 | + ac_lo= ac_hi= |
| | | 5609 | + break |
| | | 5610 | + fi |
| | | 5611 | + ac_mid=`expr 2 '*' $ac_mid` |
| | | 5612 | fi |
| | | 5613 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 5614 | + |
| | | 5615 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 5616 | done |
| | | 5617 | else |
| | | 5618 | - echo "$as_me: failed program was:" >&5 |
| | | 5619 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 5620 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 5621 | |
| | | 5622 | -ac_lo= ac_hi= |
| | | 5623 | + ac_lo= ac_hi= |
| | | 5624 | fi |
| | | 5625 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 5626 | + |
| | | 5627 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 5628 | fi |
| | | 5629 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 5630 | + |
| | | 5631 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 5632 | # Binary search between lo and hi bounds. |
| | | 5633 | while test "x$ac_lo" != "x$ac_hi"; do |
| | | 5634 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
| | | 5635 | @@ -4070,7 +4594,7 @@ $ac_includes_default |
| | | 5636 | int |
| | | 5637 | main () |
| | | 5638 | { |
| | | 5639 | -static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
| | | 5640 | +static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; |
| | | 5641 | test_array [0] = 0 |
| | | 5642 | |
| | | 5643 | ; |
| | | 5644 | @@ -4078,52 +4602,48 @@ test_array [0] = 0 |
| | | 5645 | } |
| | | 5646 | _ACEOF |
| | | 5647 | rm -f conftest.$ac_objext |
| | | 5648 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 5649 | - (eval $ac_compile) 2>conftest.er1 |
| | | 5650 | +if { (ac_try="$ac_compile" |
| | | 5651 | +case "(($ac_try" in |
| | | 5652 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 5653 | + *) ac_try_echo=$ac_try;; |
| | | 5654 | +esac |
| | | 5655 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 5656 | +$as_echo "$ac_try_echo") >&5 |
| | | 5657 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 5658 | ac_status=$? |
| | | 5659 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 5660 | rm -f conftest.er1 |
| | | 5661 | cat conftest.err >&5 |
| | | 5662 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5663 | - (exit $ac_status); } && |
| | | 5664 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 5665 | - || test ! -s conftest.err' |
| | | 5666 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5667 | - (eval $ac_try) 2>&5 |
| | | 5668 | - ac_status=$? |
| | | 5669 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5670 | - (exit $ac_status); }; } && |
| | | 5671 | - { ac_try='test -s conftest.$ac_objext' |
| | | 5672 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5673 | - (eval $ac_try) 2>&5 |
| | | 5674 | - ac_status=$? |
| | | 5675 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5676 | - (exit $ac_status); }; }; then |
| | | 5677 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5678 | + (exit $ac_status); } && { |
| | | 5679 | + test -z "$ac_c_werror_flag" || |
| | | 5680 | + test ! -s conftest.err |
| | | 5681 | + } && test -s conftest.$ac_objext; then |
| | | 5682 | ac_hi=$ac_mid |
| | | 5683 | else |
| | | 5684 | - echo "$as_me: failed program was:" >&5 |
| | | 5685 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 5686 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 5687 | |
| | | 5688 | -ac_lo=`expr '(' $ac_mid ')' + 1` |
| | | 5689 | + ac_lo=`expr '(' $ac_mid ')' + 1` |
| | | 5690 | fi |
| | | 5691 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 5692 | + |
| | | 5693 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 5694 | done |
| | | 5695 | case $ac_lo in |
| | | 5696 | ?*) ac_cv_sizeof_long=$ac_lo;; |
| | | 5697 | -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
| | | 5698 | +'') if test "$ac_cv_type_long" = yes; then |
| | | 5699 | + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| | | 5700 | +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| | | 5701 | +{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) |
| | | 5702 | See \`config.log' for more details." >&5 |
| | | 5703 | -echo "$as_me: error: cannot compute sizeof (long), 77 |
| | | 5704 | +$as_echo "$as_me: error: cannot compute sizeof (long) |
| | | 5705 | See \`config.log' for more details." >&2;} |
| | | 5706 | - { (exit 1); exit 1; }; } ;; |
| | | 5707 | + { (exit 77); exit 77; }; }; } |
| | | 5708 | + else |
| | | 5709 | + ac_cv_sizeof_long=0 |
| | | 5710 | + fi ;; |
| | | 5711 | esac |
| | | 5712 | else |
| | | 5713 | - if test "$cross_compiling" = yes; then |
| | | 5714 | - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
| | | 5715 | -See \`config.log' for more details." >&5 |
| | | 5716 | -echo "$as_me: error: cannot run test program while cross compiling |
| | | 5717 | -See \`config.log' for more details." >&2;} |
| | | 5718 | - { (exit 1); exit 1; }; } |
| | | 5719 | -else |
| | | 5720 | cat >conftest.$ac_ext <<_ACEOF |
| | | 5721 | /* confdefs.h. */ |
| | | 5722 | _ACEOF |
| | | 5723 | @@ -4131,8 +4651,8 @@ cat confdefs.h >>conftest.$ac_ext |
| | | 5724 | cat >>conftest.$ac_ext <<_ACEOF |
| | | 5725 | /* end confdefs.h. */ |
| | | 5726 | $ac_includes_default |
| | | 5727 | -long longval () { return (long) (sizeof (long)); } |
| | | 5728 | -unsigned long ulongval () { return (long) (sizeof (long)); } |
| | | 5729 | +static long int longval () { return (long int) (sizeof (long)); } |
| | | 5730 | +static unsigned long int ulongval () { return (long int) (sizeof (long)); } |
| | | 5731 | #include <stdio.h> |
| | | 5732 | #include <stdlib.h> |
| | | 5733 | int |
| | | 5734 | @@ -4141,133 +4661,94 @@ main () |
| | | 5735 | |
| | | 5736 | FILE *f = fopen ("conftest.val", "w"); |
| | | 5737 | if (! f) |
| | | 5738 | - exit (1); |
| | | 5739 | - if (((long) (sizeof (long))) < 0) |
| | | 5740 | + return 1; |
| | | 5741 | + if (((long int) (sizeof (long))) < 0) |
| | | 5742 | { |
| | | 5743 | - long i = longval (); |
| | | 5744 | - if (i != ((long) (sizeof (long)))) |
| | | 5745 | - exit (1); |
| | | 5746 | - fprintf (f, "%ld\n", i); |
| | | 5747 | + long int i = longval (); |
| | | 5748 | + if (i != ((long int) (sizeof (long)))) |
| | | 5749 | + return 1; |
| | | 5750 | + fprintf (f, "%ld", i); |
| | | 5751 | } |
| | | 5752 | else |
| | | 5753 | { |
| | | 5754 | - unsigned long i = ulongval (); |
| | | 5755 | - if (i != ((long) (sizeof (long)))) |
| | | 5756 | - exit (1); |
| | | 5757 | - fprintf (f, "%lu\n", i); |
| | | 5758 | + unsigned long int i = ulongval (); |
| | | 5759 | + if (i != ((long int) (sizeof (long)))) |
| | | 5760 | + return 1; |
| | | 5761 | + fprintf (f, "%lu", i); |
| | | 5762 | } |
| | | 5763 | - exit (ferror (f) || fclose (f) != 0); |
| | | 5764 | + /* Do not output a trailing newline, as this causes \r\n confusion |
| | | 5765 | + on some platforms. */ |
| | | 5766 | + return ferror (f) || fclose (f) != 0; |
| | | 5767 | |
| | | 5768 | ; |
| | | 5769 | return 0; |
| | | 5770 | } |
| | | 5771 | _ACEOF |
| | | 5772 | rm -f conftest$ac_exeext |
| | | 5773 | -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| | | 5774 | - (eval $ac_link) 2>&5 |
| | | 5775 | +if { (ac_try="$ac_link" |
| | | 5776 | +case "(($ac_try" in |
| | | 5777 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 5778 | + *) ac_try_echo=$ac_try;; |
| | | 5779 | +esac |
| | | 5780 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 5781 | +$as_echo "$ac_try_echo") >&5 |
| | | 5782 | + (eval "$ac_link") 2>&5 |
| | | 5783 | ac_status=$? |
| | | 5784 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5785 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5786 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| | | 5787 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5788 | - (eval $ac_try) 2>&5 |
| | | 5789 | + { (case "(($ac_try" in |
| | | 5790 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 5791 | + *) ac_try_echo=$ac_try;; |
| | | 5792 | +esac |
| | | 5793 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 5794 | +$as_echo "$ac_try_echo") >&5 |
| | | 5795 | + (eval "$ac_try") 2>&5 |
| | | 5796 | ac_status=$? |
| | | 5797 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5798 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5799 | (exit $ac_status); }; }; then |
| | | 5800 | ac_cv_sizeof_long=`cat conftest.val` |
| | | 5801 | else |
| | | 5802 | - echo "$as_me: program exited with status $ac_status" >&5 |
| | | 5803 | -echo "$as_me: failed program was:" >&5 |
| | | 5804 | + $as_echo "$as_me: program exited with status $ac_status" >&5 |
| | | 5805 | +$as_echo "$as_me: failed program was:" >&5 |
| | | 5806 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 5807 | |
| | | 5808 | ( exit $ac_status ) |
| | | 5809 | -{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 |
| | | 5810 | +if test "$ac_cv_type_long" = yes; then |
| | | 5811 | + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| | | 5812 | +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| | | 5813 | +{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) |
| | | 5814 | See \`config.log' for more details." >&5 |
| | | 5815 | -echo "$as_me: error: cannot compute sizeof (long), 77 |
| | | 5816 | +$as_echo "$as_me: error: cannot compute sizeof (long) |
| | | 5817 | See \`config.log' for more details." >&2;} |
| | | 5818 | - { (exit 1); exit 1; }; } |
| | | 5819 | -fi |
| | | 5820 | -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| | | 5821 | + { (exit 77); exit 77; }; }; } |
| | | 5822 | + else |
| | | 5823 | + ac_cv_sizeof_long=0 |
| | | 5824 | + fi |
| | | 5825 | fi |
| | | 5826 | +rm -rf conftest.dSYM |
| | | 5827 | +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| | | 5828 | fi |
| | | 5829 | rm -f conftest.val |
| | | 5830 | -else |
| | | 5831 | - ac_cv_sizeof_long=0 |
| | | 5832 | -fi |
| | | 5833 | fi |
| | | 5834 | -echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 |
| | | 5835 | -echo "${ECHO_T}$ac_cv_sizeof_long" >&6 |
| | | 5836 | -cat >>confdefs.h <<_ACEOF |
| | | 5837 | -#define SIZEOF_LONG $ac_cv_sizeof_long |
| | | 5838 | -_ACEOF |
| | | 5839 | +{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 |
| | | 5840 | +$as_echo "$ac_cv_sizeof_long" >&6; } |
| | | 5841 | |
| | | 5842 | |
| | | 5843 | -echo "$as_me:$LINENO: checking for long long" >&5 |
| | | 5844 | -echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
| | | 5845 | -if test "${ac_cv_type_long_long+set}" = set; then |
| | | 5846 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 5847 | -else |
| | | 5848 | - cat >conftest.$ac_ext <<_ACEOF |
| | | 5849 | -/* confdefs.h. */ |
| | | 5850 | -_ACEOF |
| | | 5851 | -cat confdefs.h >>conftest.$ac_ext |
| | | 5852 | -cat >>conftest.$ac_ext <<_ACEOF |
| | | 5853 | -/* end confdefs.h. */ |
| | | 5854 | -$ac_includes_default |
| | | 5855 | -int |
| | | 5856 | -main () |
| | | 5857 | -{ |
| | | 5858 | -if ((long long *) 0) |
| | | 5859 | - return 0; |
| | | 5860 | -if (sizeof (long long)) |
| | | 5861 | - return 0; |
| | | 5862 | - ; |
| | | 5863 | - return 0; |
| | | 5864 | -} |
| | | 5865 | + |
| | | 5866 | +cat >>confdefs.h <<_ACEOF |
| | | 5867 | +#define SIZEOF_LONG $ac_cv_sizeof_long |
| | | 5868 | _ACEOF |
| | | 5869 | -rm -f conftest.$ac_objext |
| | | 5870 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 5871 | - (eval $ac_compile) 2>conftest.er1 |
| | | 5872 | - ac_status=$? |
| | | 5873 | - grep -v '^ *+' conftest.er1 >conftest.err |
| | | 5874 | - rm -f conftest.er1 |
| | | 5875 | - cat conftest.err >&5 |
| | | 5876 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5877 | - (exit $ac_status); } && |
| | | 5878 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 5879 | - || test ! -s conftest.err' |
| | | 5880 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5881 | - (eval $ac_try) 2>&5 |
| | | 5882 | - ac_status=$? |
| | | 5883 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5884 | - (exit $ac_status); }; } && |
| | | 5885 | - { ac_try='test -s conftest.$ac_objext' |
| | | 5886 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5887 | - (eval $ac_try) 2>&5 |
| | | 5888 | - ac_status=$? |
| | | 5889 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5890 | - (exit $ac_status); }; }; then |
| | | 5891 | - ac_cv_type_long_long=yes |
| | | 5892 | -else |
| | | 5893 | - echo "$as_me: failed program was:" >&5 |
| | | 5894 | -sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 5895 | |
| | | 5896 | -ac_cv_type_long_long=no |
| | | 5897 | -fi |
| | | 5898 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 5899 | -fi |
| | | 5900 | -echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 |
| | | 5901 | -echo "${ECHO_T}$ac_cv_type_long_long" >&6 |
| | | 5902 | |
| | | 5903 | -echo "$as_me:$LINENO: checking size of long long" >&5 |
| | | 5904 | -echo $ECHO_N "checking size of long long... $ECHO_C" >&6 |
| | | 5905 | +# The cast to long int works around a bug in the HP C Compiler |
| | | 5906 | +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| | | 5907 | +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| | | 5908 | +# This bug is HP SR number 8606223364. |
| | | 5909 | +{ $as_echo "$as_me:$LINENO: checking size of long long" >&5 |
| | | 5910 | +$as_echo_n "checking size of long long... " >&6; } |
| | | 5911 | if test "${ac_cv_sizeof_long_long+set}" = set; then |
| | | 5912 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 5913 | + $as_echo_n "(cached) " >&6 |
| | | 5914 | else |
| | | 5915 | - if test "$ac_cv_type_long_long" = yes; then |
| | | 5916 | - # The cast to unsigned long works around a bug in the HP C Compiler |
| | | 5917 | - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
| | | 5918 | - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
| | | 5919 | - # This bug is HP SR number 8606223364. |
| | | 5920 | if test "$cross_compiling" = yes; then |
| | | 5921 | # Depending upon the size, compute the lo and hi bounds. |
| | | 5922 | cat >conftest.$ac_ext <<_ACEOF |
| | | 5923 | @@ -4280,7 +4761,7 @@ $ac_includes_default |
| | | 5924 | int |
| | | 5925 | main () |
| | | 5926 | { |
| | | 5927 | -static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)]; |
| | | 5928 | +static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)]; |
| | | 5929 | test_array [0] = 0 |
| | | 5930 | |
| | | 5931 | ; |
| | | 5932 | @@ -4288,27 +4769,23 @@ test_array [0] = 0 |
| | | 5933 | } |
| | | 5934 | _ACEOF |
| | | 5935 | rm -f conftest.$ac_objext |
| | | 5936 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 5937 | - (eval $ac_compile) 2>conftest.er1 |
| | | 5938 | +if { (ac_try="$ac_compile" |
| | | 5939 | +case "(($ac_try" in |
| | | 5940 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 5941 | + *) ac_try_echo=$ac_try;; |
| | | 5942 | +esac |
| | | 5943 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 5944 | +$as_echo "$ac_try_echo") >&5 |
| | | 5945 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 5946 | ac_status=$? |
| | | 5947 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 5948 | rm -f conftest.er1 |
| | | 5949 | cat conftest.err >&5 |
| | | 5950 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5951 | - (exit $ac_status); } && |
| | | 5952 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 5953 | - || test ! -s conftest.err' |
| | | 5954 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5955 | - (eval $ac_try) 2>&5 |
| | | 5956 | - ac_status=$? |
| | | 5957 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5958 | - (exit $ac_status); }; } && |
| | | 5959 | - { ac_try='test -s conftest.$ac_objext' |
| | | 5960 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 5961 | - (eval $ac_try) 2>&5 |
| | | 5962 | - ac_status=$? |
| | | 5963 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5964 | - (exit $ac_status); }; }; then |
| | | 5965 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 5966 | + (exit $ac_status); } && { |
| | | 5967 | + test -z "$ac_c_werror_flag" || |
| | | 5968 | + test ! -s conftest.err |
| | | 5969 | + } && test -s conftest.$ac_objext; then |
| | | 5970 | ac_lo=0 ac_mid=0 |
| | | 5971 | while :; do |
| | | 5972 | cat >conftest.$ac_ext <<_ACEOF |
| | | 5973 | @@ -4321,7 +4798,7 @@ $ac_includes_default |
| | | 5974 | int |
| | | 5975 | main () |
| | | 5976 | { |
| | | 5977 | -static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; |
| | | 5978 | +static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; |
| | | 5979 | test_array [0] = 0 |
| | | 5980 | |
| | | 5981 | ; |
| | | 5982 | @@ -4329,46 +4806,43 @@ test_array [0] = 0 |
| | | 5983 | } |
| | | 5984 | _ACEOF |
| | | 5985 | rm -f conftest.$ac_objext |
| | | 5986 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 5987 | - (eval $ac_compile) 2>conftest.er1 |
| | | 5988 | +if { (ac_try="$ac_compile" |
| | | 5989 | +case "(($ac_try" in |
| | | 5990 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 5991 | + *) ac_try_echo=$ac_try;; |
| | | 5992 | +esac |
| | | 5993 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 5994 | +$as_echo "$ac_try_echo") >&5 |
| | | 5995 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 5996 | ac_status=$? |
| | | 5997 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 5998 | rm -f conftest.er1 |
| | | 5999 | cat conftest.err >&5 |
| | | 6000 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6001 | - (exit $ac_status); } && |
| | | 6002 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 6003 | - || test ! -s conftest.err' |
| | | 6004 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 6005 | - (eval $ac_try) 2>&5 |
| | | 6006 | - ac_status=$? |
| | | 6007 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6008 | - (exit $ac_status); }; } && |
| | | 6009 | - { ac_try='test -s conftest.$ac_objext' |
| | | 6010 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 6011 | - (eval $ac_try) 2>&5 |
| | | 6012 | - ac_status=$? |
| | | 6013 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6014 | - (exit $ac_status); }; }; then |
| | | 6015 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6016 | + (exit $ac_status); } && { |
| | | 6017 | + test -z "$ac_c_werror_flag" || |
| | | 6018 | + test ! -s conftest.err |
| | | 6019 | + } && test -s conftest.$ac_objext; then |
| | | 6020 | ac_hi=$ac_mid; break |
| | | 6021 | else |
| | | 6022 | - echo "$as_me: failed program was:" >&5 |
| | | 6023 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 6024 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 6025 | |
| | | 6026 | -ac_lo=`expr $ac_mid + 1` |
| | | 6027 | - if test $ac_lo -le $ac_mid; then |
| | | 6028 | - ac_lo= ac_hi= |
| | | 6029 | - break |
| | | 6030 | - fi |
| | | 6031 | - ac_mid=`expr 2 '*' $ac_mid + 1` |
| | | 6032 | + ac_lo=`expr $ac_mid + 1` |
| | | 6033 | + if test $ac_lo -le $ac_mid; then |
| | | 6034 | + ac_lo= ac_hi= |
| | | 6035 | + break |
| | | 6036 | + fi |
| | | 6037 | + ac_mid=`expr 2 '*' $ac_mid + 1` |
| | | 6038 | fi |
| | | 6039 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 6040 | + |
| | | 6041 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 6042 | done |
| | | 6043 | else |
| | | 6044 | - echo "$as_me: failed program was:" >&5 |
| | | 6045 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 6046 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 6047 | |
| | | 6048 | -cat >conftest.$ac_ext <<_ACEOF |
| | | 6049 | + cat >conftest.$ac_ext <<_ACEOF |
| | | 6050 | /* confdefs.h. */ |
| | | 6051 | _ACEOF |
| | | 6052 | cat confdefs.h >>conftest.$ac_ext |
| | | 6053 | @@ -4378,7 +4852,7 @@ $ac_includes_default |
| | | 6054 | int |
| | | 6055 | main () |
| | | 6056 | { |
| | | 6057 | -static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)]; |
| | | 6058 | +static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)]; |
| | | 6059 | test_array [0] = 0 |
| | | 6060 | |
| | | 6061 | ; |
| | | 6062 | @@ -4386,27 +4860,23 @@ test_array [0] = 0 |
| | | 6063 | } |
| | | 6064 | _ACEOF |
| | | 6065 | rm -f conftest.$ac_objext |
| | | 6066 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 6067 | - (eval $ac_compile) 2>conftest.er1 |
| | | 6068 | +if { (ac_try="$ac_compile" |
| | | 6069 | +case "(($ac_try" in |
| | | 6070 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 6071 | + *) ac_try_echo=$ac_try;; |
| | | 6072 | +esac |
| | | 6073 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 6074 | +$as_echo "$ac_try_echo") >&5 |
| | | 6075 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 6076 | ac_status=$? |
| | | 6077 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 6078 | rm -f conftest.er1 |
| | | 6079 | cat conftest.err >&5 |
| | | 6080 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6081 | - (exit $ac_status); } && |
| | | 6082 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 6083 | - || test ! -s conftest.err' |
| | | 6084 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 6085 | - (eval $ac_try) 2>&5 |
| | | 6086 | - ac_status=$? |
| | | 6087 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6088 | - (exit $ac_status); }; } && |
| | | 6089 | - { ac_try='test -s conftest.$ac_objext' |
| | | 6090 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 6091 | - (eval $ac_try) 2>&5 |
| | | 6092 | - ac_status=$? |
| | | 6093 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6094 | - (exit $ac_status); }; }; then |
| | | 6095 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6096 | + (exit $ac_status); } && { |
| | | 6097 | + test -z "$ac_c_werror_flag" || |
| | | 6098 | + test ! -s conftest.err |
| | | 6099 | + } && test -s conftest.$ac_objext; then |
| | | 6100 | ac_hi=-1 ac_mid=-1 |
| | | 6101 | while :; do |
| | | 6102 | cat >conftest.$ac_ext <<_ACEOF |
| | | 6103 | @@ -4419,7 +4889,7 @@ $ac_includes_default |
| | | 6104 | int |
| | | 6105 | main () |
| | | 6106 | { |
| | | 6107 | -static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)]; |
| | | 6108 | +static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)]; |
| | | 6109 | test_array [0] = 0 |
| | | 6110 | |
| | | 6111 | ; |
| | | 6112 | @@ -4427,50 +4897,49 @@ test_array [0] = 0 |
| | | 6113 | } |
| | | 6114 | _ACEOF |
| | | 6115 | rm -f conftest.$ac_objext |
| | | 6116 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 6117 | - (eval $ac_compile) 2>conftest.er1 |
| | | 6118 | +if { (ac_try="$ac_compile" |
| | | 6119 | +case "(($ac_try" in |
| | | 6120 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 6121 | + *) ac_try_echo=$ac_try;; |
| | | 6122 | +esac |
| | | 6123 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 6124 | +$as_echo "$ac_try_echo") >&5 |
| | | 6125 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 6126 | ac_status=$? |
| | | 6127 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 6128 | rm -f conftest.er1 |
| | | 6129 | cat conftest.err >&5 |
| | | 6130 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6131 | - (exit $ac_status); } && |
| | | 6132 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 6133 | - || test ! -s conftest.err' |
| | | 6134 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 6135 | - (eval $ac_try) 2>&5 |
| | | 6136 | - ac_status=$? |
| | | 6137 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6138 | - (exit $ac_status); }; } && |
| | | 6139 | - { ac_try='test -s conftest.$ac_objext' |
| | | 6140 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 6141 | - (eval $ac_try) 2>&5 |
| | | 6142 | - ac_status=$? |
| | | 6143 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6144 | - (exit $ac_status); }; }; then |
| | | 6145 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6146 | + (exit $ac_status); } && { |
| | | 6147 | + test -z "$ac_c_werror_flag" || |
| | | 6148 | + test ! -s conftest.err |
| | | 6149 | + } && test -s conftest.$ac_objext; then |
| | | 6150 | ac_lo=$ac_mid; break |
| | | 6151 | else |
| | | 6152 | - echo "$as_me: failed program was:" >&5 |
| | | 6153 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 6154 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 6155 | |
| | | 6156 | -ac_hi=`expr '(' $ac_mid ')' - 1` |
| | | 6157 | - if test $ac_mid -le $ac_hi; then |
| | | 6158 | - ac_lo= ac_hi= |
| | | 6159 | - break |
| | | 6160 | - fi |
| | | 6161 | - ac_mid=`expr 2 '*' $ac_mid` |
| | | 6162 | + ac_hi=`expr '(' $ac_mid ')' - 1` |
| | | 6163 | + if test $ac_mid -le $ac_hi; then |
| | | 6164 | + ac_lo= ac_hi= |
| | | 6165 | + break |
| | | 6166 | + fi |
| | | 6167 | + ac_mid=`expr 2 '*' $ac_mid` |
| | | 6168 | fi |
| | | 6169 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 6170 | + |
| | | 6171 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 6172 | done |
| | | 6173 | else |
| | | 6174 | - echo "$as_me: failed program was:" >&5 |
| | | 6175 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 6176 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 6177 | |
| | | 6178 | -ac_lo= ac_hi= |
| | | 6179 | + ac_lo= ac_hi= |
| | | 6180 | fi |
| | | 6181 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 6182 | + |
| | | 6183 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 6184 | fi |
| | | 6185 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 6186 | + |
| | | 6187 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 6188 | # Binary search between lo and hi bounds. |
| | | 6189 | while test "x$ac_lo" != "x$ac_hi"; do |
| | | 6190 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
| | | 6191 | @@ -4484,7 +4953,7 @@ $ac_includes_default |
| | | 6192 | int |
| | | 6193 | main () |
| | | 6194 | { |
| | | 6195 | -static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; |
| | | 6196 | +static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)]; |
| | | 6197 | test_array [0] = 0 |
| | | 6198 | |
| | | 6199 | ; |
| | | 6200 | @@ -4492,52 +4961,48 @@ test_array [0] = 0 |
| | | 6201 | } |
| | | 6202 | _ACEOF |
| | | 6203 | rm -f conftest.$ac_objext |
| | | 6204 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 6205 | - (eval $ac_compile) 2>conftest.er1 |
| | | 6206 | +if { (ac_try="$ac_compile" |
| | | 6207 | +case "(($ac_try" in |
| | | 6208 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 6209 | + *) ac_try_echo=$ac_try;; |
| | | 6210 | +esac |
| | | 6211 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 6212 | +$as_echo "$ac_try_echo") >&5 |
| | | 6213 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 6214 | ac_status=$? |
| | | 6215 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 6216 | rm -f conftest.er1 |
| | | 6217 | cat conftest.err >&5 |
| | | 6218 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6219 | - (exit $ac_status); } && |
| | | 6220 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 6221 | - || test ! -s conftest.err' |
| | | 6222 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 6223 | - (eval $ac_try) 2>&5 |
| | | 6224 | - ac_status=$? |
| | | 6225 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6226 | - (exit $ac_status); }; } && |
| | | 6227 | - { ac_try='test -s conftest.$ac_objext' |
| | | 6228 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 6229 | - (eval $ac_try) 2>&5 |
| | | 6230 | - ac_status=$? |
| | | 6231 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6232 | - (exit $ac_status); }; }; then |
| | | 6233 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6234 | + (exit $ac_status); } && { |
| | | 6235 | + test -z "$ac_c_werror_flag" || |
| | | 6236 | + test ! -s conftest.err |
| | | 6237 | + } && test -s conftest.$ac_objext; then |
| | | 6238 | ac_hi=$ac_mid |
| | | 6239 | else |
| | | 6240 | - echo "$as_me: failed program was:" >&5 |
| | | 6241 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 6242 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 6243 | |
| | | 6244 | -ac_lo=`expr '(' $ac_mid ')' + 1` |
| | | 6245 | + ac_lo=`expr '(' $ac_mid ')' + 1` |
| | | 6246 | fi |
| | | 6247 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 6248 | + |
| | | 6249 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 6250 | done |
| | | 6251 | case $ac_lo in |
| | | 6252 | ?*) ac_cv_sizeof_long_long=$ac_lo;; |
| | | 6253 | -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77 |
| | | 6254 | +'') if test "$ac_cv_type_long_long" = yes; then |
| | | 6255 | + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| | | 6256 | +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| | | 6257 | +{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) |
| | | 6258 | See \`config.log' for more details." >&5 |
| | | 6259 | -echo "$as_me: error: cannot compute sizeof (long long), 77 |
| | | 6260 | +$as_echo "$as_me: error: cannot compute sizeof (long long) |
| | | 6261 | See \`config.log' for more details." >&2;} |
| | | 6262 | - { (exit 1); exit 1; }; } ;; |
| | | 6263 | + { (exit 77); exit 77; }; }; } |
| | | 6264 | + else |
| | | 6265 | + ac_cv_sizeof_long_long=0 |
| | | 6266 | + fi ;; |
| | | 6267 | esac |
| | | 6268 | else |
| | | 6269 | - if test "$cross_compiling" = yes; then |
| | | 6270 | - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
| | | 6271 | -See \`config.log' for more details." >&5 |
| | | 6272 | -echo "$as_me: error: cannot run test program while cross compiling |
| | | 6273 | -See \`config.log' for more details." >&2;} |
| | | 6274 | - { (exit 1); exit 1; }; } |
| | | 6275 | -else |
| | | 6276 | cat >conftest.$ac_ext <<_ACEOF |
| | | 6277 | /* confdefs.h. */ |
| | | 6278 | _ACEOF |
| | | 6279 | @@ -4545,8 +5010,8 @@ cat confdefs.h >>conftest.$ac_ext |
| | | 6280 | cat >>conftest.$ac_ext <<_ACEOF |
| | | 6281 | /* end confdefs.h. */ |
| | | 6282 | $ac_includes_default |
| | | 6283 | -long longval () { return (long) (sizeof (long long)); } |
| | | 6284 | -unsigned long ulongval () { return (long) (sizeof (long long)); } |
| | | 6285 | +static long int longval () { return (long int) (sizeof (long long)); } |
| | | 6286 | +static unsigned long int ulongval () { return (long int) (sizeof (long long)); } |
| | | 6287 | #include <stdio.h> |
| | | 6288 | #include <stdlib.h> |
| | | 6289 | int |
| | | 6290 | @@ -4555,61 +5020,80 @@ main () |
| | | 6291 | |
| | | 6292 | FILE *f = fopen ("conftest.val", "w"); |
| | | 6293 | if (! f) |
| | | 6294 | - exit (1); |
| | | 6295 | - if (((long) (sizeof (long long))) < 0) |
| | | 6296 | + return 1; |
| | | 6297 | + if (((long int) (sizeof (long long))) < 0) |
| | | 6298 | { |
| | | 6299 | - long i = longval (); |
| | | 6300 | - if (i != ((long) (sizeof (long long)))) |
| | | 6301 | - exit (1); |
| | | 6302 | - fprintf (f, "%ld\n", i); |
| | | 6303 | + long int i = longval (); |
| | | 6304 | + if (i != ((long int) (sizeof (long long)))) |
| | | 6305 | + return 1; |
| | | 6306 | + fprintf (f, "%ld", i); |
| | | 6307 | } |
| | | 6308 | else |
| | | 6309 | { |
| | | 6310 | - unsigned long i = ulongval (); |
| | | 6311 | - if (i != ((long) (sizeof (long long)))) |
| | | 6312 | - exit (1); |
| | | 6313 | - fprintf (f, "%lu\n", i); |
| | | 6314 | + unsigned long int i = ulongval (); |
| | | 6315 | + if (i != ((long int) (sizeof (long long)))) |
| | | 6316 | + return 1; |
| | | 6317 | + fprintf (f, "%lu", i); |
| | | 6318 | } |
| | | 6319 | - exit (ferror (f) || fclose (f) != 0); |
| | | 6320 | + /* Do not output a trailing newline, as this causes \r\n confusion |
| | | 6321 | + on some platforms. */ |
| | | 6322 | + return ferror (f) || fclose (f) != 0; |
| | | 6323 | |
| | | 6324 | ; |
| | | 6325 | return 0; |
| | | 6326 | } |
| | | 6327 | _ACEOF |
| | | 6328 | rm -f conftest$ac_exeext |
| | | 6329 | -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| | | 6330 | - (eval $ac_link) 2>&5 |
| | | 6331 | +if { (ac_try="$ac_link" |
| | | 6332 | +case "(($ac_try" in |
| | | 6333 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 6334 | + *) ac_try_echo=$ac_try;; |
| | | 6335 | +esac |
| | | 6336 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 6337 | +$as_echo "$ac_try_echo") >&5 |
| | | 6338 | + (eval "$ac_link") 2>&5 |
| | | 6339 | ac_status=$? |
| | | 6340 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6341 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6342 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| | | 6343 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 6344 | - (eval $ac_try) 2>&5 |
| | | 6345 | + { (case "(($ac_try" in |
| | | 6346 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 6347 | + *) ac_try_echo=$ac_try;; |
| | | 6348 | +esac |
| | | 6349 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 6350 | +$as_echo "$ac_try_echo") >&5 |
| | | 6351 | + (eval "$ac_try") 2>&5 |
| | | 6352 | ac_status=$? |
| | | 6353 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6354 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6355 | (exit $ac_status); }; }; then |
| | | 6356 | ac_cv_sizeof_long_long=`cat conftest.val` |
| | | 6357 | else |
| | | 6358 | - echo "$as_me: program exited with status $ac_status" >&5 |
| | | 6359 | -echo "$as_me: failed program was:" >&5 |
| | | 6360 | + $as_echo "$as_me: program exited with status $ac_status" >&5 |
| | | 6361 | +$as_echo "$as_me: failed program was:" >&5 |
| | | 6362 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 6363 | |
| | | 6364 | ( exit $ac_status ) |
| | | 6365 | -{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77 |
| | | 6366 | +if test "$ac_cv_type_long_long" = yes; then |
| | | 6367 | + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| | | 6368 | +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| | | 6369 | +{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long) |
| | | 6370 | See \`config.log' for more details." >&5 |
| | | 6371 | -echo "$as_me: error: cannot compute sizeof (long long), 77 |
| | | 6372 | +$as_echo "$as_me: error: cannot compute sizeof (long long) |
| | | 6373 | See \`config.log' for more details." >&2;} |
| | | 6374 | - { (exit 1); exit 1; }; } |
| | | 6375 | -fi |
| | | 6376 | -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| | | 6377 | + { (exit 77); exit 77; }; }; } |
| | | 6378 | + else |
| | | 6379 | + ac_cv_sizeof_long_long=0 |
| | | 6380 | + fi |
| | | 6381 | fi |
| | | 6382 | +rm -rf conftest.dSYM |
| | | 6383 | +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| | | 6384 | fi |
| | | 6385 | rm -f conftest.val |
| | | 6386 | -else |
| | | 6387 | - ac_cv_sizeof_long_long=0 |
| | | 6388 | -fi |
| | | 6389 | fi |
| | | 6390 | -echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 |
| | | 6391 | -echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6 |
| | | 6392 | +{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 |
| | | 6393 | +$as_echo "$ac_cv_sizeof_long_long" >&6; } |
| | | 6394 | + |
| | | 6395 | + |
| | | 6396 | + |
| | | 6397 | cat >>confdefs.h <<_ACEOF |
| | | 6398 | #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
| | | 6399 | _ACEOF |
| | | 6400 | @@ -4627,12 +5111,13 @@ case 4 in |
| | | 6401 | $ac_cv_sizeof_long) SIZE32="long";; |
| | | 6402 | esac |
| | | 6403 | |
| | | 6404 | -echo "$as_me:$LINENO: checking for int16_t" >&5 |
| | | 6405 | -echo $ECHO_N "checking for int16_t... $ECHO_C" >&6 |
| | | 6406 | +{ $as_echo "$as_me:$LINENO: checking for int16_t" >&5 |
| | | 6407 | +$as_echo_n "checking for int16_t... " >&6; } |
| | | 6408 | if test "${ac_cv_type_int16_t+set}" = set; then |
| | | 6409 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 6410 | + $as_echo_n "(cached) " >&6 |
| | | 6411 | else |
| | | 6412 | - cat >conftest.$ac_ext <<_ACEOF |
| | | 6413 | + ac_cv_type_int16_t=no |
| | | 6414 | +cat >conftest.$ac_ext <<_ACEOF |
| | | 6415 | /* confdefs.h. */ |
| | | 6416 | _ACEOF |
| | | 6417 | cat confdefs.h >>conftest.$ac_ext |
| | | 6418 | @@ -4642,57 +5127,95 @@ $ac_includes_default |
| | | 6419 | int |
| | | 6420 | main () |
| | | 6421 | { |
| | | 6422 | -if ((int16_t *) 0) |
| | | 6423 | - return 0; |
| | | 6424 | if (sizeof (int16_t)) |
| | | 6425 | - return 0; |
| | | 6426 | + return 0; |
| | | 6427 | ; |
| | | 6428 | return 0; |
| | | 6429 | } |
| | | 6430 | _ACEOF |
| | | 6431 | rm -f conftest.$ac_objext |
| | | 6432 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 6433 | - (eval $ac_compile) 2>conftest.er1 |
| | | 6434 | +if { (ac_try="$ac_compile" |
| | | 6435 | +case "(($ac_try" in |
| | | 6436 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 6437 | + *) ac_try_echo=$ac_try;; |
| | | 6438 | +esac |
| | | 6439 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 6440 | +$as_echo "$ac_try_echo") >&5 |
| | | 6441 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 6442 | ac_status=$? |
| | | 6443 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 6444 | rm -f conftest.er1 |
| | | 6445 | cat conftest.err >&5 |
| | | 6446 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6447 | - (exit $ac_status); } && |
| | | 6448 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 6449 | - || test ! -s conftest.err' |
| | | 6450 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 6451 | - (eval $ac_try) 2>&5 |
| | | 6452 | - ac_status=$? |
| | | 6453 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6454 | - (exit $ac_status); }; } && |
| | | 6455 | - { ac_try='test -s conftest.$ac_objext' |
| | | 6456 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 6457 | - (eval $ac_try) 2>&5 |
| | | 6458 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6459 | + (exit $ac_status); } && { |
| | | 6460 | + test -z "$ac_c_werror_flag" || |
| | | 6461 | + test ! -s conftest.err |
| | | 6462 | + } && test -s conftest.$ac_objext; then |
| | | 6463 | + cat >conftest.$ac_ext <<_ACEOF |
| | | 6464 | +/* confdefs.h. */ |
| | | 6465 | +_ACEOF |
| | | 6466 | +cat confdefs.h >>conftest.$ac_ext |
| | | 6467 | +cat >>conftest.$ac_ext <<_ACEOF |
| | | 6468 | +/* end confdefs.h. */ |
| | | 6469 | +$ac_includes_default |
| | | 6470 | +int |
| | | 6471 | +main () |
| | | 6472 | +{ |
| | | 6473 | +if (sizeof ((int16_t))) |
| | | 6474 | + return 0; |
| | | 6475 | + ; |
| | | 6476 | + return 0; |
| | | 6477 | +} |
| | | 6478 | +_ACEOF |
| | | 6479 | +rm -f conftest.$ac_objext |
| | | 6480 | +if { (ac_try="$ac_compile" |
| | | 6481 | +case "(($ac_try" in |
| | | 6482 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 6483 | + *) ac_try_echo=$ac_try;; |
| | | 6484 | +esac |
| | | 6485 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 6486 | +$as_echo "$ac_try_echo") >&5 |
| | | 6487 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 6488 | ac_status=$? |
| | | 6489 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6490 | - (exit $ac_status); }; }; then |
| | | 6491 | - ac_cv_type_int16_t=yes |
| | | 6492 | + grep -v '^ *+' conftest.er1 >conftest.err |
| | | 6493 | + rm -f conftest.er1 |
| | | 6494 | + cat conftest.err >&5 |
| | | 6495 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6496 | + (exit $ac_status); } && { |
| | | 6497 | + test -z "$ac_c_werror_flag" || |
| | | 6498 | + test ! -s conftest.err |
| | | 6499 | + } && test -s conftest.$ac_objext; then |
| | | 6500 | + : |
| | | 6501 | +else |
| | | 6502 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 6503 | +sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 6504 | + |
| | | 6505 | + ac_cv_type_int16_t=yes |
| | | 6506 | +fi |
| | | 6507 | + |
| | | 6508 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 6509 | else |
| | | 6510 | - echo "$as_me: failed program was:" >&5 |
| | | 6511 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 6512 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 6513 | |
| | | 6514 | -ac_cv_type_int16_t=no |
| | | 6515 | + |
| | | 6516 | fi |
| | | 6517 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 6518 | + |
| | | 6519 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 6520 | fi |
| | | 6521 | -echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5 |
| | | 6522 | -echo "${ECHO_T}$ac_cv_type_int16_t" >&6 |
| | | 6523 | -if test $ac_cv_type_int16_t = yes; then |
| | | 6524 | +{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5 |
| | | 6525 | +$as_echo "$ac_cv_type_int16_t" >&6; } |
| | | 6526 | +if test "x$ac_cv_type_int16_t" = x""yes; then |
| | | 6527 | SIZE16="int16_t" |
| | | 6528 | fi |
| | | 6529 | |
| | | 6530 | -echo "$as_me:$LINENO: checking for int32_t" >&5 |
| | | 6531 | -echo $ECHO_N "checking for int32_t... $ECHO_C" >&6 |
| | | 6532 | +{ $as_echo "$as_me:$LINENO: checking for int32_t" >&5 |
| | | 6533 | +$as_echo_n "checking for int32_t... " >&6; } |
| | | 6534 | if test "${ac_cv_type_int32_t+set}" = set; then |
| | | 6535 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 6536 | + $as_echo_n "(cached) " >&6 |
| | | 6537 | else |
| | | 6538 | - cat >conftest.$ac_ext <<_ACEOF |
| | | 6539 | + ac_cv_type_int32_t=no |
| | | 6540 | +cat >conftest.$ac_ext <<_ACEOF |
| | | 6541 | /* confdefs.h. */ |
| | | 6542 | _ACEOF |
| | | 6543 | cat confdefs.h >>conftest.$ac_ext |
| | | 6544 | @@ -4702,79 +5225,118 @@ $ac_includes_default |
| | | 6545 | int |
| | | 6546 | main () |
| | | 6547 | { |
| | | 6548 | -if ((int32_t *) 0) |
| | | 6549 | - return 0; |
| | | 6550 | if (sizeof (int32_t)) |
| | | 6551 | - return 0; |
| | | 6552 | + return 0; |
| | | 6553 | ; |
| | | 6554 | return 0; |
| | | 6555 | } |
| | | 6556 | _ACEOF |
| | | 6557 | rm -f conftest.$ac_objext |
| | | 6558 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 6559 | - (eval $ac_compile) 2>conftest.er1 |
| | | 6560 | +if { (ac_try="$ac_compile" |
| | | 6561 | +case "(($ac_try" in |
| | | 6562 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 6563 | + *) ac_try_echo=$ac_try;; |
| | | 6564 | +esac |
| | | 6565 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 6566 | +$as_echo "$ac_try_echo") >&5 |
| | | 6567 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 6568 | ac_status=$? |
| | | 6569 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 6570 | rm -f conftest.er1 |
| | | 6571 | cat conftest.err >&5 |
| | | 6572 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6573 | - (exit $ac_status); } && |
| | | 6574 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 6575 | - || test ! -s conftest.err' |
| | | 6576 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 6577 | - (eval $ac_try) 2>&5 |
| | | 6578 | - ac_status=$? |
| | | 6579 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6580 | - (exit $ac_status); }; } && |
| | | 6581 | - { ac_try='test -s conftest.$ac_objext' |
| | | 6582 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 6583 | - (eval $ac_try) 2>&5 |
| | | 6584 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6585 | + (exit $ac_status); } && { |
| | | 6586 | + test -z "$ac_c_werror_flag" || |
| | | 6587 | + test ! -s conftest.err |
| | | 6588 | + } && test -s conftest.$ac_objext; then |
| | | 6589 | + cat >conftest.$ac_ext <<_ACEOF |
| | | 6590 | +/* confdefs.h. */ |
| | | 6591 | +_ACEOF |
| | | 6592 | +cat confdefs.h >>conftest.$ac_ext |
| | | 6593 | +cat >>conftest.$ac_ext <<_ACEOF |
| | | 6594 | +/* end confdefs.h. */ |
| | | 6595 | +$ac_includes_default |
| | | 6596 | +int |
| | | 6597 | +main () |
| | | 6598 | +{ |
| | | 6599 | +if (sizeof ((int32_t))) |
| | | 6600 | + return 0; |
| | | 6601 | + ; |
| | | 6602 | + return 0; |
| | | 6603 | +} |
| | | 6604 | +_ACEOF |
| | | 6605 | +rm -f conftest.$ac_objext |
| | | 6606 | +if { (ac_try="$ac_compile" |
| | | 6607 | +case "(($ac_try" in |
| | | 6608 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 6609 | + *) ac_try_echo=$ac_try;; |
| | | 6610 | +esac |
| | | 6611 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 6612 | +$as_echo "$ac_try_echo") >&5 |
| | | 6613 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 6614 | ac_status=$? |
| | | 6615 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6616 | - (exit $ac_status); }; }; then |
| | | 6617 | - ac_cv_type_int32_t=yes |
| | | 6618 | + grep -v '^ *+' conftest.er1 >conftest.err |
| | | 6619 | + rm -f conftest.er1 |
| | | 6620 | + cat conftest.err >&5 |
| | | 6621 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6622 | + (exit $ac_status); } && { |
| | | 6623 | + test -z "$ac_c_werror_flag" || |
| | | 6624 | + test ! -s conftest.err |
| | | 6625 | + } && test -s conftest.$ac_objext; then |
| | | 6626 | + : |
| | | 6627 | +else |
| | | 6628 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 6629 | +sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 6630 | + |
| | | 6631 | + ac_cv_type_int32_t=yes |
| | | 6632 | +fi |
| | | 6633 | + |
| | | 6634 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 6635 | else |
| | | 6636 | - echo "$as_me: failed program was:" >&5 |
| | | 6637 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 6638 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 6639 | |
| | | 6640 | -ac_cv_type_int32_t=no |
| | | 6641 | + |
| | | 6642 | fi |
| | | 6643 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 6644 | + |
| | | 6645 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 6646 | fi |
| | | 6647 | -echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5 |
| | | 6648 | -echo "${ECHO_T}$ac_cv_type_int32_t" >&6 |
| | | 6649 | -if test $ac_cv_type_int32_t = yes; then |
| | | 6650 | +{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5 |
| | | 6651 | +$as_echo "$ac_cv_type_int32_t" >&6; } |
| | | 6652 | +if test "x$ac_cv_type_int32_t" = x""yes; then |
| | | 6653 | SIZE32="size32_t" |
| | | 6654 | fi |
| | | 6655 | |
| | | 6656 | |
| | | 6657 | if test -z "$SIZE16"; then |
| | | 6658 | - { { echo "$as_me:$LINENO: error: No 16 bit type found on this platform!" >&5 |
| | | 6659 | -echo "$as_me: error: No 16 bit type found on this platform!" >&2;} |
| | | 6660 | + { { $as_echo "$as_me:$LINENO: error: No 16 bit type found on this platform!" >&5 |
| | | 6661 | +$as_echo "$as_me: error: No 16 bit type found on this platform!" >&2;} |
| | | 6662 | { (exit 1); exit 1; }; } |
| | | 6663 | fi |
| | | 6664 | if test -z "$SIZE32"; then |
| | | 6665 | - { { echo "$as_me:$LINENO: error: No 32 bit type found on this platform!" >&5 |
| | | 6666 | -echo "$as_me: error: No 32 bit type found on this platform!" >&2;} |
| | | 6667 | + { { $as_echo "$as_me:$LINENO: error: No 32 bit type found on this platform!" >&5 |
| | | 6668 | +$as_echo "$as_me: error: No 32 bit type found on this platform!" >&2;} |
| | | 6669 | { (exit 1); exit 1; }; } |
| | | 6670 | fi |
| | | 6671 | |
| | | 6672 | |
| | | 6673 | for ac_header in linux/sbpcd.h |
| | | 6674 | do |
| | | 6675 | -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| | | 6676 | -if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| | | 6677 | - echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| | | 6678 | -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| | | 6679 | -if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| | | 6680 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 6681 | -fi |
| | | 6682 | -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| | | 6683 | -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| | | 6684 | +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| | | 6685 | +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| | | 6686 | + { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| | | 6687 | +$as_echo_n "checking for $ac_header... " >&6; } |
| | | 6688 | +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| | | 6689 | + $as_echo_n "(cached) " >&6 |
| | | 6690 | +fi |
| | | 6691 | +ac_res=`eval 'as_val=${'$as_ac_Header'} |
| | | 6692 | + $as_echo "$as_val"'` |
| | | 6693 | + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| | | 6694 | +$as_echo "$ac_res" >&6; } |
| | | 6695 | else |
| | | 6696 | # Is the header compilable? |
| | | 6697 | -echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| | | 6698 | -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| | | 6699 | +{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| | | 6700 | +$as_echo_n "checking $ac_header usability... " >&6; } |
| | | 6701 | cat >conftest.$ac_ext <<_ACEOF |
| | | 6702 | /* confdefs.h. */ |
| | | 6703 | _ACEOF |
| | | 6704 | @@ -4785,41 +5347,38 @@ $ac_includes_default |
| | | 6705 | #include <$ac_header> |
| | | 6706 | _ACEOF |
| | | 6707 | rm -f conftest.$ac_objext |
| | | 6708 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 6709 | - (eval $ac_compile) 2>conftest.er1 |
| | | 6710 | +if { (ac_try="$ac_compile" |
| | | 6711 | +case "(($ac_try" in |
| | | 6712 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 6713 | + *) ac_try_echo=$ac_try;; |
| | | 6714 | +esac |
| | | 6715 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 6716 | +$as_echo "$ac_try_echo") >&5 |
| | | 6717 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 6718 | ac_status=$? |
| | | 6719 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 6720 | rm -f conftest.er1 |
| | | 6721 | cat conftest.err >&5 |
| | | 6722 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6723 | - (exit $ac_status); } && |
| | | 6724 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 6725 | - || test ! -s conftest.err' |
| | | 6726 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 6727 | - (eval $ac_try) 2>&5 |
| | | 6728 | - ac_status=$? |
| | | 6729 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6730 | - (exit $ac_status); }; } && |
| | | 6731 | - { ac_try='test -s conftest.$ac_objext' |
| | | 6732 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 6733 | - (eval $ac_try) 2>&5 |
| | | 6734 | - ac_status=$? |
| | | 6735 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6736 | - (exit $ac_status); }; }; then |
| | | 6737 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6738 | + (exit $ac_status); } && { |
| | | 6739 | + test -z "$ac_c_werror_flag" || |
| | | 6740 | + test ! -s conftest.err |
| | | 6741 | + } && test -s conftest.$ac_objext; then |
| | | 6742 | ac_header_compiler=yes |
| | | 6743 | else |
| | | 6744 | - echo "$as_me: failed program was:" >&5 |
| | | 6745 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 6746 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 6747 | |
| | | 6748 | -ac_header_compiler=no |
| | | 6749 | + ac_header_compiler=no |
| | | 6750 | fi |
| | | 6751 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 6752 | -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| | | 6753 | -echo "${ECHO_T}$ac_header_compiler" >&6 |
| | | 6754 | + |
| | | 6755 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 6756 | +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| | | 6757 | +$as_echo "$ac_header_compiler" >&6; } |
| | | 6758 | |
| | | 6759 | # Is the header present? |
| | | 6760 | -echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| | | 6761 | -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| | | 6762 | +{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| | | 6763 | +$as_echo_n "checking $ac_header presence... " >&6; } |
| | | 6764 | cat >conftest.$ac_ext <<_ACEOF |
| | | 6765 | /* confdefs.h. */ |
| | | 6766 | _ACEOF |
| | | 6767 | @@ -4828,81 +5387,78 @@ cat >>conftest.$ac_ext <<_ACEOF |
| | | 6768 | /* end confdefs.h. */ |
| | | 6769 | #include <$ac_header> |
| | | 6770 | _ACEOF |
| | | 6771 | -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| | | 6772 | - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| | | 6773 | +if { (ac_try="$ac_cpp conftest.$ac_ext" |
| | | 6774 | +case "(($ac_try" in |
| | | 6775 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 6776 | + *) ac_try_echo=$ac_try;; |
| | | 6777 | +esac |
| | | 6778 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 6779 | +$as_echo "$ac_try_echo") >&5 |
| | | 6780 | + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| | | 6781 | ac_status=$? |
| | | 6782 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 6783 | rm -f conftest.er1 |
| | | 6784 | cat conftest.err >&5 |
| | | 6785 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6786 | - (exit $ac_status); } >/dev/null; then |
| | | 6787 | - if test -s conftest.err; then |
| | | 6788 | - ac_cpp_err=$ac_c_preproc_warn_flag |
| | | 6789 | - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| | | 6790 | - else |
| | | 6791 | - ac_cpp_err= |
| | | 6792 | - fi |
| | | 6793 | -else |
| | | 6794 | - ac_cpp_err=yes |
| | | 6795 | -fi |
| | | 6796 | -if test -z "$ac_cpp_err"; then |
| | | 6797 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6798 | + (exit $ac_status); } >/dev/null && { |
| | | 6799 | + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| | | 6800 | + test ! -s conftest.err |
| | | 6801 | + }; then |
| | | 6802 | ac_header_preproc=yes |
| | | 6803 | else |
| | | 6804 | - echo "$as_me: failed program was:" >&5 |
| | | 6805 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 6806 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 6807 | |
| | | 6808 | ac_header_preproc=no |
7 | fi | | 6809 | fi |
| | | 6810 | + |
| | | 6811 | rm -f conftest.err conftest.$ac_ext |
| | | 6812 | -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| | | 6813 | -echo "${ECHO_T}$ac_header_preproc" >&6 |
| | | 6814 | +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| | | 6815 | +$as_echo "$ac_header_preproc" >&6; } |
8 | | | 6816 | |
9 | +case $host in | | 6817 | # So? What about this header? |
10 | +*-*-darwin*) | | 6818 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
11 | + EXTRA_OBJS=osx_interface.o | | 6819 | yes:no: ) |
12 | + EXTRA_LIBS="-framework CoreFoundation -framework IOKit" | | 6820 | - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
13 | + ;; | | 6821 | -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
14 | +*) | | 6822 | - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
15 | + EXTRA_OBJS="cooked_interface.o scsi_interface.o" | | 6823 | -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
16 | + EXTRA_LIBS= | | 6824 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
17 | + ;; | | 6825 | +$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| | | 6826 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| | | 6827 | +$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| | | 6828 | ac_header_preproc=yes |
| | | 6829 | ;; |
| | | 6830 | no:yes:* ) |
| | | 6831 | - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| | | 6832 | -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| | | 6833 | - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| | | 6834 | -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| | | 6835 | - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| | | 6836 | -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| | | 6837 | - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| | | 6838 | -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| | | 6839 | - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| | | 6840 | -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| | | 6841 | - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| | | 6842 | -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| | | 6843 | - ( |
| | | 6844 | - cat <<\_ASBOX |
| | | 6845 | -## ------------------------------------------ ## |
| | | 6846 | -## Report this to the AC_PACKAGE_NAME lists. ## |
| | | 6847 | -## ------------------------------------------ ## |
| | | 6848 | -_ASBOX |
| | | 6849 | - ) | |
| | | 6850 | - sed "s/^/$as_me: WARNING: /" >&2 |
| | | 6851 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| | | 6852 | +$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| | | 6853 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| | | 6854 | +$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| | | 6855 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| | | 6856 | +$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| | | 6857 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| | | 6858 | +$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| | | 6859 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| | | 6860 | +$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| | | 6861 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| | | 6862 | +$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| | | 6863 | + |
| | | 6864 | ;; |
| | | 6865 | esac |
| | | 6866 | -echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| | | 6867 | -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| | | 6868 | -if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| | | 6869 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 6870 | +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| | | 6871 | +$as_echo_n "checking for $ac_header... " >&6; } |
| | | 6872 | +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| | | 6873 | + $as_echo_n "(cached) " >&6 |
| | | 6874 | else |
| | | 6875 | eval "$as_ac_Header=\$ac_header_preproc" |
| | | 6876 | fi |
| | | 6877 | -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| | | 6878 | -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| | | 6879 | +ac_res=`eval 'as_val=${'$as_ac_Header'} |
| | | 6880 | + $as_echo "$as_val"'` |
| | | 6881 | + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| | | 6882 | +$as_echo "$ac_res" >&6; } |
| | | 6883 | |
| | | 6884 | fi |
| | | 6885 | -if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| | | 6886 | +as_val=`eval 'as_val=${'$as_ac_Header'} |
| | | 6887 | + $as_echo "$as_val"'` |
| | | 6888 | + if test "x$as_val" = x""yes; then |
| | | 6889 | cat >>confdefs.h <<_ACEOF |
| | | 6890 | -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| | | 6891 | +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| | | 6892 | _ACEOF |
| | | 6893 | SBPCD_H="-DSBPCD_H='1' " |
| | | 6894 | fi |
| | | 6895 | @@ -4912,19 +5468,21 @@ done |
| | | 6896 | |
| | | 6897 | for ac_header in linux/ucdrom.h |
| | | 6898 | do |
| | | 6899 | -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| | | 6900 | -if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| | | 6901 | - echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| | | 6902 | -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| | | 6903 | -if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| | | 6904 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 6905 | -fi |
| | | 6906 | -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| | | 6907 | -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| | | 6908 | +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| | | 6909 | +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| | | 6910 | + { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| | | 6911 | +$as_echo_n "checking for $ac_header... " >&6; } |
| | | 6912 | +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| | | 6913 | + $as_echo_n "(cached) " >&6 |
| | | 6914 | +fi |
| | | 6915 | +ac_res=`eval 'as_val=${'$as_ac_Header'} |
| | | 6916 | + $as_echo "$as_val"'` |
| | | 6917 | + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| | | 6918 | +$as_echo "$ac_res" >&6; } |
| | | 6919 | else |
| | | 6920 | # Is the header compilable? |
| | | 6921 | -echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| | | 6922 | -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
| | | 6923 | +{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| | | 6924 | +$as_echo_n "checking $ac_header usability... " >&6; } |
| | | 6925 | cat >conftest.$ac_ext <<_ACEOF |
| | | 6926 | /* confdefs.h. */ |
| | | 6927 | _ACEOF |
| | | 6928 | @@ -4935,41 +5493,38 @@ $ac_includes_default |
| | | 6929 | #include <$ac_header> |
| | | 6930 | _ACEOF |
| | | 6931 | rm -f conftest.$ac_objext |
| | | 6932 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 6933 | - (eval $ac_compile) 2>conftest.er1 |
| | | 6934 | +if { (ac_try="$ac_compile" |
| | | 6935 | +case "(($ac_try" in |
| | | 6936 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 6937 | + *) ac_try_echo=$ac_try;; |
18 | +esac | | 6938 | +esac |
| | | 6939 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 6940 | +$as_echo "$ac_try_echo") >&5 |
| | | 6941 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 6942 | ac_status=$? |
| | | 6943 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 6944 | rm -f conftest.er1 |
| | | 6945 | cat conftest.err >&5 |
| | | 6946 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6947 | - (exit $ac_status); } && |
| | | 6948 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 6949 | - || test ! -s conftest.err' |
| | | 6950 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 6951 | - (eval $ac_try) 2>&5 |
| | | 6952 | - ac_status=$? |
| | | 6953 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6954 | - (exit $ac_status); }; } && |
| | | 6955 | - { ac_try='test -s conftest.$ac_objext' |
| | | 6956 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 6957 | - (eval $ac_try) 2>&5 |
| | | 6958 | - ac_status=$? |
| | | 6959 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6960 | - (exit $ac_status); }; }; then |
| | | 6961 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 6962 | + (exit $ac_status); } && { |
| | | 6963 | + test -z "$ac_c_werror_flag" || |
| | | 6964 | + test ! -s conftest.err |
| | | 6965 | + } && test -s conftest.$ac_objext; then |
| | | 6966 | ac_header_compiler=yes |
| | | 6967 | else |
| | | 6968 | - echo "$as_me: failed program was:" >&5 |
| | | 6969 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 6970 | sed 's/^/| /' conftest.$ac_ext >&5 |
19 | | | 6971 | |
20 | if test -z "$GCC"; then | | 6972 | -ac_header_compiler=no |
21 | DEBUG="-g" | | 6973 | + ac_header_compiler=no |
22 | @@ -893,6 +903,12 @@ else | | | |
23 | i?86-*-linux*) | | | |
24 | DEBUG="-g -Wall -fsigned-char" | | | |
25 | OPT="-O20 -ffast-math -fsigned-char -finline-functions";; | | | |
26 | + i?86-*-netbsd*) | | | |
27 | + DEBUG="-g -Wall -fsigned-char" | | | |
28 | + OPT="-O2 -ffast-math -fsigned-char -finline-functions";; | | | |
29 | + *-netbsd*) | | | |
30 | + DEBUG="-g -Wall" | | | |
31 | + OPT="-O";; | | | |
32 | *) | | | |
33 | DEBUG="-g -Wall -fsigned-char" | | | |
34 | OPT="-O20 -fsigned-char";; | | | |
35 | @@ -1084,7 +1100,6 @@ EOF | | | |
36 | fi | | 6974 | fi |
| | | 6975 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 6976 | -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| | | 6977 | -echo "${ECHO_T}$ac_header_compiler" >&6 |
| | | 6978 | + |
| | | 6979 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 6980 | +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
| | | 6981 | +$as_echo "$ac_header_compiler" >&6; } |
37 | | | 6982 | |
| | | 6983 | # Is the header present? |
| | | 6984 | -echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| | | 6985 | -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
| | | 6986 | +{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| | | 6987 | +$as_echo_n "checking $ac_header presence... " >&6; } |
| | | 6988 | cat >conftest.$ac_ext <<_ACEOF |
| | | 6989 | /* confdefs.h. */ |
| | | 6990 | _ACEOF |
| | | 6991 | @@ -4978,81 +5533,78 @@ cat >>conftest.$ac_ext <<_ACEOF |
| | | 6992 | /* end confdefs.h. */ |
| | | 6993 | #include <$ac_header> |
| | | 6994 | _ACEOF |
| | | 6995 | -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| | | 6996 | - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| | | 6997 | +if { (ac_try="$ac_cpp conftest.$ac_ext" |
| | | 6998 | +case "(($ac_try" in |
| | | 6999 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 7000 | + *) ac_try_echo=$ac_try;; |
| | | 7001 | +esac |
| | | 7002 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 7003 | +$as_echo "$ac_try_echo") >&5 |
| | | 7004 | + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| | | 7005 | ac_status=$? |
| | | 7006 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 7007 | rm -f conftest.er1 |
| | | 7008 | cat conftest.err >&5 |
| | | 7009 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 7010 | - (exit $ac_status); } >/dev/null; then |
| | | 7011 | - if test -s conftest.err; then |
| | | 7012 | - ac_cpp_err=$ac_c_preproc_warn_flag |
| | | 7013 | - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
| | | 7014 | - else |
| | | 7015 | - ac_cpp_err= |
| | | 7016 | - fi |
| | | 7017 | -else |
| | | 7018 | - ac_cpp_err=yes |
| | | 7019 | -fi |
| | | 7020 | -if test -z "$ac_cpp_err"; then |
| | | 7021 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 7022 | + (exit $ac_status); } >/dev/null && { |
| | | 7023 | + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| | | 7024 | + test ! -s conftest.err |
| | | 7025 | + }; then |
| | | 7026 | ac_header_preproc=yes |
| | | 7027 | else |
| | | 7028 | - echo "$as_me: failed program was:" >&5 |
| | | 7029 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 7030 | sed 's/^/| /' conftest.$ac_ext >&5 |
38 | | | 7031 | |
39 | -CFLAGS="" | | 7032 | ac_header_preproc=no |
| | | 7033 | fi |
| | | 7034 | + |
| | | 7035 | rm -f conftest.err conftest.$ac_ext |
| | | 7036 | -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| | | 7037 | -echo "${ECHO_T}$ac_header_preproc" >&6 |
| | | 7038 | +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| | | 7039 | +$as_echo "$ac_header_preproc" >&6; } |
40 | | | 7040 | |
41 | TYPESIZES="" | | 7041 | # So? What about this header? |
| | | 7042 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| | | 7043 | yes:no: ) |
| | | 7044 | - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| | | 7045 | -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| | | 7046 | - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| | | 7047 | -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| | | 7048 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| | | 7049 | +$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| | | 7050 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| | | 7051 | +$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| | | 7052 | ac_header_preproc=yes |
| | | 7053 | ;; |
| | | 7054 | no:yes:* ) |
| | | 7055 | - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| | | 7056 | -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| | | 7057 | - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| | | 7058 | -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| | | 7059 | - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| | | 7060 | -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| | | 7061 | - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| | | 7062 | -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| | | 7063 | - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| | | 7064 | -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| | | 7065 | - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| | | 7066 | -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| | | 7067 | - ( |
| | | 7068 | - cat <<\_ASBOX |
| | | 7069 | -## ------------------------------------------ ## |
| | | 7070 | -## Report this to the AC_PACKAGE_NAME lists. ## |
| | | 7071 | -## ------------------------------------------ ## |
| | | 7072 | -_ASBOX |
| | | 7073 | - ) | |
| | | 7074 | - sed "s/^/$as_me: WARNING: /" >&2 |
| | | 7075 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| | | 7076 | +$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| | | 7077 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| | | 7078 | +$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| | | 7079 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| | | 7080 | +$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| | | 7081 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| | | 7082 | +$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| | | 7083 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| | | 7084 | +$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| | | 7085 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| | | 7086 | +$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| | | 7087 | + |
| | | 7088 | ;; |
| | | 7089 | esac |
| | | 7090 | -echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| | | 7091 | -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
| | | 7092 | -if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| | | 7093 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 7094 | +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| | | 7095 | +$as_echo_n "checking for $ac_header... " >&6; } |
| | | 7096 | +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| | | 7097 | + $as_echo_n "(cached) " >&6 |
| | | 7098 | else |
| | | 7099 | eval "$as_ac_Header=\$ac_header_preproc" |
| | | 7100 | fi |
| | | 7101 | -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
| | | 7102 | -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
| | | 7103 | +ac_res=`eval 'as_val=${'$as_ac_Header'} |
| | | 7104 | + $as_echo "$as_val"'` |
| | | 7105 | + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| | | 7106 | +$as_echo "$ac_res" >&6; } |
42 | | | 7107 | |
43 | @@ -1476,6 +1491,143 @@ else | | | |
44 | fi | | 7108 | fi |
| | | 7109 | -if test `eval echo '${'$as_ac_Header'}'` = yes; then |
| | | 7110 | +as_val=`eval 'as_val=${'$as_ac_Header'} |
| | | 7111 | + $as_echo "$as_val"'` |
| | | 7112 | + if test "x$as_val" = x""yes; then |
| | | 7113 | cat >>confdefs.h <<_ACEOF |
| | | 7114 | -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| | | 7115 | +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| | | 7116 | _ACEOF |
| | | 7117 | UCDROM_H="-DUCDROM_H='1' " |
| | | 7118 | fi |
| | | 7119 | @@ -5060,39 +5612,359 @@ fi |
45 | done | | 7120 | done |
46 | | | 7121 | |
47 | +for ac_hdr in util.h | | 7122 | |
| | | 7123 | -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| | | 7124 | -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
| | | 7125 | -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
| | | 7126 | -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
| | | 7127 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 7128 | +for ac_header in util.h |
48 | +do | | 7129 | +do |
49 | +ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | | 7130 | +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
50 | +echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | | 7131 | +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
51 | +echo "configure:1489: checking for $ac_hdr" >&5 | | 7132 | + { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
52 | +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | | 7133 | +$as_echo_n "checking for $ac_header... " >&6; } |
53 | + echo $ac_n "(cached) $ac_c" 1>&6 | | 7134 | +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| | | 7135 | + $as_echo_n "(cached) " >&6 |
| | | 7136 | +fi |
| | | 7137 | +ac_res=`eval 'as_val=${'$as_ac_Header'} |
| | | 7138 | + $as_echo "$as_val"'` |
| | | 7139 | + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| | | 7140 | +$as_echo "$ac_res" >&6; } |
| | | 7141 | else |
| | | 7142 | - cat >conftest.make <<\_ACEOF |
| | | 7143 | -all: |
| | | 7144 | - @echo 'ac_maketemp="$(MAKE)"' |
| | | 7145 | + # Is the header compilable? |
| | | 7146 | +{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
| | | 7147 | +$as_echo_n "checking $ac_header usability... " >&6; } |
| | | 7148 | +cat >conftest.$ac_ext <<_ACEOF |
| | | 7149 | +/* confdefs.h. */ |
| | | 7150 | _ACEOF |
| | | 7151 | -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
| | | 7152 | -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
| | | 7153 | -if test -n "$ac_maketemp"; then |
| | | 7154 | - eval ac_cv_prog_make_${ac_make}_set=yes |
| | | 7155 | +cat confdefs.h >>conftest.$ac_ext |
| | | 7156 | +cat >>conftest.$ac_ext <<_ACEOF |
| | | 7157 | +/* end confdefs.h. */ |
| | | 7158 | +$ac_includes_default |
| | | 7159 | +#include <$ac_header> |
| | | 7160 | +_ACEOF |
| | | 7161 | +rm -f conftest.$ac_objext |
| | | 7162 | +if { (ac_try="$ac_compile" |
| | | 7163 | +case "(($ac_try" in |
| | | 7164 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 7165 | + *) ac_try_echo=$ac_try;; |
| | | 7166 | +esac |
| | | 7167 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 7168 | +$as_echo "$ac_try_echo") >&5 |
| | | 7169 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 7170 | + ac_status=$? |
| | | 7171 | + grep -v '^ *+' conftest.er1 >conftest.err |
| | | 7172 | + rm -f conftest.er1 |
| | | 7173 | + cat conftest.err >&5 |
| | | 7174 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 7175 | + (exit $ac_status); } && { |
| | | 7176 | + test -z "$ac_c_werror_flag" || |
| | | 7177 | + test ! -s conftest.err |
| | | 7178 | + } && test -s conftest.$ac_objext; then |
| | | 7179 | + ac_header_compiler=yes |
54 | +else | | 7180 | +else |
55 | + cat > conftest.$ac_ext <<EOF | | 7181 | + $as_echo "$as_me: failed program was:" >&5 |
56 | +#line 1494 "configure" | | 7182 | +sed 's/^/| /' conftest.$ac_ext >&5 |
57 | +#include "confdefs.h" | | 7183 | + |
58 | +#include <$ac_hdr> | | 7184 | + ac_header_compiler=no |
59 | +EOF | | 7185 | +fi |
60 | +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | | 7186 | + |
61 | +{ (eval echo configure:1499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | | 7187 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
62 | +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | | 7188 | +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
63 | +if test -z "$ac_err"; then | | 7189 | +$as_echo "$ac_header_compiler" >&6; } |
64 | + rm -rf conftest* | | 7190 | + |
65 | + eval "ac_cv_header_$ac_safe=yes" | | 7191 | +# Is the header present? |
| | | 7192 | +{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
| | | 7193 | +$as_echo_n "checking $ac_header presence... " >&6; } |
| | | 7194 | +cat >conftest.$ac_ext <<_ACEOF |
| | | 7195 | +/* confdefs.h. */ |
| | | 7196 | +_ACEOF |
| | | 7197 | +cat confdefs.h >>conftest.$ac_ext |
| | | 7198 | +cat >>conftest.$ac_ext <<_ACEOF |
| | | 7199 | +/* end confdefs.h. */ |
| | | 7200 | +#include <$ac_header> |
| | | 7201 | +_ACEOF |
| | | 7202 | +if { (ac_try="$ac_cpp conftest.$ac_ext" |
| | | 7203 | +case "(($ac_try" in |
| | | 7204 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 7205 | + *) ac_try_echo=$ac_try;; |
| | | 7206 | +esac |
| | | 7207 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 7208 | +$as_echo "$ac_try_echo") >&5 |
| | | 7209 | + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
| | | 7210 | + ac_status=$? |
| | | 7211 | + grep -v '^ *+' conftest.er1 >conftest.err |
| | | 7212 | + rm -f conftest.er1 |
| | | 7213 | + cat conftest.err >&5 |
| | | 7214 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 7215 | + (exit $ac_status); } >/dev/null && { |
| | | 7216 | + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| | | 7217 | + test ! -s conftest.err |
| | | 7218 | + }; then |
| | | 7219 | + ac_header_preproc=yes |
| | | 7220 | +else |
| | | 7221 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 7222 | +sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 7223 | + |
| | | 7224 | + ac_header_preproc=no |
| | | 7225 | +fi |
| | | 7226 | + |
| | | 7227 | +rm -f conftest.err conftest.$ac_ext |
| | | 7228 | +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
| | | 7229 | +$as_echo "$ac_header_preproc" >&6; } |
| | | 7230 | + |
| | | 7231 | +# So? What about this header? |
| | | 7232 | +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
| | | 7233 | + yes:no: ) |
| | | 7234 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
| | | 7235 | +$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
| | | 7236 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
| | | 7237 | +$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
| | | 7238 | + ac_header_preproc=yes |
| | | 7239 | + ;; |
| | | 7240 | + no:yes:* ) |
| | | 7241 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
| | | 7242 | +$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
| | | 7243 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
| | | 7244 | +$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
| | | 7245 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
| | | 7246 | +$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
| | | 7247 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
| | | 7248 | +$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
| | | 7249 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
| | | 7250 | +$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
| | | 7251 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
| | | 7252 | +$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
| | | 7253 | + |
| | | 7254 | + ;; |
| | | 7255 | +esac |
| | | 7256 | +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
| | | 7257 | +$as_echo_n "checking for $ac_header... " >&6; } |
| | | 7258 | +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
| | | 7259 | + $as_echo_n "(cached) " >&6 |
66 | +else | | 7260 | +else |
67 | + echo "$ac_err" >&5 | | 7261 | + eval "$as_ac_Header=\$ac_header_preproc" |
68 | + echo "configure: failed program was:" >&5 | | | |
69 | + cat conftest.$ac_ext >&5 | | | |
70 | + rm -rf conftest* | | | |
71 | + eval "ac_cv_header_$ac_safe=no" | | | |
72 | +fi | | 7262 | +fi |
73 | +rm -f conftest* | | 7263 | +ac_res=`eval 'as_val=${'$as_ac_Header'} |
| | | 7264 | + $as_echo "$as_val"'` |
| | | 7265 | + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| | | 7266 | +$as_echo "$ac_res" >&6; } |
| | | 7267 | + |
74 | +fi | | 7268 | +fi |
75 | +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | | 7269 | +as_val=`eval 'as_val=${'$as_ac_Header'} |
76 | + echo "$ac_t""yes" 1>&6 | | 7270 | + $as_echo "$as_val"'` |
77 | + ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | | 7271 | + if test "x$as_val" = x""yes; then |
78 | + cat >> confdefs.h <<EOF | | 7272 | + cat >>confdefs.h <<_ACEOF |
79 | +#define $ac_tr_hdr 1 | | 7273 | +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
80 | +EOF | | 7274 | +_ACEOF |
81 | + echo $ac_n "checking for getrawpartition in -lutil""... $ac_c" 1>&6 | | 7275 | + { $as_echo "$as_me:$LINENO: checking for getrawpartition in -lutil" >&5 |
82 | +echo "configure:1520: checking for getrawpartition in -lutil" >&5 | | 7276 | +$as_echo_n "checking for getrawpartition in -lutil... " >&6; } |
83 | +ac_lib_var=`echo util'_'getrawpartition | sed 'y%./+-%__p_%'` | | 7277 | +if test "${ac_cv_lib_util_getrawpartition+set}" = set; then |
84 | +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | | 7278 | + $as_echo_n "(cached) " >&6 |
85 | + echo $ac_n "(cached) $ac_c" 1>&6 | | | |
86 | +else | | 7279 | +else |
87 | + ac_save_LIBS="$LIBS" | | 7280 | + ac_check_lib_save_LIBS=$LIBS |
88 | +LIBS="-lutil $LIBS" | | 7281 | +LIBS="-lutil $LIBS" |
89 | +cat > conftest.$ac_ext <<EOF | | 7282 | +cat >conftest.$ac_ext <<_ACEOF |
90 | +#line 1528 "configure" | | 7283 | +/* confdefs.h. */ |
91 | +#include "confdefs.h" | | 7284 | +_ACEOF |
92 | +/* Override any gcc2 internal prototype to avoid an error. */ | | 7285 | +cat confdefs.h >>conftest.$ac_ext |
93 | +/* We use char because int might match the return type of a gcc2 | | 7286 | +cat >>conftest.$ac_ext <<_ACEOF |
94 | + builtin and then its argument prototype would still apply. */ | | 7287 | +/* end confdefs.h. */ |
95 | +char getrawpartition(); | | 7288 | + |
96 | + | | 7289 | +/* Override any GCC internal prototype to avoid an error. |
97 | +int main() { | | 7290 | + Use char because int might match the return type of a GCC |
98 | +getrawpartition() | | 7291 | + builtin and then its argument prototype would still apply. */ |
99 | +; return 0; } | | 7292 | +#ifdef __cplusplus |
100 | +EOF | | 7293 | +extern "C" |
101 | +if { (eval echo configure:1539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | 7294 | +#endif |
102 | + rm -rf conftest* | | 7295 | +char getrawpartition (); |
103 | + eval "ac_cv_lib_$ac_lib_var=yes" | | 7296 | +int |
104 | +else | | 7297 | +main () |
105 | + echo "configure: failed program was:" >&5 | | 7298 | +{ |
106 | + cat conftest.$ac_ext >&5 | | 7299 | +return getrawpartition (); |
107 | + rm -rf conftest* | | 7300 | + ; |
108 | + eval "ac_cv_lib_$ac_lib_var=no" | | 7301 | + return 0; |
109 | +fi | | 7302 | +} |
110 | +rm -f conftest* | | 7303 | +_ACEOF |
111 | +LIBS="$ac_save_LIBS" | | 7304 | +rm -f conftest.$ac_objext conftest$ac_exeext |
| | | 7305 | +if { (ac_try="$ac_link" |
| | | 7306 | +case "(($ac_try" in |
| | | 7307 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 7308 | + *) ac_try_echo=$ac_try;; |
| | | 7309 | +esac |
| | | 7310 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 7311 | +$as_echo "$ac_try_echo") >&5 |
| | | 7312 | + (eval "$ac_link") 2>conftest.er1 |
| | | 7313 | + ac_status=$? |
| | | 7314 | + grep -v '^ *+' conftest.er1 >conftest.err |
| | | 7315 | + rm -f conftest.er1 |
| | | 7316 | + cat conftest.err >&5 |
| | | 7317 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 7318 | + (exit $ac_status); } && { |
| | | 7319 | + test -z "$ac_c_werror_flag" || |
| | | 7320 | + test ! -s conftest.err |
| | | 7321 | + } && test -s conftest$ac_exeext && { |
| | | 7322 | + test "$cross_compiling" = yes || |
| | | 7323 | + $as_test_x conftest$ac_exeext |
| | | 7324 | + }; then |
| | | 7325 | + ac_cv_lib_util_getrawpartition=yes |
| | | 7326 | else |
| | | 7327 | - eval ac_cv_prog_make_${ac_make}_set=no |
| | | 7328 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 7329 | +sed 's/^/| /' conftest.$ac_ext >&5 |
112 | + | | 7330 | + |
| | | 7331 | + ac_cv_lib_util_getrawpartition=no |
113 | +fi | | 7332 | +fi |
114 | +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | | 7333 | + |
115 | + echo "$ac_t""yes" 1>&6 | | 7334 | +rm -rf conftest.dSYM |
| | | 7335 | +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| | | 7336 | + conftest$ac_exeext conftest.$ac_ext |
| | | 7337 | +LIBS=$ac_check_lib_save_LIBS |
| | | 7338 | fi |
| | | 7339 | +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_util_getrawpartition" >&5 |
| | | 7340 | +$as_echo "$ac_cv_lib_util_getrawpartition" >&6; } |
| | | 7341 | +if test "x$ac_cv_lib_util_getrawpartition" = x""yes; then |
116 | + RAWPART="-DHAVE_GETRAWPARTITION='1' " LIBUTIL="-lutil" | | 7342 | + RAWPART="-DHAVE_GETRAWPARTITION='1' " LIBUTIL="-lutil" |
117 | + | | 7343 | + |
118 | +else | | | |
119 | + echo "$ac_t""no" 1>&6 | | | |
120 | +fi | | 7344 | +fi |
121 | + | | 7345 | + |
122 | + | | 7346 | + |
123 | +else | | | |
124 | + echo "$ac_t""no" 1>&6 | | | |
125 | +fi | | 7347 | +fi |
| | | 7348 | + |
126 | +done | | 7349 | +done |
127 | + | | 7350 | + |
128 | + | | 7351 | + |
| | | 7352 | + |
129 | +for ac_func in getopt_long | | 7353 | +for ac_func in getopt_long |
130 | +do | | 7354 | +do |
131 | +echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | | 7355 | +as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
132 | +echo "configure:1570: checking for $ac_func" >&5 | | 7356 | +{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
133 | +if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | | 7357 | +$as_echo_n "checking for $ac_func... " >&6; } |
134 | + echo $ac_n "(cached) $ac_c" 1>&6 | | 7358 | +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
135 | +else | | 7359 | + $as_echo_n "(cached) " >&6 |
136 | + cat > conftest.$ac_ext <<EOF | | 7360 | +else |
137 | +#line 1575 "configure" | | 7361 | + cat >conftest.$ac_ext <<_ACEOF |
138 | +#include "confdefs.h" | | 7362 | +/* confdefs.h. */ |
| | | 7363 | +_ACEOF |
| | | 7364 | +cat confdefs.h >>conftest.$ac_ext |
| | | 7365 | +cat >>conftest.$ac_ext <<_ACEOF |
| | | 7366 | +/* end confdefs.h. */ |
| | | 7367 | +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
| | | 7368 | + For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| | | 7369 | +#define $ac_func innocuous_$ac_func |
| | | 7370 | + |
139 | +/* System header to define __stub macros and hopefully few prototypes, | | 7371 | +/* System header to define __stub macros and hopefully few prototypes, |
140 | + which can conflict with char $ac_func(); below. */ | | 7372 | + which can conflict with char $ac_func (); below. |
141 | +#include <assert.h> | | 7373 | + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
142 | +/* Override any gcc2 internal prototype to avoid an error. */ | | 7374 | + <limits.h> exists even on freestanding compilers. */ |
143 | +/* We use char because int might match the return type of a gcc2 | | 7375 | + |
144 | + builtin and then its argument prototype would still apply. */ | | 7376 | +#ifdef __STDC__ |
145 | +char $ac_func(); | | 7377 | +# include <limits.h> |
| | | 7378 | +#else |
| | | 7379 | +# include <assert.h> |
| | | 7380 | +#endif |
146 | + | | 7381 | + |
147 | +int main() { | | 7382 | +#undef $ac_func |
148 | + | | 7383 | + |
| | | 7384 | +/* Override any GCC internal prototype to avoid an error. |
| | | 7385 | + Use char because int might match the return type of a GCC |
| | | 7386 | + builtin and then its argument prototype would still apply. */ |
| | | 7387 | +#ifdef __cplusplus |
| | | 7388 | +extern "C" |
| | | 7389 | +#endif |
| | | 7390 | +char $ac_func (); |
149 | +/* The GNU C library defines this for functions which it implements | | 7391 | +/* The GNU C library defines this for functions which it implements |
150 | + to always fail with ENOSYS. Some functions are actually named | | 7392 | + to always fail with ENOSYS. Some functions are actually named |
151 | + something starting with __ and the normal name is an alias. */ | | 7393 | + something starting with __ and the normal name is an alias. */ |
152 | +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) | | 7394 | +#if defined __stub_$ac_func || defined __stub___$ac_func |
153 | +choke me | | 7395 | +choke me |
154 | +#else | | | |
155 | +$ac_func(); | | | |
156 | +#endif | | 7396 | +#endif |
157 | + | | 7397 | + |
158 | +; return 0; } | | 7398 | +int |
159 | +EOF | | 7399 | +main () |
160 | +if { (eval echo configure:1598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | | 7400 | +{ |
161 | + rm -rf conftest* | | 7401 | +return $ac_func (); |
162 | + eval "ac_cv_func_$ac_func=yes" | | 7402 | + ; |
163 | +else | | 7403 | + return 0; |
164 | + echo "configure: failed program was:" >&5 | | 7404 | +} |
165 | + cat conftest.$ac_ext >&5 | | 7405 | +_ACEOF |
166 | + rm -rf conftest* | | 7406 | +rm -f conftest.$ac_objext conftest$ac_exeext |
167 | + eval "ac_cv_func_$ac_func=no" | | 7407 | +if { (ac_try="$ac_link" |
168 | +fi | | 7408 | +case "(($ac_try" in |
169 | +rm -f conftest* | | 7409 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
170 | +fi | | 7410 | + *) ac_try_echo=$ac_try;; |
171 | + | | 7411 | +esac |
172 | +if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | | 7412 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
173 | + echo "$ac_t""yes" 1>&6 | | 7413 | +$as_echo "$ac_try_echo") >&5 |
174 | + ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | | 7414 | + (eval "$ac_link") 2>conftest.er1 |
175 | + cat >> confdefs.h <<EOF | | 7415 | + ac_status=$? |
176 | +#define $ac_tr_func 1 | | 7416 | + grep -v '^ *+' conftest.er1 >conftest.err |
177 | +EOF | | 7417 | + rm -f conftest.er1 |
| | | 7418 | + cat conftest.err >&5 |
| | | 7419 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 7420 | + (exit $ac_status); } && { |
| | | 7421 | + test -z "$ac_c_werror_flag" || |
| | | 7422 | + test ! -s conftest.err |
| | | 7423 | + } && test -s conftest$ac_exeext && { |
| | | 7424 | + test "$cross_compiling" = yes || |
| | | 7425 | + $as_test_x conftest$ac_exeext |
| | | 7426 | + }; then |
| | | 7427 | + eval "$as_ac_var=yes" |
| | | 7428 | +else |
| | | 7429 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 7430 | +sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 7431 | + |
| | | 7432 | + eval "$as_ac_var=no" |
| | | 7433 | +fi |
| | | 7434 | + |
| | | 7435 | +rm -rf conftest.dSYM |
| | | 7436 | +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| | | 7437 | + conftest$ac_exeext conftest.$ac_ext |
| | | 7438 | +fi |
| | | 7439 | +ac_res=`eval 'as_val=${'$as_ac_var'} |
| | | 7440 | + $as_echo "$as_val"'` |
| | | 7441 | + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
| | | 7442 | +$as_echo "$ac_res" >&6; } |
| | | 7443 | +as_val=`eval 'as_val=${'$as_ac_var'} |
| | | 7444 | + $as_echo "$as_val"'` |
| | | 7445 | + if test "x$as_val" = x""yes; then |
| | | 7446 | + cat >>confdefs.h <<_ACEOF |
| | | 7447 | +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
| | | 7448 | +_ACEOF |
178 | + GETOPT_LONG="-DGETOPT_LONG='1' " | | 7449 | + GETOPT_LONG="-DGETOPT_LONG='1' " |
| | | 7450 | +fi |
| | | 7451 | +done |
| | | 7452 | + |
| | | 7453 | + |
| | | 7454 | +{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| | | 7455 | +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| | | 7456 | +set x ${MAKE-make} |
| | | 7457 | +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| | | 7458 | +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
| | | 7459 | + $as_echo_n "(cached) " >&6 |
| | | 7460 | +else |
| | | 7461 | + cat >conftest.make <<\_ACEOF |
| | | 7462 | +SHELL = /bin/sh |
| | | 7463 | +all: |
| | | 7464 | + @echo '@@@%%%=$(MAKE)=@@@%%%' |
| | | 7465 | +_ACEOF |
| | | 7466 | +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
| | | 7467 | +case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| | | 7468 | + *@@@%%%=?*=@@@%%%*) |
| | | 7469 | + eval ac_cv_prog_make_${ac_make}_set=yes;; |
| | | 7470 | + *) |
| | | 7471 | + eval ac_cv_prog_make_${ac_make}_set=no;; |
| | | 7472 | +esac |
| | | 7473 | rm -f conftest.make |
| | | 7474 | fi |
| | | 7475 | -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
| | | 7476 | - echo "$as_me:$LINENO: result: yes" >&5 |
| | | 7477 | -echo "${ECHO_T}yes" >&6 |
| | | 7478 | +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| | | 7479 | + { $as_echo "$as_me:$LINENO: result: yes" >&5 |
| | | 7480 | +$as_echo "yes" >&6; } |
| | | 7481 | SET_MAKE= |
| | | 7482 | else |
| | | 7483 | - echo "$as_me:$LINENO: result: no" >&5 |
| | | 7484 | -echo "${ECHO_T}no" >&6 |
| | | 7485 | + { $as_echo "$as_me:$LINENO: result: no" >&5 |
| | | 7486 | +$as_echo "no" >&6; } |
| | | 7487 | SET_MAKE="MAKE=${MAKE-make}" |
| | | 7488 | fi |
| | | 7489 | |
| | | 7490 | -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| | | 7491 | -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
| | | 7492 | +{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
| | | 7493 | +$as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
| | | 7494 | if test "${ac_cv_c_const+set}" = set; then |
| | | 7495 | - echo $ECHO_N "(cached) $ECHO_C" >&6 |
| | | 7496 | + $as_echo_n "(cached) " >&6 |
| | | 7497 | else |
| | | 7498 | cat >conftest.$ac_ext <<_ACEOF |
| | | 7499 | /* confdefs.h. */ |
| | | 7500 | @@ -5108,10 +5980,10 @@ main () |
| | | 7501 | #ifndef __cplusplus |
| | | 7502 | /* Ultrix mips cc rejects this. */ |
| | | 7503 | typedef int charset[2]; |
| | | 7504 | - const charset x; |
| | | 7505 | + const charset cs; |
| | | 7506 | /* SunOS 4.1.1 cc rejects this. */ |
| | | 7507 | - char const *const *ccp; |
| | | 7508 | - char **p; |
| | | 7509 | + char const *const *pcpcc; |
| | | 7510 | + char **ppc; |
| | | 7511 | /* NEC SVR4.0.2 mips cc rejects this. */ |
| | | 7512 | struct point {int x, y;}; |
| | | 7513 | static struct point const zero = {0,0}; |
| | | 7514 | @@ -5120,16 +5992,17 @@ main () |
| | | 7515 | an arm of an if-expression whose if-part is not a constant |
| | | 7516 | expression */ |
| | | 7517 | const char *g = "string"; |
| | | 7518 | - ccp = &g + (g ? g-g : 0); |
| | | 7519 | + pcpcc = &g + (g ? g-g : 0); |
| | | 7520 | /* HPUX 7.0 cc rejects these. */ |
| | | 7521 | - ++ccp; |
| | | 7522 | - p = (char**) ccp; |
| | | 7523 | - ccp = (char const *const *) p; |
| | | 7524 | + ++pcpcc; |
| | | 7525 | + ppc = (char**) pcpcc; |
| | | 7526 | + pcpcc = (char const *const *) ppc; |
| | | 7527 | { /* SCO 3.2v4 cc rejects this. */ |
| | | 7528 | char *t; |
| | | 7529 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
| | | 7530 | |
| | | 7531 | *t++ = 0; |
| | | 7532 | + if (s) return 0; |
| | | 7533 | } |
| | | 7534 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
| | | 7535 | int x[] = {25, 17}; |
| | | 7536 | @@ -5148,7 +6021,9 @@ main () |
| | | 7537 | } |
| | | 7538 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
| | | 7539 | const int foo = 10; |
| | | 7540 | + if (!foo) return 0; |
| | | 7541 | } |
| | | 7542 | + return !cs[0] && !zero.x; |
| | | 7543 | #endif |
| | | 7544 | |
| | | 7545 | ; |
| | | 7546 | @@ -5156,42 +6031,39 @@ main () |
| | | 7547 | } |
| | | 7548 | _ACEOF |
| | | 7549 | rm -f conftest.$ac_objext |
| | | 7550 | -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| | | 7551 | - (eval $ac_compile) 2>conftest.er1 |
| | | 7552 | +if { (ac_try="$ac_compile" |
| | | 7553 | +case "(($ac_try" in |
| | | 7554 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 7555 | + *) ac_try_echo=$ac_try;; |
| | | 7556 | +esac |
| | | 7557 | +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 7558 | +$as_echo "$ac_try_echo") >&5 |
| | | 7559 | + (eval "$ac_compile") 2>conftest.er1 |
| | | 7560 | ac_status=$? |
| | | 7561 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 7562 | rm -f conftest.er1 |
| | | 7563 | cat conftest.err >&5 |
| | | 7564 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 7565 | - (exit $ac_status); } && |
| | | 7566 | - { ac_try='test -z "$ac_c_werror_flag" |
| | | 7567 | - || test ! -s conftest.err' |
| | | 7568 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 7569 | - (eval $ac_try) 2>&5 |
| | | 7570 | - ac_status=$? |
| | | 7571 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 7572 | - (exit $ac_status); }; } && |
| | | 7573 | - { ac_try='test -s conftest.$ac_objext' |
| | | 7574 | - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| | | 7575 | - (eval $ac_try) 2>&5 |
| | | 7576 | - ac_status=$? |
| | | 7577 | - echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 7578 | - (exit $ac_status); }; }; then |
| | | 7579 | + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 7580 | + (exit $ac_status); } && { |
| | | 7581 | + test -z "$ac_c_werror_flag" || |
| | | 7582 | + test ! -s conftest.err |
| | | 7583 | + } && test -s conftest.$ac_objext; then |
| | | 7584 | ac_cv_c_const=yes |
| | | 7585 | else |
| | | 7586 | - echo "$as_me: failed program was:" >&5 |
| | | 7587 | + $as_echo "$as_me: failed program was:" >&5 |
| | | 7588 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 7589 | |
| | | 7590 | -ac_cv_c_const=no |
| | | 7591 | + ac_cv_c_const=no |
| | | 7592 | fi |
| | | 7593 | -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 7594 | + |
| | | 7595 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 7596 | fi |
| | | 7597 | -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
| | | 7598 | -echo "${ECHO_T}$ac_cv_c_const" >&6 |
| | | 7599 | +{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
| | | 7600 | +$as_echo "$ac_cv_c_const" >&6; } |
| | | 7601 | if test $ac_cv_c_const = no; then |
| | | 7602 | |
| | | 7603 | cat >>confdefs.h <<\_ACEOF |
| | | 7604 | -#define const |
| | | 7605 | +#define const /**/ |
| | | 7606 | _ACEOF |
| | | 7607 | |
| | | 7608 | fi |
| | | 7609 | @@ -5204,7 +6076,13 @@ fi |
| | | 7610 | |
| | | 7611 | |
| | | 7612 | |
| | | 7613 | - ac_config_files="$ac_config_files Makefile interface/Makefile paranoia/Makefile" |
| | | 7614 | + |
| | | 7615 | + |
| | | 7616 | + |
| | | 7617 | + |
| | | 7618 | + |
| | | 7619 | +ac_config_files="$ac_config_files Makefile interface/Makefile paranoia/Makefile" |
| | | 7620 | + |
| | | 7621 | cat >confcache <<\_ACEOF |
| | | 7622 | # This file is a shell script that caches the results of configure |
| | | 7623 | # tests run on this system so they can be shared between configure |
| | | 7624 | @@ -5223,39 +6101,59 @@ _ACEOF |
| | | 7625 | |
| | | 7626 | # The following way of writing the cache mishandles newlines in values, |
| | | 7627 | # but we know of no workaround that is simple, portable, and efficient. |
| | | 7628 | -# So, don't put newlines in cache variables' values. |
| | | 7629 | +# So, we kill variables containing newlines. |
| | | 7630 | # Ultrix sh set writes to stderr and can't be redirected directly, |
| | | 7631 | # and sets the high bit in the cache file unless we assign to the vars. |
| | | 7632 | -{ |
| | | 7633 | +( |
| | | 7634 | + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
| | | 7635 | + eval ac_val=\$$ac_var |
| | | 7636 | + case $ac_val in #( |
| | | 7637 | + *${as_nl}*) |
| | | 7638 | + case $ac_var in #( |
| | | 7639 | + *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
| | | 7640 | +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| | | 7641 | + esac |
| | | 7642 | + case $ac_var in #( |
| | | 7643 | + _ | IFS | as_nl) ;; #( |
| | | 7644 | + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| | | 7645 | + *) $as_unset $ac_var ;; |
| | | 7646 | + esac ;; |
| | | 7647 | + esac |
| | | 7648 | + done |
| | | 7649 | + |
| | | 7650 | (set) 2>&1 | |
| | | 7651 | - case `(ac_space=' '; set | grep ac_space) 2>&1` in |
| | | 7652 | - *ac_space=\ *) |
| | | 7653 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| | | 7654 | + *${as_nl}ac_space=\ *) |
| | | 7655 | # `set' does not quote correctly, so add quotes (double-quote |
| | | 7656 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
| | | 7657 | sed -n \ |
| | | 7658 | "s/'/'\\\\''/g; |
| | | 7659 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| | | 7660 | - ;; |
| | | 7661 | + ;; #( |
| | | 7662 | *) |
| | | 7663 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
| | | 7664 | - sed -n \ |
| | | 7665 | - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
| | | 7666 | + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| | | 7667 | ;; |
| | | 7668 | - esac; |
| | | 7669 | -} | |
| | | 7670 | + esac | |
| | | 7671 | + sort |
| | | 7672 | +) | |
| | | 7673 | sed ' |
| | | 7674 | + /^ac_cv_env_/b end |
| | | 7675 | t clear |
| | | 7676 | - : clear |
| | | 7677 | + :clear |
| | | 7678 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
| | | 7679 | t end |
| | | 7680 | - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| | | 7681 | - : end' >>confcache |
| | | 7682 | -if diff $cache_file confcache >/dev/null 2>&1; then :; else |
| | | 7683 | - if test -w $cache_file; then |
| | | 7684 | - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
| | | 7685 | + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| | | 7686 | + :end' >>confcache |
| | | 7687 | +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| | | 7688 | + if test -w "$cache_file"; then |
| | | 7689 | + test "x$cache_file" != "x/dev/null" && |
| | | 7690 | + { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
| | | 7691 | +$as_echo "$as_me: updating cache $cache_file" >&6;} |
| | | 7692 | cat confcache >$cache_file |
| | | 7693 | else |
| | | 7694 | - echo "not updating unwritable cache $cache_file" |
| | | 7695 | + { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
| | | 7696 | +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| | | 7697 | fi |
| | | 7698 | fi |
| | | 7699 | rm -f confcache |
| | | 7700 | @@ -5264,63 +6162,54 @@ test "x$prefix" = xNONE && prefix=$ac_de |
| | | 7701 | # Let make expand exec_prefix. |
| | | 7702 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| | | 7703 | |
| | | 7704 | -# VPATH may cause trouble with some makes, so we remove $(srcdir), |
| | | 7705 | -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
| | | 7706 | -# trailing colons and then remove the whole line if VPATH becomes empty |
| | | 7707 | -# (actually we leave an empty line to preserve line numbers). |
| | | 7708 | -if test "x$srcdir" = x.; then |
| | | 7709 | - ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| | | 7710 | -s/:*\$(srcdir):*/:/; |
| | | 7711 | -s/:*\${srcdir}:*/:/; |
| | | 7712 | -s/:*@srcdir@:*/:/; |
| | | 7713 | -s/^\([^=]*=[ ]*\):*/\1/; |
| | | 7714 | -s/:*$//; |
| | | 7715 | -s/^[^=]*=[ ]*$//; |
| | | 7716 | -}' |
| | | 7717 | -fi |
| | | 7718 | - |
| | | 7719 | # Transform confdefs.h into DEFS. |
| | | 7720 | # Protect against shell expansion while executing Makefile rules. |
| | | 7721 | # Protect against Makefile macro expansion. |
| | | 7722 | # |
| | | 7723 | # If the first sed substitution is executed (which looks for macros that |
| | | 7724 | -# take arguments), then we branch to the quote section. Otherwise, |
| | | 7725 | +# take arguments), then branch to the quote section. Otherwise, |
| | | 7726 | # look for a macro that doesn't take arguments. |
| | | 7727 | -cat >confdef2opt.sed <<\_ACEOF |
| | | 7728 | +ac_script=' |
| | | 7729 | +:mline |
| | | 7730 | +/\\$/{ |
| | | 7731 | + N |
| | | 7732 | + s,\\\n,, |
| | | 7733 | + b mline |
| | | 7734 | +} |
| | | 7735 | t clear |
| | | 7736 | -: clear |
| | | 7737 | -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g |
| | | 7738 | +:clear |
| | | 7739 | +s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
| | | 7740 | t quote |
| | | 7741 | -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g |
| | | 7742 | +s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
| | | 7743 | t quote |
| | | 7744 | -d |
| | | 7745 | -: quote |
| | | 7746 | -s,[ `~#$^&*(){}\\|;'"<>?],\\&,g |
| | | 7747 | -s,\[,\\&,g |
| | | 7748 | -s,\],\\&,g |
| | | 7749 | -s,\$,$$,g |
| | | 7750 | -p |
| | | 7751 | -_ACEOF |
| | | 7752 | -# We use echo to avoid assuming a particular line-breaking character. |
| | | 7753 | -# The extra dot is to prevent the shell from consuming trailing |
| | | 7754 | -# line-breaks from the sub-command output. A line-break within |
| | | 7755 | -# single-quotes doesn't work because, if this script is created in a |
| | | 7756 | -# platform that uses two characters for line-breaks (e.g., DOS), tr |
| | | 7757 | -# would break. |
| | | 7758 | -ac_LF_and_DOT=`echo; echo .` |
| | | 7759 | -DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` |
| | | 7760 | -rm -f confdef2opt.sed |
| | | 7761 | +b any |
| | | 7762 | +:quote |
| | | 7763 | +s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
| | | 7764 | +s/\[/\\&/g |
| | | 7765 | +s/\]/\\&/g |
| | | 7766 | +s/\$/$$/g |
| | | 7767 | +H |
| | | 7768 | +:any |
| | | 7769 | +${ |
| | | 7770 | + g |
| | | 7771 | + s/^\n// |
| | | 7772 | + s/\n/ /g |
| | | 7773 | + p |
| | | 7774 | +} |
| | | 7775 | +' |
| | | 7776 | +DEFS=`sed -n "$ac_script" confdefs.h` |
| | | 7777 | |
| | | 7778 | |
| | | 7779 | ac_libobjs= |
| | | 7780 | ac_ltlibobjs= |
| | | 7781 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| | | 7782 | # 1. Remove the extension, and $U if already installed. |
| | | 7783 | - ac_i=`echo "$ac_i" | |
| | | 7784 | - sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
| | | 7785 | - # 2. Add them. |
| | | 7786 | - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
| | | 7787 | - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
| | | 7788 | + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| | | 7789 | + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
| | | 7790 | + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| | | 7791 | + # will be set to the directory where LIBOBJS objects are built. |
| | | 7792 | + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| | | 7793 | + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
| | | 7794 | done |
| | | 7795 | LIBOBJS=$ac_libobjs |
| | | 7796 | |
| | | 7797 | @@ -5329,11 +6218,12 @@ LTLIBOBJS=$ac_ltlibobjs |
| | | 7798 | |
| | | 7799 | |
| | | 7800 | : ${CONFIG_STATUS=./config.status} |
| | | 7801 | +ac_write_fail=0 |
| | | 7802 | ac_clean_files_save=$ac_clean_files |
| | | 7803 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| | | 7804 | -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
| | | 7805 | -echo "$as_me: creating $CONFIG_STATUS" >&6;} |
| | | 7806 | -cat >$CONFIG_STATUS <<_ACEOF |
| | | 7807 | +{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
| | | 7808 | +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
| | | 7809 | +cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| | | 7810 | #! $SHELL |
| | | 7811 | # Generated by $as_me. |
| | | 7812 | # Run this file to recreate the current configuration. |
| | | 7813 | @@ -5346,22 +6236,78 @@ ac_cs_silent=false |
| | | 7814 | SHELL=\${CONFIG_SHELL-$SHELL} |
| | | 7815 | _ACEOF |
| | | 7816 | |
| | | 7817 | -cat >>$CONFIG_STATUS <<\_ACEOF |
| | | 7818 | +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| | | 7819 | ## --------------------- ## |
| | | 7820 | ## M4sh Initialization. ## |
| | | 7821 | ## --------------------- ## |
| | | 7822 | |
| | | 7823 | -# Be Bourne compatible |
| | | 7824 | +# Be more Bourne compatible |
| | | 7825 | +DUALCASE=1; export DUALCASE # for MKS sh |
| | | 7826 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
| | | 7827 | emulate sh |
| | | 7828 | NULLCMD=: |
| | | 7829 | - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
| | | 7830 | + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| | | 7831 | # is contrary to our usage. Disable this feature. |
| | | 7832 | alias -g '${1+"$@"}'='"$@"' |
| | | 7833 | -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
| | | 7834 | - set -o posix |
| | | 7835 | + setopt NO_GLOB_SUBST |
| | | 7836 | +else |
| | | 7837 | + case `(set -o) 2>/dev/null` in |
| | | 7838 | + *posix*) set -o posix ;; |
| | | 7839 | +esac |
| | | 7840 | + |
| | | 7841 | +fi |
| | | 7842 | + |
| | | 7843 | + |
| | | 7844 | + |
| | | 7845 | + |
| | | 7846 | +# PATH needs CR |
| | | 7847 | +# Avoid depending upon Character Ranges. |
| | | 7848 | +as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| | | 7849 | +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| | | 7850 | +as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| | | 7851 | +as_cr_digits='0123456789' |
| | | 7852 | +as_cr_alnum=$as_cr_Letters$as_cr_digits |
| | | 7853 | + |
| | | 7854 | +as_nl=' |
| | | 7855 | +' |
| | | 7856 | +export as_nl |
| | | 7857 | +# Printing a long string crashes Solaris 7 /usr/bin/printf. |
| | | 7858 | +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| | | 7859 | +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| | | 7860 | +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| | | 7861 | +if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| | | 7862 | + as_echo='printf %s\n' |
| | | 7863 | + as_echo_n='printf %s' |
| | | 7864 | +else |
| | | 7865 | + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
| | | 7866 | + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
| | | 7867 | + as_echo_n='/usr/ucb/echo -n' |
| | | 7868 | + else |
| | | 7869 | + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| | | 7870 | + as_echo_n_body='eval |
| | | 7871 | + arg=$1; |
| | | 7872 | + case $arg in |
| | | 7873 | + *"$as_nl"*) |
| | | 7874 | + expr "X$arg" : "X\\(.*\\)$as_nl"; |
| | | 7875 | + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| | | 7876 | + esac; |
| | | 7877 | + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
| | | 7878 | + ' |
| | | 7879 | + export as_echo_n_body |
| | | 7880 | + as_echo_n='sh -c $as_echo_n_body as_echo' |
| | | 7881 | + fi |
| | | 7882 | + export as_echo_body |
| | | 7883 | + as_echo='sh -c $as_echo_body as_echo' |
| | | 7884 | +fi |
| | | 7885 | + |
| | | 7886 | +# The user is always right. |
| | | 7887 | +if test "${PATH_SEPARATOR+set}" != set; then |
| | | 7888 | + PATH_SEPARATOR=: |
| | | 7889 | + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| | | 7890 | + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| | | 7891 | + PATH_SEPARATOR=';' |
| | | 7892 | + } |
| | | 7893 | fi |
| | | 7894 | -DUALCASE=1; export DUALCASE # for MKS sh |
| | | 7895 | |
| | | 7896 | # Support unset when possible. |
| | | 7897 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
| | | 7898 | @@ -5371,33 +6317,60 @@ else |
| | | 7899 | fi |
| | | 7900 | |
| | | 7901 | |
| | | 7902 | +# IFS |
| | | 7903 | +# We need space, tab and new line, in precisely that order. Quoting is |
| | | 7904 | +# there to prevent editors from complaining about space-tab. |
| | | 7905 | +# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| | | 7906 | +# splitting by setting IFS to empty value.) |
| | | 7907 | +IFS=" "" $as_nl" |
| | | 7908 | + |
| | | 7909 | +# Find who we are. Look in the path if we contain no directory separator. |
| | | 7910 | +case $0 in |
| | | 7911 | + *[\\/]* ) as_myself=$0 ;; |
| | | 7912 | + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| | | 7913 | +for as_dir in $PATH |
| | | 7914 | +do |
| | | 7915 | + IFS=$as_save_IFS |
| | | 7916 | + test -z "$as_dir" && as_dir=. |
| | | 7917 | + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| | | 7918 | +done |
| | | 7919 | +IFS=$as_save_IFS |
| | | 7920 | + |
| | | 7921 | + ;; |
| | | 7922 | +esac |
| | | 7923 | +# We did not find ourselves, most probably we were run as `sh COMMAND' |
| | | 7924 | +# in which case we are not to be found in the path. |
| | | 7925 | +if test "x$as_myself" = x; then |
| | | 7926 | + as_myself=$0 |
| | | 7927 | +fi |
| | | 7928 | +if test ! -f "$as_myself"; then |
| | | 7929 | + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| | | 7930 | + { (exit 1); exit 1; } |
| | | 7931 | +fi |
| | | 7932 | + |
| | | 7933 | # Work around bugs in pre-3.0 UWIN ksh. |
| | | 7934 | -$as_unset ENV MAIL MAILPATH |
| | | 7935 | +for as_var in ENV MAIL MAILPATH |
| | | 7936 | +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
| | | 7937 | +done |
| | | 7938 | PS1='$ ' |
| | | 7939 | PS2='> ' |
| | | 7940 | PS4='+ ' |
| | | 7941 | |
| | | 7942 | # NLS nuisances. |
| | | 7943 | -for as_var in \ |
| | | 7944 | - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
| | | 7945 | - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
| | | 7946 | - LC_TELEPHONE LC_TIME |
| | | 7947 | -do |
| | | 7948 | - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
| | | 7949 | - eval $as_var=C; export $as_var |
| | | 7950 | - else |
| | | 7951 | - $as_unset $as_var |
| | | 7952 | - fi |
| | | 7953 | -done |
| | | 7954 | +LC_ALL=C |
| | | 7955 | +export LC_ALL |
| | | 7956 | +LANGUAGE=C |
| | | 7957 | +export LANGUAGE |
| | | 7958 | |
| | | 7959 | # Required to use basename. |
| | | 7960 | -if expr a : '\(a\)' >/dev/null 2>&1; then |
| | | 7961 | +if expr a : '\(a\)' >/dev/null 2>&1 && |
| | | 7962 | + test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| | | 7963 | as_expr=expr |
| | | 7964 | else |
| | | 7965 | as_expr=false |
| | | 7966 | fi |
| | | 7967 | |
| | | 7968 | -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
| | | 7969 | +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| | | 7970 | as_basename=basename |
| | | 7971 | else |
| | | 7972 | as_basename=false |
| | | 7973 | @@ -5405,159 +6378,122 @@ fi |
| | | 7974 | |
| | | 7975 | |
| | | 7976 | # Name of the executable. |
| | | 7977 | -as_me=`$as_basename "$0" || |
| | | 7978 | +as_me=`$as_basename -- "$0" || |
| | | 7979 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| | | 7980 | X"$0" : 'X\(//\)$' \| \ |
| | | 7981 | - X"$0" : 'X\(/\)$' \| \ |
| | | 7982 | - . : '\(.\)' 2>/dev/null || |
| | | 7983 | -echo X/"$0" | |
| | | 7984 | - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
| | | 7985 | - /^X\/\(\/\/\)$/{ s//\1/; q; } |
| | | 7986 | - /^X\/\(\/\).*/{ s//\1/; q; } |
| | | 7987 | - s/.*/./; q'` |
| | | 7988 | - |
| | | 7989 | - |
| | | 7990 | -# PATH needs CR, and LINENO needs CR and PATH. |
| | | 7991 | -# Avoid depending upon Character Ranges. |
| | | 7992 | -as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| | | 7993 | -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| | | 7994 | -as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| | | 7995 | -as_cr_digits='0123456789' |
| | | 7996 | -as_cr_alnum=$as_cr_Letters$as_cr_digits |
| | | 7997 | + X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| | | 7998 | +$as_echo X/"$0" | |
| | | 7999 | + sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| | | 8000 | + s//\1/ |
| | | 8001 | + q |
| | | 8002 | + } |
| | | 8003 | + /^X\/\(\/\/\)$/{ |
| | | 8004 | + s//\1/ |
| | | 8005 | + q |
| | | 8006 | + } |
| | | 8007 | + /^X\/\(\/\).*/{ |
| | | 8008 | + s//\1/ |
| | | 8009 | + q |
| | | 8010 | + } |
| | | 8011 | + s/.*/./; q'` |
| | | 8012 | |
| | | 8013 | -# The user is always right. |
| | | 8014 | -if test "${PATH_SEPARATOR+set}" != set; then |
| | | 8015 | - echo "#! /bin/sh" >conf$$.sh |
| | | 8016 | - echo "exit 0" >>conf$$.sh |
| | | 8017 | - chmod +x conf$$.sh |
| | | 8018 | - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
| | | 8019 | - PATH_SEPARATOR=';' |
| | | 8020 | - else |
| | | 8021 | - PATH_SEPARATOR=: |
| | | 8022 | - fi |
| | | 8023 | - rm -f conf$$.sh |
| | | 8024 | -fi |
| | | 8025 | +# CDPATH. |
| | | 8026 | +$as_unset CDPATH |
| | | 8027 | |
| | | 8028 | |
| | | 8029 | - as_lineno_1=$LINENO |
| | | 8030 | - as_lineno_2=$LINENO |
| | | 8031 | - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| | | 8032 | - test "x$as_lineno_1" != "x$as_lineno_2" && |
| | | 8033 | - test "x$as_lineno_3" = "x$as_lineno_2" || { |
| | | 8034 | - # Find who we are. Look in the path if we contain no path at all |
| | | 8035 | - # relative or not. |
| | | 8036 | - case $0 in |
| | | 8037 | - *[\\/]* ) as_myself=$0 ;; |
| | | 8038 | - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| | | 8039 | -for as_dir in $PATH |
| | | 8040 | -do |
| | | 8041 | - IFS=$as_save_IFS |
| | | 8042 | - test -z "$as_dir" && as_dir=. |
| | | 8043 | - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| | | 8044 | -done |
| | | 8045 | |
| | | 8046 | - ;; |
| | | 8047 | - esac |
| | | 8048 | - # We did not find ourselves, most probably we were run as `sh COMMAND' |
| | | 8049 | - # in which case we are not to be found in the path. |
| | | 8050 | - if test "x$as_myself" = x; then |
| | | 8051 | - as_myself=$0 |
| | | 8052 | - fi |
| | | 8053 | - if test ! -f "$as_myself"; then |
| | | 8054 | - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
| | | 8055 | -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
| | | 8056 | - { (exit 1); exit 1; }; } |
| | | 8057 | - fi |
| | | 8058 | - case $CONFIG_SHELL in |
| | | 8059 | - '') |
| | | 8060 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| | | 8061 | -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| | | 8062 | -do |
| | | 8063 | - IFS=$as_save_IFS |
| | | 8064 | - test -z "$as_dir" && as_dir=. |
| | | 8065 | - for as_base in sh bash ksh sh5; do |
| | | 8066 | - case $as_dir in |
| | | 8067 | - /*) |
| | | 8068 | - if ("$as_dir/$as_base" -c ' |
| | | 8069 | as_lineno_1=$LINENO |
| | | 8070 | as_lineno_2=$LINENO |
| | | 8071 | - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
| | | 8072 | test "x$as_lineno_1" != "x$as_lineno_2" && |
| | | 8073 | - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
| | | 8074 | - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
| | | 8075 | - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
| | | 8076 | - CONFIG_SHELL=$as_dir/$as_base |
| | | 8077 | - export CONFIG_SHELL |
| | | 8078 | - exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
| | | 8079 | - fi;; |
| | | 8080 | - esac |
| | | 8081 | - done |
| | | 8082 | -done |
| | | 8083 | -;; |
| | | 8084 | - esac |
| | | 8085 | + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
| | | 8086 | |
| | | 8087 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
| | | 8088 | # uniformly replaced by the line number. The first 'sed' inserts a |
| | | 8089 | - # line-number line before each line; the second 'sed' does the real |
| | | 8090 | - # work. The second script uses 'N' to pair each line-number line |
| | | 8091 | - # with the numbered line, and appends trailing '-' during |
| | | 8092 | - # substitution so that $LINENO is not a special case at line end. |
| | | 8093 | + # line-number line after each line using $LINENO; the second 'sed' |
| | | 8094 | + # does the real work. The second script uses 'N' to pair each |
| | | 8095 | + # line-number line with the line containing $LINENO, and appends |
| | | 8096 | + # trailing '-' during substitution so that $LINENO is not a special |
| | | 8097 | + # case at line end. |
| | | 8098 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
| | | 8099 | - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
| | | 8100 | - sed '=' <$as_myself | |
| | | 8101 | + # scripts with optimization help from Paolo Bonzini. Blame Lee |
| | | 8102 | + # E. McMahon (1931-1989) for sed's syntax. :-) |
| | | 8103 | + sed -n ' |
| | | 8104 | + p |
| | | 8105 | + /[$]LINENO/= |
| | | 8106 | + ' <$as_myself | |
| | | 8107 | sed ' |
| | | 8108 | + s/[$]LINENO.*/&-/ |
| | | 8109 | + t lineno |
| | | 8110 | + b |
| | | 8111 | + :lineno |
| | | 8112 | N |
| | | 8113 | - s,$,-, |
| | | 8114 | - : loop |
| | | 8115 | - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
| | | 8116 | + :loop |
| | | 8117 | + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| | | 8118 | t loop |
| | | 8119 | - s,-$,, |
| | | 8120 | - s,^['$as_cr_digits']*\n,, |
| | | 8121 | + s/-\n.*// |
| | | 8122 | ' >$as_me.lineno && |
| | | 8123 | - chmod +x $as_me.lineno || |
| | | 8124 | - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
| | | 8125 | -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
| | | 8126 | + chmod +x "$as_me.lineno" || |
| | | 8127 | + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
| | | 8128 | { (exit 1); exit 1; }; } |
| | | 8129 | |
| | | 8130 | # Don't try to exec as it changes $[0], causing all sort of problems |
| | | 8131 | # (the dirname of $[0] is not the place where we might find the |
| | | 8132 | - # original and so on. Autoconf is especially sensible to this). |
| | | 8133 | - . ./$as_me.lineno |
| | | 8134 | + # original and so on. Autoconf is especially sensitive to this). |
| | | 8135 | + . "./$as_me.lineno" |
| | | 8136 | # Exit status is that of the last command. |
| | | 8137 | exit |
| | | 8138 | } |
| | | 8139 | |
| | | 8140 | |
| | | 8141 | -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
| | | 8142 | - *c*,-n*) ECHO_N= ECHO_C=' |
| | | 8143 | -' ECHO_T=' ' ;; |
| | | 8144 | - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
| | | 8145 | - *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
| | | 8146 | -esac |
| | | 8147 | +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| | | 8148 | + as_dirname=dirname |
| | | 8149 | +else |
| | | 8150 | + as_dirname=false |
| | | 8151 | +fi |
| | | 8152 | |
| | | 8153 | -if expr a : '\(a\)' >/dev/null 2>&1; then |
| | | 8154 | +ECHO_C= ECHO_N= ECHO_T= |
| | | 8155 | +case `echo -n x` in |
| | | 8156 | +-n*) |
| | | 8157 | + case `echo 'x\c'` in |
| | | 8158 | + *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| | | 8159 | + *) ECHO_C='\c';; |
| | | 8160 | + esac;; |
| | | 8161 | +*) |
| | | 8162 | + ECHO_N='-n';; |
| | | 8163 | +esac |
| | | 8164 | +if expr a : '\(a\)' >/dev/null 2>&1 && |
| | | 8165 | + test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| | | 8166 | as_expr=expr |
| | | 8167 | else |
| | | 8168 | as_expr=false |
| | | 8169 | fi |
| | | 8170 | |
| | | 8171 | rm -f conf$$ conf$$.exe conf$$.file |
| | | 8172 | -echo >conf$$.file |
| | | 8173 | -if ln -s conf$$.file conf$$ 2>/dev/null; then |
| | | 8174 | - # We could just check for DJGPP; but this test a) works b) is more generic |
| | | 8175 | - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
| | | 8176 | - if test -f conf$$.exe; then |
| | | 8177 | - # Don't use ln at all; we don't have any links |
| | | 8178 | - as_ln_s='cp -p' |
| | | 8179 | - else |
| | | 8180 | +if test -d conf$$.dir; then |
| | | 8181 | + rm -f conf$$.dir/conf$$.file |
| | | 8182 | +else |
| | | 8183 | + rm -f conf$$.dir |
| | | 8184 | + mkdir conf$$.dir 2>/dev/null |
| | | 8185 | +fi |
| | | 8186 | +if (echo >conf$$.file) 2>/dev/null; then |
| | | 8187 | + if ln -s conf$$.file conf$$ 2>/dev/null; then |
| | | 8188 | as_ln_s='ln -s' |
| | | 8189 | + # ... but there are two gotchas: |
| | | 8190 | + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| | | 8191 | + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| | | 8192 | + # In both cases, we have to default to `cp -p'. |
| | | 8193 | + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| | | 8194 | + as_ln_s='cp -p' |
| | | 8195 | + elif ln conf$$.file conf$$ 2>/dev/null; then |
| | | 8196 | + as_ln_s=ln |
| | | 8197 | + else |
| | | 8198 | + as_ln_s='cp -p' |
| | | 8199 | fi |
| | | 8200 | -elif ln conf$$.file conf$$ 2>/dev/null; then |
| | | 8201 | - as_ln_s=ln |
| | | 8202 | else |
| | | 8203 | as_ln_s='cp -p' |
| | | 8204 | fi |
| | | 8205 | -rm -f conf$$ conf$$.exe conf$$.file |
| | | 8206 | +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| | | 8207 | +rmdir conf$$.dir 2>/dev/null |
| | | 8208 | |
| | | 8209 | if mkdir -p . 2>/dev/null; then |
| | | 8210 | as_mkdir_p=: |
| | | 8211 | @@ -5566,7 +6502,28 @@ else |
| | | 8212 | as_mkdir_p=false |
| | | 8213 | fi |
| | | 8214 | |
| | | 8215 | -as_executable_p="test -f" |
| | | 8216 | +if test -x / >/dev/null 2>&1; then |
| | | 8217 | + as_test_x='test -x' |
| | | 8218 | +else |
| | | 8219 | + if ls -dL / >/dev/null 2>&1; then |
| | | 8220 | + as_ls_L_option=L |
| | | 8221 | + else |
| | | 8222 | + as_ls_L_option= |
| | | 8223 | + fi |
| | | 8224 | + as_test_x=' |
| | | 8225 | + eval sh -c '\'' |
| | | 8226 | + if test -d "$1"; then |
| | | 8227 | + test -d "$1/."; |
| | | 8228 | + else |
| | | 8229 | + case $1 in |
| | | 8230 | + -*)set "./$1";; |
| | | 8231 | + esac; |
| | | 8232 | + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
| | | 8233 | + ???[sx]*):;;*)false;;esac;fi |
| | | 8234 | + '\'' sh |
| | | 8235 | + ' |
| | | 8236 | +fi |
| | | 8237 | +as_executable_p=$as_test_x |
| | | 8238 | |
| | | 8239 | # Sed expression to map a string onto a valid CPP name. |
| | | 8240 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| | | 8241 | @@ -5575,31 +6532,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P |
| | | 8242 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| | | 8243 | |
| | | 8244 | |
| | | 8245 | -# IFS |
| | | 8246 | -# We need space, tab and new line, in precisely that order. |
| | | 8247 | -as_nl=' |
| | | 8248 | -' |
| | | 8249 | -IFS=" $as_nl" |
| | | 8250 | - |
| | | 8251 | -# CDPATH. |
| | | 8252 | -$as_unset CDPATH |
| | | 8253 | - |
| | | 8254 | exec 6>&1 |
| | | 8255 | |
| | | 8256 | -# Open the log real soon, to keep \$[0] and so on meaningful, and to |
| | | 8257 | +# Save the log message, to keep $[0] and so on meaningful, and to |
| | | 8258 | # report actual input values of CONFIG_FILES etc. instead of their |
| | | 8259 | -# values after options handling. Logging --version etc. is OK. |
| | | 8260 | -exec 5>>config.log |
| | | 8261 | -{ |
| | | 8262 | - echo |
| | | 8263 | - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| | | 8264 | -## Running $as_me. ## |
| | | 8265 | -_ASBOX |
| | | 8266 | -} >&5 |
| | | 8267 | -cat >&5 <<_CSEOF |
| | | 8268 | - |
| | | 8269 | +# values after options handling. |
| | | 8270 | +ac_log=" |
| | | 8271 | This file was extended by $as_me, which was |
| | | 8272 | -generated by GNU Autoconf 2.59. Invocation command line was |
| | | 8273 | +generated by GNU Autoconf 2.63. Invocation command line was |
| | | 8274 | |
| | | 8275 | CONFIG_FILES = $CONFIG_FILES |
| | | 8276 | CONFIG_HEADERS = $CONFIG_HEADERS |
| | | 8277 | @@ -5607,124 +6547,106 @@ generated by GNU Autoconf 2.59. Invocat |
| | | 8278 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
| | | 8279 | $ $0 $@ |
| | | 8280 | |
| | | 8281 | -_CSEOF |
| | | 8282 | -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
| | | 8283 | -echo >&5 |
| | | 8284 | +on `(hostname || uname -n) 2>/dev/null | sed 1q` |
| | | 8285 | +" |
| | | 8286 | + |
| | | 8287 | _ACEOF |
| | | 8288 | |
| | | 8289 | -# Files that config.status was made for. |
| | | 8290 | -if test -n "$ac_config_files"; then |
| | | 8291 | - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
| | | 8292 | -fi |
| | | 8293 | +case $ac_config_files in *" |
| | | 8294 | +"*) set x $ac_config_files; shift; ac_config_files=$*;; |
| | | 8295 | +esac |
| | | 8296 | |
| | | 8297 | -if test -n "$ac_config_headers"; then |
| | | 8298 | - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
| | | 8299 | -fi |
| | | 8300 | |
| | | 8301 | -if test -n "$ac_config_links"; then |
| | | 8302 | - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
| | | 8303 | -fi |
| | | 8304 | |
| | | 8305 | -if test -n "$ac_config_commands"; then |
| | | 8306 | - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
| | | 8307 | -fi |
| | | 8308 | +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| | | 8309 | +# Files that config.status was made for. |
| | | 8310 | +config_files="$ac_config_files" |
| | | 8311 | |
| | | 8312 | -cat >>$CONFIG_STATUS <<\_ACEOF |
| | | 8313 | +_ACEOF |
| | | 8314 | |
| | | 8315 | +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| | | 8316 | ac_cs_usage="\ |
| | | 8317 | \`$as_me' instantiates files from templates according to the |
| | | 8318 | current configuration. |
| | | 8319 | |
| | | 8320 | -Usage: $0 [OPTIONS] [FILE]... |
| | | 8321 | +Usage: $0 [OPTION]... [FILE]... |
| | | 8322 | |
| | | 8323 | -h, --help print this help, then exit |
| | | 8324 | - -V, --version print version number, then exit |
| | | 8325 | - -q, --quiet do not print progress messages |
| | | 8326 | + -V, --version print version number and configuration settings, then exit |
| | | 8327 | + -q, --quiet, --silent |
| | | 8328 | + do not print progress messages |
| | | 8329 | -d, --debug don't remove temporary files |
| | | 8330 | --recheck update $as_me by reconfiguring in the same conditions |
| | | 8331 | - --file=FILE[:TEMPLATE] |
| | | 8332 | - instantiate the configuration file FILE |
| | | 8333 | + --file=FILE[:TEMPLATE] |
| | | 8334 | + instantiate the configuration file FILE |
| | | 8335 | |
| | | 8336 | Configuration files: |
| | | 8337 | $config_files |
| | | 8338 | |
| | | 8339 | Report bugs to <bug-autoconf@gnu.org>." |
| | | 8340 | -_ACEOF |
| | | 8341 | |
| | | 8342 | -cat >>$CONFIG_STATUS <<_ACEOF |
| | | 8343 | +_ACEOF |
| | | 8344 | +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| | | 8345 | ac_cs_version="\\ |
| | | 8346 | config.status |
| | | 8347 | -configured by $0, generated by GNU Autoconf 2.59, |
| | | 8348 | - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
| | | 8349 | +configured by $0, generated by GNU Autoconf 2.63, |
| | | 8350 | + with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
| | | 8351 | |
| | | 8352 | -Copyright (C) 2003 Free Software Foundation, Inc. |
| | | 8353 | +Copyright (C) 2008 Free Software Foundation, Inc. |
| | | 8354 | This config.status script is free software; the Free Software Foundation |
| | | 8355 | gives unlimited permission to copy, distribute and modify it." |
| | | 8356 | -srcdir=$srcdir |
| | | 8357 | + |
| | | 8358 | +ac_pwd='$ac_pwd' |
| | | 8359 | +srcdir='$srcdir' |
| | | 8360 | +test -n "\$AWK" || AWK=awk |
| | | 8361 | _ACEOF |
| | | 8362 | |
| | | 8363 | -cat >>$CONFIG_STATUS <<\_ACEOF |
| | | 8364 | -# If no file are specified by the user, then we need to provide default |
| | | 8365 | -# value. By we need to know if files were specified by the user. |
| | | 8366 | +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| | | 8367 | +# The default lists apply if the user does not specify any file. |
| | | 8368 | ac_need_defaults=: |
| | | 8369 | while test $# != 0 |
| | | 8370 | do |
| | | 8371 | case $1 in |
| | | 8372 | --*=*) |
| | | 8373 | - ac_option=`expr "x$1" : 'x\([^=]*\)='` |
| | | 8374 | - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
| | | 8375 | + ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| | | 8376 | + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| | | 8377 | ac_shift=: |
| | | 8378 | ;; |
| | | 8379 | - -*) |
| | | 8380 | + *) |
| | | 8381 | ac_option=$1 |
| | | 8382 | ac_optarg=$2 |
| | | 8383 | ac_shift=shift |
| | | 8384 | ;; |
| | | 8385 | - *) # This is not an option, so the user has probably given explicit |
| | | 8386 | - # arguments. |
| | | 8387 | - ac_option=$1 |
| | | 8388 | - ac_need_defaults=false;; |
| | | 8389 | esac |
| | | 8390 | |
| | | 8391 | case $ac_option in |
| | | 8392 | # Handling of the options. |
| | | 8393 | -_ACEOF |
| | | 8394 | -cat >>$CONFIG_STATUS <<\_ACEOF |
| | | 8395 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| | | 8396 | ac_cs_recheck=: ;; |
| | | 8397 | - --version | --vers* | -V ) |
| | | 8398 | - echo "$ac_cs_version"; exit 0 ;; |
| | | 8399 | - --he | --h) |
| | | 8400 | - # Conflict between --help and --header |
| | | 8401 | - { { echo "$as_me:$LINENO: error: ambiguous option: $1 |
| | | 8402 | -Try \`$0 --help' for more information." >&5 |
| | | 8403 | -echo "$as_me: error: ambiguous option: $1 |
| | | 8404 | -Try \`$0 --help' for more information." >&2;} |
| | | 8405 | - { (exit 1); exit 1; }; };; |
| | | 8406 | - --help | --hel | -h ) |
| | | 8407 | - echo "$ac_cs_usage"; exit 0 ;; |
| | | 8408 | - --debug | --d* | -d ) |
| | | 8409 | + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| | | 8410 | + $as_echo "$ac_cs_version"; exit ;; |
| | | 8411 | + --debug | --debu | --deb | --de | --d | -d ) |
| | | 8412 | debug=: ;; |
| | | 8413 | --file | --fil | --fi | --f ) |
| | | 8414 | $ac_shift |
| | | 8415 | - CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
| | | 8416 | - ac_need_defaults=false;; |
| | | 8417 | - --header | --heade | --head | --hea ) |
| | | 8418 | - $ac_shift |
| | | 8419 | - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
| | | 8420 | + case $ac_optarg in |
| | | 8421 | + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| | | 8422 | + esac |
| | | 8423 | + CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
| | | 8424 | ac_need_defaults=false;; |
| | | 8425 | + --he | --h | --help | --hel | -h ) |
| | | 8426 | + $as_echo "$ac_cs_usage"; exit ;; |
| | | 8427 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| | | 8428 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
| | | 8429 | ac_cs_silent=: ;; |
| | | 8430 | |
| | | 8431 | # This is an error. |
| | | 8432 | - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
| | | 8433 | -Try \`$0 --help' for more information." >&5 |
| | | 8434 | -echo "$as_me: error: unrecognized option: $1 |
| | | 8435 | -Try \`$0 --help' for more information." >&2;} |
| | | 8436 | + -*) { $as_echo "$as_me: error: unrecognized option: $1 |
| | | 8437 | +Try \`$0 --help' for more information." >&2 |
| | | 8438 | { (exit 1); exit 1; }; } ;; |
| | | 8439 | |
| | | 8440 | - *) ac_config_targets="$ac_config_targets $1" ;; |
| | | 8441 | + *) ac_config_targets="$ac_config_targets $1" |
| | | 8442 | + ac_need_defaults=false ;; |
| | | 8443 | |
| | | 8444 | esac |
| | | 8445 | shift |
| | | 8446 | @@ -5738,32 +6660,48 @@ if $ac_cs_silent; then |
| | | 8447 | fi |
| | | 8448 | |
| | | 8449 | _ACEOF |
| | | 8450 | -cat >>$CONFIG_STATUS <<_ACEOF |
| | | 8451 | +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| | | 8452 | if \$ac_cs_recheck; then |
| | | 8453 | - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
| | | 8454 | - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| | | 8455 | + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| | | 8456 | + shift |
| | | 8457 | + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
| | | 8458 | + CONFIG_SHELL='$SHELL' |
| | | 8459 | + export CONFIG_SHELL |
| | | 8460 | + exec "\$@" |
| | | 8461 | fi |
| | | 8462 | |
| | | 8463 | _ACEOF |
| | | 8464 | +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| | | 8465 | +exec 5>>config.log |
| | | 8466 | +{ |
| | | 8467 | + echo |
| | | 8468 | + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| | | 8469 | +## Running $as_me. ## |
| | | 8470 | +_ASBOX |
| | | 8471 | + $as_echo "$ac_log" |
| | | 8472 | +} >&5 |
| | | 8473 | |
| | | 8474 | +_ACEOF |
| | | 8475 | +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| | | 8476 | +_ACEOF |
| | | 8477 | |
| | | 8478 | +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| | | 8479 | |
| | | 8480 | - |
| | | 8481 | - |
| | | 8482 | -cat >>$CONFIG_STATUS <<\_ACEOF |
| | | 8483 | +# Handling of arguments. |
| | | 8484 | for ac_config_target in $ac_config_targets |
| | | 8485 | do |
| | | 8486 | - case "$ac_config_target" in |
| | | 8487 | - # Handling of arguments. |
| | | 8488 | - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| | | 8489 | - "interface/Makefile" ) CONFIG_FILES="$CONFIG_FILES interface/Makefile" ;; |
| | | 8490 | - "paranoia/Makefile" ) CONFIG_FILES="$CONFIG_FILES paranoia/Makefile" ;; |
| | | 8491 | - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
| | | 8492 | -echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
| | | 8493 | + case $ac_config_target in |
| | | 8494 | + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| | | 8495 | + "interface/Makefile") CONFIG_FILES="$CONFIG_FILES interface/Makefile" ;; |
| | | 8496 | + "paranoia/Makefile") CONFIG_FILES="$CONFIG_FILES paranoia/Makefile" ;; |
| | | 8497 | + |
| | | 8498 | + *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
| | | 8499 | +$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
| | | 8500 | { (exit 1); exit 1; }; };; |
| | | 8501 | esac |
| | | 8502 | done |
| | | 8503 | |
| | | 8504 | + |
| | | 8505 | # If the user did not use the arguments to specify the items to instantiate, |
| | | 8506 | # then the envvar interface is used. Set only those that are not. |
| | | 8507 | # We use the long form for the default assignment because of an extremely |
| | | 8508 | @@ -5773,344 +6711,464 @@ if $ac_need_defaults; then |
| | | 8509 | fi |
| | | 8510 | |
| | | 8511 | # Have a temporary directory for convenience. Make it in the build tree |
| | | 8512 | -# simply because there is no reason to put it here, and in addition, |
| | | 8513 | +# simply because there is no reason against having it here, and in addition, |
| | | 8514 | # creating and moving files from /tmp can sometimes cause problems. |
| | | 8515 | -# Create a temporary directory, and hook for its removal unless debugging. |
| | | 8516 | +# Hook for its removal unless debugging. |
| | | 8517 | +# Note that there is a small window in which the directory will not be cleaned: |
| | | 8518 | +# after its creation but before its name has been assigned to `$tmp'. |
| | | 8519 | $debug || |
| | | 8520 | { |
| | | 8521 | - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
| | | 8522 | + tmp= |
| | | 8523 | + trap 'exit_status=$? |
| | | 8524 | + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
| | | 8525 | +' 0 |
| | | 8526 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
| | | 8527 | } |
| | | 8528 | - |
| | | 8529 | # Create a (secure) tmp directory for tmp files. |
| | | 8530 | |
| | | 8531 | { |
| | | 8532 | - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
| | | 8533 | + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| | | 8534 | test -n "$tmp" && test -d "$tmp" |
| | | 8535 | } || |
| | | 8536 | { |
| | | 8537 | - tmp=./confstat$$-$RANDOM |
| | | 8538 | - (umask 077 && mkdir $tmp) |
| | | 8539 | + tmp=./conf$$-$RANDOM |
| | | 8540 | + (umask 077 && mkdir "$tmp") |
| | | 8541 | } || |
| | | 8542 | { |
| | | 8543 | - echo "$me: cannot create a temporary directory in ." >&2 |
| | | 8544 | + $as_echo "$as_me: cannot create a temporary directory in ." >&2 |
| | | 8545 | { (exit 1); exit 1; } |
| | | 8546 | } |
| | | 8547 | |
| | | 8548 | +# Set up the scripts for CONFIG_FILES section. |
| | | 8549 | +# No need to generate them if there are no CONFIG_FILES. |
| | | 8550 | +# This happens for instance with `./config.status config.h'. |
| | | 8551 | +if test -n "$CONFIG_FILES"; then |
| | | 8552 | + |
| | | 8553 | + |
| | | 8554 | +ac_cr='
' |
| | | 8555 | +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| | | 8556 | +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| | | 8557 | + ac_cs_awk_cr='\\r' |
179 | +else | | 8558 | +else |
180 | + echo "$ac_t""no" 1>&6 | | 8559 | + ac_cs_awk_cr=$ac_cr |
181 | +fi | | 8560 | +fi |
| | | 8561 | + |
| | | 8562 | +echo 'BEGIN {' >"$tmp/subs1.awk" && |
| | | 8563 | _ACEOF |
| | | 8564 | |
| | | 8565 | -cat >>$CONFIG_STATUS <<_ACEOF |
| | | 8566 | |
| | | 8567 | -# |
| | | 8568 | -# CONFIG_FILES section. |
| | | 8569 | -# |
| | | 8570 | +{ |
| | | 8571 | + echo "cat >conf$$subs.awk <<_ACEOF" && |
| | | 8572 | + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
| | | 8573 | + echo "_ACEOF" |
| | | 8574 | +} >conf$$subs.sh || |
| | | 8575 | + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| | | 8576 | +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
| | | 8577 | + { (exit 1); exit 1; }; } |
| | | 8578 | +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
| | | 8579 | +ac_delim='%!_!# ' |
| | | 8580 | +for ac_last_try in false false false false false :; do |
| | | 8581 | + . ./conf$$subs.sh || |
| | | 8582 | + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| | | 8583 | +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
| | | 8584 | + { (exit 1); exit 1; }; } |
| | | 8585 | |
| | | 8586 | -# No need to generate the scripts if there are no CONFIG_FILES. |
| | | 8587 | -# This happens for instance when ./config.status config.h |
| | | 8588 | -if test -n "\$CONFIG_FILES"; then |
| | | 8589 | - # Protect against being on the right side of a sed subst in config.status. |
| | | 8590 | - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
| | | 8591 | - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
| | | 8592 | -s,@SHELL@,$SHELL,;t t |
| | | 8593 | -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
| | | 8594 | -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
| | | 8595 | -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
| | | 8596 | -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
| | | 8597 | -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
| | | 8598 | -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
| | | 8599 | -s,@exec_prefix@,$exec_prefix,;t t |
| | | 8600 | -s,@prefix@,$prefix,;t t |
| | | 8601 | -s,@program_transform_name@,$program_transform_name,;t t |
| | | 8602 | -s,@bindir@,$bindir,;t t |
| | | 8603 | -s,@sbindir@,$sbindir,;t t |
| | | 8604 | -s,@libexecdir@,$libexecdir,;t t |
| | | 8605 | -s,@datadir@,$datadir,;t t |
| | | 8606 | -s,@sysconfdir@,$sysconfdir,;t t |
| | | 8607 | -s,@sharedstatedir@,$sharedstatedir,;t t |
| | | 8608 | -s,@localstatedir@,$localstatedir,;t t |
| | | 8609 | -s,@libdir@,$libdir,;t t |
| | | 8610 | -s,@includedir@,$includedir,;t t |
| | | 8611 | -s,@oldincludedir@,$oldincludedir,;t t |
| | | 8612 | -s,@infodir@,$infodir,;t t |
| | | 8613 | -s,@mandir@,$mandir,;t t |
| | | 8614 | -s,@build_alias@,$build_alias,;t t |
| | | 8615 | -s,@host_alias@,$host_alias,;t t |
| | | 8616 | -s,@target_alias@,$target_alias,;t t |
| | | 8617 | -s,@DEFS@,$DEFS,;t t |
| | | 8618 | -s,@ECHO_C@,$ECHO_C,;t t |
| | | 8619 | -s,@ECHO_N@,$ECHO_N,;t t |
| | | 8620 | -s,@ECHO_T@,$ECHO_T,;t t |
| | | 8621 | -s,@LIBS@,$LIBS,;t t |
| | | 8622 | -s,@build@,$build,;t t |
| | | 8623 | -s,@build_cpu@,$build_cpu,;t t |
| | | 8624 | -s,@build_vendor@,$build_vendor,;t t |
| | | 8625 | -s,@build_os@,$build_os,;t t |
| | | 8626 | -s,@host@,$host,;t t |
| | | 8627 | -s,@host_cpu@,$host_cpu,;t t |
| | | 8628 | -s,@host_vendor@,$host_vendor,;t t |
| | | 8629 | -s,@host_os@,$host_os,;t t |
| | | 8630 | -s,@CC@,$CC,;t t |
| | | 8631 | -s,@CFLAGS@,$CFLAGS,;t t |
| | | 8632 | -s,@LDFLAGS@,$LDFLAGS,;t t |
| | | 8633 | -s,@CPPFLAGS@,$CPPFLAGS,;t t |
| | | 8634 | -s,@ac_ct_CC@,$ac_ct_CC,;t t |
| | | 8635 | -s,@EXEEXT@,$EXEEXT,;t t |
| | | 8636 | -s,@OBJEXT@,$OBJEXT,;t t |
| | | 8637 | -s,@RANLIB@,$RANLIB,;t t |
| | | 8638 | -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
| | | 8639 | -s,@AR@,$AR,;t t |
| | | 8640 | -s,@INSTALL@,$INSTALL,;t t |
| | | 8641 | -s,@CPP@,$CPP,;t t |
| | | 8642 | -s,@EGREP@,$EGREP,;t t |
| | | 8643 | -s,@SET_MAKE@,$SET_MAKE,;t t |
| | | 8644 | -s,@SBPCD_H@,$SBPCD_H,;t t |
| | | 8645 | -s,@UCDROM_H@,$UCDROM_H,;t t |
| | | 8646 | -s,@TYPESIZES@,$TYPESIZES,;t t |
| | | 8647 | -s,@OPT@,$OPT,;t t |
| | | 8648 | -s,@DEBUG@,$DEBUG,;t t |
| | | 8649 | -s,@LIBOBJS@,$LIBOBJS,;t t |
| | | 8650 | -s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
| | | 8651 | -CEOF |
| | | 8652 | - |
| | | 8653 | -_ACEOF |
| | | 8654 | - |
| | | 8655 | - cat >>$CONFIG_STATUS <<\_ACEOF |
| | | 8656 | - # Split the substitutions into bite-sized pieces for seds with |
| | | 8657 | - # small command number limits, like on Digital OSF/1 and HP-UX. |
| | | 8658 | - ac_max_sed_lines=48 |
| | | 8659 | - ac_sed_frag=1 # Number of current file. |
| | | 8660 | - ac_beg=1 # First line for current file. |
| | | 8661 | - ac_end=$ac_max_sed_lines # Line after last line for current file. |
| | | 8662 | - ac_more_lines=: |
| | | 8663 | - ac_sed_cmds= |
| | | 8664 | - while $ac_more_lines; do |
| | | 8665 | - if test $ac_beg -gt 1; then |
| | | 8666 | - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
| | | 8667 | - else |
| | | 8668 | - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
| | | 8669 | - fi |
| | | 8670 | - if test ! -s $tmp/subs.frag; then |
| | | 8671 | - ac_more_lines=false |
| | | 8672 | - else |
| | | 8673 | - # The purpose of the label and of the branching condition is to |
| | | 8674 | - # speed up the sed processing (if there are no `@' at all, there |
| | | 8675 | - # is no need to browse any of the substitutions). |
| | | 8676 | - # These are the two extra sed commands mentioned above. |
| | | 8677 | - (echo ':t |
| | | 8678 | - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
| | | 8679 | - if test -z "$ac_sed_cmds"; then |
| | | 8680 | - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
| | | 8681 | - else |
| | | 8682 | - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
| | | 8683 | - fi |
| | | 8684 | - ac_sed_frag=`expr $ac_sed_frag + 1` |
| | | 8685 | - ac_beg=$ac_end |
| | | 8686 | - ac_end=`expr $ac_end + $ac_max_sed_lines` |
| | | 8687 | - fi |
| | | 8688 | - done |
| | | 8689 | - if test -z "$ac_sed_cmds"; then |
| | | 8690 | - ac_sed_cmds=cat |
| | | 8691 | + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
| | | 8692 | + if test $ac_delim_n = $ac_delim_num; then |
| | | 8693 | + break |
| | | 8694 | + elif $ac_last_try; then |
| | | 8695 | + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
| | | 8696 | +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
| | | 8697 | + { (exit 1); exit 1; }; } |
| | | 8698 | + else |
| | | 8699 | + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| | | 8700 | fi |
| | | 8701 | -fi # test -n "$CONFIG_FILES" |
182 | +done | | 8702 | +done |
| | | 8703 | +rm -f conf$$subs.sh |
| | | 8704 | |
| | | 8705 | +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| | | 8706 | +cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
| | | 8707 | _ACEOF |
| | | 8708 | -cat >>$CONFIG_STATUS <<\_ACEOF |
| | | 8709 | -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
| | | 8710 | - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
| | | 8711 | - case $ac_file in |
| | | 8712 | - - | *:- | *:-:* ) # input from stdin |
| | | 8713 | - cat >$tmp/stdin |
| | | 8714 | - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| | | 8715 | - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| | | 8716 | - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
| | | 8717 | - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
| | | 8718 | - * ) ac_file_in=$ac_file.in ;; |
| | | 8719 | +sed -n ' |
| | | 8720 | +h |
| | | 8721 | +s/^/S["/; s/!.*/"]=/ |
| | | 8722 | +p |
| | | 8723 | +g |
| | | 8724 | +s/^[^!]*!// |
| | | 8725 | +:repl |
| | | 8726 | +t repl |
| | | 8727 | +s/'"$ac_delim"'$// |
| | | 8728 | +t delim |
| | | 8729 | +:nl |
| | | 8730 | +h |
| | | 8731 | +s/\(.\{148\}\).*/\1/ |
| | | 8732 | +t more1 |
| | | 8733 | +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| | | 8734 | +p |
| | | 8735 | +n |
| | | 8736 | +b repl |
| | | 8737 | +:more1 |
| | | 8738 | +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| | | 8739 | +p |
| | | 8740 | +g |
| | | 8741 | +s/.\{148\}// |
| | | 8742 | +t nl |
| | | 8743 | +:delim |
| | | 8744 | +h |
| | | 8745 | +s/\(.\{148\}\).*/\1/ |
| | | 8746 | +t more2 |
| | | 8747 | +s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| | | 8748 | +p |
| | | 8749 | +b |
| | | 8750 | +:more2 |
| | | 8751 | +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| | | 8752 | +p |
| | | 8753 | +g |
| | | 8754 | +s/.\{148\}// |
| | | 8755 | +t delim |
| | | 8756 | +' <conf$$subs.awk | sed ' |
| | | 8757 | +/^[^""]/{ |
| | | 8758 | + N |
| | | 8759 | + s/\n// |
| | | 8760 | +} |
| | | 8761 | +' >>$CONFIG_STATUS || ac_write_fail=1 |
| | | 8762 | +rm -f conf$$subs.awk |
| | | 8763 | +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| | | 8764 | +_ACAWK |
| | | 8765 | +cat >>"\$tmp/subs1.awk" <<_ACAWK && |
| | | 8766 | + for (key in S) S_is_set[key] = 1 |
| | | 8767 | + FS = "" |
| | | 8768 | + |
| | | 8769 | +} |
| | | 8770 | +{ |
| | | 8771 | + line = $ 0 |
| | | 8772 | + nfields = split(line, field, "@") |
| | | 8773 | + substed = 0 |
| | | 8774 | + len = length(field[1]) |
| | | 8775 | + for (i = 2; i < nfields; i++) { |
| | | 8776 | + key = field[i] |
| | | 8777 | + keylen = length(key) |
| | | 8778 | + if (S_is_set[key]) { |
| | | 8779 | + value = S[key] |
| | | 8780 | + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
| | | 8781 | + len += length(value) + length(field[++i]) |
| | | 8782 | + substed = 1 |
| | | 8783 | + } else |
| | | 8784 | + len += 1 + keylen |
| | | 8785 | + } |
| | | 8786 | + |
| | | 8787 | + print line |
| | | 8788 | +} |
| | | 8789 | + |
| | | 8790 | +_ACAWK |
| | | 8791 | +_ACEOF |
| | | 8792 | +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| | | 8793 | +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
| | | 8794 | + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| | | 8795 | +else |
| | | 8796 | + cat |
| | | 8797 | +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
| | | 8798 | + || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 |
| | | 8799 | +$as_echo "$as_me: error: could not setup config files machinery" >&2;} |
| | | 8800 | + { (exit 1); exit 1; }; } |
| | | 8801 | +_ACEOF |
183 | + | | 8802 | + |
| | | 8803 | +# VPATH may cause trouble with some makes, so we remove $(srcdir), |
| | | 8804 | +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
| | | 8805 | +# trailing colons and then remove the whole line if VPATH becomes empty |
| | | 8806 | +# (actually we leave an empty line to preserve line numbers). |
| | | 8807 | +if test "x$srcdir" = x.; then |
| | | 8808 | + ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
| | | 8809 | +s/:*\$(srcdir):*/:/ |
| | | 8810 | +s/:*\${srcdir}:*/:/ |
| | | 8811 | +s/:*@srcdir@:*/:/ |
| | | 8812 | +s/^\([^=]*=[ ]*\):*/\1/ |
| | | 8813 | +s/:*$// |
| | | 8814 | +s/^[^=]*=[ ]*$// |
| | | 8815 | +}' |
| | | 8816 | +fi |
| | | 8817 | + |
| | | 8818 | +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| | | 8819 | +fi # test -n "$CONFIG_FILES" |
| | | 8820 | + |
| | | 8821 | + |
| | | 8822 | +eval set X " :F $CONFIG_FILES " |
| | | 8823 | +shift |
| | | 8824 | +for ac_tag |
| | | 8825 | +do |
| | | 8826 | + case $ac_tag in |
| | | 8827 | + :[FHLC]) ac_mode=$ac_tag; continue;; |
| | | 8828 | + esac |
| | | 8829 | + case $ac_mode$ac_tag in |
| | | 8830 | + :[FHL]*:*);; |
| | | 8831 | + :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 |
| | | 8832 | +$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} |
| | | 8833 | + { (exit 1); exit 1; }; };; |
| | | 8834 | + :[FH]-) ac_tag=-:-;; |
| | | 8835 | + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| | | 8836 | esac |
| | | 8837 | + ac_save_IFS=$IFS |
| | | 8838 | + IFS=: |
| | | 8839 | + set x $ac_tag |
| | | 8840 | + IFS=$ac_save_IFS |
| | | 8841 | + shift |
| | | 8842 | + ac_file=$1 |
| | | 8843 | + shift |
| | | 8844 | |
| | | 8845 | - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
| | | 8846 | - ac_dir=`(dirname "$ac_file") 2>/dev/null || |
| | | 8847 | + case $ac_mode in |
| | | 8848 | + :L) ac_source=$1;; |
| | | 8849 | + :[FH]) |
| | | 8850 | + ac_file_inputs= |
| | | 8851 | + for ac_f |
| | | 8852 | + do |
| | | 8853 | + case $ac_f in |
| | | 8854 | + -) ac_f="$tmp/stdin";; |
| | | 8855 | + *) # Look for the file first in the build tree, then in the source tree |
| | | 8856 | + # (if the path is not absolute). The absolute path cannot be DOS-style, |
| | | 8857 | + # because $ac_f cannot contain `:'. |
| | | 8858 | + test -f "$ac_f" || |
| | | 8859 | + case $ac_f in |
| | | 8860 | + [\\/$]*) false;; |
| | | 8861 | + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| | | 8862 | + esac || |
| | | 8863 | + { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
| | | 8864 | +$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
| | | 8865 | + { (exit 1); exit 1; }; };; |
| | | 8866 | + esac |
| | | 8867 | + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| | | 8868 | + ac_file_inputs="$ac_file_inputs '$ac_f'" |
| | | 8869 | + done |
| | | 8870 | + |
| | | 8871 | + # Let's still pretend it is `configure' which instantiates (i.e., don't |
| | | 8872 | + # use $as_me), people would be surprised to read: |
| | | 8873 | + # /* config.h. Generated by config.status. */ |
| | | 8874 | + configure_input='Generated from '` |
| | | 8875 | + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
| | | 8876 | + `' by configure.' |
| | | 8877 | + if test x"$ac_file" != x-; then |
| | | 8878 | + configure_input="$ac_file. $configure_input" |
| | | 8879 | + { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
| | | 8880 | +$as_echo "$as_me: creating $ac_file" >&6;} |
| | | 8881 | + fi |
| | | 8882 | + # Neutralize special characters interpreted by sed in replacement strings. |
| | | 8883 | + case $configure_input in #( |
| | | 8884 | + *\&* | *\|* | *\\* ) |
| | | 8885 | + ac_sed_conf_input=`$as_echo "$configure_input" | |
| | | 8886 | + sed 's/[\\\\&|]/\\\\&/g'`;; #( |
| | | 8887 | + *) ac_sed_conf_input=$configure_input;; |
| | | 8888 | + esac |
| | | 8889 | + |
| | | 8890 | + case $ac_tag in |
| | | 8891 | + *:-:* | *:-) cat >"$tmp/stdin" \ |
| | | 8892 | + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| | | 8893 | +$as_echo "$as_me: error: could not create $ac_file" >&2;} |
| | | 8894 | + { (exit 1); exit 1; }; } ;; |
| | | 8895 | + esac |
| | | 8896 | + ;; |
| | | 8897 | + esac |
| | | 8898 | + |
| | | 8899 | + ac_dir=`$as_dirname -- "$ac_file" || |
| | | 8900 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| | | 8901 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
| | | 8902 | X"$ac_file" : 'X\(//\)$' \| \ |
| | | 8903 | - X"$ac_file" : 'X\(/\)' \| \ |
| | | 8904 | - . : '\(.\)' 2>/dev/null || |
| | | 8905 | -echo X"$ac_file" | |
| | | 8906 | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| | | 8907 | - /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| | | 8908 | - /^X\(\/\/\)$/{ s//\1/; q; } |
| | | 8909 | - /^X\(\/\).*/{ s//\1/; q; } |
| | | 8910 | - s/.*/./; q'` |
| | | 8911 | - { if $as_mkdir_p; then |
| | | 8912 | - mkdir -p "$ac_dir" |
| | | 8913 | - else |
| | | 8914 | - as_dir="$ac_dir" |
| | | 8915 | + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
| | | 8916 | +$as_echo X"$ac_file" | |
| | | 8917 | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| | | 8918 | + s//\1/ |
| | | 8919 | + q |
| | | 8920 | + } |
| | | 8921 | + /^X\(\/\/\)[^/].*/{ |
| | | 8922 | + s//\1/ |
| | | 8923 | + q |
| | | 8924 | + } |
| | | 8925 | + /^X\(\/\/\)$/{ |
| | | 8926 | + s//\1/ |
| | | 8927 | + q |
| | | 8928 | + } |
| | | 8929 | + /^X\(\/\).*/{ |
| | | 8930 | + s//\1/ |
| | | 8931 | + q |
| | | 8932 | + } |
| | | 8933 | + s/.*/./; q'` |
| | | 8934 | + { as_dir="$ac_dir" |
| | | 8935 | + case $as_dir in #( |
| | | 8936 | + -*) as_dir=./$as_dir;; |
| | | 8937 | + esac |
| | | 8938 | + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
| | | 8939 | as_dirs= |
| | | 8940 | - while test ! -d "$as_dir"; do |
| | | 8941 | - as_dirs="$as_dir $as_dirs" |
| | | 8942 | - as_dir=`(dirname "$as_dir") 2>/dev/null || |
| | | 8943 | + while :; do |
| | | 8944 | + case $as_dir in #( |
| | | 8945 | + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| | | 8946 | + *) as_qdir=$as_dir;; |
| | | 8947 | + esac |
| | | 8948 | + as_dirs="'$as_qdir' $as_dirs" |
| | | 8949 | + as_dir=`$as_dirname -- "$as_dir" || |
| | | 8950 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| | | 8951 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
| | | 8952 | X"$as_dir" : 'X\(//\)$' \| \ |
| | | 8953 | - X"$as_dir" : 'X\(/\)' \| \ |
| | | 8954 | - . : '\(.\)' 2>/dev/null || |
| | | 8955 | -echo X"$as_dir" | |
| | | 8956 | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
| | | 8957 | - /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
| | | 8958 | - /^X\(\/\/\)$/{ s//\1/; q; } |
| | | 8959 | - /^X\(\/\).*/{ s//\1/; q; } |
| | | 8960 | - s/.*/./; q'` |
| | | 8961 | + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| | | 8962 | +$as_echo X"$as_dir" | |
| | | 8963 | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| | | 8964 | + s//\1/ |
| | | 8965 | + q |
| | | 8966 | + } |
| | | 8967 | + /^X\(\/\/\)[^/].*/{ |
| | | 8968 | + s//\1/ |
| | | 8969 | + q |
| | | 8970 | + } |
| | | 8971 | + /^X\(\/\/\)$/{ |
| | | 8972 | + s//\1/ |
| | | 8973 | + q |
| | | 8974 | + } |
| | | 8975 | + /^X\(\/\).*/{ |
| | | 8976 | + s//\1/ |
| | | 8977 | + q |
| | | 8978 | + } |
| | | 8979 | + s/.*/./; q'` |
| | | 8980 | + test -d "$as_dir" && break |
| | | 8981 | done |
| | | 8982 | - test ! -n "$as_dirs" || mkdir $as_dirs |
| | | 8983 | - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
| | | 8984 | -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
| | | 8985 | + test -z "$as_dirs" || eval "mkdir $as_dirs" |
| | | 8986 | + } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
| | | 8987 | +$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
| | | 8988 | { (exit 1); exit 1; }; }; } |
| | | 8989 | - |
| | | 8990 | ac_builddir=. |
| | | 8991 | |
| | | 8992 | -if test "$ac_dir" != .; then |
| | | 8993 | - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
| | | 8994 | - # A "../" for each directory in $ac_dir_suffix. |
| | | 8995 | - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
| | | 8996 | -else |
| | | 8997 | - ac_dir_suffix= ac_top_builddir= |
| | | 8998 | -fi |
| | | 8999 | +case "$ac_dir" in |
| | | 9000 | +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| | | 9001 | +*) |
| | | 9002 | + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
| | | 9003 | + # A ".." for each directory in $ac_dir_suffix. |
| | | 9004 | + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| | | 9005 | + case $ac_top_builddir_sub in |
| | | 9006 | + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| | | 9007 | + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| | | 9008 | + esac ;; |
| | | 9009 | +esac |
| | | 9010 | +ac_abs_top_builddir=$ac_pwd |
| | | 9011 | +ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| | | 9012 | +# for backward compatibility: |
| | | 9013 | +ac_top_builddir=$ac_top_build_prefix |
| | | 9014 | |
| | | 9015 | case $srcdir in |
| | | 9016 | - .) # No --srcdir option. We are building in place. |
| | | 9017 | + .) # We are building in place. |
| | | 9018 | ac_srcdir=. |
| | | 9019 | - if test -z "$ac_top_builddir"; then |
| | | 9020 | - ac_top_srcdir=. |
| | | 9021 | - else |
| | | 9022 | - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
| | | 9023 | - fi ;; |
| | | 9024 | - [\\/]* | ?:[\\/]* ) # Absolute path. |
| | | 9025 | + ac_top_srcdir=$ac_top_builddir_sub |
| | | 9026 | + ac_abs_top_srcdir=$ac_pwd ;; |
| | | 9027 | + [\\/]* | ?:[\\/]* ) # Absolute name. |
| | | 9028 | ac_srcdir=$srcdir$ac_dir_suffix; |
| | | 9029 | - ac_top_srcdir=$srcdir ;; |
| | | 9030 | - *) # Relative path. |
| | | 9031 | - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
| | | 9032 | - ac_top_srcdir=$ac_top_builddir$srcdir ;; |
| | | 9033 | + ac_top_srcdir=$srcdir |
| | | 9034 | + ac_abs_top_srcdir=$srcdir ;; |
| | | 9035 | + *) # Relative name. |
| | | 9036 | + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| | | 9037 | + ac_top_srcdir=$ac_top_build_prefix$srcdir |
| | | 9038 | + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| | | 9039 | esac |
| | | 9040 | +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| | | 9041 | |
| | | 9042 | -# Do not use `cd foo && pwd` to compute absolute paths, because |
| | | 9043 | -# the directories may not exist. |
| | | 9044 | -case `pwd` in |
| | | 9045 | -.) ac_abs_builddir="$ac_dir";; |
| | | 9046 | -*) |
| | | 9047 | - case "$ac_dir" in |
| | | 9048 | - .) ac_abs_builddir=`pwd`;; |
| | | 9049 | - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
| | | 9050 | - *) ac_abs_builddir=`pwd`/"$ac_dir";; |
| | | 9051 | - esac;; |
| | | 9052 | -esac |
| | | 9053 | -case $ac_abs_builddir in |
| | | 9054 | -.) ac_abs_top_builddir=${ac_top_builddir}.;; |
| | | 9055 | -*) |
| | | 9056 | - case ${ac_top_builddir}. in |
| | | 9057 | - .) ac_abs_top_builddir=$ac_abs_builddir;; |
| | | 9058 | - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
| | | 9059 | - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
| | | 9060 | - esac;; |
| | | 9061 | -esac |
| | | 9062 | -case $ac_abs_builddir in |
| | | 9063 | -.) ac_abs_srcdir=$ac_srcdir;; |
| | | 9064 | -*) |
| | | 9065 | - case $ac_srcdir in |
| | | 9066 | - .) ac_abs_srcdir=$ac_abs_builddir;; |
| | | 9067 | - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
| | | 9068 | - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
| | | 9069 | - esac;; |
| | | 9070 | -esac |
| | | 9071 | -case $ac_abs_builddir in |
| | | 9072 | -.) ac_abs_top_srcdir=$ac_top_srcdir;; |
| | | 9073 | -*) |
| | | 9074 | - case $ac_top_srcdir in |
| | | 9075 | - .) ac_abs_top_srcdir=$ac_abs_builddir;; |
| | | 9076 | - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
| | | 9077 | - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
| | | 9078 | - esac;; |
| | | 9079 | -esac |
| | | 9080 | |
| | | 9081 | + case $ac_mode in |
| | | 9082 | + :F) |
| | | 9083 | + # |
| | | 9084 | + # CONFIG_FILE |
| | | 9085 | + # |
| | | 9086 | |
| | | 9087 | +_ACEOF |
184 | | | 9088 | |
185 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | | 9089 | - if test x"$ac_file" != x-; then |
186 | echo "configure:1482: checking whether ${MAKE-make} sets \${MAKE}" >&5 | | 9090 | - { echo "$as_me:$LINENO: creating $ac_file" >&5 |
187 | @@ -1736,6 +1892,8 @@ s%@host_alias@%$host_alias%g | | 9091 | -echo "$as_me: creating $ac_file" >&6;} |
188 | s%@host_cpu@%$host_cpu%g | | 9092 | - rm -f "$ac_file" |
189 | s%@host_vendor@%$host_vendor%g | | 9093 | - fi |
190 | s%@host_os@%$host_os%g | | 9094 | - # Let's still pretend it is `configure' which instantiates (i.e., don't |
191 | +s%@EXTRA_OBJS@%$EXTRA_OBJS%g | | 9095 | - # use $as_me), people would be surprised to read: |
192 | +s%@EXTRA_LIBS@%$EXTRA_LIBS%g | | 9096 | - # /* config.h. Generated by config.status. */ |
193 | s%@CC@%$CC%g | | 9097 | - if test x"$ac_file" = x-; then |
194 | s%@RANLIB@%$RANLIB%g | | 9098 | - configure_input= |
195 | s%@AR@%$AR%g | | 9099 | - else |
196 | @@ -1744,9 +1902,12 @@ s%@CPP@%$CPP%g | | 9100 | - configure_input="$ac_file. " |
197 | s%@SET_MAKE@%$SET_MAKE%g | | 9101 | - fi |
198 | s%@SBPCD_H@%$SBPCD_H%g | | 9102 | - configure_input=$configure_input"Generated from `echo $ac_file_in | |
199 | s%@UCDROM_H@%$UCDROM_H%g | | 9103 | - sed 's,.*/,,'` by configure." |
200 | +s%@GETOPT_LONG@%$GETOPT_LONG%g | | 9104 | +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
201 | +s%@RAWPART@%$RAWPART%g | | 9105 | +# If the template does not know about datarootdir, expand it. |
202 | s%@TYPESIZES@%$TYPESIZES%g | | 9106 | +# FIXME: This hack should be removed a few years after 2.60. |
203 | s%@OPT@%$OPT%g | | 9107 | +ac_datarootdir_hack=; ac_datarootdir_seen= |
204 | s%@DEBUG@%$DEBUG%g | | 9108 | |
205 | +s%@LIBUTIL@%$LIBUTIL%g | | 9109 | - # First look for the input files in the build tree, otherwise in the |
| | | 9110 | - # src tree. |
| | | 9111 | - ac_file_inputs=`IFS=: |
| | | 9112 | - for f in $ac_file_in; do |
| | | 9113 | - case $f in |
| | | 9114 | - -) echo $tmp/stdin ;; |
| | | 9115 | - [\\/$]*) |
| | | 9116 | - # Absolute (can't be DOS-style, as IFS=:) |
| | | 9117 | - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| | | 9118 | -echo "$as_me: error: cannot find input file: $f" >&2;} |
| | | 9119 | - { (exit 1); exit 1; }; } |
| | | 9120 | - echo "$f";; |
| | | 9121 | - *) # Relative |
| | | 9122 | - if test -f "$f"; then |
| | | 9123 | - # Build tree |
| | | 9124 | - echo "$f" |
| | | 9125 | - elif test -f "$srcdir/$f"; then |
| | | 9126 | - # Source tree |
| | | 9127 | - echo "$srcdir/$f" |
| | | 9128 | - else |
| | | 9129 | - # /dev/null tree |
| | | 9130 | - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
| | | 9131 | -echo "$as_me: error: cannot find input file: $f" >&2;} |
| | | 9132 | - { (exit 1); exit 1; }; } |
| | | 9133 | - fi;; |
| | | 9134 | - esac |
| | | 9135 | - done` || { (exit 1); exit 1; } |
| | | 9136 | +ac_sed_dataroot=' |
| | | 9137 | +/datarootdir/ { |
| | | 9138 | + p |
| | | 9139 | + q |
| | | 9140 | +} |
| | | 9141 | +/@datadir@/p |
| | | 9142 | +/@docdir@/p |
| | | 9143 | +/@infodir@/p |
| | | 9144 | +/@localedir@/p |
| | | 9145 | +/@mandir@/p |
| | | 9146 | +' |
| | | 9147 | +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
| | | 9148 | +*datarootdir*) ac_datarootdir_seen=yes;; |
| | | 9149 | +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| | | 9150 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| | | 9151 | +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| | | 9152 | +_ACEOF |
| | | 9153 | +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| | | 9154 | + ac_datarootdir_hack=' |
| | | 9155 | + s&@datadir@&$datadir&g |
| | | 9156 | + s&@docdir@&$docdir&g |
| | | 9157 | + s&@infodir@&$infodir&g |
| | | 9158 | + s&@localedir@&$localedir&g |
| | | 9159 | + s&@mandir@&$mandir&g |
| | | 9160 | + s&\\\${datarootdir}&$datarootdir&g' ;; |
| | | 9161 | +esac |
| | | 9162 | _ACEOF |
| | | 9163 | -cat >>$CONFIG_STATUS <<_ACEOF |
| | | 9164 | - sed "$ac_vpsub |
| | | 9165 | + |
| | | 9166 | +# Neutralize VPATH when `$srcdir' = `.'. |
| | | 9167 | +# Shell code in configure.ac might set extrasub. |
| | | 9168 | +# FIXME: do we really want to maintain this feature? |
| | | 9169 | +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| | | 9170 | +ac_sed_extra="$ac_vpsub |
| | | 9171 | $extrasub |
| | | 9172 | _ACEOF |
| | | 9173 | -cat >>$CONFIG_STATUS <<\_ACEOF |
| | | 9174 | +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| | | 9175 | :t |
| | | 9176 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| | | 9177 | -s,@configure_input@,$configure_input,;t t |
| | | 9178 | -s,@srcdir@,$ac_srcdir,;t t |
| | | 9179 | -s,@abs_srcdir@,$ac_abs_srcdir,;t t |
| | | 9180 | -s,@top_srcdir@,$ac_top_srcdir,;t t |
| | | 9181 | -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
| | | 9182 | -s,@builddir@,$ac_builddir,;t t |
| | | 9183 | -s,@abs_builddir@,$ac_abs_builddir,;t t |
| | | 9184 | -s,@top_builddir@,$ac_top_builddir,;t t |
| | | 9185 | -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
| | | 9186 | -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
| | | 9187 | - rm -f $tmp/stdin |
| | | 9188 | - if test x"$ac_file" != x-; then |
| | | 9189 | - mv $tmp/out $ac_file |
| | | 9190 | - else |
| | | 9191 | - cat $tmp/out |
| | | 9192 | - rm -f $tmp/out |
| | | 9193 | - fi |
| | | 9194 | +s|@configure_input@|$ac_sed_conf_input|;t t |
| | | 9195 | +s&@top_builddir@&$ac_top_builddir_sub&;t t |
| | | 9196 | +s&@top_build_prefix@&$ac_top_build_prefix&;t t |
| | | 9197 | +s&@srcdir@&$ac_srcdir&;t t |
| | | 9198 | +s&@abs_srcdir@&$ac_abs_srcdir&;t t |
| | | 9199 | +s&@top_srcdir@&$ac_top_srcdir&;t t |
| | | 9200 | +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
| | | 9201 | +s&@builddir@&$ac_builddir&;t t |
| | | 9202 | +s&@abs_builddir@&$ac_abs_builddir&;t t |
| | | 9203 | +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
| | | 9204 | +$ac_datarootdir_hack |
| | | 9205 | +" |
| | | 9206 | +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
| | | 9207 | + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| | | 9208 | +$as_echo "$as_me: error: could not create $ac_file" >&2;} |
| | | 9209 | + { (exit 1); exit 1; }; } |
| | | 9210 | |
| | | 9211 | -done |
| | | 9212 | -_ACEOF |
| | | 9213 | +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| | | 9214 | + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
| | | 9215 | + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
| | | 9216 | + { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| | | 9217 | +which seems to be undefined. Please make sure it is defined." >&5 |
| | | 9218 | +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| | | 9219 | +which seems to be undefined. Please make sure it is defined." >&2;} |
| | | 9220 | + |
| | | 9221 | + rm -f "$tmp/stdin" |
| | | 9222 | + case $ac_file in |
| | | 9223 | + -) cat "$tmp/out" && rm -f "$tmp/out";; |
| | | 9224 | + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
| | | 9225 | + esac \ |
| | | 9226 | + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
| | | 9227 | +$as_echo "$as_me: error: could not create $ac_file" >&2;} |
| | | 9228 | + { (exit 1); exit 1; }; } |
| | | 9229 | + ;; |
| | | 9230 | + |
| | | 9231 | + |
| | | 9232 | + |
| | | 9233 | + esac |
| | | 9234 | + |
| | | 9235 | +done # for ac_tag |
| | | 9236 | |
| | | 9237 | -cat >>$CONFIG_STATUS <<\_ACEOF |
| | | 9238 | |
| | | 9239 | { (exit 0); exit 0; } |
| | | 9240 | _ACEOF |
| | | 9241 | chmod +x $CONFIG_STATUS |
| | | 9242 | ac_clean_files=$ac_clean_files_save |
| | | 9243 | |
| | | 9244 | +test $ac_write_fail = 0 || |
| | | 9245 | + { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
| | | 9246 | +$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} |
| | | 9247 | + { (exit 1); exit 1; }; } |
| | | 9248 | + |
| | | 9249 | |
| | | 9250 | # configure is writing to config.log, and then calls config.status. |
| | | 9251 | # config.status does its own redirection, appending to config.log. |
| | | 9252 | @@ -6132,4 +7190,8 @@ if test "$no_create" != yes; then |
| | | 9253 | # would make configure fail if this is the last instruction. |
| | | 9254 | $ac_cs_success || { (exit 1); exit 1; } |
| | | 9255 | fi |
| | | 9256 | +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| | | 9257 | + { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
| | | 9258 | +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| | | 9259 | +fi |
206 | | | 9260 | |
207 | CEOF | | | |
208 | EOF | | | |