Home | History | Annotate | Line # | Download | only in libdecnumber
configure revision 1.1.1.9
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libdecnumber  .
      4 #
      5 # Report bugs to <gcc-bugs (at] gcc.gnu.org>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: gcc-bugs (at] gcc.gnu.org about your system, including any
    271 $0: error possibly output before this message. Then install
    272 $0: a modern shell, or manually run the script under such a
    273 $0: shell if you do have one."
    274   fi
    275   exit 1
    276 fi
    277 fi
    278 fi
    279 SHELL=${CONFIG_SHELL-/bin/sh}
    280 export SHELL
    281 # Unset more variables known to interfere with behavior of common tools.
    282 CLICOLOR_FORCE= GREP_OPTIONS=
    283 unset CLICOLOR_FORCE GREP_OPTIONS
    284 
    285 ## --------------------- ##
    286 ## M4sh Shell Functions. ##
    287 ## --------------------- ##
    288 # as_fn_unset VAR
    289 # ---------------
    290 # Portably unset VAR.
    291 as_fn_unset ()
    292 {
    293   { eval $1=; unset $1;}
    294 }
    295 as_unset=as_fn_unset
    296 
    297 # as_fn_set_status STATUS
    298 # -----------------------
    299 # Set $? to STATUS, without forking.
    300 as_fn_set_status ()
    301 {
    302   return $1
    303 } # as_fn_set_status
    304 
    305 # as_fn_exit STATUS
    306 # -----------------
    307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    308 as_fn_exit ()
    309 {
    310   set +e
    311   as_fn_set_status $1
    312   exit $1
    313 } # as_fn_exit
    314 
    315 # as_fn_mkdir_p
    316 # -------------
    317 # Create "$as_dir" as a directory, including parents if necessary.
    318 as_fn_mkdir_p ()
    319 {
    320 
    321   case $as_dir in #(
    322   -*) as_dir=./$as_dir;;
    323   esac
    324   test -d "$as_dir" || eval $as_mkdir_p || {
    325     as_dirs=
    326     while :; do
    327       case $as_dir in #(
    328       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    329       *) as_qdir=$as_dir;;
    330       esac
    331       as_dirs="'$as_qdir' $as_dirs"
    332       as_dir=`$as_dirname -- "$as_dir" ||
    333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    334 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    335 	 X"$as_dir" : 'X\(//\)$' \| \
    336 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    337 $as_echo X"$as_dir" |
    338     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    339 	    s//\1/
    340 	    q
    341 	  }
    342 	  /^X\(\/\/\)[^/].*/{
    343 	    s//\1/
    344 	    q
    345 	  }
    346 	  /^X\(\/\/\)$/{
    347 	    s//\1/
    348 	    q
    349 	  }
    350 	  /^X\(\/\).*/{
    351 	    s//\1/
    352 	    q
    353 	  }
    354 	  s/.*/./; q'`
    355       test -d "$as_dir" && break
    356     done
    357     test -z "$as_dirs" || eval "mkdir $as_dirs"
    358   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    359 
    360 
    361 } # as_fn_mkdir_p
    362 
    363 # as_fn_executable_p FILE
    364 # -----------------------
    365 # Test if FILE is an executable regular file.
    366 as_fn_executable_p ()
    367 {
    368   test -f "$1" && test -x "$1"
    369 } # as_fn_executable_p
    370 # as_fn_append VAR VALUE
    371 # ----------------------
    372 # Append the text in VALUE to the end of the definition contained in VAR. Take
    373 # advantage of any shell optimizations that allow amortized linear growth over
    374 # repeated appends, instead of the typical quadratic growth present in naive
    375 # implementations.
    376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    377   eval 'as_fn_append ()
    378   {
    379     eval $1+=\$2
    380   }'
    381 else
    382   as_fn_append ()
    383   {
    384     eval $1=\$$1\$2
    385   }
    386 fi # as_fn_append
    387 
    388 # as_fn_arith ARG...
    389 # ------------------
    390 # Perform arithmetic evaluation on the ARGs, and store the result in the
    391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    392 # must be portable across $(()) and expr.
    393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    394   eval 'as_fn_arith ()
    395   {
    396     as_val=$(( $* ))
    397   }'
    398 else
    399   as_fn_arith ()
    400   {
    401     as_val=`expr "$@" || test $? -eq 1`
    402   }
    403 fi # as_fn_arith
    404 
    405 
    406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    407 # ----------------------------------------
    408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    410 # script with STATUS, using 1 if that was 0.
    411 as_fn_error ()
    412 {
    413   as_status=$1; test $as_status -eq 0 && as_status=1
    414   if test "$4"; then
    415     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    416     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    417   fi
    418   $as_echo "$as_me: error: $2" >&2
    419   as_fn_exit $as_status
    420 } # as_fn_error
    421 
    422 if expr a : '\(a\)' >/dev/null 2>&1 &&
    423    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    424   as_expr=expr
    425 else
    426   as_expr=false
    427 fi
    428 
    429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    430   as_basename=basename
    431 else
    432   as_basename=false
    433 fi
    434 
    435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    436   as_dirname=dirname
    437 else
    438   as_dirname=false
    439 fi
    440 
    441 as_me=`$as_basename -- "$0" ||
    442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    443 	 X"$0" : 'X\(//\)$' \| \
    444 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    445 $as_echo X/"$0" |
    446     sed '/^.*\/\([^/][^/]*\)\/*$/{
    447 	    s//\1/
    448 	    q
    449 	  }
    450 	  /^X\/\(\/\/\)$/{
    451 	    s//\1/
    452 	    q
    453 	  }
    454 	  /^X\/\(\/\).*/{
    455 	    s//\1/
    456 	    q
    457 	  }
    458 	  s/.*/./; q'`
    459 
    460 # Avoid depending upon Character Ranges.
    461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    464 as_cr_digits='0123456789'
    465 as_cr_alnum=$as_cr_Letters$as_cr_digits
    466 
    467 
    468   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    469   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    470   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    471   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    472   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    473   sed -n '
    474     p
    475     /[$]LINENO/=
    476   ' <$as_myself |
    477     sed '
    478       s/[$]LINENO.*/&-/
    479       t lineno
    480       b
    481       :lineno
    482       N
    483       :loop
    484       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    485       t loop
    486       s/-\n.*//
    487     ' >$as_me.lineno &&
    488   chmod +x "$as_me.lineno" ||
    489     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    490 
    491   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    492   # already done that, so ensure we don't try to do so again and fall
    493   # in an infinite loop.  This has already happened in practice.
    494   _as_can_reexec=no; export _as_can_reexec
    495   # Don't try to exec as it changes $[0], causing all sort of problems
    496   # (the dirname of $[0] is not the place where we might find the
    497   # original and so on.  Autoconf is especially sensitive to this).
    498   . "./$as_me.lineno"
    499   # Exit status is that of the last command.
    500   exit
    501 }
    502 
    503 ECHO_C= ECHO_N= ECHO_T=
    504 case `echo -n x` in #(((((
    505 -n*)
    506   case `echo 'xy\c'` in
    507   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    508   xy)  ECHO_C='\c';;
    509   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    510        ECHO_T='	';;
    511   esac;;
    512 *)
    513   ECHO_N='-n';;
    514 esac
    515 
    516 rm -f conf$$ conf$$.exe conf$$.file
    517 if test -d conf$$.dir; then
    518   rm -f conf$$.dir/conf$$.file
    519 else
    520   rm -f conf$$.dir
    521   mkdir conf$$.dir 2>/dev/null
    522 fi
    523 if (echo >conf$$.file) 2>/dev/null; then
    524   if ln -s conf$$.file conf$$ 2>/dev/null; then
    525     as_ln_s='ln -s'
    526     # ... but there are two gotchas:
    527     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    528     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    529     # In both cases, we have to default to `cp -pR'.
    530     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    531       as_ln_s='cp -pR'
    532   elif ln conf$$.file conf$$ 2>/dev/null; then
    533     as_ln_s=ln
    534   else
    535     as_ln_s='cp -pR'
    536   fi
    537 else
    538   as_ln_s='cp -pR'
    539 fi
    540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    541 rmdir conf$$.dir 2>/dev/null
    542 
    543 if mkdir -p . 2>/dev/null; then
    544   as_mkdir_p='mkdir -p "$as_dir"'
    545 else
    546   test -d ./-p && rmdir ./-p
    547   as_mkdir_p=false
    548 fi
    549 
    550 as_test_x='test -x'
    551 as_executable_p=as_fn_executable_p
    552 
    553 # Sed expression to map a string onto a valid CPP name.
    554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    555 
    556 # Sed expression to map a string onto a valid variable name.
    557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    558 
    559 
    560 test -n "$DJDIR" || exec 7<&0 </dev/null
    561 exec 6>&1
    562 
    563 # Name of the host.
    564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    565 # so uname gets run too.
    566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    567 
    568 #
    569 # Initializations.
    570 #
    571 ac_default_prefix=/usr/local
    572 ac_clean_files=
    573 ac_config_libobj_dir=.
    574 LIBOBJS=
    575 cross_compiling=no
    576 subdirs=
    577 MFLAGS=
    578 MAKEFLAGS=
    579 
    580 # Identity of this package.
    581 PACKAGE_NAME='libdecnumber'
    582 PACKAGE_TARNAME='libdecnumber'
    583 PACKAGE_VERSION=' '
    584 PACKAGE_STRING='libdecnumber  '
    585 PACKAGE_BUGREPORT='gcc-bugs (at] gcc.gnu.org'
    586 PACKAGE_URL=''
    587 
    588 ac_unique_file="decNumber.h"
    589 # Factoring default headers for most tests.
    590 ac_includes_default="\
    591 #include <stdio.h>
    592 #ifdef HAVE_SYS_TYPES_H
    593 # include <sys/types.h>
    594 #endif
    595 #ifdef HAVE_SYS_STAT_H
    596 # include <sys/stat.h>
    597 #endif
    598 #ifdef STDC_HEADERS
    599 # include <stdlib.h>
    600 # include <stddef.h>
    601 #else
    602 # ifdef HAVE_STDLIB_H
    603 #  include <stdlib.h>
    604 # endif
    605 #endif
    606 #ifdef HAVE_STRING_H
    607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    608 #  include <memory.h>
    609 # endif
    610 # include <string.h>
    611 #endif
    612 #ifdef HAVE_STRINGS_H
    613 # include <strings.h>
    614 #endif
    615 #ifdef HAVE_INTTYPES_H
    616 # include <inttypes.h>
    617 #endif
    618 #ifdef HAVE_STDINT_H
    619 # include <stdint.h>
    620 #endif
    621 #ifdef HAVE_UNISTD_H
    622 # include <unistd.h>
    623 #endif"
    624 
    625 ac_subst_vars='LTLIBOBJS
    626 LIBOBJS
    627 PICFLAG
    628 enable_host_pie
    629 enable_host_shared
    630 ADDITIONAL_OBJS
    631 enable_decimal_float
    632 target_os
    633 target_vendor
    634 target_cpu
    635 target
    636 host_os
    637 host_vendor
    638 host_cpu
    639 host
    640 build_os
    641 build_vendor
    642 build_cpu
    643 build
    644 MAINT
    645 EGREP
    646 GREP
    647 CPP
    648 WERROR
    649 nolto_flags
    650 WARN_PEDANTIC
    651 WARN_CFLAGS
    652 AUTOHEADER
    653 AUTOCONF
    654 ACLOCAL
    655 RANLIB
    656 OBJEXT
    657 EXEEXT
    658 ac_ct_CC
    659 CPPFLAGS
    660 LDFLAGS
    661 CFLAGS
    662 CC
    663 SET_MAKE
    664 target_alias
    665 host_alias
    666 build_alias
    667 LIBS
    668 ECHO_T
    669 ECHO_N
    670 ECHO_C
    671 DEFS
    672 mandir
    673 localedir
    674 libdir
    675 psdir
    676 pdfdir
    677 dvidir
    678 htmldir
    679 infodir
    680 docdir
    681 oldincludedir
    682 includedir
    683 localstatedir
    684 sharedstatedir
    685 sysconfdir
    686 datadir
    687 datarootdir
    688 libexecdir
    689 sbindir
    690 bindir
    691 program_transform_name
    692 prefix
    693 exec_prefix
    694 PACKAGE_URL
    695 PACKAGE_BUGREPORT
    696 PACKAGE_STRING
    697 PACKAGE_VERSION
    698 PACKAGE_TARNAME
    699 PACKAGE_NAME
    700 PATH_SEPARATOR
    701 SHELL'
    702 ac_subst_files=''
    703 ac_user_opts='
    704 enable_option_checking
    705 enable_werror_always
    706 enable_maintainer_mode
    707 enable_decimal_float
    708 enable_host_shared
    709 enable_host_pie
    710 '
    711       ac_precious_vars='build_alias
    712 host_alias
    713 target_alias
    714 CC
    715 CFLAGS
    716 LDFLAGS
    717 LIBS
    718 CPPFLAGS
    719 CPP'
    720 
    721 
    722 # Initialize some variables set by options.
    723 ac_init_help=
    724 ac_init_version=false
    725 ac_unrecognized_opts=
    726 ac_unrecognized_sep=
    727 # The variables have the same names as the options, with
    728 # dashes changed to underlines.
    729 cache_file=/dev/null
    730 exec_prefix=NONE
    731 no_create=
    732 no_recursion=
    733 prefix=NONE
    734 program_prefix=NONE
    735 program_suffix=NONE
    736 program_transform_name=s,x,x,
    737 silent=
    738 site=
    739 srcdir=
    740 verbose=
    741 x_includes=NONE
    742 x_libraries=NONE
    743 
    744 # Installation directory options.
    745 # These are left unexpanded so users can "make install exec_prefix=/foo"
    746 # and all the variables that are supposed to be based on exec_prefix
    747 # by default will actually change.
    748 # Use braces instead of parens because sh, perl, etc. also accept them.
    749 # (The list follows the same order as the GNU Coding Standards.)
    750 bindir='${exec_prefix}/bin'
    751 sbindir='${exec_prefix}/sbin'
    752 libexecdir='${exec_prefix}/libexec'
    753 datarootdir='${prefix}/share'
    754 datadir='${datarootdir}'
    755 sysconfdir='${prefix}/etc'
    756 sharedstatedir='${prefix}/com'
    757 localstatedir='${prefix}/var'
    758 includedir='${prefix}/include'
    759 oldincludedir='/usr/include'
    760 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    761 infodir='${datarootdir}/info'
    762 htmldir='${docdir}'
    763 dvidir='${docdir}'
    764 pdfdir='${docdir}'
    765 psdir='${docdir}'
    766 libdir='${exec_prefix}/lib'
    767 localedir='${datarootdir}/locale'
    768 mandir='${datarootdir}/man'
    769 
    770 ac_prev=
    771 ac_dashdash=
    772 for ac_option
    773 do
    774   # If the previous option needs an argument, assign it.
    775   if test -n "$ac_prev"; then
    776     eval $ac_prev=\$ac_option
    777     ac_prev=
    778     continue
    779   fi
    780 
    781   case $ac_option in
    782   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    783   *=)   ac_optarg= ;;
    784   *)    ac_optarg=yes ;;
    785   esac
    786 
    787   # Accept the important Cygnus configure options, so we can diagnose typos.
    788 
    789   case $ac_dashdash$ac_option in
    790   --)
    791     ac_dashdash=yes ;;
    792 
    793   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    794     ac_prev=bindir ;;
    795   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    796     bindir=$ac_optarg ;;
    797 
    798   -build | --build | --buil | --bui | --bu)
    799     ac_prev=build_alias ;;
    800   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    801     build_alias=$ac_optarg ;;
    802 
    803   -cache-file | --cache-file | --cache-fil | --cache-fi \
    804   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    805     ac_prev=cache_file ;;
    806   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    807   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    808     cache_file=$ac_optarg ;;
    809 
    810   --config-cache | -C)
    811     cache_file=config.cache ;;
    812 
    813   -datadir | --datadir | --datadi | --datad)
    814     ac_prev=datadir ;;
    815   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    816     datadir=$ac_optarg ;;
    817 
    818   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    819   | --dataroo | --dataro | --datar)
    820     ac_prev=datarootdir ;;
    821   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    822   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    823     datarootdir=$ac_optarg ;;
    824 
    825   -disable-* | --disable-*)
    826     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    827     # Reject names that are not valid shell variable names.
    828     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    829       as_fn_error $? "invalid feature name: $ac_useropt"
    830     ac_useropt_orig=$ac_useropt
    831     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    832     case $ac_user_opts in
    833       *"
    834 "enable_$ac_useropt"
    835 "*) ;;
    836       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    837 	 ac_unrecognized_sep=', ';;
    838     esac
    839     eval enable_$ac_useropt=no ;;
    840 
    841   -docdir | --docdir | --docdi | --doc | --do)
    842     ac_prev=docdir ;;
    843   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    844     docdir=$ac_optarg ;;
    845 
    846   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    847     ac_prev=dvidir ;;
    848   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    849     dvidir=$ac_optarg ;;
    850 
    851   -enable-* | --enable-*)
    852     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    853     # Reject names that are not valid shell variable names.
    854     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    855       as_fn_error $? "invalid feature name: $ac_useropt"
    856     ac_useropt_orig=$ac_useropt
    857     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    858     case $ac_user_opts in
    859       *"
    860 "enable_$ac_useropt"
    861 "*) ;;
    862       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    863 	 ac_unrecognized_sep=', ';;
    864     esac
    865     eval enable_$ac_useropt=\$ac_optarg ;;
    866 
    867   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    868   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    869   | --exec | --exe | --ex)
    870     ac_prev=exec_prefix ;;
    871   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    872   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    873   | --exec=* | --exe=* | --ex=*)
    874     exec_prefix=$ac_optarg ;;
    875 
    876   -gas | --gas | --ga | --g)
    877     # Obsolete; use --with-gas.
    878     with_gas=yes ;;
    879 
    880   -help | --help | --hel | --he | -h)
    881     ac_init_help=long ;;
    882   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    883     ac_init_help=recursive ;;
    884   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    885     ac_init_help=short ;;
    886 
    887   -host | --host | --hos | --ho)
    888     ac_prev=host_alias ;;
    889   -host=* | --host=* | --hos=* | --ho=*)
    890     host_alias=$ac_optarg ;;
    891 
    892   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    893     ac_prev=htmldir ;;
    894   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    895   | --ht=*)
    896     htmldir=$ac_optarg ;;
    897 
    898   -includedir | --includedir | --includedi | --included | --include \
    899   | --includ | --inclu | --incl | --inc)
    900     ac_prev=includedir ;;
    901   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    902   | --includ=* | --inclu=* | --incl=* | --inc=*)
    903     includedir=$ac_optarg ;;
    904 
    905   -infodir | --infodir | --infodi | --infod | --info | --inf)
    906     ac_prev=infodir ;;
    907   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    908     infodir=$ac_optarg ;;
    909 
    910   -libdir | --libdir | --libdi | --libd)
    911     ac_prev=libdir ;;
    912   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    913     libdir=$ac_optarg ;;
    914 
    915   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    916   | --libexe | --libex | --libe)
    917     ac_prev=libexecdir ;;
    918   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    919   | --libexe=* | --libex=* | --libe=*)
    920     libexecdir=$ac_optarg ;;
    921 
    922   -localedir | --localedir | --localedi | --localed | --locale)
    923     ac_prev=localedir ;;
    924   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    925     localedir=$ac_optarg ;;
    926 
    927   -localstatedir | --localstatedir | --localstatedi | --localstated \
    928   | --localstate | --localstat | --localsta | --localst | --locals)
    929     ac_prev=localstatedir ;;
    930   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    931   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    932     localstatedir=$ac_optarg ;;
    933 
    934   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    935     ac_prev=mandir ;;
    936   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    937     mandir=$ac_optarg ;;
    938 
    939   -nfp | --nfp | --nf)
    940     # Obsolete; use --without-fp.
    941     with_fp=no ;;
    942 
    943   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    944   | --no-cr | --no-c | -n)
    945     no_create=yes ;;
    946 
    947   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    948   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    949     no_recursion=yes ;;
    950 
    951   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    952   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    953   | --oldin | --oldi | --old | --ol | --o)
    954     ac_prev=oldincludedir ;;
    955   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    956   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    957   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    958     oldincludedir=$ac_optarg ;;
    959 
    960   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    961     ac_prev=prefix ;;
    962   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    963     prefix=$ac_optarg ;;
    964 
    965   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    966   | --program-pre | --program-pr | --program-p)
    967     ac_prev=program_prefix ;;
    968   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    969   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    970     program_prefix=$ac_optarg ;;
    971 
    972   -program-suffix | --program-suffix | --program-suffi | --program-suff \
    973   | --program-suf | --program-su | --program-s)
    974     ac_prev=program_suffix ;;
    975   -program-suffix=* | --program-suffix=* | --program-suffi=* \
    976   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    977     program_suffix=$ac_optarg ;;
    978 
    979   -program-transform-name | --program-transform-name \
    980   | --program-transform-nam | --program-transform-na \
    981   | --program-transform-n | --program-transform- \
    982   | --program-transform | --program-transfor \
    983   | --program-transfo | --program-transf \
    984   | --program-trans | --program-tran \
    985   | --progr-tra | --program-tr | --program-t)
    986     ac_prev=program_transform_name ;;
    987   -program-transform-name=* | --program-transform-name=* \
    988   | --program-transform-nam=* | --program-transform-na=* \
    989   | --program-transform-n=* | --program-transform-=* \
    990   | --program-transform=* | --program-transfor=* \
    991   | --program-transfo=* | --program-transf=* \
    992   | --program-trans=* | --program-tran=* \
    993   | --progr-tra=* | --program-tr=* | --program-t=*)
    994     program_transform_name=$ac_optarg ;;
    995 
    996   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
    997     ac_prev=pdfdir ;;
    998   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
    999     pdfdir=$ac_optarg ;;
   1000 
   1001   -psdir | --psdir | --psdi | --psd | --ps)
   1002     ac_prev=psdir ;;
   1003   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1004     psdir=$ac_optarg ;;
   1005 
   1006   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1007   | -silent | --silent | --silen | --sile | --sil)
   1008     silent=yes ;;
   1009 
   1010   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1011     ac_prev=sbindir ;;
   1012   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1013   | --sbi=* | --sb=*)
   1014     sbindir=$ac_optarg ;;
   1015 
   1016   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1017   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1018   | --sharedst | --shareds | --shared | --share | --shar \
   1019   | --sha | --sh)
   1020     ac_prev=sharedstatedir ;;
   1021   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1022   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1023   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1024   | --sha=* | --sh=*)
   1025     sharedstatedir=$ac_optarg ;;
   1026 
   1027   -site | --site | --sit)
   1028     ac_prev=site ;;
   1029   -site=* | --site=* | --sit=*)
   1030     site=$ac_optarg ;;
   1031 
   1032   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1033     ac_prev=srcdir ;;
   1034   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1035     srcdir=$ac_optarg ;;
   1036 
   1037   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1038   | --syscon | --sysco | --sysc | --sys | --sy)
   1039     ac_prev=sysconfdir ;;
   1040   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1041   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1042     sysconfdir=$ac_optarg ;;
   1043 
   1044   -target | --target | --targe | --targ | --tar | --ta | --t)
   1045     ac_prev=target_alias ;;
   1046   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1047     target_alias=$ac_optarg ;;
   1048 
   1049   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1050     verbose=yes ;;
   1051 
   1052   -version | --version | --versio | --versi | --vers | -V)
   1053     ac_init_version=: ;;
   1054 
   1055   -with-* | --with-*)
   1056     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1057     # Reject names that are not valid shell variable names.
   1058     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1059       as_fn_error $? "invalid package name: $ac_useropt"
   1060     ac_useropt_orig=$ac_useropt
   1061     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1062     case $ac_user_opts in
   1063       *"
   1064 "with_$ac_useropt"
   1065 "*) ;;
   1066       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1067 	 ac_unrecognized_sep=', ';;
   1068     esac
   1069     eval with_$ac_useropt=\$ac_optarg ;;
   1070 
   1071   -without-* | --without-*)
   1072     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1073     # Reject names that are not valid shell variable names.
   1074     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1075       as_fn_error $? "invalid package name: $ac_useropt"
   1076     ac_useropt_orig=$ac_useropt
   1077     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1078     case $ac_user_opts in
   1079       *"
   1080 "with_$ac_useropt"
   1081 "*) ;;
   1082       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1083 	 ac_unrecognized_sep=', ';;
   1084     esac
   1085     eval with_$ac_useropt=no ;;
   1086 
   1087   --x)
   1088     # Obsolete; use --with-x.
   1089     with_x=yes ;;
   1090 
   1091   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1092   | --x-incl | --x-inc | --x-in | --x-i)
   1093     ac_prev=x_includes ;;
   1094   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1095   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1096     x_includes=$ac_optarg ;;
   1097 
   1098   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1099   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1100     ac_prev=x_libraries ;;
   1101   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1102   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1103     x_libraries=$ac_optarg ;;
   1104 
   1105   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1106 Try \`$0 --help' for more information"
   1107     ;;
   1108 
   1109   *=*)
   1110     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1111     # Reject names that are not valid shell variable names.
   1112     case $ac_envvar in #(
   1113       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1114       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1115     esac
   1116     eval $ac_envvar=\$ac_optarg
   1117     export $ac_envvar ;;
   1118 
   1119   *)
   1120     # FIXME: should be removed in autoconf 3.0.
   1121     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1122     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1123       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1124     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1125     ;;
   1126 
   1127   esac
   1128 done
   1129 
   1130 if test -n "$ac_prev"; then
   1131   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1132   as_fn_error $? "missing argument to $ac_option"
   1133 fi
   1134 
   1135 if test -n "$ac_unrecognized_opts"; then
   1136   case $enable_option_checking in
   1137     no) ;;
   1138     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1139     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1140   esac
   1141 fi
   1142 
   1143 # Check all directory arguments for consistency.
   1144 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1145 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1146 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1147 		libdir localedir mandir
   1148 do
   1149   eval ac_val=\$$ac_var
   1150   # Remove trailing slashes.
   1151   case $ac_val in
   1152     */ )
   1153       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1154       eval $ac_var=\$ac_val;;
   1155   esac
   1156   # Be sure to have absolute directory names.
   1157   case $ac_val in
   1158     [\\/$]* | ?:[\\/]* )  continue;;
   1159     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1160   esac
   1161   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1162 done
   1163 
   1164 # There might be people who depend on the old broken behavior: `$host'
   1165 # used to hold the argument of --host etc.
   1166 # FIXME: To remove some day.
   1167 build=$build_alias
   1168 host=$host_alias
   1169 target=$target_alias
   1170 
   1171 # FIXME: To remove some day.
   1172 if test "x$host_alias" != x; then
   1173   if test "x$build_alias" = x; then
   1174     cross_compiling=maybe
   1175   elif test "x$build_alias" != "x$host_alias"; then
   1176     cross_compiling=yes
   1177   fi
   1178 fi
   1179 
   1180 ac_tool_prefix=
   1181 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1182 
   1183 test "$silent" = yes && exec 6>/dev/null
   1184 
   1185 
   1186 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1187 ac_ls_di=`ls -di .` &&
   1188 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1189   as_fn_error $? "working directory cannot be determined"
   1190 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1191   as_fn_error $? "pwd does not report name of working directory"
   1192 
   1193 
   1194 # Find the source files, if location was not specified.
   1195 if test -z "$srcdir"; then
   1196   ac_srcdir_defaulted=yes
   1197   # Try the directory containing this script, then the parent directory.
   1198   ac_confdir=`$as_dirname -- "$as_myself" ||
   1199 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1200 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1201 	 X"$as_myself" : 'X\(//\)$' \| \
   1202 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1203 $as_echo X"$as_myself" |
   1204     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1205 	    s//\1/
   1206 	    q
   1207 	  }
   1208 	  /^X\(\/\/\)[^/].*/{
   1209 	    s//\1/
   1210 	    q
   1211 	  }
   1212 	  /^X\(\/\/\)$/{
   1213 	    s//\1/
   1214 	    q
   1215 	  }
   1216 	  /^X\(\/\).*/{
   1217 	    s//\1/
   1218 	    q
   1219 	  }
   1220 	  s/.*/./; q'`
   1221   srcdir=$ac_confdir
   1222   if test ! -r "$srcdir/$ac_unique_file"; then
   1223     srcdir=..
   1224   fi
   1225 else
   1226   ac_srcdir_defaulted=no
   1227 fi
   1228 if test ! -r "$srcdir/$ac_unique_file"; then
   1229   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1230   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1231 fi
   1232 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1233 ac_abs_confdir=`(
   1234 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1235 	pwd)`
   1236 # When building in place, set srcdir=.
   1237 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1238   srcdir=.
   1239 fi
   1240 # Remove unnecessary trailing slashes from srcdir.
   1241 # Double slashes in file names in object file debugging info
   1242 # mess up M-x gdb in Emacs.
   1243 case $srcdir in
   1244 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1245 esac
   1246 for ac_var in $ac_precious_vars; do
   1247   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1248   eval ac_env_${ac_var}_value=\$${ac_var}
   1249   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1250   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1251 done
   1252 
   1253 #
   1254 # Report the --help message.
   1255 #
   1256 if test "$ac_init_help" = "long"; then
   1257   # Omit some internal or obsolete options to make the list less imposing.
   1258   # This message is too long to be a string in the A/UX 3.1 sh.
   1259   cat <<_ACEOF
   1260 \`configure' configures libdecnumber   to adapt to many kinds of systems.
   1261 
   1262 Usage: $0 [OPTION]... [VAR=VALUE]...
   1263 
   1264 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1265 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1266 
   1267 Defaults for the options are specified in brackets.
   1268 
   1269 Configuration:
   1270   -h, --help              display this help and exit
   1271       --help=short        display options specific to this package
   1272       --help=recursive    display the short help of all the included packages
   1273   -V, --version           display version information and exit
   1274   -q, --quiet, --silent   do not print \`checking ...' messages
   1275       --cache-file=FILE   cache test results in FILE [disabled]
   1276   -C, --config-cache      alias for \`--cache-file=config.cache'
   1277   -n, --no-create         do not create output files
   1278       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1279 
   1280 Installation directories:
   1281   --prefix=PREFIX         install architecture-independent files in PREFIX
   1282                           [$ac_default_prefix]
   1283   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1284                           [PREFIX]
   1285 
   1286 By default, \`make install' will install all the files in
   1287 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1288 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1289 for instance \`--prefix=\$HOME'.
   1290 
   1291 For better control, use the options below.
   1292 
   1293 Fine tuning of the installation directories:
   1294   --bindir=DIR            user executables [EPREFIX/bin]
   1295   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1296   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1297   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1298   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1299   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1300   --libdir=DIR            object code libraries [EPREFIX/lib]
   1301   --includedir=DIR        C header files [PREFIX/include]
   1302   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1303   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1304   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1305   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1306   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1307   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1308   --docdir=DIR            documentation root [DATAROOTDIR/doc/libdecnumber]
   1309   --htmldir=DIR           html documentation [DOCDIR]
   1310   --dvidir=DIR            dvi documentation [DOCDIR]
   1311   --pdfdir=DIR            pdf documentation [DOCDIR]
   1312   --psdir=DIR             ps documentation [DOCDIR]
   1313 _ACEOF
   1314 
   1315   cat <<\_ACEOF
   1316 
   1317 System types:
   1318   --build=BUILD     configure for building on BUILD [guessed]
   1319   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1320   --target=TARGET   configure for building compilers for TARGET [HOST]
   1321 _ACEOF
   1322 fi
   1323 
   1324 if test -n "$ac_init_help"; then
   1325   case $ac_init_help in
   1326      short | recursive ) echo "Configuration of libdecnumber  :";;
   1327    esac
   1328   cat <<\_ACEOF
   1329 
   1330 Optional Features:
   1331   --disable-option-checking  ignore unrecognized --enable/--with options
   1332   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1333   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1334   --enable-werror-always  enable -Werror despite compiler version
   1335   --enable-maintainer-mode enable rules only needed by maintainers
   1336   --enable-decimal-float={no,yes,bid,dpd}
   1337 			enable decimal float extension to C.  Selecting 'bid'
   1338 			or 'dpd' choses which decimal floating point format
   1339 			to use
   1340   --enable-host-shared    build host code as shared libraries
   1341   --enable-host-pie       build host code as PIE
   1342 
   1343 Some influential environment variables:
   1344   CC          C compiler command
   1345   CFLAGS      C compiler flags
   1346   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1347               nonstandard directory <lib dir>
   1348   LIBS        libraries to pass to the linker, e.g. -l<library>
   1349   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1350               you have headers in a nonstandard directory <include dir>
   1351   CPP         C preprocessor
   1352 
   1353 Use these variables to override the choices made by `configure' or to help
   1354 it to find libraries and programs with nonstandard names/locations.
   1355 
   1356 Report bugs to <gcc-bugs@gcc.gnu.org>.
   1357 _ACEOF
   1358 ac_status=$?
   1359 fi
   1360 
   1361 if test "$ac_init_help" = "recursive"; then
   1362   # If there are subdirs, report their specific --help.
   1363   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1364     test -d "$ac_dir" ||
   1365       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1366       continue
   1367     ac_builddir=.
   1368 
   1369 case "$ac_dir" in
   1370 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1371 *)
   1372   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1373   # A ".." for each directory in $ac_dir_suffix.
   1374   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1375   case $ac_top_builddir_sub in
   1376   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1377   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1378   esac ;;
   1379 esac
   1380 ac_abs_top_builddir=$ac_pwd
   1381 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1382 # for backward compatibility:
   1383 ac_top_builddir=$ac_top_build_prefix
   1384 
   1385 case $srcdir in
   1386   .)  # We are building in place.
   1387     ac_srcdir=.
   1388     ac_top_srcdir=$ac_top_builddir_sub
   1389     ac_abs_top_srcdir=$ac_pwd ;;
   1390   [\\/]* | ?:[\\/]* )  # Absolute name.
   1391     ac_srcdir=$srcdir$ac_dir_suffix;
   1392     ac_top_srcdir=$srcdir
   1393     ac_abs_top_srcdir=$srcdir ;;
   1394   *) # Relative name.
   1395     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1396     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1397     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1398 esac
   1399 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1400 
   1401     cd "$ac_dir" || { ac_status=$?; continue; }
   1402     # Check for guested configure.
   1403     if test -f "$ac_srcdir/configure.gnu"; then
   1404       echo &&
   1405       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1406     elif test -f "$ac_srcdir/configure"; then
   1407       echo &&
   1408       $SHELL "$ac_srcdir/configure" --help=recursive
   1409     else
   1410       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1411     fi || ac_status=$?
   1412     cd "$ac_pwd" || { ac_status=$?; break; }
   1413   done
   1414 fi
   1415 
   1416 test -n "$ac_init_help" && exit $ac_status
   1417 if $ac_init_version; then
   1418   cat <<\_ACEOF
   1419 libdecnumber configure
   1420 generated by GNU Autoconf 2.69
   1421 
   1422 Copyright (C) 2012 Free Software Foundation, Inc.
   1423 This configure script is free software; the Free Software Foundation
   1424 gives unlimited permission to copy, distribute and modify it.
   1425 _ACEOF
   1426   exit
   1427 fi
   1428 
   1429 ## ------------------------ ##
   1430 ## Autoconf initialization. ##
   1431 ## ------------------------ ##
   1432 
   1433 # ac_fn_c_try_compile LINENO
   1434 # --------------------------
   1435 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1436 ac_fn_c_try_compile ()
   1437 {
   1438   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1439   rm -f conftest.$ac_objext
   1440   if { { ac_try="$ac_compile"
   1441 case "(($ac_try" in
   1442   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1443   *) ac_try_echo=$ac_try;;
   1444 esac
   1445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1446 $as_echo "$ac_try_echo"; } >&5
   1447   (eval "$ac_compile") 2>conftest.err
   1448   ac_status=$?
   1449   if test -s conftest.err; then
   1450     grep -v '^ *+' conftest.err >conftest.er1
   1451     cat conftest.er1 >&5
   1452     mv -f conftest.er1 conftest.err
   1453   fi
   1454   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1455   test $ac_status = 0; } && {
   1456 	 test -z "$ac_c_werror_flag" ||
   1457 	 test ! -s conftest.err
   1458        } && test -s conftest.$ac_objext; then :
   1459   ac_retval=0
   1460 else
   1461   $as_echo "$as_me: failed program was:" >&5
   1462 sed 's/^/| /' conftest.$ac_ext >&5
   1463 
   1464 	ac_retval=1
   1465 fi
   1466   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1467   as_fn_set_status $ac_retval
   1468 
   1469 } # ac_fn_c_try_compile
   1470 
   1471 # ac_fn_c_try_cpp LINENO
   1472 # ----------------------
   1473 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1474 ac_fn_c_try_cpp ()
   1475 {
   1476   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1477   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1478 case "(($ac_try" in
   1479   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1480   *) ac_try_echo=$ac_try;;
   1481 esac
   1482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1483 $as_echo "$ac_try_echo"; } >&5
   1484   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1485   ac_status=$?
   1486   if test -s conftest.err; then
   1487     grep -v '^ *+' conftest.err >conftest.er1
   1488     cat conftest.er1 >&5
   1489     mv -f conftest.er1 conftest.err
   1490   fi
   1491   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1492   test $ac_status = 0; } > conftest.i && {
   1493 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1494 	 test ! -s conftest.err
   1495        }; then :
   1496   ac_retval=0
   1497 else
   1498   $as_echo "$as_me: failed program was:" >&5
   1499 sed 's/^/| /' conftest.$ac_ext >&5
   1500 
   1501     ac_retval=1
   1502 fi
   1503   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1504   as_fn_set_status $ac_retval
   1505 
   1506 } # ac_fn_c_try_cpp
   1507 
   1508 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1509 # -------------------------------------------------------
   1510 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1511 # the include files in INCLUDES and setting the cache variable VAR
   1512 # accordingly.
   1513 ac_fn_c_check_header_mongrel ()
   1514 {
   1515   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1516   if eval \${$3+:} false; then :
   1517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1518 $as_echo_n "checking for $2... " >&6; }
   1519 if eval \${$3+:} false; then :
   1520   $as_echo_n "(cached) " >&6
   1521 fi
   1522 eval ac_res=\$$3
   1523 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1524 $as_echo "$ac_res" >&6; }
   1525 else
   1526   # Is the header compilable?
   1527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1528 $as_echo_n "checking $2 usability... " >&6; }
   1529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1530 /* end confdefs.h.  */
   1531 $4
   1532 #include <$2>
   1533 _ACEOF
   1534 if ac_fn_c_try_compile "$LINENO"; then :
   1535   ac_header_compiler=yes
   1536 else
   1537   ac_header_compiler=no
   1538 fi
   1539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1541 $as_echo "$ac_header_compiler" >&6; }
   1542 
   1543 # Is the header present?
   1544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1545 $as_echo_n "checking $2 presence... " >&6; }
   1546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1547 /* end confdefs.h.  */
   1548 #include <$2>
   1549 _ACEOF
   1550 if ac_fn_c_try_cpp "$LINENO"; then :
   1551   ac_header_preproc=yes
   1552 else
   1553   ac_header_preproc=no
   1554 fi
   1555 rm -f conftest.err conftest.i conftest.$ac_ext
   1556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1557 $as_echo "$ac_header_preproc" >&6; }
   1558 
   1559 # So?  What about this header?
   1560 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1561   yes:no: )
   1562     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1563 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1564     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1565 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1566     ;;
   1567   no:yes:* )
   1568     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1569 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1570     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1571 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1572     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1573 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1574     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1575 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1576     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1577 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1578 ( $as_echo "## ----------------------------------- ##
   1579 ## Report this to gcc-bugs (at] gcc.gnu.org ##
   1580 ## ----------------------------------- ##"
   1581      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1582     ;;
   1583 esac
   1584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1585 $as_echo_n "checking for $2... " >&6; }
   1586 if eval \${$3+:} false; then :
   1587   $as_echo_n "(cached) " >&6
   1588 else
   1589   eval "$3=\$ac_header_compiler"
   1590 fi
   1591 eval ac_res=\$$3
   1592 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1593 $as_echo "$ac_res" >&6; }
   1594 fi
   1595   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1596 
   1597 } # ac_fn_c_check_header_mongrel
   1598 
   1599 # ac_fn_c_try_run LINENO
   1600 # ----------------------
   1601 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1602 # that executables *can* be run.
   1603 ac_fn_c_try_run ()
   1604 {
   1605   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1606   if { { ac_try="$ac_link"
   1607 case "(($ac_try" in
   1608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1609   *) ac_try_echo=$ac_try;;
   1610 esac
   1611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1612 $as_echo "$ac_try_echo"; } >&5
   1613   (eval "$ac_link") 2>&5
   1614   ac_status=$?
   1615   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1616   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1617   { { case "(($ac_try" in
   1618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1619   *) ac_try_echo=$ac_try;;
   1620 esac
   1621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1622 $as_echo "$ac_try_echo"; } >&5
   1623   (eval "$ac_try") 2>&5
   1624   ac_status=$?
   1625   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1626   test $ac_status = 0; }; }; then :
   1627   ac_retval=0
   1628 else
   1629   $as_echo "$as_me: program exited with status $ac_status" >&5
   1630        $as_echo "$as_me: failed program was:" >&5
   1631 sed 's/^/| /' conftest.$ac_ext >&5
   1632 
   1633        ac_retval=$ac_status
   1634 fi
   1635   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1636   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1637   as_fn_set_status $ac_retval
   1638 
   1639 } # ac_fn_c_try_run
   1640 
   1641 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1642 # -------------------------------------------------------
   1643 # Tests whether HEADER exists and can be compiled using the include files in
   1644 # INCLUDES, setting the cache variable VAR accordingly.
   1645 ac_fn_c_check_header_compile ()
   1646 {
   1647   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1649 $as_echo_n "checking for $2... " >&6; }
   1650 if eval \${$3+:} false; then :
   1651   $as_echo_n "(cached) " >&6
   1652 else
   1653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1654 /* end confdefs.h.  */
   1655 $4
   1656 #include <$2>
   1657 _ACEOF
   1658 if ac_fn_c_try_compile "$LINENO"; then :
   1659   eval "$3=yes"
   1660 else
   1661   eval "$3=no"
   1662 fi
   1663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1664 fi
   1665 eval ac_res=\$$3
   1666 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1667 $as_echo "$ac_res" >&6; }
   1668   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1669 
   1670 } # ac_fn_c_check_header_compile
   1671 
   1672 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1673 # -------------------------------------------
   1674 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1675 # variable VAR accordingly.
   1676 ac_fn_c_check_type ()
   1677 {
   1678   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1680 $as_echo_n "checking for $2... " >&6; }
   1681 if eval \${$3+:} false; then :
   1682   $as_echo_n "(cached) " >&6
   1683 else
   1684   eval "$3=no"
   1685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1686 /* end confdefs.h.  */
   1687 $4
   1688 int
   1689 main ()
   1690 {
   1691 if (sizeof ($2))
   1692 	 return 0;
   1693   ;
   1694   return 0;
   1695 }
   1696 _ACEOF
   1697 if ac_fn_c_try_compile "$LINENO"; then :
   1698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1699 /* end confdefs.h.  */
   1700 $4
   1701 int
   1702 main ()
   1703 {
   1704 if (sizeof (($2)))
   1705 	    return 0;
   1706   ;
   1707   return 0;
   1708 }
   1709 _ACEOF
   1710 if ac_fn_c_try_compile "$LINENO"; then :
   1711 
   1712 else
   1713   eval "$3=yes"
   1714 fi
   1715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1716 fi
   1717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1718 fi
   1719 eval ac_res=\$$3
   1720 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1721 $as_echo "$ac_res" >&6; }
   1722   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1723 
   1724 } # ac_fn_c_check_type
   1725 
   1726 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   1727 # --------------------------------------------
   1728 # Tries to find the compile-time value of EXPR in a program that includes
   1729 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   1730 # computed
   1731 ac_fn_c_compute_int ()
   1732 {
   1733   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1734   if test "$cross_compiling" = yes; then
   1735     # Depending upon the size, compute the lo and hi bounds.
   1736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1737 /* end confdefs.h.  */
   1738 $4
   1739 int
   1740 main ()
   1741 {
   1742 static int test_array [1 - 2 * !(($2) >= 0)];
   1743 test_array [0] = 0;
   1744 return test_array [0];
   1745 
   1746   ;
   1747   return 0;
   1748 }
   1749 _ACEOF
   1750 if ac_fn_c_try_compile "$LINENO"; then :
   1751   ac_lo=0 ac_mid=0
   1752   while :; do
   1753     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1754 /* end confdefs.h.  */
   1755 $4
   1756 int
   1757 main ()
   1758 {
   1759 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   1760 test_array [0] = 0;
   1761 return test_array [0];
   1762 
   1763   ;
   1764   return 0;
   1765 }
   1766 _ACEOF
   1767 if ac_fn_c_try_compile "$LINENO"; then :
   1768   ac_hi=$ac_mid; break
   1769 else
   1770   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   1771 			if test $ac_lo -le $ac_mid; then
   1772 			  ac_lo= ac_hi=
   1773 			  break
   1774 			fi
   1775 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   1776 fi
   1777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1778   done
   1779 else
   1780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1781 /* end confdefs.h.  */
   1782 $4
   1783 int
   1784 main ()
   1785 {
   1786 static int test_array [1 - 2 * !(($2) < 0)];
   1787 test_array [0] = 0;
   1788 return test_array [0];
   1789 
   1790   ;
   1791   return 0;
   1792 }
   1793 _ACEOF
   1794 if ac_fn_c_try_compile "$LINENO"; then :
   1795   ac_hi=-1 ac_mid=-1
   1796   while :; do
   1797     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1798 /* end confdefs.h.  */
   1799 $4
   1800 int
   1801 main ()
   1802 {
   1803 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   1804 test_array [0] = 0;
   1805 return test_array [0];
   1806 
   1807   ;
   1808   return 0;
   1809 }
   1810 _ACEOF
   1811 if ac_fn_c_try_compile "$LINENO"; then :
   1812   ac_lo=$ac_mid; break
   1813 else
   1814   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   1815 			if test $ac_mid -le $ac_hi; then
   1816 			  ac_lo= ac_hi=
   1817 			  break
   1818 			fi
   1819 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   1820 fi
   1821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1822   done
   1823 else
   1824   ac_lo= ac_hi=
   1825 fi
   1826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1827 fi
   1828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1829 # Binary search between lo and hi bounds.
   1830 while test "x$ac_lo" != "x$ac_hi"; do
   1831   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   1832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1833 /* end confdefs.h.  */
   1834 $4
   1835 int
   1836 main ()
   1837 {
   1838 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   1839 test_array [0] = 0;
   1840 return test_array [0];
   1841 
   1842   ;
   1843   return 0;
   1844 }
   1845 _ACEOF
   1846 if ac_fn_c_try_compile "$LINENO"; then :
   1847   ac_hi=$ac_mid
   1848 else
   1849   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   1850 fi
   1851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1852 done
   1853 case $ac_lo in #((
   1854 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   1855 '') ac_retval=1 ;;
   1856 esac
   1857   else
   1858     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1859 /* end confdefs.h.  */
   1860 $4
   1861 static long int longval () { return $2; }
   1862 static unsigned long int ulongval () { return $2; }
   1863 #include <stdio.h>
   1864 #include <stdlib.h>
   1865 int
   1866 main ()
   1867 {
   1868 
   1869   FILE *f = fopen ("conftest.val", "w");
   1870   if (! f)
   1871     return 1;
   1872   if (($2) < 0)
   1873     {
   1874       long int i = longval ();
   1875       if (i != ($2))
   1876 	return 1;
   1877       fprintf (f, "%ld", i);
   1878     }
   1879   else
   1880     {
   1881       unsigned long int i = ulongval ();
   1882       if (i != ($2))
   1883 	return 1;
   1884       fprintf (f, "%lu", i);
   1885     }
   1886   /* Do not output a trailing newline, as this causes \r\n confusion
   1887      on some platforms.  */
   1888   return ferror (f) || fclose (f) != 0;
   1889 
   1890   ;
   1891   return 0;
   1892 }
   1893 _ACEOF
   1894 if ac_fn_c_try_run "$LINENO"; then :
   1895   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   1896 else
   1897   ac_retval=1
   1898 fi
   1899 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   1900   conftest.$ac_objext conftest.beam conftest.$ac_ext
   1901 rm -f conftest.val
   1902 
   1903   fi
   1904   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1905   as_fn_set_status $ac_retval
   1906 
   1907 } # ac_fn_c_compute_int
   1908 cat >config.log <<_ACEOF
   1909 This file contains any messages produced by compilers while
   1910 running configure, to aid debugging if configure makes a mistake.
   1911 
   1912 It was created by libdecnumber $as_me  , which was
   1913 generated by GNU Autoconf 2.69.  Invocation command line was
   1914 
   1915   $ $0 $@
   1916 
   1917 _ACEOF
   1918 exec 5>>config.log
   1919 {
   1920 cat <<_ASUNAME
   1921 ## --------- ##
   1922 ## Platform. ##
   1923 ## --------- ##
   1924 
   1925 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1926 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1927 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1928 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1929 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1930 
   1931 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1932 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1933 
   1934 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1935 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1936 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1937 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1938 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1939 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1940 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1941 
   1942 _ASUNAME
   1943 
   1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1945 for as_dir in $PATH
   1946 do
   1947   IFS=$as_save_IFS
   1948   test -z "$as_dir" && as_dir=.
   1949     $as_echo "PATH: $as_dir"
   1950   done
   1951 IFS=$as_save_IFS
   1952 
   1953 } >&5
   1954 
   1955 cat >&5 <<_ACEOF
   1956 
   1957 
   1958 ## ----------- ##
   1959 ## Core tests. ##
   1960 ## ----------- ##
   1961 
   1962 _ACEOF
   1963 
   1964 
   1965 # Keep a trace of the command line.
   1966 # Strip out --no-create and --no-recursion so they do not pile up.
   1967 # Strip out --silent because we don't want to record it for future runs.
   1968 # Also quote any args containing shell meta-characters.
   1969 # Make two passes to allow for proper duplicate-argument suppression.
   1970 ac_configure_args=
   1971 ac_configure_args0=
   1972 ac_configure_args1=
   1973 ac_must_keep_next=false
   1974 for ac_pass in 1 2
   1975 do
   1976   for ac_arg
   1977   do
   1978     case $ac_arg in
   1979     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1980     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1981     | -silent | --silent | --silen | --sile | --sil)
   1982       continue ;;
   1983     *\'*)
   1984       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1985     esac
   1986     case $ac_pass in
   1987     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1988     2)
   1989       as_fn_append ac_configure_args1 " '$ac_arg'"
   1990       if test $ac_must_keep_next = true; then
   1991 	ac_must_keep_next=false # Got value, back to normal.
   1992       else
   1993 	case $ac_arg in
   1994 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1995 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1996 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1997 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1998 	    case "$ac_configure_args0 " in
   1999 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2000 	    esac
   2001 	    ;;
   2002 	  -* ) ac_must_keep_next=true ;;
   2003 	esac
   2004       fi
   2005       as_fn_append ac_configure_args " '$ac_arg'"
   2006       ;;
   2007     esac
   2008   done
   2009 done
   2010 { ac_configure_args0=; unset ac_configure_args0;}
   2011 { ac_configure_args1=; unset ac_configure_args1;}
   2012 
   2013 # When interrupted or exit'd, cleanup temporary files, and complete
   2014 # config.log.  We remove comments because anyway the quotes in there
   2015 # would cause problems or look ugly.
   2016 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2017 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2018 trap 'exit_status=$?
   2019   # Save into config.log some information that might help in debugging.
   2020   {
   2021     echo
   2022 
   2023     $as_echo "## ---------------- ##
   2024 ## Cache variables. ##
   2025 ## ---------------- ##"
   2026     echo
   2027     # The following way of writing the cache mishandles newlines in values,
   2028 (
   2029   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2030     eval ac_val=\$$ac_var
   2031     case $ac_val in #(
   2032     *${as_nl}*)
   2033       case $ac_var in #(
   2034       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2035 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2036       esac
   2037       case $ac_var in #(
   2038       _ | IFS | as_nl) ;; #(
   2039       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2040       *) { eval $ac_var=; unset $ac_var;} ;;
   2041       esac ;;
   2042     esac
   2043   done
   2044   (set) 2>&1 |
   2045     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2046     *${as_nl}ac_space=\ *)
   2047       sed -n \
   2048 	"s/'\''/'\''\\\\'\'''\''/g;
   2049 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2050       ;; #(
   2051     *)
   2052       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2053       ;;
   2054     esac |
   2055     sort
   2056 )
   2057     echo
   2058 
   2059     $as_echo "## ----------------- ##
   2060 ## Output variables. ##
   2061 ## ----------------- ##"
   2062     echo
   2063     for ac_var in $ac_subst_vars
   2064     do
   2065       eval ac_val=\$$ac_var
   2066       case $ac_val in
   2067       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2068       esac
   2069       $as_echo "$ac_var='\''$ac_val'\''"
   2070     done | sort
   2071     echo
   2072 
   2073     if test -n "$ac_subst_files"; then
   2074       $as_echo "## ------------------- ##
   2075 ## File substitutions. ##
   2076 ## ------------------- ##"
   2077       echo
   2078       for ac_var in $ac_subst_files
   2079       do
   2080 	eval ac_val=\$$ac_var
   2081 	case $ac_val in
   2082 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2083 	esac
   2084 	$as_echo "$ac_var='\''$ac_val'\''"
   2085       done | sort
   2086       echo
   2087     fi
   2088 
   2089     if test -s confdefs.h; then
   2090       $as_echo "## ----------- ##
   2091 ## confdefs.h. ##
   2092 ## ----------- ##"
   2093       echo
   2094       cat confdefs.h
   2095       echo
   2096     fi
   2097     test "$ac_signal" != 0 &&
   2098       $as_echo "$as_me: caught signal $ac_signal"
   2099     $as_echo "$as_me: exit $exit_status"
   2100   } >&5
   2101   rm -f core *.core core.conftest.* &&
   2102     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2103     exit $exit_status
   2104 ' 0
   2105 for ac_signal in 1 2 13 15; do
   2106   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2107 done
   2108 ac_signal=0
   2109 
   2110 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2111 rm -f -r conftest* confdefs.h
   2112 
   2113 $as_echo "/* confdefs.h */" > confdefs.h
   2114 
   2115 # Predefined preprocessor variables.
   2116 
   2117 cat >>confdefs.h <<_ACEOF
   2118 #define PACKAGE_NAME "$PACKAGE_NAME"
   2119 _ACEOF
   2120 
   2121 cat >>confdefs.h <<_ACEOF
   2122 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2123 _ACEOF
   2124 
   2125 cat >>confdefs.h <<_ACEOF
   2126 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2127 _ACEOF
   2128 
   2129 cat >>confdefs.h <<_ACEOF
   2130 #define PACKAGE_STRING "$PACKAGE_STRING"
   2131 _ACEOF
   2132 
   2133 cat >>confdefs.h <<_ACEOF
   2134 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2135 _ACEOF
   2136 
   2137 cat >>confdefs.h <<_ACEOF
   2138 #define PACKAGE_URL "$PACKAGE_URL"
   2139 _ACEOF
   2140 
   2141 
   2142 # Let the site file select an alternate cache file if it wants to.
   2143 # Prefer an explicitly selected file to automatically selected ones.
   2144 ac_site_file1=NONE
   2145 ac_site_file2=NONE
   2146 if test -n "$CONFIG_SITE"; then
   2147   # We do not want a PATH search for config.site.
   2148   case $CONFIG_SITE in #((
   2149     -*)  ac_site_file1=./$CONFIG_SITE;;
   2150     */*) ac_site_file1=$CONFIG_SITE;;
   2151     *)   ac_site_file1=./$CONFIG_SITE;;
   2152   esac
   2153 elif test "x$prefix" != xNONE; then
   2154   ac_site_file1=$prefix/share/config.site
   2155   ac_site_file2=$prefix/etc/config.site
   2156 else
   2157   ac_site_file1=$ac_default_prefix/share/config.site
   2158   ac_site_file2=$ac_default_prefix/etc/config.site
   2159 fi
   2160 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2161 do
   2162   test "x$ac_site_file" = xNONE && continue
   2163   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2164     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2165 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2166     sed 's/^/| /' "$ac_site_file" >&5
   2167     . "$ac_site_file" \
   2168       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2170 as_fn_error $? "failed to load site script $ac_site_file
   2171 See \`config.log' for more details" "$LINENO" 5; }
   2172   fi
   2173 done
   2174 
   2175 if test -r "$cache_file"; then
   2176   # Some versions of bash will fail to source /dev/null (special files
   2177   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2178   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2179     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2180 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2181     case $cache_file in
   2182       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2183       *)                      . "./$cache_file";;
   2184     esac
   2185   fi
   2186 else
   2187   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2188 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2189   >$cache_file
   2190 fi
   2191 
   2192 # Check that the precious variables saved in the cache have kept the same
   2193 # value.
   2194 ac_cache_corrupted=false
   2195 for ac_var in $ac_precious_vars; do
   2196   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2197   eval ac_new_set=\$ac_env_${ac_var}_set
   2198   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2199   eval ac_new_val=\$ac_env_${ac_var}_value
   2200   case $ac_old_set,$ac_new_set in
   2201     set,)
   2202       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2203 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2204       ac_cache_corrupted=: ;;
   2205     ,set)
   2206       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2207 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2208       ac_cache_corrupted=: ;;
   2209     ,);;
   2210     *)
   2211       if test "x$ac_old_val" != "x$ac_new_val"; then
   2212 	# differences in whitespace do not lead to failure.
   2213 	ac_old_val_w=`echo x $ac_old_val`
   2214 	ac_new_val_w=`echo x $ac_new_val`
   2215 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2216 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2217 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2218 	  ac_cache_corrupted=:
   2219 	else
   2220 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2221 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2222 	  eval $ac_var=\$ac_old_val
   2223 	fi
   2224 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2225 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2226 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2227 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2228       fi;;
   2229   esac
   2230   # Pass precious variables to config.status.
   2231   if test "$ac_new_set" = set; then
   2232     case $ac_new_val in
   2233     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2234     *) ac_arg=$ac_var=$ac_new_val ;;
   2235     esac
   2236     case " $ac_configure_args " in
   2237       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2238       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2239     esac
   2240   fi
   2241 done
   2242 if $ac_cache_corrupted; then
   2243   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2245   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2246 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2247   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2248 fi
   2249 ## -------------------- ##
   2250 ## Main body of script. ##
   2251 ## -------------------- ##
   2252 
   2253 ac_ext=c
   2254 ac_cpp='$CPP $CPPFLAGS'
   2255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2258 
   2259 
   2260 
   2261 
   2262 ac_aux_dir=
   2263 for ac_dir in .. "$srcdir"/..; do
   2264   if test -f "$ac_dir/install-sh"; then
   2265     ac_aux_dir=$ac_dir
   2266     ac_install_sh="$ac_aux_dir/install-sh -c"
   2267     break
   2268   elif test -f "$ac_dir/install.sh"; then
   2269     ac_aux_dir=$ac_dir
   2270     ac_install_sh="$ac_aux_dir/install.sh -c"
   2271     break
   2272   elif test -f "$ac_dir/shtool"; then
   2273     ac_aux_dir=$ac_dir
   2274     ac_install_sh="$ac_aux_dir/shtool install -c"
   2275     break
   2276   fi
   2277 done
   2278 if test -z "$ac_aux_dir"; then
   2279   as_fn_error $? "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
   2280 fi
   2281 
   2282 # These three variables are undocumented and unsupported,
   2283 # and are intended to be withdrawn in a future Autoconf release.
   2284 # They can cause serious problems if a builder's source tree is in a directory
   2285 # whose full name contains unusual characters.
   2286 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2287 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2288 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2289 
   2290 
   2291 
   2292 # Checks for programs.
   2293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2294 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2295 set x ${MAKE-make}
   2296 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2297 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2298   $as_echo_n "(cached) " >&6
   2299 else
   2300   cat >conftest.make <<\_ACEOF
   2301 SHELL = /bin/sh
   2302 all:
   2303 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2304 _ACEOF
   2305 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2306 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2307   *@@@%%%=?*=@@@%%%*)
   2308     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2309   *)
   2310     eval ac_cv_prog_make_${ac_make}_set=no;;
   2311 esac
   2312 rm -f conftest.make
   2313 fi
   2314 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2316 $as_echo "yes" >&6; }
   2317   SET_MAKE=
   2318 else
   2319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2320 $as_echo "no" >&6; }
   2321   SET_MAKE="MAKE=${MAKE-make}"
   2322 fi
   2323 
   2324 ac_ext=c
   2325 ac_cpp='$CPP $CPPFLAGS'
   2326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2329 if test -n "$ac_tool_prefix"; then
   2330   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2331 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2333 $as_echo_n "checking for $ac_word... " >&6; }
   2334 if ${ac_cv_prog_CC+:} false; then :
   2335   $as_echo_n "(cached) " >&6
   2336 else
   2337   if test -n "$CC"; then
   2338   ac_cv_prog_CC="$CC" # Let the user override the test.
   2339 else
   2340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2341 for as_dir in $PATH
   2342 do
   2343   IFS=$as_save_IFS
   2344   test -z "$as_dir" && as_dir=.
   2345     for ac_exec_ext in '' $ac_executable_extensions; do
   2346   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2347     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2348     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2349     break 2
   2350   fi
   2351 done
   2352   done
   2353 IFS=$as_save_IFS
   2354 
   2355 fi
   2356 fi
   2357 CC=$ac_cv_prog_CC
   2358 if test -n "$CC"; then
   2359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2360 $as_echo "$CC" >&6; }
   2361 else
   2362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2363 $as_echo "no" >&6; }
   2364 fi
   2365 
   2366 
   2367 fi
   2368 if test -z "$ac_cv_prog_CC"; then
   2369   ac_ct_CC=$CC
   2370   # Extract the first word of "gcc", so it can be a program name with args.
   2371 set dummy gcc; ac_word=$2
   2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2373 $as_echo_n "checking for $ac_word... " >&6; }
   2374 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2375   $as_echo_n "(cached) " >&6
   2376 else
   2377   if test -n "$ac_ct_CC"; then
   2378   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2379 else
   2380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2381 for as_dir in $PATH
   2382 do
   2383   IFS=$as_save_IFS
   2384   test -z "$as_dir" && as_dir=.
   2385     for ac_exec_ext in '' $ac_executable_extensions; do
   2386   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2387     ac_cv_prog_ac_ct_CC="gcc"
   2388     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2389     break 2
   2390   fi
   2391 done
   2392   done
   2393 IFS=$as_save_IFS
   2394 
   2395 fi
   2396 fi
   2397 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2398 if test -n "$ac_ct_CC"; then
   2399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2400 $as_echo "$ac_ct_CC" >&6; }
   2401 else
   2402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2403 $as_echo "no" >&6; }
   2404 fi
   2405 
   2406   if test "x$ac_ct_CC" = x; then
   2407     CC=""
   2408   else
   2409     case $cross_compiling:$ac_tool_warned in
   2410 yes:)
   2411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2413 ac_tool_warned=yes ;;
   2414 esac
   2415     CC=$ac_ct_CC
   2416   fi
   2417 else
   2418   CC="$ac_cv_prog_CC"
   2419 fi
   2420 
   2421 if test -z "$CC"; then
   2422           if test -n "$ac_tool_prefix"; then
   2423     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2424 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2426 $as_echo_n "checking for $ac_word... " >&6; }
   2427 if ${ac_cv_prog_CC+:} false; then :
   2428   $as_echo_n "(cached) " >&6
   2429 else
   2430   if test -n "$CC"; then
   2431   ac_cv_prog_CC="$CC" # Let the user override the test.
   2432 else
   2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2434 for as_dir in $PATH
   2435 do
   2436   IFS=$as_save_IFS
   2437   test -z "$as_dir" && as_dir=.
   2438     for ac_exec_ext in '' $ac_executable_extensions; do
   2439   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2440     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2442     break 2
   2443   fi
   2444 done
   2445   done
   2446 IFS=$as_save_IFS
   2447 
   2448 fi
   2449 fi
   2450 CC=$ac_cv_prog_CC
   2451 if test -n "$CC"; then
   2452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2453 $as_echo "$CC" >&6; }
   2454 else
   2455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2456 $as_echo "no" >&6; }
   2457 fi
   2458 
   2459 
   2460   fi
   2461 fi
   2462 if test -z "$CC"; then
   2463   # Extract the first word of "cc", so it can be a program name with args.
   2464 set dummy cc; ac_word=$2
   2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2466 $as_echo_n "checking for $ac_word... " >&6; }
   2467 if ${ac_cv_prog_CC+:} false; then :
   2468   $as_echo_n "(cached) " >&6
   2469 else
   2470   if test -n "$CC"; then
   2471   ac_cv_prog_CC="$CC" # Let the user override the test.
   2472 else
   2473   ac_prog_rejected=no
   2474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2475 for as_dir in $PATH
   2476 do
   2477   IFS=$as_save_IFS
   2478   test -z "$as_dir" && as_dir=.
   2479     for ac_exec_ext in '' $ac_executable_extensions; do
   2480   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2481     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2482        ac_prog_rejected=yes
   2483        continue
   2484      fi
   2485     ac_cv_prog_CC="cc"
   2486     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2487     break 2
   2488   fi
   2489 done
   2490   done
   2491 IFS=$as_save_IFS
   2492 
   2493 if test $ac_prog_rejected = yes; then
   2494   # We found a bogon in the path, so make sure we never use it.
   2495   set dummy $ac_cv_prog_CC
   2496   shift
   2497   if test $# != 0; then
   2498     # We chose a different compiler from the bogus one.
   2499     # However, it has the same basename, so the bogon will be chosen
   2500     # first if we set CC to just the basename; use the full file name.
   2501     shift
   2502     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2503   fi
   2504 fi
   2505 fi
   2506 fi
   2507 CC=$ac_cv_prog_CC
   2508 if test -n "$CC"; then
   2509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2510 $as_echo "$CC" >&6; }
   2511 else
   2512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2513 $as_echo "no" >&6; }
   2514 fi
   2515 
   2516 
   2517 fi
   2518 if test -z "$CC"; then
   2519   if test -n "$ac_tool_prefix"; then
   2520   for ac_prog in cl.exe
   2521   do
   2522     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2523 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2525 $as_echo_n "checking for $ac_word... " >&6; }
   2526 if ${ac_cv_prog_CC+:} false; then :
   2527   $as_echo_n "(cached) " >&6
   2528 else
   2529   if test -n "$CC"; then
   2530   ac_cv_prog_CC="$CC" # Let the user override the test.
   2531 else
   2532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2533 for as_dir in $PATH
   2534 do
   2535   IFS=$as_save_IFS
   2536   test -z "$as_dir" && as_dir=.
   2537     for ac_exec_ext in '' $ac_executable_extensions; do
   2538   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2539     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2541     break 2
   2542   fi
   2543 done
   2544   done
   2545 IFS=$as_save_IFS
   2546 
   2547 fi
   2548 fi
   2549 CC=$ac_cv_prog_CC
   2550 if test -n "$CC"; then
   2551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2552 $as_echo "$CC" >&6; }
   2553 else
   2554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2555 $as_echo "no" >&6; }
   2556 fi
   2557 
   2558 
   2559     test -n "$CC" && break
   2560   done
   2561 fi
   2562 if test -z "$CC"; then
   2563   ac_ct_CC=$CC
   2564   for ac_prog in cl.exe
   2565 do
   2566   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2567 set dummy $ac_prog; ac_word=$2
   2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2569 $as_echo_n "checking for $ac_word... " >&6; }
   2570 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2571   $as_echo_n "(cached) " >&6
   2572 else
   2573   if test -n "$ac_ct_CC"; then
   2574   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2575 else
   2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2577 for as_dir in $PATH
   2578 do
   2579   IFS=$as_save_IFS
   2580   test -z "$as_dir" && as_dir=.
   2581     for ac_exec_ext in '' $ac_executable_extensions; do
   2582   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2583     ac_cv_prog_ac_ct_CC="$ac_prog"
   2584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2585     break 2
   2586   fi
   2587 done
   2588   done
   2589 IFS=$as_save_IFS
   2590 
   2591 fi
   2592 fi
   2593 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2594 if test -n "$ac_ct_CC"; then
   2595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2596 $as_echo "$ac_ct_CC" >&6; }
   2597 else
   2598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2599 $as_echo "no" >&6; }
   2600 fi
   2601 
   2602 
   2603   test -n "$ac_ct_CC" && break
   2604 done
   2605 
   2606   if test "x$ac_ct_CC" = x; then
   2607     CC=""
   2608   else
   2609     case $cross_compiling:$ac_tool_warned in
   2610 yes:)
   2611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2613 ac_tool_warned=yes ;;
   2614 esac
   2615     CC=$ac_ct_CC
   2616   fi
   2617 fi
   2618 
   2619 fi
   2620 
   2621 
   2622 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2623 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2624 as_fn_error $? "no acceptable C compiler found in \$PATH
   2625 See \`config.log' for more details" "$LINENO" 5; }
   2626 
   2627 # Provide some information about the compiler.
   2628 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2629 set X $ac_compile
   2630 ac_compiler=$2
   2631 for ac_option in --version -v -V -qversion; do
   2632   { { ac_try="$ac_compiler $ac_option >&5"
   2633 case "(($ac_try" in
   2634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2635   *) ac_try_echo=$ac_try;;
   2636 esac
   2637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2638 $as_echo "$ac_try_echo"; } >&5
   2639   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2640   ac_status=$?
   2641   if test -s conftest.err; then
   2642     sed '10a\
   2643 ... rest of stderr output deleted ...
   2644          10q' conftest.err >conftest.er1
   2645     cat conftest.er1 >&5
   2646   fi
   2647   rm -f conftest.er1 conftest.err
   2648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2649   test $ac_status = 0; }
   2650 done
   2651 
   2652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2653 /* end confdefs.h.  */
   2654 
   2655 int
   2656 main ()
   2657 {
   2658 
   2659   ;
   2660   return 0;
   2661 }
   2662 _ACEOF
   2663 ac_clean_files_save=$ac_clean_files
   2664 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2665 # Try to create an executable without -o first, disregard a.out.
   2666 # It will help us diagnose broken compilers, and finding out an intuition
   2667 # of exeext.
   2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2669 $as_echo_n "checking whether the C compiler works... " >&6; }
   2670 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2671 
   2672 # The possible output files:
   2673 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2674 
   2675 ac_rmfiles=
   2676 for ac_file in $ac_files
   2677 do
   2678   case $ac_file in
   2679     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2680     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2681   esac
   2682 done
   2683 rm -f $ac_rmfiles
   2684 
   2685 if { { ac_try="$ac_link_default"
   2686 case "(($ac_try" in
   2687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2688   *) ac_try_echo=$ac_try;;
   2689 esac
   2690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2691 $as_echo "$ac_try_echo"; } >&5
   2692   (eval "$ac_link_default") 2>&5
   2693   ac_status=$?
   2694   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2695   test $ac_status = 0; }; then :
   2696   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2697 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2698 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2699 # so that the user can short-circuit this test for compilers unknown to
   2700 # Autoconf.
   2701 for ac_file in $ac_files ''
   2702 do
   2703   test -f "$ac_file" || continue
   2704   case $ac_file in
   2705     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2706 	;;
   2707     [ab].out )
   2708 	# We found the default executable, but exeext='' is most
   2709 	# certainly right.
   2710 	break;;
   2711     *.* )
   2712 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2713 	then :; else
   2714 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2715 	fi
   2716 	# We set ac_cv_exeext here because the later test for it is not
   2717 	# safe: cross compilers may not add the suffix if given an `-o'
   2718 	# argument, so we may need to know it at that point already.
   2719 	# Even if this section looks crufty: it has the advantage of
   2720 	# actually working.
   2721 	break;;
   2722     * )
   2723 	break;;
   2724   esac
   2725 done
   2726 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2727 
   2728 else
   2729   ac_file=''
   2730 fi
   2731 if test -z "$ac_file"; then :
   2732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2733 $as_echo "no" >&6; }
   2734 $as_echo "$as_me: failed program was:" >&5
   2735 sed 's/^/| /' conftest.$ac_ext >&5
   2736 
   2737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2739 as_fn_error 77 "C compiler cannot create executables
   2740 See \`config.log' for more details" "$LINENO" 5; }
   2741 else
   2742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2743 $as_echo "yes" >&6; }
   2744 fi
   2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2746 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2748 $as_echo "$ac_file" >&6; }
   2749 ac_exeext=$ac_cv_exeext
   2750 
   2751 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2752 ac_clean_files=$ac_clean_files_save
   2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2754 $as_echo_n "checking for suffix of executables... " >&6; }
   2755 if { { ac_try="$ac_link"
   2756 case "(($ac_try" in
   2757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2758   *) ac_try_echo=$ac_try;;
   2759 esac
   2760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2761 $as_echo "$ac_try_echo"; } >&5
   2762   (eval "$ac_link") 2>&5
   2763   ac_status=$?
   2764   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2765   test $ac_status = 0; }; then :
   2766   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2767 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2768 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2769 # `rm'.
   2770 for ac_file in conftest.exe conftest conftest.*; do
   2771   test -f "$ac_file" || continue
   2772   case $ac_file in
   2773     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2774     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2775 	  break;;
   2776     * ) break;;
   2777   esac
   2778 done
   2779 else
   2780   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2782 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2783 See \`config.log' for more details" "$LINENO" 5; }
   2784 fi
   2785 rm -f conftest conftest$ac_cv_exeext
   2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2787 $as_echo "$ac_cv_exeext" >&6; }
   2788 
   2789 rm -f conftest.$ac_ext
   2790 EXEEXT=$ac_cv_exeext
   2791 ac_exeext=$EXEEXT
   2792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2793 /* end confdefs.h.  */
   2794 #include <stdio.h>
   2795 int
   2796 main ()
   2797 {
   2798 FILE *f = fopen ("conftest.out", "w");
   2799  return ferror (f) || fclose (f) != 0;
   2800 
   2801   ;
   2802   return 0;
   2803 }
   2804 _ACEOF
   2805 ac_clean_files="$ac_clean_files conftest.out"
   2806 # Check that the compiler produces executables we can run.  If not, either
   2807 # the compiler is broken, or we cross compile.
   2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2809 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2810 if test "$cross_compiling" != yes; then
   2811   { { ac_try="$ac_link"
   2812 case "(($ac_try" in
   2813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2814   *) ac_try_echo=$ac_try;;
   2815 esac
   2816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2817 $as_echo "$ac_try_echo"; } >&5
   2818   (eval "$ac_link") 2>&5
   2819   ac_status=$?
   2820   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2821   test $ac_status = 0; }
   2822   if { ac_try='./conftest$ac_cv_exeext'
   2823   { { case "(($ac_try" in
   2824   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2825   *) ac_try_echo=$ac_try;;
   2826 esac
   2827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2828 $as_echo "$ac_try_echo"; } >&5
   2829   (eval "$ac_try") 2>&5
   2830   ac_status=$?
   2831   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2832   test $ac_status = 0; }; }; then
   2833     cross_compiling=no
   2834   else
   2835     if test "$cross_compiling" = maybe; then
   2836 	cross_compiling=yes
   2837     else
   2838 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2840 as_fn_error $? "cannot run C compiled programs.
   2841 If you meant to cross compile, use \`--host'.
   2842 See \`config.log' for more details" "$LINENO" 5; }
   2843     fi
   2844   fi
   2845 fi
   2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2847 $as_echo "$cross_compiling" >&6; }
   2848 
   2849 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2850 ac_clean_files=$ac_clean_files_save
   2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2852 $as_echo_n "checking for suffix of object files... " >&6; }
   2853 if ${ac_cv_objext+:} false; then :
   2854   $as_echo_n "(cached) " >&6
   2855 else
   2856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2857 /* end confdefs.h.  */
   2858 
   2859 int
   2860 main ()
   2861 {
   2862 
   2863   ;
   2864   return 0;
   2865 }
   2866 _ACEOF
   2867 rm -f conftest.o conftest.obj
   2868 if { { ac_try="$ac_compile"
   2869 case "(($ac_try" in
   2870   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2871   *) ac_try_echo=$ac_try;;
   2872 esac
   2873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2874 $as_echo "$ac_try_echo"; } >&5
   2875   (eval "$ac_compile") 2>&5
   2876   ac_status=$?
   2877   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2878   test $ac_status = 0; }; then :
   2879   for ac_file in conftest.o conftest.obj conftest.*; do
   2880   test -f "$ac_file" || continue;
   2881   case $ac_file in
   2882     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2883     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2884        break;;
   2885   esac
   2886 done
   2887 else
   2888   $as_echo "$as_me: failed program was:" >&5
   2889 sed 's/^/| /' conftest.$ac_ext >&5
   2890 
   2891 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2893 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2894 See \`config.log' for more details" "$LINENO" 5; }
   2895 fi
   2896 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2897 fi
   2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2899 $as_echo "$ac_cv_objext" >&6; }
   2900 OBJEXT=$ac_cv_objext
   2901 ac_objext=$OBJEXT
   2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2903 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2904 if ${ac_cv_c_compiler_gnu+:} false; then :
   2905   $as_echo_n "(cached) " >&6
   2906 else
   2907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2908 /* end confdefs.h.  */
   2909 
   2910 int
   2911 main ()
   2912 {
   2913 #ifndef __GNUC__
   2914        choke me
   2915 #endif
   2916 
   2917   ;
   2918   return 0;
   2919 }
   2920 _ACEOF
   2921 if ac_fn_c_try_compile "$LINENO"; then :
   2922   ac_compiler_gnu=yes
   2923 else
   2924   ac_compiler_gnu=no
   2925 fi
   2926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2927 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2928 
   2929 fi
   2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2931 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2932 if test $ac_compiler_gnu = yes; then
   2933   GCC=yes
   2934 else
   2935   GCC=
   2936 fi
   2937 ac_test_CFLAGS=${CFLAGS+set}
   2938 ac_save_CFLAGS=$CFLAGS
   2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2940 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2941 if ${ac_cv_prog_cc_g+:} false; then :
   2942   $as_echo_n "(cached) " >&6
   2943 else
   2944   ac_save_c_werror_flag=$ac_c_werror_flag
   2945    ac_c_werror_flag=yes
   2946    ac_cv_prog_cc_g=no
   2947    CFLAGS="-g"
   2948    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2949 /* end confdefs.h.  */
   2950 
   2951 int
   2952 main ()
   2953 {
   2954 
   2955   ;
   2956   return 0;
   2957 }
   2958 _ACEOF
   2959 if ac_fn_c_try_compile "$LINENO"; then :
   2960   ac_cv_prog_cc_g=yes
   2961 else
   2962   CFLAGS=""
   2963       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2964 /* end confdefs.h.  */
   2965 
   2966 int
   2967 main ()
   2968 {
   2969 
   2970   ;
   2971   return 0;
   2972 }
   2973 _ACEOF
   2974 if ac_fn_c_try_compile "$LINENO"; then :
   2975 
   2976 else
   2977   ac_c_werror_flag=$ac_save_c_werror_flag
   2978 	 CFLAGS="-g"
   2979 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2980 /* end confdefs.h.  */
   2981 
   2982 int
   2983 main ()
   2984 {
   2985 
   2986   ;
   2987   return 0;
   2988 }
   2989 _ACEOF
   2990 if ac_fn_c_try_compile "$LINENO"; then :
   2991   ac_cv_prog_cc_g=yes
   2992 fi
   2993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2994 fi
   2995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2996 fi
   2997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2998    ac_c_werror_flag=$ac_save_c_werror_flag
   2999 fi
   3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3001 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3002 if test "$ac_test_CFLAGS" = set; then
   3003   CFLAGS=$ac_save_CFLAGS
   3004 elif test $ac_cv_prog_cc_g = yes; then
   3005   if test "$GCC" = yes; then
   3006     CFLAGS="-g -O2"
   3007   else
   3008     CFLAGS="-g"
   3009   fi
   3010 else
   3011   if test "$GCC" = yes; then
   3012     CFLAGS="-O2"
   3013   else
   3014     CFLAGS=
   3015   fi
   3016 fi
   3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3018 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3019 if ${ac_cv_prog_cc_c89+:} false; then :
   3020   $as_echo_n "(cached) " >&6
   3021 else
   3022   ac_cv_prog_cc_c89=no
   3023 ac_save_CC=$CC
   3024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3025 /* end confdefs.h.  */
   3026 #include <stdarg.h>
   3027 #include <stdio.h>
   3028 struct stat;
   3029 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3030 struct buf { int x; };
   3031 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3032 static char *e (p, i)
   3033      char **p;
   3034      int i;
   3035 {
   3036   return p[i];
   3037 }
   3038 static char *f (char * (*g) (char **, int), char **p, ...)
   3039 {
   3040   char *s;
   3041   va_list v;
   3042   va_start (v,p);
   3043   s = g (p, va_arg (v,int));
   3044   va_end (v);
   3045   return s;
   3046 }
   3047 
   3048 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3049    function prototypes and stuff, but not '\xHH' hex character constants.
   3050    These don't provoke an error unfortunately, instead are silently treated
   3051    as 'x'.  The following induces an error, until -std is added to get
   3052    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3053    array size at least.  It's necessary to write '\x00'==0 to get something
   3054    that's true only with -std.  */
   3055 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3056 
   3057 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3058    inside strings and character constants.  */
   3059 #define FOO(x) 'x'
   3060 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3061 
   3062 int test (int i, double x);
   3063 struct s1 {int (*f) (int a);};
   3064 struct s2 {int (*f) (double a);};
   3065 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3066 int argc;
   3067 char **argv;
   3068 int
   3069 main ()
   3070 {
   3071 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3072   ;
   3073   return 0;
   3074 }
   3075 _ACEOF
   3076 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3077 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3078 do
   3079   CC="$ac_save_CC $ac_arg"
   3080   if ac_fn_c_try_compile "$LINENO"; then :
   3081   ac_cv_prog_cc_c89=$ac_arg
   3082 fi
   3083 rm -f core conftest.err conftest.$ac_objext
   3084   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3085 done
   3086 rm -f conftest.$ac_ext
   3087 CC=$ac_save_CC
   3088 
   3089 fi
   3090 # AC_CACHE_VAL
   3091 case "x$ac_cv_prog_cc_c89" in
   3092   x)
   3093     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3094 $as_echo "none needed" >&6; } ;;
   3095   xno)
   3096     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3097 $as_echo "unsupported" >&6; } ;;
   3098   *)
   3099     CC="$CC $ac_cv_prog_cc_c89"
   3100     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3101 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3102 esac
   3103 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3104 
   3105 fi
   3106 
   3107 ac_ext=c
   3108 ac_cpp='$CPP $CPPFLAGS'
   3109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3112 
   3113 if test -n "$ac_tool_prefix"; then
   3114   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   3115 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3117 $as_echo_n "checking for $ac_word... " >&6; }
   3118 if ${ac_cv_prog_RANLIB+:} false; then :
   3119   $as_echo_n "(cached) " >&6
   3120 else
   3121   if test -n "$RANLIB"; then
   3122   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   3123 else
   3124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3125 for as_dir in $PATH
   3126 do
   3127   IFS=$as_save_IFS
   3128   test -z "$as_dir" && as_dir=.
   3129     for ac_exec_ext in '' $ac_executable_extensions; do
   3130   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3131     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   3132     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3133     break 2
   3134   fi
   3135 done
   3136   done
   3137 IFS=$as_save_IFS
   3138 
   3139 fi
   3140 fi
   3141 RANLIB=$ac_cv_prog_RANLIB
   3142 if test -n "$RANLIB"; then
   3143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   3144 $as_echo "$RANLIB" >&6; }
   3145 else
   3146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3147 $as_echo "no" >&6; }
   3148 fi
   3149 
   3150 
   3151 fi
   3152 if test -z "$ac_cv_prog_RANLIB"; then
   3153   ac_ct_RANLIB=$RANLIB
   3154   # Extract the first word of "ranlib", so it can be a program name with args.
   3155 set dummy ranlib; ac_word=$2
   3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3157 $as_echo_n "checking for $ac_word... " >&6; }
   3158 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   3159   $as_echo_n "(cached) " >&6
   3160 else
   3161   if test -n "$ac_ct_RANLIB"; then
   3162   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   3163 else
   3164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3165 for as_dir in $PATH
   3166 do
   3167   IFS=$as_save_IFS
   3168   test -z "$as_dir" && as_dir=.
   3169     for ac_exec_ext in '' $ac_executable_extensions; do
   3170   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3171     ac_cv_prog_ac_ct_RANLIB="ranlib"
   3172     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3173     break 2
   3174   fi
   3175 done
   3176   done
   3177 IFS=$as_save_IFS
   3178 
   3179 fi
   3180 fi
   3181 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   3182 if test -n "$ac_ct_RANLIB"; then
   3183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   3184 $as_echo "$ac_ct_RANLIB" >&6; }
   3185 else
   3186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3187 $as_echo "no" >&6; }
   3188 fi
   3189 
   3190   if test "x$ac_ct_RANLIB" = x; then
   3191     RANLIB=":"
   3192   else
   3193     case $cross_compiling:$ac_tool_warned in
   3194 yes:)
   3195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3197 ac_tool_warned=yes ;;
   3198 esac
   3199     RANLIB=$ac_ct_RANLIB
   3200   fi
   3201 else
   3202   RANLIB="$ac_cv_prog_RANLIB"
   3203 fi
   3204 
   3205 
   3206 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
   3207 for ac_prog in aclocal
   3208 do
   3209   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3210 set dummy $ac_prog; ac_word=$2
   3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3212 $as_echo_n "checking for $ac_word... " >&6; }
   3213 if ${ac_cv_prog_ACLOCAL+:} false; then :
   3214   $as_echo_n "(cached) " >&6
   3215 else
   3216   if test -n "$ACLOCAL"; then
   3217   ac_cv_prog_ACLOCAL="$ACLOCAL" # Let the user override the test.
   3218 else
   3219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3220 for as_dir in $PATH
   3221 do
   3222   IFS=$as_save_IFS
   3223   test -z "$as_dir" && as_dir=.
   3224     for ac_exec_ext in '' $ac_executable_extensions; do
   3225   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3226     ac_cv_prog_ACLOCAL="$ac_prog"
   3227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3228     break 2
   3229   fi
   3230 done
   3231   done
   3232 IFS=$as_save_IFS
   3233 
   3234 fi
   3235 fi
   3236 ACLOCAL=$ac_cv_prog_ACLOCAL
   3237 if test -n "$ACLOCAL"; then
   3238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
   3239 $as_echo "$ACLOCAL" >&6; }
   3240 else
   3241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3242 $as_echo "no" >&6; }
   3243 fi
   3244 
   3245 
   3246   test -n "$ACLOCAL" && break
   3247 done
   3248 test -n "$ACLOCAL" || ACLOCAL="$MISSING aclocal"
   3249 
   3250 for ac_prog in autoconf
   3251 do
   3252   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3253 set dummy $ac_prog; ac_word=$2
   3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3255 $as_echo_n "checking for $ac_word... " >&6; }
   3256 if ${ac_cv_prog_AUTOCONF+:} false; then :
   3257   $as_echo_n "(cached) " >&6
   3258 else
   3259   if test -n "$AUTOCONF"; then
   3260   ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
   3261 else
   3262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3263 for as_dir in $PATH
   3264 do
   3265   IFS=$as_save_IFS
   3266   test -z "$as_dir" && as_dir=.
   3267     for ac_exec_ext in '' $ac_executable_extensions; do
   3268   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3269     ac_cv_prog_AUTOCONF="$ac_prog"
   3270     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3271     break 2
   3272   fi
   3273 done
   3274   done
   3275 IFS=$as_save_IFS
   3276 
   3277 fi
   3278 fi
   3279 AUTOCONF=$ac_cv_prog_AUTOCONF
   3280 if test -n "$AUTOCONF"; then
   3281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
   3282 $as_echo "$AUTOCONF" >&6; }
   3283 else
   3284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3285 $as_echo "no" >&6; }
   3286 fi
   3287 
   3288 
   3289   test -n "$AUTOCONF" && break
   3290 done
   3291 test -n "$AUTOCONF" || AUTOCONF="$MISSING autoconf"
   3292 
   3293 for ac_prog in autoheader
   3294 do
   3295   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3296 set dummy $ac_prog; ac_word=$2
   3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3298 $as_echo_n "checking for $ac_word... " >&6; }
   3299 if ${ac_cv_prog_AUTOHEADER+:} false; then :
   3300   $as_echo_n "(cached) " >&6
   3301 else
   3302   if test -n "$AUTOHEADER"; then
   3303   ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
   3304 else
   3305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3306 for as_dir in $PATH
   3307 do
   3308   IFS=$as_save_IFS
   3309   test -z "$as_dir" && as_dir=.
   3310     for ac_exec_ext in '' $ac_executable_extensions; do
   3311   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3312     ac_cv_prog_AUTOHEADER="$ac_prog"
   3313     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3314     break 2
   3315   fi
   3316 done
   3317   done
   3318 IFS=$as_save_IFS
   3319 
   3320 fi
   3321 fi
   3322 AUTOHEADER=$ac_cv_prog_AUTOHEADER
   3323 if test -n "$AUTOHEADER"; then
   3324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
   3325 $as_echo "$AUTOHEADER" >&6; }
   3326 else
   3327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3328 $as_echo "no" >&6; }
   3329 fi
   3330 
   3331 
   3332   test -n "$AUTOHEADER" && break
   3333 done
   3334 test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader"
   3335 
   3336 
   3337 # Figure out what compiler warnings we can enable.
   3338 # See config/warnings.m4 for details.
   3339 
   3340 
   3341 ac_ext=c
   3342 ac_cpp='$CPP $CPPFLAGS'
   3343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3346 
   3347 WARN_CFLAGS=
   3348 save_CFLAGS="$CFLAGS"
   3349 for real_option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
   3350 			  -Wmissing-prototypes -Wold-style-definition \
   3351 			  -Wmissing-format-attribute -Wcast-qual; do
   3352   # Do the check with the no- prefix removed since gcc silently
   3353   # accepts any -Wno-* option on purpose
   3354   case $real_option in
   3355     -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
   3356     *) option=$real_option ;;
   3357   esac
   3358   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
   3359 
   3360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
   3361 $as_echo_n "checking whether $CC supports $option... " >&6; }
   3362 if eval \${$as_acx_Woption+:} false; then :
   3363   $as_echo_n "(cached) " >&6
   3364 else
   3365   CFLAGS="$option"
   3366     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3367 /* end confdefs.h.  */
   3368 
   3369 int
   3370 main ()
   3371 {
   3372 
   3373   ;
   3374   return 0;
   3375 }
   3376 _ACEOF
   3377 if ac_fn_c_try_compile "$LINENO"; then :
   3378   eval "$as_acx_Woption=yes"
   3379 else
   3380   eval "$as_acx_Woption=no"
   3381 fi
   3382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3383 
   3384 fi
   3385 eval ac_res=\$$as_acx_Woption
   3386 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   3387 $as_echo "$ac_res" >&6; }
   3388   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
   3389   WARN_CFLAGS="$WARN_CFLAGS${WARN_CFLAGS:+ }$real_option"
   3390 fi
   3391   done
   3392 CFLAGS="$save_CFLAGS"
   3393 ac_ext=c
   3394 ac_cpp='$CPP $CPPFLAGS'
   3395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3398 
   3399 
   3400 ac_ext=c
   3401 ac_cpp='$CPP $CPPFLAGS'
   3402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3405 
   3406 WARN_PEDANTIC=
   3407 # Do the check with the no- prefix removed from the warning options
   3408 # since gcc silently accepts any -Wno-* option on purpose
   3409 if test "$GCC" = yes; then :
   3410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
   3411 $as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
   3412 if ${acx_cv_prog_cc_pedantic__Wlong_long+:} false; then :
   3413   $as_echo_n "(cached) " >&6
   3414 else
   3415   save_CFLAGS="$CFLAGS"
   3416 CFLAGS="-pedantic -Wlong-long"
   3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3418 /* end confdefs.h.  */
   3419 
   3420 int
   3421 main ()
   3422 {
   3423 
   3424   ;
   3425   return 0;
   3426 }
   3427 _ACEOF
   3428 if ac_fn_c_try_compile "$LINENO"; then :
   3429   acx_cv_prog_cc_pedantic__Wlong_long=yes
   3430 else
   3431   acx_cv_prog_cc_pedantic__Wlong_long=no
   3432 fi
   3433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3434 CFLAGS="$save_CFLAGS"
   3435 fi
   3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
   3437 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
   3438 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
   3439   WARN_PEDANTIC="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
   3440 fi
   3441 
   3442 fi
   3443 ac_ext=c
   3444 ac_cpp='$CPP $CPPFLAGS'
   3445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3448 
   3449 
   3450 
   3451 ac_ext=c
   3452 ac_cpp='$CPP $CPPFLAGS'
   3453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3456 
   3457 nolto_flags=
   3458 save_CFLAGS="$CFLAGS"
   3459 for real_option in -fno-lto; do
   3460   # Do the check with the no- prefix removed since gcc silently
   3461   # accepts any -Wno-* option on purpose
   3462   case $real_option in
   3463     -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
   3464     *) option=$real_option ;;
   3465   esac
   3466   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
   3467 
   3468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
   3469 $as_echo_n "checking whether $CC supports $option... " >&6; }
   3470 if eval \${$as_acx_Woption+:} false; then :
   3471   $as_echo_n "(cached) " >&6
   3472 else
   3473   CFLAGS="$option"
   3474     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3475 /* end confdefs.h.  */
   3476 
   3477 int
   3478 main ()
   3479 {
   3480 
   3481   ;
   3482   return 0;
   3483 }
   3484 _ACEOF
   3485 if ac_fn_c_try_compile "$LINENO"; then :
   3486   eval "$as_acx_Woption=yes"
   3487 else
   3488   eval "$as_acx_Woption=no"
   3489 fi
   3490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3491 
   3492 fi
   3493 eval ac_res=\$$as_acx_Woption
   3494 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   3495 $as_echo "$ac_res" >&6; }
   3496   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
   3497   nolto_flags="$nolto_flags${nolto_flags:+ }$real_option"
   3498 fi
   3499   done
   3500 CFLAGS="$save_CFLAGS"
   3501 ac_ext=c
   3502 ac_cpp='$CPP $CPPFLAGS'
   3503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3506 
   3507 
   3508 
   3509 # Only enable with --enable-werror-always until existing warnings are
   3510 # corrected.
   3511 ac_ext=c
   3512 ac_cpp='$CPP $CPPFLAGS'
   3513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3516 
   3517 WERROR=
   3518 # Check whether --enable-werror-always was given.
   3519 if test "${enable_werror_always+set}" = set; then :
   3520   enableval=$enable_werror_always;
   3521 else
   3522   enable_werror_always=no
   3523 fi
   3524 
   3525 if test $enable_werror_always = yes; then :
   3526   WERROR="$WERROR${WERROR:+ }-Werror"
   3527 fi
   3528 
   3529 ac_ext=c
   3530 ac_cpp='$CPP $CPPFLAGS'
   3531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3534 
   3535 
   3536 
   3537 # Checks for header files.
   3538 ac_ext=c
   3539 ac_cpp='$CPP $CPPFLAGS'
   3540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3544 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3545 # On Suns, sometimes $CPP names a directory.
   3546 if test -n "$CPP" && test -d "$CPP"; then
   3547   CPP=
   3548 fi
   3549 if test -z "$CPP"; then
   3550   if ${ac_cv_prog_CPP+:} false; then :
   3551   $as_echo_n "(cached) " >&6
   3552 else
   3553       # Double quotes because CPP needs to be expanded
   3554     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3555     do
   3556       ac_preproc_ok=false
   3557 for ac_c_preproc_warn_flag in '' yes
   3558 do
   3559   # Use a header file that comes with gcc, so configuring glibc
   3560   # with a fresh cross-compiler works.
   3561   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3562   # <limits.h> exists even on freestanding compilers.
   3563   # On the NeXT, cc -E runs the code through the compiler's parser,
   3564   # not just through cpp. "Syntax error" is here to catch this case.
   3565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3566 /* end confdefs.h.  */
   3567 #ifdef __STDC__
   3568 # include <limits.h>
   3569 #else
   3570 # include <assert.h>
   3571 #endif
   3572 		     Syntax error
   3573 _ACEOF
   3574 if ac_fn_c_try_cpp "$LINENO"; then :
   3575 
   3576 else
   3577   # Broken: fails on valid input.
   3578 continue
   3579 fi
   3580 rm -f conftest.err conftest.i conftest.$ac_ext
   3581 
   3582   # OK, works on sane cases.  Now check whether nonexistent headers
   3583   # can be detected and how.
   3584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3585 /* end confdefs.h.  */
   3586 #include <ac_nonexistent.h>
   3587 _ACEOF
   3588 if ac_fn_c_try_cpp "$LINENO"; then :
   3589   # Broken: success on invalid input.
   3590 continue
   3591 else
   3592   # Passes both tests.
   3593 ac_preproc_ok=:
   3594 break
   3595 fi
   3596 rm -f conftest.err conftest.i conftest.$ac_ext
   3597 
   3598 done
   3599 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3600 rm -f conftest.i conftest.err conftest.$ac_ext
   3601 if $ac_preproc_ok; then :
   3602   break
   3603 fi
   3604 
   3605     done
   3606     ac_cv_prog_CPP=$CPP
   3607 
   3608 fi
   3609   CPP=$ac_cv_prog_CPP
   3610 else
   3611   ac_cv_prog_CPP=$CPP
   3612 fi
   3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3614 $as_echo "$CPP" >&6; }
   3615 ac_preproc_ok=false
   3616 for ac_c_preproc_warn_flag in '' yes
   3617 do
   3618   # Use a header file that comes with gcc, so configuring glibc
   3619   # with a fresh cross-compiler works.
   3620   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3621   # <limits.h> exists even on freestanding compilers.
   3622   # On the NeXT, cc -E runs the code through the compiler's parser,
   3623   # not just through cpp. "Syntax error" is here to catch this case.
   3624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3625 /* end confdefs.h.  */
   3626 #ifdef __STDC__
   3627 # include <limits.h>
   3628 #else
   3629 # include <assert.h>
   3630 #endif
   3631 		     Syntax error
   3632 _ACEOF
   3633 if ac_fn_c_try_cpp "$LINENO"; then :
   3634 
   3635 else
   3636   # Broken: fails on valid input.
   3637 continue
   3638 fi
   3639 rm -f conftest.err conftest.i conftest.$ac_ext
   3640 
   3641   # OK, works on sane cases.  Now check whether nonexistent headers
   3642   # can be detected and how.
   3643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3644 /* end confdefs.h.  */
   3645 #include <ac_nonexistent.h>
   3646 _ACEOF
   3647 if ac_fn_c_try_cpp "$LINENO"; then :
   3648   # Broken: success on invalid input.
   3649 continue
   3650 else
   3651   # Passes both tests.
   3652 ac_preproc_ok=:
   3653 break
   3654 fi
   3655 rm -f conftest.err conftest.i conftest.$ac_ext
   3656 
   3657 done
   3658 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3659 rm -f conftest.i conftest.err conftest.$ac_ext
   3660 if $ac_preproc_ok; then :
   3661 
   3662 else
   3663   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3665 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3666 See \`config.log' for more details" "$LINENO" 5; }
   3667 fi
   3668 
   3669 ac_ext=c
   3670 ac_cpp='$CPP $CPPFLAGS'
   3671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3674 
   3675 
   3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3677 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3678 if ${ac_cv_path_GREP+:} false; then :
   3679   $as_echo_n "(cached) " >&6
   3680 else
   3681   if test -z "$GREP"; then
   3682   ac_path_GREP_found=false
   3683   # Loop through the user's path and test for each of PROGNAME-LIST
   3684   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3685 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3686 do
   3687   IFS=$as_save_IFS
   3688   test -z "$as_dir" && as_dir=.
   3689     for ac_prog in grep ggrep; do
   3690     for ac_exec_ext in '' $ac_executable_extensions; do
   3691       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3692       as_fn_executable_p "$ac_path_GREP" || continue
   3693 # Check for GNU ac_path_GREP and select it if it is found.
   3694   # Check for GNU $ac_path_GREP
   3695 case `"$ac_path_GREP" --version 2>&1` in
   3696 *GNU*)
   3697   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3698 *)
   3699   ac_count=0
   3700   $as_echo_n 0123456789 >"conftest.in"
   3701   while :
   3702   do
   3703     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3704     mv "conftest.tmp" "conftest.in"
   3705     cp "conftest.in" "conftest.nl"
   3706     $as_echo 'GREP' >> "conftest.nl"
   3707     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3708     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3709     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3710     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3711       # Best one so far, save it but keep looking for a better one
   3712       ac_cv_path_GREP="$ac_path_GREP"
   3713       ac_path_GREP_max=$ac_count
   3714     fi
   3715     # 10*(2^10) chars as input seems more than enough
   3716     test $ac_count -gt 10 && break
   3717   done
   3718   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3719 esac
   3720 
   3721       $ac_path_GREP_found && break 3
   3722     done
   3723   done
   3724   done
   3725 IFS=$as_save_IFS
   3726   if test -z "$ac_cv_path_GREP"; then
   3727     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3728   fi
   3729 else
   3730   ac_cv_path_GREP=$GREP
   3731 fi
   3732 
   3733 fi
   3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3735 $as_echo "$ac_cv_path_GREP" >&6; }
   3736  GREP="$ac_cv_path_GREP"
   3737 
   3738 
   3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3740 $as_echo_n "checking for egrep... " >&6; }
   3741 if ${ac_cv_path_EGREP+:} false; then :
   3742   $as_echo_n "(cached) " >&6
   3743 else
   3744   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3745    then ac_cv_path_EGREP="$GREP -E"
   3746    else
   3747      if test -z "$EGREP"; then
   3748   ac_path_EGREP_found=false
   3749   # Loop through the user's path and test for each of PROGNAME-LIST
   3750   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3751 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3752 do
   3753   IFS=$as_save_IFS
   3754   test -z "$as_dir" && as_dir=.
   3755     for ac_prog in egrep; do
   3756     for ac_exec_ext in '' $ac_executable_extensions; do
   3757       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3758       as_fn_executable_p "$ac_path_EGREP" || continue
   3759 # Check for GNU ac_path_EGREP and select it if it is found.
   3760   # Check for GNU $ac_path_EGREP
   3761 case `"$ac_path_EGREP" --version 2>&1` in
   3762 *GNU*)
   3763   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3764 *)
   3765   ac_count=0
   3766   $as_echo_n 0123456789 >"conftest.in"
   3767   while :
   3768   do
   3769     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3770     mv "conftest.tmp" "conftest.in"
   3771     cp "conftest.in" "conftest.nl"
   3772     $as_echo 'EGREP' >> "conftest.nl"
   3773     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3774     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3775     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3776     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3777       # Best one so far, save it but keep looking for a better one
   3778       ac_cv_path_EGREP="$ac_path_EGREP"
   3779       ac_path_EGREP_max=$ac_count
   3780     fi
   3781     # 10*(2^10) chars as input seems more than enough
   3782     test $ac_count -gt 10 && break
   3783   done
   3784   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3785 esac
   3786 
   3787       $ac_path_EGREP_found && break 3
   3788     done
   3789   done
   3790   done
   3791 IFS=$as_save_IFS
   3792   if test -z "$ac_cv_path_EGREP"; then
   3793     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3794   fi
   3795 else
   3796   ac_cv_path_EGREP=$EGREP
   3797 fi
   3798 
   3799    fi
   3800 fi
   3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3802 $as_echo "$ac_cv_path_EGREP" >&6; }
   3803  EGREP="$ac_cv_path_EGREP"
   3804 
   3805 
   3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3807 $as_echo_n "checking for ANSI C header files... " >&6; }
   3808 if ${ac_cv_header_stdc+:} false; then :
   3809   $as_echo_n "(cached) " >&6
   3810 else
   3811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3812 /* end confdefs.h.  */
   3813 #include <stdlib.h>
   3814 #include <stdarg.h>
   3815 #include <string.h>
   3816 #include <float.h>
   3817 
   3818 int
   3819 main ()
   3820 {
   3821 
   3822   ;
   3823   return 0;
   3824 }
   3825 _ACEOF
   3826 if ac_fn_c_try_compile "$LINENO"; then :
   3827   ac_cv_header_stdc=yes
   3828 else
   3829   ac_cv_header_stdc=no
   3830 fi
   3831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3832 
   3833 if test $ac_cv_header_stdc = yes; then
   3834   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3836 /* end confdefs.h.  */
   3837 #include <string.h>
   3838 
   3839 _ACEOF
   3840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3841   $EGREP "memchr" >/dev/null 2>&1; then :
   3842 
   3843 else
   3844   ac_cv_header_stdc=no
   3845 fi
   3846 rm -f conftest*
   3847 
   3848 fi
   3849 
   3850 if test $ac_cv_header_stdc = yes; then
   3851   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3853 /* end confdefs.h.  */
   3854 #include <stdlib.h>
   3855 
   3856 _ACEOF
   3857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3858   $EGREP "free" >/dev/null 2>&1; then :
   3859 
   3860 else
   3861   ac_cv_header_stdc=no
   3862 fi
   3863 rm -f conftest*
   3864 
   3865 fi
   3866 
   3867 if test $ac_cv_header_stdc = yes; then
   3868   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3869   if test "$cross_compiling" = yes; then :
   3870   :
   3871 else
   3872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3873 /* end confdefs.h.  */
   3874 #include <ctype.h>
   3875 #include <stdlib.h>
   3876 #if ((' ' & 0x0FF) == 0x020)
   3877 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3878 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3879 #else
   3880 # define ISLOWER(c) \
   3881 		   (('a' <= (c) && (c) <= 'i') \
   3882 		     || ('j' <= (c) && (c) <= 'r') \
   3883 		     || ('s' <= (c) && (c) <= 'z'))
   3884 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3885 #endif
   3886 
   3887 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3888 int
   3889 main ()
   3890 {
   3891   int i;
   3892   for (i = 0; i < 256; i++)
   3893     if (XOR (islower (i), ISLOWER (i))
   3894 	|| toupper (i) != TOUPPER (i))
   3895       return 2;
   3896   return 0;
   3897 }
   3898 _ACEOF
   3899 if ac_fn_c_try_run "$LINENO"; then :
   3900 
   3901 else
   3902   ac_cv_header_stdc=no
   3903 fi
   3904 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3905   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3906 fi
   3907 
   3908 fi
   3909 fi
   3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3911 $as_echo "$ac_cv_header_stdc" >&6; }
   3912 if test $ac_cv_header_stdc = yes; then
   3913 
   3914 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3915 
   3916 fi
   3917 
   3918 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3919 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3920 		  inttypes.h stdint.h unistd.h
   3921 do :
   3922   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3923 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3924 "
   3925 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3926   cat >>confdefs.h <<_ACEOF
   3927 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3928 _ACEOF
   3929 
   3930 fi
   3931 
   3932 done
   3933 
   3934 
   3935 for ac_header in ctype.h stddef.h string.h stdio.h
   3936 do :
   3937   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3938 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   3939 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3940   cat >>confdefs.h <<_ACEOF
   3941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3942 _ACEOF
   3943 
   3944 fi
   3945 
   3946 done
   3947 
   3948 
   3949 
   3950 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
   3951 
   3952 acx_cv_header_stdint=stddef.h
   3953 acx_cv_header_stdint_kind="(already complete)"
   3954 for i in stdint.h $inttype_headers; do
   3955   unset ac_cv_type_uintptr_t
   3956   unset ac_cv_type_uintmax_t
   3957   unset ac_cv_type_int_least32_t
   3958   unset ac_cv_type_int_fast32_t
   3959   unset ac_cv_type_uint64_t
   3960   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
   3961   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
   3962 #include <$i>
   3963 "
   3964 if test "x$ac_cv_type_uintmax_t" = xyes; then :
   3965   acx_cv_header_stdint=$i
   3966 else
   3967   continue
   3968 fi
   3969 
   3970   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
   3971 #include <$i>
   3972 "
   3973 if test "x$ac_cv_type_uintptr_t" = xyes; then :
   3974 
   3975 else
   3976   acx_cv_header_stdint_kind="(mostly complete)"
   3977 fi
   3978 
   3979   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
   3980 #include <$i>
   3981 "
   3982 if test "x$ac_cv_type_int_least32_t" = xyes; then :
   3983 
   3984 else
   3985   acx_cv_header_stdint_kind="(mostly complete)"
   3986 fi
   3987 
   3988   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
   3989 #include <$i>
   3990 "
   3991 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
   3992 
   3993 else
   3994   acx_cv_header_stdint_kind="(mostly complete)"
   3995 fi
   3996 
   3997   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
   3998 #include <$i>
   3999 "
   4000 if test "x$ac_cv_type_uint64_t" = xyes; then :
   4001 
   4002 else
   4003   acx_cv_header_stdint_kind="(lacks uint64_t)"
   4004 fi
   4005 
   4006   break
   4007 done
   4008 if test "$acx_cv_header_stdint" = stddef.h; then
   4009   acx_cv_header_stdint_kind="(lacks uintmax_t)"
   4010   for i in stdint.h $inttype_headers; do
   4011     unset ac_cv_type_uintptr_t
   4012     unset ac_cv_type_uint32_t
   4013     unset ac_cv_type_uint64_t
   4014     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
   4015     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
   4016 #include <$i>
   4017 "
   4018 if test "x$ac_cv_type_uint32_t" = xyes; then :
   4019   acx_cv_header_stdint=$i
   4020 else
   4021   continue
   4022 fi
   4023 
   4024     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
   4025 #include <$i>
   4026 "
   4027 if test "x$ac_cv_type_uint64_t" = xyes; then :
   4028 
   4029 fi
   4030 
   4031     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
   4032 #include <$i>
   4033 "
   4034 if test "x$ac_cv_type_uintptr_t" = xyes; then :
   4035 
   4036 fi
   4037 
   4038     break
   4039   done
   4040 fi
   4041 if test "$acx_cv_header_stdint" = stddef.h; then
   4042   acx_cv_header_stdint_kind="(u_intXX_t style)"
   4043   for i in sys/types.h $inttype_headers; do
   4044     unset ac_cv_type_u_int32_t
   4045     unset ac_cv_type_u_int64_t
   4046     $as_echo_n "looking for u_intXX_t types in $i, " >&6
   4047     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
   4048 #include <$i>
   4049 "
   4050 if test "x$ac_cv_type_u_int32_t" = xyes; then :
   4051   acx_cv_header_stdint=$i
   4052 else
   4053   continue
   4054 fi
   4055 
   4056     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
   4057 #include <$i>
   4058 "
   4059 if test "x$ac_cv_type_u_int64_t" = xyes; then :
   4060 
   4061 fi
   4062 
   4063     break
   4064   done
   4065 fi
   4066 if test "$acx_cv_header_stdint" = stddef.h; then
   4067   acx_cv_header_stdint_kind="(using manual detection)"
   4068 fi
   4069 
   4070 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
   4071 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
   4072 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
   4073 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
   4074 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
   4075 
   4076 # ----------------- Summarize what we found so far
   4077 
   4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
   4079 $as_echo_n "checking what to include in gstdint.h... " >&6; }
   4080 
   4081 case `$as_basename -- gstdint.h ||
   4082 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
   4083 	 Xgstdint.h : 'X\(//\)$' \| \
   4084 	 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
   4085 $as_echo X/gstdint.h |
   4086     sed '/^.*\/\([^/][^/]*\)\/*$/{
   4087 	    s//\1/
   4088 	    q
   4089 	  }
   4090 	  /^X\/\(\/\/\)$/{
   4091 	    s//\1/
   4092 	    q
   4093 	  }
   4094 	  /^X\/\(\/\).*/{
   4095 	    s//\1/
   4096 	    q
   4097 	  }
   4098 	  s/.*/./; q'` in
   4099   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
   4100 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
   4101   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
   4102 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
   4103   *) ;;
   4104 esac
   4105 
   4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
   4107 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
   4108 
   4109 # ----------------- done included file, check C basic types --------
   4110 
   4111 # Lacking an uintptr_t?  Test size of void *
   4112 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
   4113   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
   4114 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   4115 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   4116 # This bug is HP SR number 8606223364.
   4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   4118 $as_echo_n "checking size of void *... " >&6; }
   4119 if ${ac_cv_sizeof_void_p+:} false; then :
   4120   $as_echo_n "(cached) " >&6
   4121 else
   4122   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   4123 
   4124 else
   4125   if test "$ac_cv_type_void_p" = yes; then
   4126      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4128 as_fn_error 77 "cannot compute sizeof (void *)
   4129 See \`config.log' for more details" "$LINENO" 5; }
   4130    else
   4131      ac_cv_sizeof_void_p=0
   4132    fi
   4133 fi
   4134 
   4135 fi
   4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   4137 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   4138 
   4139 
   4140 
   4141 cat >>confdefs.h <<_ACEOF
   4142 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   4143 _ACEOF
   4144 
   4145  ;;
   4146 esac
   4147 
   4148 # Lacking an uint64_t?  Test size of long
   4149 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
   4150   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
   4151 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   4152 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   4153 # This bug is HP SR number 8606223364.
   4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   4155 $as_echo_n "checking size of long... " >&6; }
   4156 if ${ac_cv_sizeof_long+:} false; then :
   4157   $as_echo_n "(cached) " >&6
   4158 else
   4159   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
   4160 
   4161 else
   4162   if test "$ac_cv_type_long" = yes; then
   4163      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4165 as_fn_error 77 "cannot compute sizeof (long)
   4166 See \`config.log' for more details" "$LINENO" 5; }
   4167    else
   4168      ac_cv_sizeof_long=0
   4169    fi
   4170 fi
   4171 
   4172 fi
   4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   4174 $as_echo "$ac_cv_sizeof_long" >&6; }
   4175 
   4176 
   4177 
   4178 cat >>confdefs.h <<_ACEOF
   4179 #define SIZEOF_LONG $ac_cv_sizeof_long
   4180 _ACEOF
   4181 
   4182  ;;
   4183 esac
   4184 
   4185 if test $acx_cv_header_stdint = stddef.h; then
   4186   # Lacking a good header?  Test size of everything and deduce all types.
   4187   # The cast to long int works around a bug in the HP C Compiler
   4188 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   4189 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   4190 # This bug is HP SR number 8606223364.
   4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   4192 $as_echo_n "checking size of int... " >&6; }
   4193 if ${ac_cv_sizeof_int+:} false; then :
   4194   $as_echo_n "(cached) " >&6
   4195 else
   4196   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
   4197 
   4198 else
   4199   if test "$ac_cv_type_int" = yes; then
   4200      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4202 as_fn_error 77 "cannot compute sizeof (int)
   4203 See \`config.log' for more details" "$LINENO" 5; }
   4204    else
   4205      ac_cv_sizeof_int=0
   4206    fi
   4207 fi
   4208 
   4209 fi
   4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   4211 $as_echo "$ac_cv_sizeof_int" >&6; }
   4212 
   4213 
   4214 
   4215 cat >>confdefs.h <<_ACEOF
   4216 #define SIZEOF_INT $ac_cv_sizeof_int
   4217 _ACEOF
   4218 
   4219 
   4220   # The cast to long int works around a bug in the HP C Compiler
   4221 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   4222 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   4223 # This bug is HP SR number 8606223364.
   4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
   4225 $as_echo_n "checking size of short... " >&6; }
   4226 if ${ac_cv_sizeof_short+:} false; then :
   4227   $as_echo_n "(cached) " >&6
   4228 else
   4229   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
   4230 
   4231 else
   4232   if test "$ac_cv_type_short" = yes; then
   4233      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4235 as_fn_error 77 "cannot compute sizeof (short)
   4236 See \`config.log' for more details" "$LINENO" 5; }
   4237    else
   4238      ac_cv_sizeof_short=0
   4239    fi
   4240 fi
   4241 
   4242 fi
   4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
   4244 $as_echo "$ac_cv_sizeof_short" >&6; }
   4245 
   4246 
   4247 
   4248 cat >>confdefs.h <<_ACEOF
   4249 #define SIZEOF_SHORT $ac_cv_sizeof_short
   4250 _ACEOF
   4251 
   4252 
   4253   # The cast to long int works around a bug in the HP C Compiler
   4254 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   4255 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   4256 # This bug is HP SR number 8606223364.
   4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
   4258 $as_echo_n "checking size of char... " >&6; }
   4259 if ${ac_cv_sizeof_char+:} false; then :
   4260   $as_echo_n "(cached) " >&6
   4261 else
   4262   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
   4263 
   4264 else
   4265   if test "$ac_cv_type_char" = yes; then
   4266      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4268 as_fn_error 77 "cannot compute sizeof (char)
   4269 See \`config.log' for more details" "$LINENO" 5; }
   4270    else
   4271      ac_cv_sizeof_char=0
   4272    fi
   4273 fi
   4274 
   4275 fi
   4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
   4277 $as_echo "$ac_cv_sizeof_char" >&6; }
   4278 
   4279 
   4280 
   4281 cat >>confdefs.h <<_ACEOF
   4282 #define SIZEOF_CHAR $ac_cv_sizeof_char
   4283 _ACEOF
   4284 
   4285 
   4286 
   4287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
   4288 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
   4289   case "$ac_cv_sizeof_char" in
   4290     1) acx_cv_type_int8_t=char ;;
   4291     *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
   4292   esac
   4293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
   4294 $as_echo "$acx_cv_type_int8_t" >&6; }
   4295 
   4296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
   4297 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
   4298   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
   4299     2:*) acx_cv_type_int16_t=int ;;
   4300     *:2) acx_cv_type_int16_t=short ;;
   4301     *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
   4302   esac
   4303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
   4304 $as_echo "$acx_cv_type_int16_t" >&6; }
   4305 
   4306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
   4307 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
   4308   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
   4309     4:*) acx_cv_type_int32_t=int ;;
   4310     *:4) acx_cv_type_int32_t=long ;;
   4311     *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
   4312   esac
   4313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
   4314 $as_echo "$acx_cv_type_int32_t" >&6; }
   4315 fi
   4316 
   4317 # These tests are here to make the output prettier
   4318 
   4319 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
   4320   case "$ac_cv_sizeof_long" in
   4321     8) acx_cv_type_int64_t=long ;;
   4322   esac
   4323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
   4324 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
   4325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
   4326 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
   4327 fi
   4328 
   4329 # Now we can use the above types
   4330 
   4331 if test "$ac_cv_type_uintptr_t" != yes; then
   4332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
   4333 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
   4334   case $ac_cv_sizeof_void_p in
   4335     2) acx_cv_type_intptr_t=int16_t ;;
   4336     4) acx_cv_type_intptr_t=int32_t ;;
   4337     8) acx_cv_type_intptr_t=int64_t ;;
   4338     *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
   4339   esac
   4340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
   4341 $as_echo "$acx_cv_type_intptr_t" >&6; }
   4342 fi
   4343 
   4344 # ----------------- done all checks, emit header -------------
   4345 ac_config_commands="$ac_config_commands gstdint.h"
   4346 
   4347 
   4348 
   4349 
   4350 # Checks for typedefs, structures, and compiler characteristics.
   4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   4352 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
   4353 if ${ac_cv_c_const+:} false; then :
   4354   $as_echo_n "(cached) " >&6
   4355 else
   4356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4357 /* end confdefs.h.  */
   4358 
   4359 int
   4360 main ()
   4361 {
   4362 
   4363 #ifndef __cplusplus
   4364   /* Ultrix mips cc rejects this sort of thing.  */
   4365   typedef int charset[2];
   4366   const charset cs = { 0, 0 };
   4367   /* SunOS 4.1.1 cc rejects this.  */
   4368   char const *const *pcpcc;
   4369   char **ppc;
   4370   /* NEC SVR4.0.2 mips cc rejects this.  */
   4371   struct point {int x, y;};
   4372   static struct point const zero = {0,0};
   4373   /* AIX XL C 1.02.0.0 rejects this.
   4374      It does not let you subtract one const X* pointer from another in
   4375      an arm of an if-expression whose if-part is not a constant
   4376      expression */
   4377   const char *g = "string";
   4378   pcpcc = &g + (g ? g-g : 0);
   4379   /* HPUX 7.0 cc rejects these. */
   4380   ++pcpcc;
   4381   ppc = (char**) pcpcc;
   4382   pcpcc = (char const *const *) ppc;
   4383   { /* SCO 3.2v4 cc rejects this sort of thing.  */
   4384     char tx;
   4385     char *t = &tx;
   4386     char const *s = 0 ? (char *) 0 : (char const *) 0;
   4387 
   4388     *t++ = 0;
   4389     if (s) return 0;
   4390   }
   4391   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   4392     int x[] = {25, 17};
   4393     const int *foo = &x[0];
   4394     ++foo;
   4395   }
   4396   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   4397     typedef const int *iptr;
   4398     iptr p = 0;
   4399     ++p;
   4400   }
   4401   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
   4402        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   4403     struct s { int j; const int *ap[3]; } bx;
   4404     struct s *b = &bx; b->j = 5;
   4405   }
   4406   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   4407     const int foo = 10;
   4408     if (!foo) return 0;
   4409   }
   4410   return !cs[0] && !zero.x;
   4411 #endif
   4412 
   4413   ;
   4414   return 0;
   4415 }
   4416 _ACEOF
   4417 if ac_fn_c_try_compile "$LINENO"; then :
   4418   ac_cv_c_const=yes
   4419 else
   4420   ac_cv_c_const=no
   4421 fi
   4422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4423 fi
   4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   4425 $as_echo "$ac_cv_c_const" >&6; }
   4426 if test $ac_cv_c_const = no; then
   4427 
   4428 $as_echo "#define const /**/" >>confdefs.h
   4429 
   4430 fi
   4431 
   4432 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
   4433 if test "x$ac_cv_type_off_t" = xyes; then :
   4434 
   4435 else
   4436 
   4437 cat >>confdefs.h <<_ACEOF
   4438 #define off_t long int
   4439 _ACEOF
   4440 
   4441 fi
   4442 
   4443 # The cast to long int works around a bug in the HP C Compiler
   4444 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   4445 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   4446 # This bug is HP SR number 8606223364.
   4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   4448 $as_echo_n "checking size of int... " >&6; }
   4449 if ${ac_cv_sizeof_int+:} false; then :
   4450   $as_echo_n "(cached) " >&6
   4451 else
   4452   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
   4453 
   4454 else
   4455   if test "$ac_cv_type_int" = yes; then
   4456      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4458 as_fn_error 77 "cannot compute sizeof (int)
   4459 See \`config.log' for more details" "$LINENO" 5; }
   4460    else
   4461      ac_cv_sizeof_int=0
   4462    fi
   4463 fi
   4464 
   4465 fi
   4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   4467 $as_echo "$ac_cv_sizeof_int" >&6; }
   4468 
   4469 
   4470 
   4471 cat >>confdefs.h <<_ACEOF
   4472 #define SIZEOF_INT $ac_cv_sizeof_int
   4473 _ACEOF
   4474 
   4475 
   4476 # The cast to long int works around a bug in the HP C Compiler
   4477 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   4478 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   4479 # This bug is HP SR number 8606223364.
   4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   4481 $as_echo_n "checking size of long... " >&6; }
   4482 if ${ac_cv_sizeof_long+:} false; then :
   4483   $as_echo_n "(cached) " >&6
   4484 else
   4485   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
   4486 
   4487 else
   4488   if test "$ac_cv_type_long" = yes; then
   4489      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4491 as_fn_error 77 "cannot compute sizeof (long)
   4492 See \`config.log' for more details" "$LINENO" 5; }
   4493    else
   4494      ac_cv_sizeof_long=0
   4495    fi
   4496 fi
   4497 
   4498 fi
   4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   4500 $as_echo "$ac_cv_sizeof_long" >&6; }
   4501 
   4502 
   4503 
   4504 cat >>confdefs.h <<_ACEOF
   4505 #define SIZEOF_LONG $ac_cv_sizeof_long
   4506 _ACEOF
   4507 
   4508 
   4509 
   4510 # Checks for library functions.
   4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4512 $as_echo_n "checking for ANSI C header files... " >&6; }
   4513 if ${ac_cv_header_stdc+:} false; then :
   4514   $as_echo_n "(cached) " >&6
   4515 else
   4516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4517 /* end confdefs.h.  */
   4518 #include <stdlib.h>
   4519 #include <stdarg.h>
   4520 #include <string.h>
   4521 #include <float.h>
   4522 
   4523 int
   4524 main ()
   4525 {
   4526 
   4527   ;
   4528   return 0;
   4529 }
   4530 _ACEOF
   4531 if ac_fn_c_try_compile "$LINENO"; then :
   4532   ac_cv_header_stdc=yes
   4533 else
   4534   ac_cv_header_stdc=no
   4535 fi
   4536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4537 
   4538 if test $ac_cv_header_stdc = yes; then
   4539   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4541 /* end confdefs.h.  */
   4542 #include <string.h>
   4543 
   4544 _ACEOF
   4545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4546   $EGREP "memchr" >/dev/null 2>&1; then :
   4547 
   4548 else
   4549   ac_cv_header_stdc=no
   4550 fi
   4551 rm -f conftest*
   4552 
   4553 fi
   4554 
   4555 if test $ac_cv_header_stdc = yes; then
   4556   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4558 /* end confdefs.h.  */
   4559 #include <stdlib.h>
   4560 
   4561 _ACEOF
   4562 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4563   $EGREP "free" >/dev/null 2>&1; then :
   4564 
   4565 else
   4566   ac_cv_header_stdc=no
   4567 fi
   4568 rm -f conftest*
   4569 
   4570 fi
   4571 
   4572 if test $ac_cv_header_stdc = yes; then
   4573   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4574   if test "$cross_compiling" = yes; then :
   4575   :
   4576 else
   4577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4578 /* end confdefs.h.  */
   4579 #include <ctype.h>
   4580 #include <stdlib.h>
   4581 #if ((' ' & 0x0FF) == 0x020)
   4582 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4583 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4584 #else
   4585 # define ISLOWER(c) \
   4586 		   (('a' <= (c) && (c) <= 'i') \
   4587 		     || ('j' <= (c) && (c) <= 'r') \
   4588 		     || ('s' <= (c) && (c) <= 'z'))
   4589 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4590 #endif
   4591 
   4592 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4593 int
   4594 main ()
   4595 {
   4596   int i;
   4597   for (i = 0; i < 256; i++)
   4598     if (XOR (islower (i), ISLOWER (i))
   4599 	|| toupper (i) != TOUPPER (i))
   4600       return 2;
   4601   return 0;
   4602 }
   4603 _ACEOF
   4604 if ac_fn_c_try_run "$LINENO"; then :
   4605 
   4606 else
   4607   ac_cv_header_stdc=no
   4608 fi
   4609 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4610   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4611 fi
   4612 
   4613 fi
   4614 fi
   4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4616 $as_echo "$ac_cv_header_stdc" >&6; }
   4617 if test $ac_cv_header_stdc = yes; then
   4618 
   4619 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4620 
   4621 fi
   4622 
   4623 
   4624 # Check whether --enable-maintainer-mode was given.
   4625 if test "${enable_maintainer_mode+set}" = set; then :
   4626   enableval=$enable_maintainer_mode;
   4627 else
   4628   enable_maintainer_mode=no
   4629 fi
   4630 
   4631 
   4632 if test "x$enable_maintainer_mode" = xno; then
   4633   MAINT='#'
   4634 else
   4635   MAINT=
   4636 fi
   4637 
   4638 
   4639 # Make sure we can run config.sub.
   4640 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4641   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4642 
   4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4644 $as_echo_n "checking build system type... " >&6; }
   4645 if ${ac_cv_build+:} false; then :
   4646   $as_echo_n "(cached) " >&6
   4647 else
   4648   ac_build_alias=$build_alias
   4649 test "x$ac_build_alias" = x &&
   4650   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4651 test "x$ac_build_alias" = x &&
   4652   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4653 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4654   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4655 
   4656 fi
   4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4658 $as_echo "$ac_cv_build" >&6; }
   4659 case $ac_cv_build in
   4660 *-*-*) ;;
   4661 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4662 esac
   4663 build=$ac_cv_build
   4664 ac_save_IFS=$IFS; IFS='-'
   4665 set x $ac_cv_build
   4666 shift
   4667 build_cpu=$1
   4668 build_vendor=$2
   4669 shift; shift
   4670 # Remember, the first character of IFS is used to create $*,
   4671 # except with old shells:
   4672 build_os=$*
   4673 IFS=$ac_save_IFS
   4674 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4675 
   4676 
   4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4678 $as_echo_n "checking host system type... " >&6; }
   4679 if ${ac_cv_host+:} false; then :
   4680   $as_echo_n "(cached) " >&6
   4681 else
   4682   if test "x$host_alias" = x; then
   4683   ac_cv_host=$ac_cv_build
   4684 else
   4685   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4686     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4687 fi
   4688 
   4689 fi
   4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4691 $as_echo "$ac_cv_host" >&6; }
   4692 case $ac_cv_host in
   4693 *-*-*) ;;
   4694 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4695 esac
   4696 host=$ac_cv_host
   4697 ac_save_IFS=$IFS; IFS='-'
   4698 set x $ac_cv_host
   4699 shift
   4700 host_cpu=$1
   4701 host_vendor=$2
   4702 shift; shift
   4703 # Remember, the first character of IFS is used to create $*,
   4704 # except with old shells:
   4705 host_os=$*
   4706 IFS=$ac_save_IFS
   4707 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4708 
   4709 
   4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   4711 $as_echo_n "checking target system type... " >&6; }
   4712 if ${ac_cv_target+:} false; then :
   4713   $as_echo_n "(cached) " >&6
   4714 else
   4715   if test "x$target_alias" = x; then
   4716   ac_cv_target=$ac_cv_host
   4717 else
   4718   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   4719     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   4720 fi
   4721 
   4722 fi
   4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   4724 $as_echo "$ac_cv_target" >&6; }
   4725 case $ac_cv_target in
   4726 *-*-*) ;;
   4727 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   4728 esac
   4729 target=$ac_cv_target
   4730 ac_save_IFS=$IFS; IFS='-'
   4731 set x $ac_cv_target
   4732 shift
   4733 target_cpu=$1
   4734 target_vendor=$2
   4735 shift; shift
   4736 # Remember, the first character of IFS is used to create $*,
   4737 # except with old shells:
   4738 target_os=$*
   4739 IFS=$ac_save_IFS
   4740 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   4741 
   4742 
   4743 # The aliases save the names the user supplied, while $host etc.
   4744 # will get canonicalized.
   4745 test -n "$target_alias" &&
   4746   test "$program_prefix$program_suffix$program_transform_name" = \
   4747     NONENONEs,x,x, &&
   4748   program_prefix=${target_alias}-
   4749 
   4750 # Default decimal format
   4751 # If you change the defaults here, be sure to change them in the GCC directory also
   4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for decimal floating point" >&5
   4753 $as_echo_n "checking for decimal floating point... " >&6; }
   4754 
   4755 
   4756 # Check whether --enable-decimal-float was given.
   4757 if test "${enable_decimal_float+set}" = set; then :
   4758   enableval=$enable_decimal_float;
   4759   case $enable_decimal_float in
   4760     yes | no | bid | dpd) default_decimal_float=$enable_decimal_float ;;
   4761     *) as_fn_error $? "'$enable_decimal_float' is an invalid value for --enable-decimal-float.
   4762 Valid choices are 'yes', 'bid', 'dpd', and 'no'." "$LINENO" 5 ;;
   4763   esac
   4764 
   4765 else
   4766 
   4767   case $target in
   4768     aarch64* | \
   4769     powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
   4770     i?86*-*-elfiamcu | i?86*-*-gnu* | x86_64*-*-gnu* | \
   4771     i?86*-*-mingw* | x86_64*-*-mingw* | \
   4772     i?86*-*-cygwin* | x86_64*-*-cygwin*)
   4773       enable_decimal_float=yes
   4774       ;;
   4775     *)
   4776       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: decimal float is not supported for this target, ignored" >&5
   4777 $as_echo "$as_me: WARNING: decimal float is not supported for this target, ignored" >&2;}
   4778       enable_decimal_float=no
   4779       ;;
   4780   esac
   4781 
   4782 fi
   4783 
   4784 
   4785 # x86's use BID format instead of DPD
   4786 case x$enable_decimal_float in
   4787   xyes)
   4788     case $target in
   4789       aarch64* | i?86*-*-* | x86_64*-*-*)
   4790 	enable_decimal_float=bid
   4791 	;;
   4792       *)
   4793 	enable_decimal_float=dpd
   4794 	;;
   4795     esac
   4796     default_decimal_float=$enable_decimal_float
   4797     ;;
   4798   xno)
   4799     # ENABLE_DECIMAL_FLOAT is set to 0. But we have to have proper
   4800     # dependency on libdecnumber.
   4801     default_decimal_float=dpd
   4802     ;;
   4803 esac
   4804 
   4805 
   4806 
   4807 
   4808 # Use default_decimal_float for dependency.
   4809 enable_decimal_float=$default_decimal_float
   4810 
   4811 # If BID is being used, additional objects should be linked in.
   4812 if test x$enable_decimal_float = xbid; then
   4813   ADDITIONAL_OBJS="$ADDITIONAL_OBJS \$(bid_OBJS)"
   4814 else
   4815   ADDITIONAL_OBJS=
   4816 fi
   4817 
   4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_decimal_float" >&5
   4819 $as_echo "$enable_decimal_float" >&6; }
   4820 
   4821 
   4822 
   4823  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   4824 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   4825 if ${ac_cv_c_bigendian+:} false; then :
   4826   $as_echo_n "(cached) " >&6
   4827 else
   4828   ac_cv_c_bigendian=unknown
   4829     # See if we're dealing with a universal compiler.
   4830     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4831 /* end confdefs.h.  */
   4832 #ifndef __APPLE_CC__
   4833 	       not a universal capable compiler
   4834 	     #endif
   4835 	     typedef int dummy;
   4836 
   4837 _ACEOF
   4838 if ac_fn_c_try_compile "$LINENO"; then :
   4839 
   4840 	# Check for potential -arch flags.  It is not universal unless
   4841 	# there are at least two -arch flags with different values.
   4842 	ac_arch=
   4843 	ac_prev=
   4844 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   4845 	 if test -n "$ac_prev"; then
   4846 	   case $ac_word in
   4847 	     i?86 | x86_64 | ppc | ppc64)
   4848 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   4849 		 ac_arch=$ac_word
   4850 	       else
   4851 		 ac_cv_c_bigendian=universal
   4852 		 break
   4853 	       fi
   4854 	       ;;
   4855 	   esac
   4856 	   ac_prev=
   4857 	 elif test "x$ac_word" = "x-arch"; then
   4858 	   ac_prev=arch
   4859 	 fi
   4860        done
   4861 fi
   4862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4863     if test $ac_cv_c_bigendian = unknown; then
   4864       # See if sys/param.h defines the BYTE_ORDER macro.
   4865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4866 /* end confdefs.h.  */
   4867 #include <sys/types.h>
   4868 	     #include <sys/param.h>
   4869 
   4870 int
   4871 main ()
   4872 {
   4873 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   4874 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   4875 		     && LITTLE_ENDIAN)
   4876 	      bogus endian macros
   4877 	     #endif
   4878 
   4879   ;
   4880   return 0;
   4881 }
   4882 _ACEOF
   4883 if ac_fn_c_try_compile "$LINENO"; then :
   4884   # It does; now see whether it defined to BIG_ENDIAN or not.
   4885 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4886 /* end confdefs.h.  */
   4887 #include <sys/types.h>
   4888 		#include <sys/param.h>
   4889 
   4890 int
   4891 main ()
   4892 {
   4893 #if BYTE_ORDER != BIG_ENDIAN
   4894 		 not big endian
   4895 		#endif
   4896 
   4897   ;
   4898   return 0;
   4899 }
   4900 _ACEOF
   4901 if ac_fn_c_try_compile "$LINENO"; then :
   4902   ac_cv_c_bigendian=yes
   4903 else
   4904   ac_cv_c_bigendian=no
   4905 fi
   4906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4907 fi
   4908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4909     fi
   4910     if test $ac_cv_c_bigendian = unknown; then
   4911       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   4912       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4913 /* end confdefs.h.  */
   4914 #include <limits.h>
   4915 
   4916 int
   4917 main ()
   4918 {
   4919 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   4920 	      bogus endian macros
   4921 	     #endif
   4922 
   4923   ;
   4924   return 0;
   4925 }
   4926 _ACEOF
   4927 if ac_fn_c_try_compile "$LINENO"; then :
   4928   # It does; now see whether it defined to _BIG_ENDIAN or not.
   4929 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4930 /* end confdefs.h.  */
   4931 #include <limits.h>
   4932 
   4933 int
   4934 main ()
   4935 {
   4936 #ifndef _BIG_ENDIAN
   4937 		 not big endian
   4938 		#endif
   4939 
   4940   ;
   4941   return 0;
   4942 }
   4943 _ACEOF
   4944 if ac_fn_c_try_compile "$LINENO"; then :
   4945   ac_cv_c_bigendian=yes
   4946 else
   4947   ac_cv_c_bigendian=no
   4948 fi
   4949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4950 fi
   4951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4952     fi
   4953     if test $ac_cv_c_bigendian = unknown; then
   4954       # Compile a test program.
   4955       if test "$cross_compiling" = yes; then :
   4956   # Try to guess by grepping values from an object file.
   4957 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4958 /* end confdefs.h.  */
   4959 short int ascii_mm[] =
   4960 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   4961 		short int ascii_ii[] =
   4962 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   4963 		int use_ascii (int i) {
   4964 		  return ascii_mm[i] + ascii_ii[i];
   4965 		}
   4966 		short int ebcdic_ii[] =
   4967 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   4968 		short int ebcdic_mm[] =
   4969 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   4970 		int use_ebcdic (int i) {
   4971 		  return ebcdic_mm[i] + ebcdic_ii[i];
   4972 		}
   4973 		extern int foo;
   4974 
   4975 int
   4976 main ()
   4977 {
   4978 return use_ascii (foo) == use_ebcdic (foo);
   4979   ;
   4980   return 0;
   4981 }
   4982 _ACEOF
   4983 if ac_fn_c_try_compile "$LINENO"; then :
   4984   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   4985 	      ac_cv_c_bigendian=yes
   4986 	    fi
   4987 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   4988 	      if test "$ac_cv_c_bigendian" = unknown; then
   4989 		ac_cv_c_bigendian=no
   4990 	      else
   4991 		# finding both strings is unlikely to happen, but who knows?
   4992 		ac_cv_c_bigendian=unknown
   4993 	      fi
   4994 	    fi
   4995 fi
   4996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4997 else
   4998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4999 /* end confdefs.h.  */
   5000 $ac_includes_default
   5001 int
   5002 main ()
   5003 {
   5004 
   5005 	     /* Are we little or big endian?  From Harbison&Steele.  */
   5006 	     union
   5007 	     {
   5008 	       long int l;
   5009 	       char c[sizeof (long int)];
   5010 	     } u;
   5011 	     u.l = 1;
   5012 	     return u.c[sizeof (long int) - 1] == 1;
   5013 
   5014   ;
   5015   return 0;
   5016 }
   5017 _ACEOF
   5018 if ac_fn_c_try_run "$LINENO"; then :
   5019   ac_cv_c_bigendian=no
   5020 else
   5021   ac_cv_c_bigendian=yes
   5022 fi
   5023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   5024   conftest.$ac_objext conftest.beam conftest.$ac_ext
   5025 fi
   5026 
   5027     fi
   5028 fi
   5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   5030 $as_echo "$ac_cv_c_bigendian" >&6; }
   5031  case $ac_cv_c_bigendian in #(
   5032    yes)
   5033      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
   5034 ;; #(
   5035    no)
   5036       ;; #(
   5037    universal)
   5038 
   5039 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   5040 
   5041      ;; #(
   5042    *)
   5043      as_fn_error $? "unknown endianness
   5044  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   5045  esac
   5046 
   5047 
   5048 # Enable --enable-host-shared.
   5049 # Check whether --enable-host-shared was given.
   5050 if test "${enable_host_shared+set}" = set; then :
   5051   enableval=$enable_host_shared;
   5052 fi
   5053 
   5054 
   5055 
   5056 # Enable --enable-host-pie.
   5057 # Check whether --enable-host-pie was given.
   5058 if test "${enable_host_pie+set}" = set; then :
   5059   enableval=$enable_host_pie;
   5060 fi
   5061 
   5062 
   5063 
   5064 if test x$enable_host_shared = xyes; then
   5065   PICFLAG=-fPIC
   5066 elif test x$enable_host_pie = xyes; then
   5067   PICFLAG=-fPIE
   5068 else
   5069   PICFLAG=
   5070 fi
   5071 
   5072 
   5073 
   5074 # Output.
   5075 
   5076 ac_config_headers="$ac_config_headers config.h:config.in"
   5077 
   5078 ac_config_files="$ac_config_files Makefile"
   5079 
   5080 cat >confcache <<\_ACEOF
   5081 # This file is a shell script that caches the results of configure
   5082 # tests run on this system so they can be shared between configure
   5083 # scripts and configure runs, see configure's option --config-cache.
   5084 # It is not useful on other systems.  If it contains results you don't
   5085 # want to keep, you may remove or edit it.
   5086 #
   5087 # config.status only pays attention to the cache file if you give it
   5088 # the --recheck option to rerun configure.
   5089 #
   5090 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   5091 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   5092 # following values.
   5093 
   5094 _ACEOF
   5095 
   5096 # The following way of writing the cache mishandles newlines in values,
   5097 # but we know of no workaround that is simple, portable, and efficient.
   5098 # So, we kill variables containing newlines.
   5099 # Ultrix sh set writes to stderr and can't be redirected directly,
   5100 # and sets the high bit in the cache file unless we assign to the vars.
   5101 (
   5102   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   5103     eval ac_val=\$$ac_var
   5104     case $ac_val in #(
   5105     *${as_nl}*)
   5106       case $ac_var in #(
   5107       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   5108 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   5109       esac
   5110       case $ac_var in #(
   5111       _ | IFS | as_nl) ;; #(
   5112       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   5113       *) { eval $ac_var=; unset $ac_var;} ;;
   5114       esac ;;
   5115     esac
   5116   done
   5117 
   5118   (set) 2>&1 |
   5119     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   5120     *${as_nl}ac_space=\ *)
   5121       # `set' does not quote correctly, so add quotes: double-quote
   5122       # substitution turns \\\\ into \\, and sed turns \\ into \.
   5123       sed -n \
   5124 	"s/'/'\\\\''/g;
   5125 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   5126       ;; #(
   5127     *)
   5128       # `set' quotes correctly as required by POSIX, so do not add quotes.
   5129       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   5130       ;;
   5131     esac |
   5132     sort
   5133 ) |
   5134   sed '
   5135      /^ac_cv_env_/b end
   5136      t clear
   5137      :clear
   5138      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   5139      t end
   5140      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   5141      :end' >>confcache
   5142 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   5143   if test -w "$cache_file"; then
   5144     if test "x$cache_file" != "x/dev/null"; then
   5145       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   5146 $as_echo "$as_me: updating cache $cache_file" >&6;}
   5147       if test ! -f "$cache_file" || test -h "$cache_file"; then
   5148 	cat confcache >"$cache_file"
   5149       else
   5150         case $cache_file in #(
   5151         */* | ?:*)
   5152 	  mv -f confcache "$cache_file"$$ &&
   5153 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   5154         *)
   5155 	  mv -f confcache "$cache_file" ;;
   5156 	esac
   5157       fi
   5158     fi
   5159   else
   5160     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   5161 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   5162   fi
   5163 fi
   5164 rm -f confcache
   5165 
   5166 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   5167 # Let make expand exec_prefix.
   5168 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   5169 
   5170 DEFS=-DHAVE_CONFIG_H
   5171 
   5172 ac_libobjs=
   5173 ac_ltlibobjs=
   5174 U=
   5175 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   5176   # 1. Remove the extension, and $U if already installed.
   5177   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   5178   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   5179   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   5180   #    will be set to the directory where LIBOBJS objects are built.
   5181   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   5182   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   5183 done
   5184 LIBOBJS=$ac_libobjs
   5185 
   5186 LTLIBOBJS=$ac_ltlibobjs
   5187 
   5188 
   5189 
   5190 
   5191 : "${CONFIG_STATUS=./config.status}"
   5192 ac_write_fail=0
   5193 ac_clean_files_save=$ac_clean_files
   5194 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   5195 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   5196 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   5197 as_write_fail=0
   5198 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   5199 #! $SHELL
   5200 # Generated by $as_me.
   5201 # Run this file to recreate the current configuration.
   5202 # Compiler output produced by configure, useful for debugging
   5203 # configure, is in config.log if it exists.
   5204 
   5205 debug=false
   5206 ac_cs_recheck=false
   5207 ac_cs_silent=false
   5208 
   5209 SHELL=\${CONFIG_SHELL-$SHELL}
   5210 export SHELL
   5211 _ASEOF
   5212 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   5213 ## -------------------- ##
   5214 ## M4sh Initialization. ##
   5215 ## -------------------- ##
   5216 
   5217 # Be more Bourne compatible
   5218 DUALCASE=1; export DUALCASE # for MKS sh
   5219 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   5220   emulate sh
   5221   NULLCMD=:
   5222   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   5223   # is contrary to our usage.  Disable this feature.
   5224   alias -g '${1+"$@"}'='"$@"'
   5225   setopt NO_GLOB_SUBST
   5226 else
   5227   case `(set -o) 2>/dev/null` in #(
   5228   *posix*) :
   5229     set -o posix ;; #(
   5230   *) :
   5231      ;;
   5232 esac
   5233 fi
   5234 
   5235 
   5236 as_nl='
   5237 '
   5238 export as_nl
   5239 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   5240 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5241 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   5242 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   5243 # Prefer a ksh shell builtin over an external printf program on Solaris,
   5244 # but without wasting forks for bash or zsh.
   5245 if test -z "$BASH_VERSION$ZSH_VERSION" \
   5246     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   5247   as_echo='print -r --'
   5248   as_echo_n='print -rn --'
   5249 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   5250   as_echo='printf %s\n'
   5251   as_echo_n='printf %s'
   5252 else
   5253   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   5254     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   5255     as_echo_n='/usr/ucb/echo -n'
   5256   else
   5257     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   5258     as_echo_n_body='eval
   5259       arg=$1;
   5260       case $arg in #(
   5261       *"$as_nl"*)
   5262 	expr "X$arg" : "X\\(.*\\)$as_nl";
   5263 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   5264       esac;
   5265       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   5266     '
   5267     export as_echo_n_body
   5268     as_echo_n='sh -c $as_echo_n_body as_echo'
   5269   fi
   5270   export as_echo_body
   5271   as_echo='sh -c $as_echo_body as_echo'
   5272 fi
   5273 
   5274 # The user is always right.
   5275 if test "${PATH_SEPARATOR+set}" != set; then
   5276   PATH_SEPARATOR=:
   5277   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   5278     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   5279       PATH_SEPARATOR=';'
   5280   }
   5281 fi
   5282 
   5283 
   5284 # IFS
   5285 # We need space, tab and new line, in precisely that order.  Quoting is
   5286 # there to prevent editors from complaining about space-tab.
   5287 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   5288 # splitting by setting IFS to empty value.)
   5289 IFS=" ""	$as_nl"
   5290 
   5291 # Find who we are.  Look in the path if we contain no directory separator.
   5292 as_myself=
   5293 case $0 in #((
   5294   *[\\/]* ) as_myself=$0 ;;
   5295   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5296 for as_dir in $PATH
   5297 do
   5298   IFS=$as_save_IFS
   5299   test -z "$as_dir" && as_dir=.
   5300     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   5301   done
   5302 IFS=$as_save_IFS
   5303 
   5304      ;;
   5305 esac
   5306 # We did not find ourselves, most probably we were run as `sh COMMAND'
   5307 # in which case we are not to be found in the path.
   5308 if test "x$as_myself" = x; then
   5309   as_myself=$0
   5310 fi
   5311 if test ! -f "$as_myself"; then
   5312   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   5313   exit 1
   5314 fi
   5315 
   5316 # Unset variables that we do not need and which cause bugs (e.g. in
   5317 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   5318 # suppresses any "Segmentation fault" message there.  '((' could
   5319 # trigger a bug in pdksh 5.2.14.
   5320 for as_var in BASH_ENV ENV MAIL MAILPATH
   5321 do eval test x\${$as_var+set} = xset \
   5322   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   5323 done
   5324 PS1='$ '
   5325 PS2='> '
   5326 PS4='+ '
   5327 
   5328 # NLS nuisances.
   5329 LC_ALL=C
   5330 export LC_ALL
   5331 LANGUAGE=C
   5332 export LANGUAGE
   5333 
   5334 # CDPATH.
   5335 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   5336 
   5337 
   5338 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   5339 # ----------------------------------------
   5340 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   5341 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   5342 # script with STATUS, using 1 if that was 0.
   5343 as_fn_error ()
   5344 {
   5345   as_status=$1; test $as_status -eq 0 && as_status=1
   5346   if test "$4"; then
   5347     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   5348     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   5349   fi
   5350   $as_echo "$as_me: error: $2" >&2
   5351   as_fn_exit $as_status
   5352 } # as_fn_error
   5353 
   5354 
   5355 # as_fn_set_status STATUS
   5356 # -----------------------
   5357 # Set $? to STATUS, without forking.
   5358 as_fn_set_status ()
   5359 {
   5360   return $1
   5361 } # as_fn_set_status
   5362 
   5363 # as_fn_exit STATUS
   5364 # -----------------
   5365 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   5366 as_fn_exit ()
   5367 {
   5368   set +e
   5369   as_fn_set_status $1
   5370   exit $1
   5371 } # as_fn_exit
   5372 
   5373 # as_fn_unset VAR
   5374 # ---------------
   5375 # Portably unset VAR.
   5376 as_fn_unset ()
   5377 {
   5378   { eval $1=; unset $1;}
   5379 }
   5380 as_unset=as_fn_unset
   5381 # as_fn_append VAR VALUE
   5382 # ----------------------
   5383 # Append the text in VALUE to the end of the definition contained in VAR. Take
   5384 # advantage of any shell optimizations that allow amortized linear growth over
   5385 # repeated appends, instead of the typical quadratic growth present in naive
   5386 # implementations.
   5387 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   5388   eval 'as_fn_append ()
   5389   {
   5390     eval $1+=\$2
   5391   }'
   5392 else
   5393   as_fn_append ()
   5394   {
   5395     eval $1=\$$1\$2
   5396   }
   5397 fi # as_fn_append
   5398 
   5399 # as_fn_arith ARG...
   5400 # ------------------
   5401 # Perform arithmetic evaluation on the ARGs, and store the result in the
   5402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   5403 # must be portable across $(()) and expr.
   5404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   5405   eval 'as_fn_arith ()
   5406   {
   5407     as_val=$(( $* ))
   5408   }'
   5409 else
   5410   as_fn_arith ()
   5411   {
   5412     as_val=`expr "$@" || test $? -eq 1`
   5413   }
   5414 fi # as_fn_arith
   5415 
   5416 
   5417 if expr a : '\(a\)' >/dev/null 2>&1 &&
   5418    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   5419   as_expr=expr
   5420 else
   5421   as_expr=false
   5422 fi
   5423 
   5424 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   5425   as_basename=basename
   5426 else
   5427   as_basename=false
   5428 fi
   5429 
   5430 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   5431   as_dirname=dirname
   5432 else
   5433   as_dirname=false
   5434 fi
   5435 
   5436 as_me=`$as_basename -- "$0" ||
   5437 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   5438 	 X"$0" : 'X\(//\)$' \| \
   5439 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   5440 $as_echo X/"$0" |
   5441     sed '/^.*\/\([^/][^/]*\)\/*$/{
   5442 	    s//\1/
   5443 	    q
   5444 	  }
   5445 	  /^X\/\(\/\/\)$/{
   5446 	    s//\1/
   5447 	    q
   5448 	  }
   5449 	  /^X\/\(\/\).*/{
   5450 	    s//\1/
   5451 	    q
   5452 	  }
   5453 	  s/.*/./; q'`
   5454 
   5455 # Avoid depending upon Character Ranges.
   5456 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   5457 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   5458 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   5459 as_cr_digits='0123456789'
   5460 as_cr_alnum=$as_cr_Letters$as_cr_digits
   5461 
   5462 ECHO_C= ECHO_N= ECHO_T=
   5463 case `echo -n x` in #(((((
   5464 -n*)
   5465   case `echo 'xy\c'` in
   5466   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   5467   xy)  ECHO_C='\c';;
   5468   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   5469        ECHO_T='	';;
   5470   esac;;
   5471 *)
   5472   ECHO_N='-n';;
   5473 esac
   5474 
   5475 rm -f conf$$ conf$$.exe conf$$.file
   5476 if test -d conf$$.dir; then
   5477   rm -f conf$$.dir/conf$$.file
   5478 else
   5479   rm -f conf$$.dir
   5480   mkdir conf$$.dir 2>/dev/null
   5481 fi
   5482 if (echo >conf$$.file) 2>/dev/null; then
   5483   if ln -s conf$$.file conf$$ 2>/dev/null; then
   5484     as_ln_s='ln -s'
   5485     # ... but there are two gotchas:
   5486     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   5487     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   5488     # In both cases, we have to default to `cp -pR'.
   5489     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   5490       as_ln_s='cp -pR'
   5491   elif ln conf$$.file conf$$ 2>/dev/null; then
   5492     as_ln_s=ln
   5493   else
   5494     as_ln_s='cp -pR'
   5495   fi
   5496 else
   5497   as_ln_s='cp -pR'
   5498 fi
   5499 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   5500 rmdir conf$$.dir 2>/dev/null
   5501 
   5502 
   5503 # as_fn_mkdir_p
   5504 # -------------
   5505 # Create "$as_dir" as a directory, including parents if necessary.
   5506 as_fn_mkdir_p ()
   5507 {
   5508 
   5509   case $as_dir in #(
   5510   -*) as_dir=./$as_dir;;
   5511   esac
   5512   test -d "$as_dir" || eval $as_mkdir_p || {
   5513     as_dirs=
   5514     while :; do
   5515       case $as_dir in #(
   5516       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   5517       *) as_qdir=$as_dir;;
   5518       esac
   5519       as_dirs="'$as_qdir' $as_dirs"
   5520       as_dir=`$as_dirname -- "$as_dir" ||
   5521 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   5522 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   5523 	 X"$as_dir" : 'X\(//\)$' \| \
   5524 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   5525 $as_echo X"$as_dir" |
   5526     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   5527 	    s//\1/
   5528 	    q
   5529 	  }
   5530 	  /^X\(\/\/\)[^/].*/{
   5531 	    s//\1/
   5532 	    q
   5533 	  }
   5534 	  /^X\(\/\/\)$/{
   5535 	    s//\1/
   5536 	    q
   5537 	  }
   5538 	  /^X\(\/\).*/{
   5539 	    s//\1/
   5540 	    q
   5541 	  }
   5542 	  s/.*/./; q'`
   5543       test -d "$as_dir" && break
   5544     done
   5545     test -z "$as_dirs" || eval "mkdir $as_dirs"
   5546   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   5547 
   5548 
   5549 } # as_fn_mkdir_p
   5550 if mkdir -p . 2>/dev/null; then
   5551   as_mkdir_p='mkdir -p "$as_dir"'
   5552 else
   5553   test -d ./-p && rmdir ./-p
   5554   as_mkdir_p=false
   5555 fi
   5556 
   5557 
   5558 # as_fn_executable_p FILE
   5559 # -----------------------
   5560 # Test if FILE is an executable regular file.
   5561 as_fn_executable_p ()
   5562 {
   5563   test -f "$1" && test -x "$1"
   5564 } # as_fn_executable_p
   5565 as_test_x='test -x'
   5566 as_executable_p=as_fn_executable_p
   5567 
   5568 # Sed expression to map a string onto a valid CPP name.
   5569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   5570 
   5571 # Sed expression to map a string onto a valid variable name.
   5572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   5573 
   5574 
   5575 exec 6>&1
   5576 ## ----------------------------------- ##
   5577 ## Main body of $CONFIG_STATUS script. ##
   5578 ## ----------------------------------- ##
   5579 _ASEOF
   5580 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   5581 
   5582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   5583 # Save the log message, to keep $0 and so on meaningful, and to
   5584 # report actual input values of CONFIG_FILES etc. instead of their
   5585 # values after options handling.
   5586 ac_log="
   5587 This file was extended by libdecnumber $as_me  , which was
   5588 generated by GNU Autoconf 2.69.  Invocation command line was
   5589 
   5590   CONFIG_FILES    = $CONFIG_FILES
   5591   CONFIG_HEADERS  = $CONFIG_HEADERS
   5592   CONFIG_LINKS    = $CONFIG_LINKS
   5593   CONFIG_COMMANDS = $CONFIG_COMMANDS
   5594   $ $0 $@
   5595 
   5596 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   5597 "
   5598 
   5599 _ACEOF
   5600 
   5601 case $ac_config_files in *"
   5602 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   5603 esac
   5604 
   5605 case $ac_config_headers in *"
   5606 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   5607 esac
   5608 
   5609 
   5610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   5611 # Files that config.status was made for.
   5612 config_files="$ac_config_files"
   5613 config_headers="$ac_config_headers"
   5614 config_commands="$ac_config_commands"
   5615 
   5616 _ACEOF
   5617 
   5618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   5619 ac_cs_usage="\
   5620 \`$as_me' instantiates files and other configuration actions
   5621 from templates according to the current configuration.  Unless the files
   5622 and actions are specified as TAGs, all are instantiated by default.
   5623 
   5624 Usage: $0 [OPTION]... [TAG]...
   5625 
   5626   -h, --help       print this help, then exit
   5627   -V, --version    print version number and configuration settings, then exit
   5628       --config     print configuration, then exit
   5629   -q, --quiet, --silent
   5630                    do not print progress messages
   5631   -d, --debug      don't remove temporary files
   5632       --recheck    update $as_me by reconfiguring in the same conditions
   5633       --file=FILE[:TEMPLATE]
   5634                    instantiate the configuration file FILE
   5635       --header=FILE[:TEMPLATE]
   5636                    instantiate the configuration header FILE
   5637 
   5638 Configuration files:
   5639 $config_files
   5640 
   5641 Configuration headers:
   5642 $config_headers
   5643 
   5644 Configuration commands:
   5645 $config_commands
   5646 
   5647 Report bugs to <gcc-bugs@gcc.gnu.org>."
   5648 
   5649 _ACEOF
   5650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   5651 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   5652 ac_cs_version="\\
   5653 libdecnumber config.status
   5654 configured by $0, generated by GNU Autoconf 2.69,
   5655   with options \\"\$ac_cs_config\\"
   5656 
   5657 Copyright (C) 2012 Free Software Foundation, Inc.
   5658 This config.status script is free software; the Free Software Foundation
   5659 gives unlimited permission to copy, distribute and modify it."
   5660 
   5661 ac_pwd='$ac_pwd'
   5662 srcdir='$srcdir'
   5663 test -n "\$AWK" || AWK=awk
   5664 _ACEOF
   5665 
   5666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   5667 # The default lists apply if the user does not specify any file.
   5668 ac_need_defaults=:
   5669 while test $# != 0
   5670 do
   5671   case $1 in
   5672   --*=?*)
   5673     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   5674     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   5675     ac_shift=:
   5676     ;;
   5677   --*=)
   5678     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   5679     ac_optarg=
   5680     ac_shift=:
   5681     ;;
   5682   *)
   5683     ac_option=$1
   5684     ac_optarg=$2
   5685     ac_shift=shift
   5686     ;;
   5687   esac
   5688 
   5689   case $ac_option in
   5690   # Handling of the options.
   5691   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   5692     ac_cs_recheck=: ;;
   5693   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   5694     $as_echo "$ac_cs_version"; exit ;;
   5695   --config | --confi | --conf | --con | --co | --c )
   5696     $as_echo "$ac_cs_config"; exit ;;
   5697   --debug | --debu | --deb | --de | --d | -d )
   5698     debug=: ;;
   5699   --file | --fil | --fi | --f )
   5700     $ac_shift
   5701     case $ac_optarg in
   5702     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   5703     '') as_fn_error $? "missing file argument" ;;
   5704     esac
   5705     as_fn_append CONFIG_FILES " '$ac_optarg'"
   5706     ac_need_defaults=false;;
   5707   --header | --heade | --head | --hea )
   5708     $ac_shift
   5709     case $ac_optarg in
   5710     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   5711     esac
   5712     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   5713     ac_need_defaults=false;;
   5714   --he | --h)
   5715     # Conflict between --help and --header
   5716     as_fn_error $? "ambiguous option: \`$1'
   5717 Try \`$0 --help' for more information.";;
   5718   --help | --hel | -h )
   5719     $as_echo "$ac_cs_usage"; exit ;;
   5720   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   5721   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   5722     ac_cs_silent=: ;;
   5723 
   5724   # This is an error.
   5725   -*) as_fn_error $? "unrecognized option: \`$1'
   5726 Try \`$0 --help' for more information." ;;
   5727 
   5728   *) as_fn_append ac_config_targets " $1"
   5729      ac_need_defaults=false ;;
   5730 
   5731   esac
   5732   shift
   5733 done
   5734 
   5735 ac_configure_extra_args=
   5736 
   5737 if $ac_cs_silent; then
   5738   exec 6>/dev/null
   5739   ac_configure_extra_args="$ac_configure_extra_args --silent"
   5740 fi
   5741 
   5742 _ACEOF
   5743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   5744 if \$ac_cs_recheck; then
   5745   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   5746   shift
   5747   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   5748   CONFIG_SHELL='$SHELL'
   5749   export CONFIG_SHELL
   5750   exec "\$@"
   5751 fi
   5752 
   5753 _ACEOF
   5754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   5755 exec 5>>config.log
   5756 {
   5757   echo
   5758   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   5759 ## Running $as_me. ##
   5760 _ASBOX
   5761   $as_echo "$ac_log"
   5762 } >&5
   5763 
   5764 _ACEOF
   5765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   5766 #
   5767 # INIT-COMMANDS
   5768 #
   5769 
   5770 GCC="$GCC"
   5771 CC="$CC"
   5772 acx_cv_header_stdint="$acx_cv_header_stdint"
   5773 acx_cv_type_int8_t="$acx_cv_type_int8_t"
   5774 acx_cv_type_int16_t="$acx_cv_type_int16_t"
   5775 acx_cv_type_int32_t="$acx_cv_type_int32_t"
   5776 acx_cv_type_int64_t="$acx_cv_type_int64_t"
   5777 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
   5778 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
   5779 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
   5780 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
   5781 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
   5782 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
   5783 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
   5784 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
   5785 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
   5786 
   5787 
   5788 _ACEOF
   5789 
   5790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   5791 
   5792 # Handling of arguments.
   5793 for ac_config_target in $ac_config_targets
   5794 do
   5795   case $ac_config_target in
   5796     "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
   5797     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
   5798     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   5799 
   5800   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   5801   esac
   5802 done
   5803 
   5804 
   5805 # If the user did not use the arguments to specify the items to instantiate,
   5806 # then the envvar interface is used.  Set only those that are not.
   5807 # We use the long form for the default assignment because of an extremely
   5808 # bizarre bug on SunOS 4.1.3.
   5809 if $ac_need_defaults; then
   5810   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   5811   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   5812   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   5813 fi
   5814 
   5815 # Have a temporary directory for convenience.  Make it in the build tree
   5816 # simply because there is no reason against having it here, and in addition,
   5817 # creating and moving files from /tmp can sometimes cause problems.
   5818 # Hook for its removal unless debugging.
   5819 # Note that there is a small window in which the directory will not be cleaned:
   5820 # after its creation but before its name has been assigned to `$tmp'.
   5821 $debug ||
   5822 {
   5823   tmp= ac_tmp=
   5824   trap 'exit_status=$?
   5825   : "${ac_tmp:=$tmp}"
   5826   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   5827 ' 0
   5828   trap 'as_fn_exit 1' 1 2 13 15
   5829 }
   5830 # Create a (secure) tmp directory for tmp files.
   5831 
   5832 {
   5833   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   5834   test -d "$tmp"
   5835 }  ||
   5836 {
   5837   tmp=./conf$$-$RANDOM
   5838   (umask 077 && mkdir "$tmp")
   5839 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   5840 ac_tmp=$tmp
   5841 
   5842 # Set up the scripts for CONFIG_FILES section.
   5843 # No need to generate them if there are no CONFIG_FILES.
   5844 # This happens for instance with `./config.status config.h'.
   5845 if test -n "$CONFIG_FILES"; then
   5846 
   5847 
   5848 ac_cr=`echo X | tr X '\015'`
   5849 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   5850 # But we know of no other shell where ac_cr would be empty at this
   5851 # point, so we can use a bashism as a fallback.
   5852 if test "x$ac_cr" = x; then
   5853   eval ac_cr=\$\'\\r\'
   5854 fi
   5855 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   5856 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   5857   ac_cs_awk_cr='\\r'
   5858 else
   5859   ac_cs_awk_cr=$ac_cr
   5860 fi
   5861 
   5862 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   5863 _ACEOF
   5864 
   5865 
   5866 {
   5867   echo "cat >conf$$subs.awk <<_ACEOF" &&
   5868   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   5869   echo "_ACEOF"
   5870 } >conf$$subs.sh ||
   5871   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   5872 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   5873 ac_delim='%!_!# '
   5874 for ac_last_try in false false false false false :; do
   5875   . ./conf$$subs.sh ||
   5876     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   5877 
   5878   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   5879   if test $ac_delim_n = $ac_delim_num; then
   5880     break
   5881   elif $ac_last_try; then
   5882     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   5883   else
   5884     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   5885   fi
   5886 done
   5887 rm -f conf$$subs.sh
   5888 
   5889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   5890 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   5891 _ACEOF
   5892 sed -n '
   5893 h
   5894 s/^/S["/; s/!.*/"]=/
   5895 p
   5896 g
   5897 s/^[^!]*!//
   5898 :repl
   5899 t repl
   5900 s/'"$ac_delim"'$//
   5901 t delim
   5902 :nl
   5903 h
   5904 s/\(.\{148\}\)..*/\1/
   5905 t more1
   5906 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   5907 p
   5908 n
   5909 b repl
   5910 :more1
   5911 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   5912 p
   5913 g
   5914 s/.\{148\}//
   5915 t nl
   5916 :delim
   5917 h
   5918 s/\(.\{148\}\)..*/\1/
   5919 t more2
   5920 s/["\\]/\\&/g; s/^/"/; s/$/"/
   5921 p
   5922 b
   5923 :more2
   5924 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   5925 p
   5926 g
   5927 s/.\{148\}//
   5928 t delim
   5929 ' <conf$$subs.awk | sed '
   5930 /^[^""]/{
   5931   N
   5932   s/\n//
   5933 }
   5934 ' >>$CONFIG_STATUS || ac_write_fail=1
   5935 rm -f conf$$subs.awk
   5936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   5937 _ACAWK
   5938 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   5939   for (key in S) S_is_set[key] = 1
   5940   FS = ""
   5941 
   5942 }
   5943 {
   5944   line = $ 0
   5945   nfields = split(line, field, "@")
   5946   substed = 0
   5947   len = length(field[1])
   5948   for (i = 2; i < nfields; i++) {
   5949     key = field[i]
   5950     keylen = length(key)
   5951     if (S_is_set[key]) {
   5952       value = S[key]
   5953       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   5954       len += length(value) + length(field[++i])
   5955       substed = 1
   5956     } else
   5957       len += 1 + keylen
   5958   }
   5959 
   5960   print line
   5961 }
   5962 
   5963 _ACAWK
   5964 _ACEOF
   5965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   5966 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   5967   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   5968 else
   5969   cat
   5970 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   5971   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   5972 _ACEOF
   5973 
   5974 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   5975 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   5976 # trailing colons and then remove the whole line if VPATH becomes empty
   5977 # (actually we leave an empty line to preserve line numbers).
   5978 if test "x$srcdir" = x.; then
   5979   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   5980 h
   5981 s///
   5982 s/^/:/
   5983 s/[	 ]*$/:/
   5984 s/:\$(srcdir):/:/g
   5985 s/:\${srcdir}:/:/g
   5986 s/:@srcdir@:/:/g
   5987 s/^:*//
   5988 s/:*$//
   5989 x
   5990 s/\(=[	 ]*\).*/\1/
   5991 G
   5992 s/\n//
   5993 s/^[^=]*=[	 ]*$//
   5994 }'
   5995 fi
   5996 
   5997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   5998 fi # test -n "$CONFIG_FILES"
   5999 
   6000 # Set up the scripts for CONFIG_HEADERS section.
   6001 # No need to generate them if there are no CONFIG_HEADERS.
   6002 # This happens for instance with `./config.status Makefile'.
   6003 if test -n "$CONFIG_HEADERS"; then
   6004 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   6005 BEGIN {
   6006 _ACEOF
   6007 
   6008 # Transform confdefs.h into an awk script `defines.awk', embedded as
   6009 # here-document in config.status, that substitutes the proper values into
   6010 # config.h.in to produce config.h.
   6011 
   6012 # Create a delimiter string that does not exist in confdefs.h, to ease
   6013 # handling of long lines.
   6014 ac_delim='%!_!# '
   6015 for ac_last_try in false false :; do
   6016   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   6017   if test -z "$ac_tt"; then
   6018     break
   6019   elif $ac_last_try; then
   6020     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   6021   else
   6022     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   6023   fi
   6024 done
   6025 
   6026 # For the awk script, D is an array of macro values keyed by name,
   6027 # likewise P contains macro parameters if any.  Preserve backslash
   6028 # newline sequences.
   6029 
   6030 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   6031 sed -n '
   6032 s/.\{148\}/&'"$ac_delim"'/g
   6033 t rset
   6034 :rset
   6035 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   6036 t def
   6037 d
   6038 :def
   6039 s/\\$//
   6040 t bsnl
   6041 s/["\\]/\\&/g
   6042 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   6043 D["\1"]=" \3"/p
   6044 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   6045 d
   6046 :bsnl
   6047 s/["\\]/\\&/g
   6048 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   6049 D["\1"]=" \3\\\\\\n"\\/p
   6050 t cont
   6051 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   6052 t cont
   6053 d
   6054 :cont
   6055 n
   6056 s/.\{148\}/&'"$ac_delim"'/g
   6057 t clear
   6058 :clear
   6059 s/\\$//
   6060 t bsnlc
   6061 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   6062 d
   6063 :bsnlc
   6064 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   6065 b cont
   6066 ' <confdefs.h | sed '
   6067 s/'"$ac_delim"'/"\\\
   6068 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   6069 
   6070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6071   for (key in D) D_is_set[key] = 1
   6072   FS = ""
   6073 }
   6074 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   6075   line = \$ 0
   6076   split(line, arg, " ")
   6077   if (arg[1] == "#") {
   6078     defundef = arg[2]
   6079     mac1 = arg[3]
   6080   } else {
   6081     defundef = substr(arg[1], 2)
   6082     mac1 = arg[2]
   6083   }
   6084   split(mac1, mac2, "(") #)
   6085   macro = mac2[1]
   6086   prefix = substr(line, 1, index(line, defundef) - 1)
   6087   if (D_is_set[macro]) {
   6088     # Preserve the white space surrounding the "#".
   6089     print prefix "define", macro P[macro] D[macro]
   6090     next
   6091   } else {
   6092     # Replace #undef with comments.  This is necessary, for example,
   6093     # in the case of _POSIX_SOURCE, which is predefined and required
   6094     # on some systems where configure will not decide to define it.
   6095     if (defundef == "undef") {
   6096       print "/*", prefix defundef, macro, "*/"
   6097       next
   6098     }
   6099   }
   6100 }
   6101 { print }
   6102 _ACAWK
   6103 _ACEOF
   6104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6105   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   6106 fi # test -n "$CONFIG_HEADERS"
   6107 
   6108 
   6109 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   6110 shift
   6111 for ac_tag
   6112 do
   6113   case $ac_tag in
   6114   :[FHLC]) ac_mode=$ac_tag; continue;;
   6115   esac
   6116   case $ac_mode$ac_tag in
   6117   :[FHL]*:*);;
   6118   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   6119   :[FH]-) ac_tag=-:-;;
   6120   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   6121   esac
   6122   ac_save_IFS=$IFS
   6123   IFS=:
   6124   set x $ac_tag
   6125   IFS=$ac_save_IFS
   6126   shift
   6127   ac_file=$1
   6128   shift
   6129 
   6130   case $ac_mode in
   6131   :L) ac_source=$1;;
   6132   :[FH])
   6133     ac_file_inputs=
   6134     for ac_f
   6135     do
   6136       case $ac_f in
   6137       -) ac_f="$ac_tmp/stdin";;
   6138       *) # Look for the file first in the build tree, then in the source tree
   6139 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   6140 	 # because $ac_f cannot contain `:'.
   6141 	 test -f "$ac_f" ||
   6142 	   case $ac_f in
   6143 	   [\\/$]*) false;;
   6144 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   6145 	   esac ||
   6146 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   6147       esac
   6148       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   6149       as_fn_append ac_file_inputs " '$ac_f'"
   6150     done
   6151 
   6152     # Let's still pretend it is `configure' which instantiates (i.e., don't
   6153     # use $as_me), people would be surprised to read:
   6154     #    /* config.h.  Generated by config.status.  */
   6155     configure_input='Generated from '`
   6156 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   6157 	`' by configure.'
   6158     if test x"$ac_file" != x-; then
   6159       configure_input="$ac_file.  $configure_input"
   6160       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   6161 $as_echo "$as_me: creating $ac_file" >&6;}
   6162     fi
   6163     # Neutralize special characters interpreted by sed in replacement strings.
   6164     case $configure_input in #(
   6165     *\&* | *\|* | *\\* )
   6166        ac_sed_conf_input=`$as_echo "$configure_input" |
   6167        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   6168     *) ac_sed_conf_input=$configure_input;;
   6169     esac
   6170 
   6171     case $ac_tag in
   6172     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   6173       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   6174     esac
   6175     ;;
   6176   esac
   6177 
   6178   ac_dir=`$as_dirname -- "$ac_file" ||
   6179 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   6180 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   6181 	 X"$ac_file" : 'X\(//\)$' \| \
   6182 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   6183 $as_echo X"$ac_file" |
   6184     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   6185 	    s//\1/
   6186 	    q
   6187 	  }
   6188 	  /^X\(\/\/\)[^/].*/{
   6189 	    s//\1/
   6190 	    q
   6191 	  }
   6192 	  /^X\(\/\/\)$/{
   6193 	    s//\1/
   6194 	    q
   6195 	  }
   6196 	  /^X\(\/\).*/{
   6197 	    s//\1/
   6198 	    q
   6199 	  }
   6200 	  s/.*/./; q'`
   6201   as_dir="$ac_dir"; as_fn_mkdir_p
   6202   ac_builddir=.
   6203 
   6204 case "$ac_dir" in
   6205 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   6206 *)
   6207   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   6208   # A ".." for each directory in $ac_dir_suffix.
   6209   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   6210   case $ac_top_builddir_sub in
   6211   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   6212   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   6213   esac ;;
   6214 esac
   6215 ac_abs_top_builddir=$ac_pwd
   6216 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   6217 # for backward compatibility:
   6218 ac_top_builddir=$ac_top_build_prefix
   6219 
   6220 case $srcdir in
   6221   .)  # We are building in place.
   6222     ac_srcdir=.
   6223     ac_top_srcdir=$ac_top_builddir_sub
   6224     ac_abs_top_srcdir=$ac_pwd ;;
   6225   [\\/]* | ?:[\\/]* )  # Absolute name.
   6226     ac_srcdir=$srcdir$ac_dir_suffix;
   6227     ac_top_srcdir=$srcdir
   6228     ac_abs_top_srcdir=$srcdir ;;
   6229   *) # Relative name.
   6230     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   6231     ac_top_srcdir=$ac_top_build_prefix$srcdir
   6232     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   6233 esac
   6234 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   6235 
   6236 
   6237   case $ac_mode in
   6238   :F)
   6239   #
   6240   # CONFIG_FILE
   6241   #
   6242 
   6243 _ACEOF
   6244 
   6245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6246 # If the template does not know about datarootdir, expand it.
   6247 # FIXME: This hack should be removed a few years after 2.60.
   6248 ac_datarootdir_hack=; ac_datarootdir_seen=
   6249 ac_sed_dataroot='
   6250 /datarootdir/ {
   6251   p
   6252   q
   6253 }
   6254 /@datadir@/p
   6255 /@docdir@/p
   6256 /@infodir@/p
   6257 /@localedir@/p
   6258 /@mandir@/p'
   6259 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   6260 *datarootdir*) ac_datarootdir_seen=yes;;
   6261 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   6262   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   6263 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   6264 _ACEOF
   6265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6266   ac_datarootdir_hack='
   6267   s&@datadir@&$datadir&g
   6268   s&@docdir@&$docdir&g
   6269   s&@infodir@&$infodir&g
   6270   s&@localedir@&$localedir&g
   6271   s&@mandir@&$mandir&g
   6272   s&\\\${datarootdir}&$datarootdir&g' ;;
   6273 esac
   6274 _ACEOF
   6275 
   6276 # Neutralize VPATH when `$srcdir' = `.'.
   6277 # Shell code in configure.ac might set extrasub.
   6278 # FIXME: do we really want to maintain this feature?
   6279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6280 ac_sed_extra="$ac_vpsub
   6281 $extrasub
   6282 _ACEOF
   6283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6284 :t
   6285 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   6286 s|@configure_input@|$ac_sed_conf_input|;t t
   6287 s&@top_builddir@&$ac_top_builddir_sub&;t t
   6288 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   6289 s&@srcdir@&$ac_srcdir&;t t
   6290 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   6291 s&@top_srcdir@&$ac_top_srcdir&;t t
   6292 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   6293 s&@builddir@&$ac_builddir&;t t
   6294 s&@abs_builddir@&$ac_abs_builddir&;t t
   6295 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   6296 $ac_datarootdir_hack
   6297 "
   6298 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   6299   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   6300 
   6301 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   6302   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   6303   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   6304       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   6305   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   6306 which seems to be undefined.  Please make sure it is defined" >&5
   6307 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   6308 which seems to be undefined.  Please make sure it is defined" >&2;}
   6309 
   6310   rm -f "$ac_tmp/stdin"
   6311   case $ac_file in
   6312   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   6313   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   6314   esac \
   6315   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   6316  ;;
   6317   :H)
   6318   #
   6319   # CONFIG_HEADER
   6320   #
   6321   if test x"$ac_file" != x-; then
   6322     {
   6323       $as_echo "/* $configure_input  */" \
   6324       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   6325     } >"$ac_tmp/config.h" \
   6326       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   6327     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   6328       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   6329 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   6330     else
   6331       rm -f "$ac_file"
   6332       mv "$ac_tmp/config.h" "$ac_file" \
   6333 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   6334     fi
   6335   else
   6336     $as_echo "/* $configure_input  */" \
   6337       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   6338       || as_fn_error $? "could not create -" "$LINENO" 5
   6339   fi
   6340  ;;
   6341 
   6342   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   6343 $as_echo "$as_me: executing $ac_file commands" >&6;}
   6344  ;;
   6345   esac
   6346 
   6347 
   6348   case $ac_file$ac_mode in
   6349     "gstdint.h":C)
   6350 if test "$GCC" = yes; then
   6351   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
   6352 else
   6353   echo "/* generated for $CC */" > tmp-stdint.h
   6354 fi
   6355 
   6356 sed 's/^ *//' >> tmp-stdint.h <<EOF
   6357 
   6358   #ifndef GCC_GENERATED_STDINT_H
   6359   #define GCC_GENERATED_STDINT_H 1
   6360 
   6361   #include <sys/types.h>
   6362 EOF
   6363 
   6364 if test "$acx_cv_header_stdint" != stdint.h; then
   6365   echo "#include <stddef.h>" >> tmp-stdint.h
   6366 fi
   6367 if test "$acx_cv_header_stdint" != stddef.h; then
   6368   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
   6369 fi
   6370 
   6371 sed 's/^ *//' >> tmp-stdint.h <<EOF
   6372   /* glibc uses these symbols as guards to prevent redefinitions.  */
   6373   #ifdef __int8_t_defined
   6374   #define _INT8_T
   6375   #define _INT16_T
   6376   #define _INT32_T
   6377   #endif
   6378   #ifdef __uint32_t_defined
   6379   #define _UINT32_T
   6380   #endif
   6381 
   6382 EOF
   6383 
   6384 # ----------------- done header, emit basic int types -------------
   6385 if test "$acx_cv_header_stdint" = stddef.h; then
   6386   sed 's/^ *//' >> tmp-stdint.h <<EOF
   6387 
   6388     #ifndef _UINT8_T
   6389     #define _UINT8_T
   6390     #ifndef __uint8_t_defined
   6391     #define __uint8_t_defined
   6392     #ifndef uint8_t
   6393     typedef unsigned $acx_cv_type_int8_t uint8_t;
   6394     #endif
   6395     #endif
   6396     #endif
   6397 
   6398     #ifndef _UINT16_T
   6399     #define _UINT16_T
   6400     #ifndef __uint16_t_defined
   6401     #define __uint16_t_defined
   6402     #ifndef uint16_t
   6403     typedef unsigned $acx_cv_type_int16_t uint16_t;
   6404     #endif
   6405     #endif
   6406     #endif
   6407 
   6408     #ifndef _UINT32_T
   6409     #define _UINT32_T
   6410     #ifndef __uint32_t_defined
   6411     #define __uint32_t_defined
   6412     #ifndef uint32_t
   6413     typedef unsigned $acx_cv_type_int32_t uint32_t;
   6414     #endif
   6415     #endif
   6416     #endif
   6417 
   6418     #ifndef _INT8_T
   6419     #define _INT8_T
   6420     #ifndef __int8_t_defined
   6421     #define __int8_t_defined
   6422     #ifndef int8_t
   6423     typedef $acx_cv_type_int8_t int8_t;
   6424     #endif
   6425     #endif
   6426     #endif
   6427 
   6428     #ifndef _INT16_T
   6429     #define _INT16_T
   6430     #ifndef __int16_t_defined
   6431     #define __int16_t_defined
   6432     #ifndef int16_t
   6433     typedef $acx_cv_type_int16_t int16_t;
   6434     #endif
   6435     #endif
   6436     #endif
   6437 
   6438     #ifndef _INT32_T
   6439     #define _INT32_T
   6440     #ifndef __int32_t_defined
   6441     #define __int32_t_defined
   6442     #ifndef int32_t
   6443     typedef $acx_cv_type_int32_t int32_t;
   6444     #endif
   6445     #endif
   6446     #endif
   6447 EOF
   6448 elif test "$ac_cv_type_u_int32_t" = yes; then
   6449   sed 's/^ *//' >> tmp-stdint.h <<EOF
   6450 
   6451     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
   6452     #ifndef _INT8_T
   6453     #define _INT8_T
   6454     #endif
   6455     #ifndef _INT16_T
   6456     #define _INT16_T
   6457     #endif
   6458     #ifndef _INT32_T
   6459     #define _INT32_T
   6460     #endif
   6461 
   6462     #ifndef _UINT8_T
   6463     #define _UINT8_T
   6464     #ifndef __uint8_t_defined
   6465     #define __uint8_t_defined
   6466     #ifndef uint8_t
   6467     typedef u_int8_t uint8_t;
   6468     #endif
   6469     #endif
   6470     #endif
   6471 
   6472     #ifndef _UINT16_T
   6473     #define _UINT16_T
   6474     #ifndef __uint16_t_defined
   6475     #define __uint16_t_defined
   6476     #ifndef uint16_t
   6477     typedef u_int16_t uint16_t;
   6478     #endif
   6479     #endif
   6480     #endif
   6481 
   6482     #ifndef _UINT32_T
   6483     #define _UINT32_T
   6484     #ifndef __uint32_t_defined
   6485     #define __uint32_t_defined
   6486     #ifndef uint32_t
   6487     typedef u_int32_t uint32_t;
   6488     #endif
   6489     #endif
   6490     #endif
   6491 EOF
   6492 else
   6493   sed 's/^ *//' >> tmp-stdint.h <<EOF
   6494 
   6495     /* Some systems have guard macros to prevent redefinitions, define them.  */
   6496     #ifndef _INT8_T
   6497     #define _INT8_T
   6498     #endif
   6499     #ifndef _INT16_T
   6500     #define _INT16_T
   6501     #endif
   6502     #ifndef _INT32_T
   6503     #define _INT32_T
   6504     #endif
   6505     #ifndef _UINT8_T
   6506     #define _UINT8_T
   6507     #endif
   6508     #ifndef _UINT16_T
   6509     #define _UINT16_T
   6510     #endif
   6511     #ifndef _UINT32_T
   6512     #define _UINT32_T
   6513     #endif
   6514 EOF
   6515 fi
   6516 
   6517 # ------------- done basic int types, emit int64_t types ------------
   6518 if test "$ac_cv_type_uint64_t" = yes; then
   6519   sed 's/^ *//' >> tmp-stdint.h <<EOF
   6520 
   6521     /* system headers have good uint64_t and int64_t */
   6522     #ifndef _INT64_T
   6523     #define _INT64_T
   6524     #endif
   6525     #ifndef _UINT64_T
   6526     #define _UINT64_T
   6527     #endif
   6528 EOF
   6529 elif test "$ac_cv_type_u_int64_t" = yes; then
   6530   sed 's/^ *//' >> tmp-stdint.h <<EOF
   6531 
   6532     /* system headers have an u_int64_t (and int64_t) */
   6533     #ifndef _INT64_T
   6534     #define _INT64_T
   6535     #endif
   6536     #ifndef _UINT64_T
   6537     #define _UINT64_T
   6538     #ifndef __uint64_t_defined
   6539     #define __uint64_t_defined
   6540     #ifndef uint64_t
   6541     typedef u_int64_t uint64_t;
   6542     #endif
   6543     #endif
   6544     #endif
   6545 EOF
   6546 elif test -n "$acx_cv_type_int64_t"; then
   6547   sed 's/^ *//' >> tmp-stdint.h <<EOF
   6548 
   6549     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
   6550     #ifndef _INT64_T
   6551     #define _INT64_T
   6552     #ifndef int64_t
   6553     typedef $acx_cv_type_int64_t int64_t;
   6554     #endif
   6555     #endif
   6556     #ifndef _UINT64_T
   6557     #define _UINT64_T
   6558     #ifndef __uint64_t_defined
   6559     #define __uint64_t_defined
   6560     #ifndef uint64_t
   6561     typedef unsigned $acx_cv_type_int64_t uint64_t;
   6562     #endif
   6563     #endif
   6564     #endif
   6565 EOF
   6566 else
   6567   sed 's/^ *//' >> tmp-stdint.h <<EOF
   6568 
   6569     /* some common heuristics for int64_t, using compiler-specific tests */
   6570     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
   6571     #ifndef _INT64_T
   6572     #define _INT64_T
   6573     #ifndef __int64_t_defined
   6574     #ifndef int64_t
   6575     typedef long long int64_t;
   6576     #endif
   6577     #endif
   6578     #endif
   6579     #ifndef _UINT64_T
   6580     #define _UINT64_T
   6581     #ifndef uint64_t
   6582     typedef unsigned long long uint64_t;
   6583     #endif
   6584     #endif
   6585 
   6586     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
   6587     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
   6588        does not implement __extension__.  But that compiler doesn't define
   6589        __GNUC_MINOR__.  */
   6590     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
   6591     # define __extension__
   6592     # endif
   6593 
   6594     # ifndef _INT64_T
   6595     # define _INT64_T
   6596     # ifndef int64_t
   6597     __extension__ typedef long long int64_t;
   6598     # endif
   6599     # endif
   6600     # ifndef _UINT64_T
   6601     # define _UINT64_T
   6602     # ifndef uint64_t
   6603     __extension__ typedef unsigned long long uint64_t;
   6604     # endif
   6605     # endif
   6606 
   6607     #elif !defined __STRICT_ANSI__
   6608     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
   6609 
   6610     #  ifndef _INT64_T
   6611     #  define _INT64_T
   6612     #  ifndef int64_t
   6613     typedef __int64 int64_t;
   6614     #  endif
   6615     #  endif
   6616     #  ifndef _UINT64_T
   6617     #  define _UINT64_T
   6618     #  ifndef uint64_t
   6619     typedef unsigned __int64 uint64_t;
   6620     #  endif
   6621     #  endif
   6622     # endif /* compiler */
   6623 
   6624     #endif /* ANSI version */
   6625 EOF
   6626 fi
   6627 
   6628 # ------------- done int64_t types, emit intptr types ------------
   6629 if test "$ac_cv_type_uintptr_t" != yes; then
   6630   sed 's/^ *//' >> tmp-stdint.h <<EOF
   6631 
   6632     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
   6633     #ifndef __uintptr_t_defined
   6634     #ifndef uintptr_t
   6635     typedef u$acx_cv_type_intptr_t uintptr_t;
   6636     #endif
   6637     #endif
   6638     #ifndef __intptr_t_defined
   6639     #ifndef intptr_t
   6640     typedef $acx_cv_type_intptr_t  intptr_t;
   6641     #endif
   6642     #endif
   6643 EOF
   6644 fi
   6645 
   6646 # ------------- done intptr types, emit int_least types ------------
   6647 if test "$ac_cv_type_int_least32_t" != yes; then
   6648   sed 's/^ *//' >> tmp-stdint.h <<EOF
   6649 
   6650     /* Define int_least types */
   6651     typedef int8_t     int_least8_t;
   6652     typedef int16_t    int_least16_t;
   6653     typedef int32_t    int_least32_t;
   6654     #ifdef _INT64_T
   6655     typedef int64_t    int_least64_t;
   6656     #endif
   6657 
   6658     typedef uint8_t    uint_least8_t;
   6659     typedef uint16_t   uint_least16_t;
   6660     typedef uint32_t   uint_least32_t;
   6661     #ifdef _UINT64_T
   6662     typedef uint64_t   uint_least64_t;
   6663     #endif
   6664 EOF
   6665 fi
   6666 
   6667 # ------------- done intptr types, emit int_fast types ------------
   6668 if test "$ac_cv_type_int_fast32_t" != yes; then
   6669       sed 's/^ *//' >> tmp-stdint.h <<EOF
   6670 
   6671     /* Define int_fast types.  short is often slow */
   6672     typedef int8_t       int_fast8_t;
   6673     typedef int          int_fast16_t;
   6674     typedef int32_t      int_fast32_t;
   6675     #ifdef _INT64_T
   6676     typedef int64_t      int_fast64_t;
   6677     #endif
   6678 
   6679     typedef uint8_t      uint_fast8_t;
   6680     typedef unsigned int uint_fast16_t;
   6681     typedef uint32_t     uint_fast32_t;
   6682     #ifdef _UINT64_T
   6683     typedef uint64_t     uint_fast64_t;
   6684     #endif
   6685 EOF
   6686 fi
   6687 
   6688 if test "$ac_cv_type_uintmax_t" != yes; then
   6689   sed 's/^ *//' >> tmp-stdint.h <<EOF
   6690 
   6691     /* Define intmax based on what we found */
   6692     #ifndef intmax_t
   6693     #ifdef _INT64_T
   6694     typedef int64_t       intmax_t;
   6695     #else
   6696     typedef long          intmax_t;
   6697     #endif
   6698     #endif
   6699     #ifndef uintmax_t
   6700     #ifdef _UINT64_T
   6701     typedef uint64_t      uintmax_t;
   6702     #else
   6703     typedef unsigned long uintmax_t;
   6704     #endif
   6705     #endif
   6706 EOF
   6707 fi
   6708 
   6709 sed 's/^ *//' >> tmp-stdint.h <<EOF
   6710 
   6711   #endif /* GCC_GENERATED_STDINT_H */
   6712 EOF
   6713 
   6714 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
   6715   rm -f tmp-stdint.h
   6716 else
   6717   mv -f tmp-stdint.h gstdint.h
   6718 fi
   6719 
   6720  ;;
   6721     "config.h":H) echo timestamp > stamp-h1 ;;
   6722 
   6723   esac
   6724 done # for ac_tag
   6725 
   6726 
   6727 as_fn_exit 0
   6728 _ACEOF
   6729 ac_clean_files=$ac_clean_files_save
   6730 
   6731 test $ac_write_fail = 0 ||
   6732   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   6733 
   6734 
   6735 # configure is writing to config.log, and then calls config.status.
   6736 # config.status does its own redirection, appending to config.log.
   6737 # Unfortunately, on DOS this fails, as config.log is still kept open
   6738 # by configure, so config.status won't be able to write to it; its
   6739 # output is simply discarded.  So we exec the FD to /dev/null,
   6740 # effectively closing config.log, so it can be properly (re)opened and
   6741 # appended to by config.status.  When coming back to configure, we
   6742 # need to make the FD available again.
   6743 if test "$no_create" != yes; then
   6744   ac_cs_success=:
   6745   ac_config_status_args=
   6746   test "$silent" = yes &&
   6747     ac_config_status_args="$ac_config_status_args --quiet"
   6748   exec 5>/dev/null
   6749   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   6750   exec 5>>config.log
   6751   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   6752   # would make configure fail if this is the last instruction.
   6753   $ac_cs_success || as_fn_exit 1
   6754 fi
   6755 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   6756   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   6757 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   6758 fi
   6759 
   6760