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