Home | History | Annotate | Line # | Download | only in libcpp
configure revision 1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for cpplib  .
      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='cpplib'
    582 PACKAGE_TARNAME='cpplib'
    583 PACKAGE_VERSION=' '
    584 PACKAGE_STRING='cpplib  '
    585 PACKAGE_BUGREPORT='gcc-bugs (at] gcc.gnu.org'
    586 PACKAGE_URL=''
    587 
    588 ac_unique_file="ucnid.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 PICFLAG
    627 MAINT
    628 USED_CATALOGS
    629 PACKAGE
    630 LTLIBICONV
    631 LIBICONV
    632 CATOBJEXT
    633 GENCAT
    634 INSTOBJEXT
    635 DATADIRNAME
    636 CATALOGS
    637 POSUB
    638 GMSGFMT
    639 XGETTEXT
    640 INCINTL
    641 LIBINTL_DEP
    642 LIBINTL
    643 USE_NLS
    644 ALLOCA
    645 LIBOBJS
    646 CXXDEPMODE
    647 DEPDIR
    648 am__leading_dot
    649 WERROR
    650 noexception_flags
    651 WARN_PEDANTIC
    652 c_warn
    653 warn
    654 AUTOHEADER
    655 AUTOCONF
    656 ACLOCAL
    657 EGREP
    658 GREP
    659 CPP
    660 RANLIB
    661 ac_ct_CXX
    662 CXXFLAGS
    663 CXX
    664 OBJEXT
    665 EXEEXT
    666 ac_ct_CC
    667 CPPFLAGS
    668 LDFLAGS
    669 CFLAGS
    670 CC
    671 INSTALL_DATA
    672 INSTALL_SCRIPT
    673 INSTALL_PROGRAM
    674 SET_MAKE
    675 target_os
    676 target_vendor
    677 target_cpu
    678 target
    679 host_os
    680 host_vendor
    681 host_cpu
    682 host
    683 build_os
    684 build_vendor
    685 build_cpu
    686 build
    687 target_alias
    688 host_alias
    689 build_alias
    690 LIBS
    691 ECHO_T
    692 ECHO_N
    693 ECHO_C
    694 DEFS
    695 mandir
    696 localedir
    697 libdir
    698 psdir
    699 pdfdir
    700 dvidir
    701 htmldir
    702 infodir
    703 docdir
    704 oldincludedir
    705 includedir
    706 localstatedir
    707 sharedstatedir
    708 sysconfdir
    709 datadir
    710 datarootdir
    711 libexecdir
    712 sbindir
    713 bindir
    714 program_transform_name
    715 prefix
    716 exec_prefix
    717 PACKAGE_URL
    718 PACKAGE_BUGREPORT
    719 PACKAGE_STRING
    720 PACKAGE_VERSION
    721 PACKAGE_TARNAME
    722 PACKAGE_NAME
    723 PATH_SEPARATOR
    724 SHELL'
    725 ac_subst_files=''
    726 ac_user_opts='
    727 enable_option_checking
    728 enable_largefile
    729 enable_werror_always
    730 with_gnu_ld
    731 enable_rpath
    732 with_libiconv_prefix
    733 enable_maintainer_mode
    734 enable_checking
    735 enable_canonical_system_headers
    736 enable_host_shared
    737 enable_valgrind_annotations
    738 '
    739       ac_precious_vars='build_alias
    740 host_alias
    741 target_alias
    742 CC
    743 CFLAGS
    744 LDFLAGS
    745 LIBS
    746 CPPFLAGS
    747 CXX
    748 CXXFLAGS
    749 CCC
    750 CPP'
    751 
    752 
    753 # Initialize some variables set by options.
    754 ac_init_help=
    755 ac_init_version=false
    756 ac_unrecognized_opts=
    757 ac_unrecognized_sep=
    758 # The variables have the same names as the options, with
    759 # dashes changed to underlines.
    760 cache_file=/dev/null
    761 exec_prefix=NONE
    762 no_create=
    763 no_recursion=
    764 prefix=NONE
    765 program_prefix=NONE
    766 program_suffix=NONE
    767 program_transform_name=s,x,x,
    768 silent=
    769 site=
    770 srcdir=
    771 verbose=
    772 x_includes=NONE
    773 x_libraries=NONE
    774 
    775 # Installation directory options.
    776 # These are left unexpanded so users can "make install exec_prefix=/foo"
    777 # and all the variables that are supposed to be based on exec_prefix
    778 # by default will actually change.
    779 # Use braces instead of parens because sh, perl, etc. also accept them.
    780 # (The list follows the same order as the GNU Coding Standards.)
    781 bindir='${exec_prefix}/bin'
    782 sbindir='${exec_prefix}/sbin'
    783 libexecdir='${exec_prefix}/libexec'
    784 datarootdir='${prefix}/share'
    785 datadir='${datarootdir}'
    786 sysconfdir='${prefix}/etc'
    787 sharedstatedir='${prefix}/com'
    788 localstatedir='${prefix}/var'
    789 includedir='${prefix}/include'
    790 oldincludedir='/usr/include'
    791 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    792 infodir='${datarootdir}/info'
    793 htmldir='${docdir}'
    794 dvidir='${docdir}'
    795 pdfdir='${docdir}'
    796 psdir='${docdir}'
    797 libdir='${exec_prefix}/lib'
    798 localedir='${datarootdir}/locale'
    799 mandir='${datarootdir}/man'
    800 
    801 ac_prev=
    802 ac_dashdash=
    803 for ac_option
    804 do
    805   # If the previous option needs an argument, assign it.
    806   if test -n "$ac_prev"; then
    807     eval $ac_prev=\$ac_option
    808     ac_prev=
    809     continue
    810   fi
    811 
    812   case $ac_option in
    813   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    814   *=)   ac_optarg= ;;
    815   *)    ac_optarg=yes ;;
    816   esac
    817 
    818   # Accept the important Cygnus configure options, so we can diagnose typos.
    819 
    820   case $ac_dashdash$ac_option in
    821   --)
    822     ac_dashdash=yes ;;
    823 
    824   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    825     ac_prev=bindir ;;
    826   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    827     bindir=$ac_optarg ;;
    828 
    829   -build | --build | --buil | --bui | --bu)
    830     ac_prev=build_alias ;;
    831   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    832     build_alias=$ac_optarg ;;
    833 
    834   -cache-file | --cache-file | --cache-fil | --cache-fi \
    835   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    836     ac_prev=cache_file ;;
    837   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    838   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    839     cache_file=$ac_optarg ;;
    840 
    841   --config-cache | -C)
    842     cache_file=config.cache ;;
    843 
    844   -datadir | --datadir | --datadi | --datad)
    845     ac_prev=datadir ;;
    846   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    847     datadir=$ac_optarg ;;
    848 
    849   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    850   | --dataroo | --dataro | --datar)
    851     ac_prev=datarootdir ;;
    852   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    853   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    854     datarootdir=$ac_optarg ;;
    855 
    856   -disable-* | --disable-*)
    857     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    858     # Reject names that are not valid shell variable names.
    859     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    860       as_fn_error $? "invalid feature name: $ac_useropt"
    861     ac_useropt_orig=$ac_useropt
    862     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    863     case $ac_user_opts in
    864       *"
    865 "enable_$ac_useropt"
    866 "*) ;;
    867       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    868 	 ac_unrecognized_sep=', ';;
    869     esac
    870     eval enable_$ac_useropt=no ;;
    871 
    872   -docdir | --docdir | --docdi | --doc | --do)
    873     ac_prev=docdir ;;
    874   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    875     docdir=$ac_optarg ;;
    876 
    877   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    878     ac_prev=dvidir ;;
    879   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    880     dvidir=$ac_optarg ;;
    881 
    882   -enable-* | --enable-*)
    883     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    884     # Reject names that are not valid shell variable names.
    885     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    886       as_fn_error $? "invalid feature name: $ac_useropt"
    887     ac_useropt_orig=$ac_useropt
    888     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    889     case $ac_user_opts in
    890       *"
    891 "enable_$ac_useropt"
    892 "*) ;;
    893       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    894 	 ac_unrecognized_sep=', ';;
    895     esac
    896     eval enable_$ac_useropt=\$ac_optarg ;;
    897 
    898   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    899   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    900   | --exec | --exe | --ex)
    901     ac_prev=exec_prefix ;;
    902   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    903   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    904   | --exec=* | --exe=* | --ex=*)
    905     exec_prefix=$ac_optarg ;;
    906 
    907   -gas | --gas | --ga | --g)
    908     # Obsolete; use --with-gas.
    909     with_gas=yes ;;
    910 
    911   -help | --help | --hel | --he | -h)
    912     ac_init_help=long ;;
    913   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    914     ac_init_help=recursive ;;
    915   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    916     ac_init_help=short ;;
    917 
    918   -host | --host | --hos | --ho)
    919     ac_prev=host_alias ;;
    920   -host=* | --host=* | --hos=* | --ho=*)
    921     host_alias=$ac_optarg ;;
    922 
    923   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    924     ac_prev=htmldir ;;
    925   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    926   | --ht=*)
    927     htmldir=$ac_optarg ;;
    928 
    929   -includedir | --includedir | --includedi | --included | --include \
    930   | --includ | --inclu | --incl | --inc)
    931     ac_prev=includedir ;;
    932   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    933   | --includ=* | --inclu=* | --incl=* | --inc=*)
    934     includedir=$ac_optarg ;;
    935 
    936   -infodir | --infodir | --infodi | --infod | --info | --inf)
    937     ac_prev=infodir ;;
    938   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    939     infodir=$ac_optarg ;;
    940 
    941   -libdir | --libdir | --libdi | --libd)
    942     ac_prev=libdir ;;
    943   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    944     libdir=$ac_optarg ;;
    945 
    946   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    947   | --libexe | --libex | --libe)
    948     ac_prev=libexecdir ;;
    949   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    950   | --libexe=* | --libex=* | --libe=*)
    951     libexecdir=$ac_optarg ;;
    952 
    953   -localedir | --localedir | --localedi | --localed | --locale)
    954     ac_prev=localedir ;;
    955   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    956     localedir=$ac_optarg ;;
    957 
    958   -localstatedir | --localstatedir | --localstatedi | --localstated \
    959   | --localstate | --localstat | --localsta | --localst | --locals)
    960     ac_prev=localstatedir ;;
    961   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    962   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    963     localstatedir=$ac_optarg ;;
    964 
    965   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    966     ac_prev=mandir ;;
    967   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    968     mandir=$ac_optarg ;;
    969 
    970   -nfp | --nfp | --nf)
    971     # Obsolete; use --without-fp.
    972     with_fp=no ;;
    973 
    974   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    975   | --no-cr | --no-c | -n)
    976     no_create=yes ;;
    977 
    978   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    979   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    980     no_recursion=yes ;;
    981 
    982   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    983   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    984   | --oldin | --oldi | --old | --ol | --o)
    985     ac_prev=oldincludedir ;;
    986   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    987   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    988   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    989     oldincludedir=$ac_optarg ;;
    990 
    991   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    992     ac_prev=prefix ;;
    993   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    994     prefix=$ac_optarg ;;
    995 
    996   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    997   | --program-pre | --program-pr | --program-p)
    998     ac_prev=program_prefix ;;
    999   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1000   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1001     program_prefix=$ac_optarg ;;
   1002 
   1003   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1004   | --program-suf | --program-su | --program-s)
   1005     ac_prev=program_suffix ;;
   1006   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1007   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1008     program_suffix=$ac_optarg ;;
   1009 
   1010   -program-transform-name | --program-transform-name \
   1011   | --program-transform-nam | --program-transform-na \
   1012   | --program-transform-n | --program-transform- \
   1013   | --program-transform | --program-transfor \
   1014   | --program-transfo | --program-transf \
   1015   | --program-trans | --program-tran \
   1016   | --progr-tra | --program-tr | --program-t)
   1017     ac_prev=program_transform_name ;;
   1018   -program-transform-name=* | --program-transform-name=* \
   1019   | --program-transform-nam=* | --program-transform-na=* \
   1020   | --program-transform-n=* | --program-transform-=* \
   1021   | --program-transform=* | --program-transfor=* \
   1022   | --program-transfo=* | --program-transf=* \
   1023   | --program-trans=* | --program-tran=* \
   1024   | --progr-tra=* | --program-tr=* | --program-t=*)
   1025     program_transform_name=$ac_optarg ;;
   1026 
   1027   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1028     ac_prev=pdfdir ;;
   1029   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1030     pdfdir=$ac_optarg ;;
   1031 
   1032   -psdir | --psdir | --psdi | --psd | --ps)
   1033     ac_prev=psdir ;;
   1034   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1035     psdir=$ac_optarg ;;
   1036 
   1037   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1038   | -silent | --silent | --silen | --sile | --sil)
   1039     silent=yes ;;
   1040 
   1041   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1042     ac_prev=sbindir ;;
   1043   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1044   | --sbi=* | --sb=*)
   1045     sbindir=$ac_optarg ;;
   1046 
   1047   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1048   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1049   | --sharedst | --shareds | --shared | --share | --shar \
   1050   | --sha | --sh)
   1051     ac_prev=sharedstatedir ;;
   1052   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1053   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1054   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1055   | --sha=* | --sh=*)
   1056     sharedstatedir=$ac_optarg ;;
   1057 
   1058   -site | --site | --sit)
   1059     ac_prev=site ;;
   1060   -site=* | --site=* | --sit=*)
   1061     site=$ac_optarg ;;
   1062 
   1063   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1064     ac_prev=srcdir ;;
   1065   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1066     srcdir=$ac_optarg ;;
   1067 
   1068   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1069   | --syscon | --sysco | --sysc | --sys | --sy)
   1070     ac_prev=sysconfdir ;;
   1071   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1072   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1073     sysconfdir=$ac_optarg ;;
   1074 
   1075   -target | --target | --targe | --targ | --tar | --ta | --t)
   1076     ac_prev=target_alias ;;
   1077   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1078     target_alias=$ac_optarg ;;
   1079 
   1080   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1081     verbose=yes ;;
   1082 
   1083   -version | --version | --versio | --versi | --vers | -V)
   1084     ac_init_version=: ;;
   1085 
   1086   -with-* | --with-*)
   1087     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1088     # Reject names that are not valid shell variable names.
   1089     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1090       as_fn_error $? "invalid package name: $ac_useropt"
   1091     ac_useropt_orig=$ac_useropt
   1092     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1093     case $ac_user_opts in
   1094       *"
   1095 "with_$ac_useropt"
   1096 "*) ;;
   1097       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1098 	 ac_unrecognized_sep=', ';;
   1099     esac
   1100     eval with_$ac_useropt=\$ac_optarg ;;
   1101 
   1102   -without-* | --without-*)
   1103     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1104     # Reject names that are not valid shell variable names.
   1105     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1106       as_fn_error $? "invalid package name: $ac_useropt"
   1107     ac_useropt_orig=$ac_useropt
   1108     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1109     case $ac_user_opts in
   1110       *"
   1111 "with_$ac_useropt"
   1112 "*) ;;
   1113       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1114 	 ac_unrecognized_sep=', ';;
   1115     esac
   1116     eval with_$ac_useropt=no ;;
   1117 
   1118   --x)
   1119     # Obsolete; use --with-x.
   1120     with_x=yes ;;
   1121 
   1122   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1123   | --x-incl | --x-inc | --x-in | --x-i)
   1124     ac_prev=x_includes ;;
   1125   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1126   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1127     x_includes=$ac_optarg ;;
   1128 
   1129   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1130   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1131     ac_prev=x_libraries ;;
   1132   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1133   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1134     x_libraries=$ac_optarg ;;
   1135 
   1136   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1137 Try \`$0 --help' for more information"
   1138     ;;
   1139 
   1140   *=*)
   1141     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1142     # Reject names that are not valid shell variable names.
   1143     case $ac_envvar in #(
   1144       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1145       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1146     esac
   1147     eval $ac_envvar=\$ac_optarg
   1148     export $ac_envvar ;;
   1149 
   1150   *)
   1151     # FIXME: should be removed in autoconf 3.0.
   1152     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1153     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1154       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1155     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1156     ;;
   1157 
   1158   esac
   1159 done
   1160 
   1161 if test -n "$ac_prev"; then
   1162   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1163   as_fn_error $? "missing argument to $ac_option"
   1164 fi
   1165 
   1166 if test -n "$ac_unrecognized_opts"; then
   1167   case $enable_option_checking in
   1168     no) ;;
   1169     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1170     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1171   esac
   1172 fi
   1173 
   1174 # Check all directory arguments for consistency.
   1175 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1176 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1177 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1178 		libdir localedir mandir
   1179 do
   1180   eval ac_val=\$$ac_var
   1181   # Remove trailing slashes.
   1182   case $ac_val in
   1183     */ )
   1184       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1185       eval $ac_var=\$ac_val;;
   1186   esac
   1187   # Be sure to have absolute directory names.
   1188   case $ac_val in
   1189     [\\/$]* | ?:[\\/]* )  continue;;
   1190     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1191   esac
   1192   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1193 done
   1194 
   1195 # There might be people who depend on the old broken behavior: `$host'
   1196 # used to hold the argument of --host etc.
   1197 # FIXME: To remove some day.
   1198 build=$build_alias
   1199 host=$host_alias
   1200 target=$target_alias
   1201 
   1202 # FIXME: To remove some day.
   1203 if test "x$host_alias" != x; then
   1204   if test "x$build_alias" = x; then
   1205     cross_compiling=maybe
   1206   elif test "x$build_alias" != "x$host_alias"; then
   1207     cross_compiling=yes
   1208   fi
   1209 fi
   1210 
   1211 ac_tool_prefix=
   1212 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1213 
   1214 test "$silent" = yes && exec 6>/dev/null
   1215 
   1216 
   1217 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1218 ac_ls_di=`ls -di .` &&
   1219 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1220   as_fn_error $? "working directory cannot be determined"
   1221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1222   as_fn_error $? "pwd does not report name of working directory"
   1223 
   1224 
   1225 # Find the source files, if location was not specified.
   1226 if test -z "$srcdir"; then
   1227   ac_srcdir_defaulted=yes
   1228   # Try the directory containing this script, then the parent directory.
   1229   ac_confdir=`$as_dirname -- "$as_myself" ||
   1230 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1231 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1232 	 X"$as_myself" : 'X\(//\)$' \| \
   1233 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1234 $as_echo X"$as_myself" |
   1235     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1236 	    s//\1/
   1237 	    q
   1238 	  }
   1239 	  /^X\(\/\/\)[^/].*/{
   1240 	    s//\1/
   1241 	    q
   1242 	  }
   1243 	  /^X\(\/\/\)$/{
   1244 	    s//\1/
   1245 	    q
   1246 	  }
   1247 	  /^X\(\/\).*/{
   1248 	    s//\1/
   1249 	    q
   1250 	  }
   1251 	  s/.*/./; q'`
   1252   srcdir=$ac_confdir
   1253   if test ! -r "$srcdir/$ac_unique_file"; then
   1254     srcdir=..
   1255   fi
   1256 else
   1257   ac_srcdir_defaulted=no
   1258 fi
   1259 if test ! -r "$srcdir/$ac_unique_file"; then
   1260   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1261   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1262 fi
   1263 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1264 ac_abs_confdir=`(
   1265 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1266 	pwd)`
   1267 # When building in place, set srcdir=.
   1268 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1269   srcdir=.
   1270 fi
   1271 # Remove unnecessary trailing slashes from srcdir.
   1272 # Double slashes in file names in object file debugging info
   1273 # mess up M-x gdb in Emacs.
   1274 case $srcdir in
   1275 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1276 esac
   1277 for ac_var in $ac_precious_vars; do
   1278   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1279   eval ac_env_${ac_var}_value=\$${ac_var}
   1280   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1281   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1282 done
   1283 
   1284 #
   1285 # Report the --help message.
   1286 #
   1287 if test "$ac_init_help" = "long"; then
   1288   # Omit some internal or obsolete options to make the list less imposing.
   1289   # This message is too long to be a string in the A/UX 3.1 sh.
   1290   cat <<_ACEOF
   1291 \`configure' configures cpplib   to adapt to many kinds of systems.
   1292 
   1293 Usage: $0 [OPTION]... [VAR=VALUE]...
   1294 
   1295 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1296 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1297 
   1298 Defaults for the options are specified in brackets.
   1299 
   1300 Configuration:
   1301   -h, --help              display this help and exit
   1302       --help=short        display options specific to this package
   1303       --help=recursive    display the short help of all the included packages
   1304   -V, --version           display version information and exit
   1305   -q, --quiet, --silent   do not print \`checking ...' messages
   1306       --cache-file=FILE   cache test results in FILE [disabled]
   1307   -C, --config-cache      alias for \`--cache-file=config.cache'
   1308   -n, --no-create         do not create output files
   1309       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1310 
   1311 Installation directories:
   1312   --prefix=PREFIX         install architecture-independent files in PREFIX
   1313                           [$ac_default_prefix]
   1314   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1315                           [PREFIX]
   1316 
   1317 By default, \`make install' will install all the files in
   1318 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1319 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1320 for instance \`--prefix=\$HOME'.
   1321 
   1322 For better control, use the options below.
   1323 
   1324 Fine tuning of the installation directories:
   1325   --bindir=DIR            user executables [EPREFIX/bin]
   1326   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1327   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1328   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1329   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1330   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1331   --libdir=DIR            object code libraries [EPREFIX/lib]
   1332   --includedir=DIR        C header files [PREFIX/include]
   1333   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1334   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1335   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1336   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1337   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1338   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1339   --docdir=DIR            documentation root [DATAROOTDIR/doc/cpplib]
   1340   --htmldir=DIR           html documentation [DOCDIR]
   1341   --dvidir=DIR            dvi documentation [DOCDIR]
   1342   --pdfdir=DIR            pdf documentation [DOCDIR]
   1343   --psdir=DIR             ps documentation [DOCDIR]
   1344 _ACEOF
   1345 
   1346   cat <<\_ACEOF
   1347 
   1348 System types:
   1349   --build=BUILD     configure for building on BUILD [guessed]
   1350   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1351   --target=TARGET   configure for building compilers for TARGET [HOST]
   1352 _ACEOF
   1353 fi
   1354 
   1355 if test -n "$ac_init_help"; then
   1356   case $ac_init_help in
   1357      short | recursive ) echo "Configuration of cpplib  :";;
   1358    esac
   1359   cat <<\_ACEOF
   1360 
   1361 Optional Features:
   1362   --disable-option-checking  ignore unrecognized --enable/--with options
   1363   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1364   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1365   --disable-largefile     omit support for large files
   1366   --enable-werror-always  enable -Werror despite compiler version
   1367   --disable-rpath         do not hardcode runtime library paths
   1368   --enable-maintainer-mode enable rules only needed by maintainers
   1369   --enable-checking[=LIST]
   1370                           enable expensive run-time checks. With LIST, enable
   1371                           only specific categories of checks. Categories are:
   1372                           yes,no,all,none,release. Flags are: misc,valgrind or
   1373                           other strings
   1374   --enable-canonical-system-headers
   1375                           enable or disable system headers canonicalization
   1376   --enable-host-shared    build host code as shared libraries
   1377   --enable-valgrind-annotations
   1378                           enable valgrind runtime interaction
   1379 
   1380 Optional Packages:
   1381   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1382   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1383   --with-gnu-ld           assume the C compiler uses GNU ld default=no
   1384   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1385   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1386 
   1387 Some influential environment variables:
   1388   CC          C compiler command
   1389   CFLAGS      C compiler flags
   1390   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1391               nonstandard directory <lib dir>
   1392   LIBS        libraries to pass to the linker, e.g. -l<library>
   1393   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1394               you have headers in a nonstandard directory <include dir>
   1395   CXX         C++ compiler command
   1396   CXXFLAGS    C++ compiler flags
   1397   CPP         C preprocessor
   1398 
   1399 Use these variables to override the choices made by `configure' or to help
   1400 it to find libraries and programs with nonstandard names/locations.
   1401 
   1402 Report bugs to <gcc-bugs (at] gcc.gnu.org>.
   1403 _ACEOF
   1404 ac_status=$?
   1405 fi
   1406 
   1407 if test "$ac_init_help" = "recursive"; then
   1408   # If there are subdirs, report their specific --help.
   1409   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1410     test -d "$ac_dir" ||
   1411       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1412       continue
   1413     ac_builddir=.
   1414 
   1415 case "$ac_dir" in
   1416 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1417 *)
   1418   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1419   # A ".." for each directory in $ac_dir_suffix.
   1420   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1421   case $ac_top_builddir_sub in
   1422   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1423   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1424   esac ;;
   1425 esac
   1426 ac_abs_top_builddir=$ac_pwd
   1427 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1428 # for backward compatibility:
   1429 ac_top_builddir=$ac_top_build_prefix
   1430 
   1431 case $srcdir in
   1432   .)  # We are building in place.
   1433     ac_srcdir=.
   1434     ac_top_srcdir=$ac_top_builddir_sub
   1435     ac_abs_top_srcdir=$ac_pwd ;;
   1436   [\\/]* | ?:[\\/]* )  # Absolute name.
   1437     ac_srcdir=$srcdir$ac_dir_suffix;
   1438     ac_top_srcdir=$srcdir
   1439     ac_abs_top_srcdir=$srcdir ;;
   1440   *) # Relative name.
   1441     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1442     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1443     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1444 esac
   1445 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1446 
   1447     cd "$ac_dir" || { ac_status=$?; continue; }
   1448     # Check for guested configure.
   1449     if test -f "$ac_srcdir/configure.gnu"; then
   1450       echo &&
   1451       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1452     elif test -f "$ac_srcdir/configure"; then
   1453       echo &&
   1454       $SHELL "$ac_srcdir/configure" --help=recursive
   1455     else
   1456       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1457     fi || ac_status=$?
   1458     cd "$ac_pwd" || { ac_status=$?; break; }
   1459   done
   1460 fi
   1461 
   1462 test -n "$ac_init_help" && exit $ac_status
   1463 if $ac_init_version; then
   1464   cat <<\_ACEOF
   1465 cpplib configure
   1466 generated by GNU Autoconf 2.69
   1467 
   1468 Copyright (C) 2012 Free Software Foundation, Inc.
   1469 This configure script is free software; the Free Software Foundation
   1470 gives unlimited permission to copy, distribute and modify it.
   1471 _ACEOF
   1472   exit
   1473 fi
   1474 
   1475 ## ------------------------ ##
   1476 ## Autoconf initialization. ##
   1477 ## ------------------------ ##
   1478 
   1479 # ac_fn_c_try_compile LINENO
   1480 # --------------------------
   1481 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1482 ac_fn_c_try_compile ()
   1483 {
   1484   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1485   rm -f conftest.$ac_objext
   1486   if { { ac_try="$ac_compile"
   1487 case "(($ac_try" in
   1488   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1489   *) ac_try_echo=$ac_try;;
   1490 esac
   1491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1492 $as_echo "$ac_try_echo"; } >&5
   1493   (eval "$ac_compile") 2>conftest.err
   1494   ac_status=$?
   1495   if test -s conftest.err; then
   1496     grep -v '^ *+' conftest.err >conftest.er1
   1497     cat conftest.er1 >&5
   1498     mv -f conftest.er1 conftest.err
   1499   fi
   1500   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1501   test $ac_status = 0; } && {
   1502 	 test -z "$ac_c_werror_flag" ||
   1503 	 test ! -s conftest.err
   1504        } && test -s conftest.$ac_objext; then :
   1505   ac_retval=0
   1506 else
   1507   $as_echo "$as_me: failed program was:" >&5
   1508 sed 's/^/| /' conftest.$ac_ext >&5
   1509 
   1510 	ac_retval=1
   1511 fi
   1512   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1513   as_fn_set_status $ac_retval
   1514 
   1515 } # ac_fn_c_try_compile
   1516 
   1517 # ac_fn_cxx_try_compile LINENO
   1518 # ----------------------------
   1519 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1520 ac_fn_cxx_try_compile ()
   1521 {
   1522   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1523   rm -f conftest.$ac_objext
   1524   if { { ac_try="$ac_compile"
   1525 case "(($ac_try" in
   1526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1527   *) ac_try_echo=$ac_try;;
   1528 esac
   1529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1530 $as_echo "$ac_try_echo"; } >&5
   1531   (eval "$ac_compile") 2>conftest.err
   1532   ac_status=$?
   1533   if test -s conftest.err; then
   1534     grep -v '^ *+' conftest.err >conftest.er1
   1535     cat conftest.er1 >&5
   1536     mv -f conftest.er1 conftest.err
   1537   fi
   1538   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1539   test $ac_status = 0; } && {
   1540 	 test -z "$ac_cxx_werror_flag" ||
   1541 	 test ! -s conftest.err
   1542        } && test -s conftest.$ac_objext; then :
   1543   ac_retval=0
   1544 else
   1545   $as_echo "$as_me: failed program was:" >&5
   1546 sed 's/^/| /' conftest.$ac_ext >&5
   1547 
   1548 	ac_retval=1
   1549 fi
   1550   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1551   as_fn_set_status $ac_retval
   1552 
   1553 } # ac_fn_cxx_try_compile
   1554 
   1555 # ac_fn_c_try_cpp LINENO
   1556 # ----------------------
   1557 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1558 ac_fn_c_try_cpp ()
   1559 {
   1560   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1561   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1562 case "(($ac_try" in
   1563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1564   *) ac_try_echo=$ac_try;;
   1565 esac
   1566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1567 $as_echo "$ac_try_echo"; } >&5
   1568   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1569   ac_status=$?
   1570   if test -s conftest.err; then
   1571     grep -v '^ *+' conftest.err >conftest.er1
   1572     cat conftest.er1 >&5
   1573     mv -f conftest.er1 conftest.err
   1574   fi
   1575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1576   test $ac_status = 0; } > conftest.i && {
   1577 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1578 	 test ! -s conftest.err
   1579        }; then :
   1580   ac_retval=0
   1581 else
   1582   $as_echo "$as_me: failed program was:" >&5
   1583 sed 's/^/| /' conftest.$ac_ext >&5
   1584 
   1585     ac_retval=1
   1586 fi
   1587   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1588   as_fn_set_status $ac_retval
   1589 
   1590 } # ac_fn_c_try_cpp
   1591 
   1592 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1593 # -------------------------------------------------------
   1594 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1595 # the include files in INCLUDES and setting the cache variable VAR
   1596 # accordingly.
   1597 ac_fn_c_check_header_mongrel ()
   1598 {
   1599   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1600   if eval \${$3+:} false; then :
   1601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1602 $as_echo_n "checking for $2... " >&6; }
   1603 if eval \${$3+:} false; then :
   1604   $as_echo_n "(cached) " >&6
   1605 fi
   1606 eval ac_res=\$$3
   1607 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1608 $as_echo "$ac_res" >&6; }
   1609 else
   1610   # Is the header compilable?
   1611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1612 $as_echo_n "checking $2 usability... " >&6; }
   1613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1614 /* end confdefs.h.  */
   1615 $4
   1616 #include <$2>
   1617 _ACEOF
   1618 if ac_fn_c_try_compile "$LINENO"; then :
   1619   ac_header_compiler=yes
   1620 else
   1621   ac_header_compiler=no
   1622 fi
   1623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1625 $as_echo "$ac_header_compiler" >&6; }
   1626 
   1627 # Is the header present?
   1628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1629 $as_echo_n "checking $2 presence... " >&6; }
   1630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1631 /* end confdefs.h.  */
   1632 #include <$2>
   1633 _ACEOF
   1634 if ac_fn_c_try_cpp "$LINENO"; then :
   1635   ac_header_preproc=yes
   1636 else
   1637   ac_header_preproc=no
   1638 fi
   1639 rm -f conftest.err conftest.i conftest.$ac_ext
   1640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1641 $as_echo "$ac_header_preproc" >&6; }
   1642 
   1643 # So?  What about this header?
   1644 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1645   yes:no: )
   1646     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1647 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1648     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1649 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1650     ;;
   1651   no:yes:* )
   1652     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1653 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1654     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1655 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1656     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1657 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1658     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1659 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1660     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1661 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1662 ( $as_echo "## ----------------------------------- ##
   1663 ## Report this to gcc-bugs (at] gcc.gnu.org ##
   1664 ## ----------------------------------- ##"
   1665      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1666     ;;
   1667 esac
   1668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1669 $as_echo_n "checking for $2... " >&6; }
   1670 if eval \${$3+:} false; then :
   1671   $as_echo_n "(cached) " >&6
   1672 else
   1673   eval "$3=\$ac_header_compiler"
   1674 fi
   1675 eval ac_res=\$$3
   1676 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1677 $as_echo "$ac_res" >&6; }
   1678 fi
   1679   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1680 
   1681 } # ac_fn_c_check_header_mongrel
   1682 
   1683 # ac_fn_c_try_run LINENO
   1684 # ----------------------
   1685 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1686 # that executables *can* be run.
   1687 ac_fn_c_try_run ()
   1688 {
   1689   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1690   if { { ac_try="$ac_link"
   1691 case "(($ac_try" in
   1692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1693   *) ac_try_echo=$ac_try;;
   1694 esac
   1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1696 $as_echo "$ac_try_echo"; } >&5
   1697   (eval "$ac_link") 2>&5
   1698   ac_status=$?
   1699   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1700   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1701   { { case "(($ac_try" in
   1702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1703   *) ac_try_echo=$ac_try;;
   1704 esac
   1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1706 $as_echo "$ac_try_echo"; } >&5
   1707   (eval "$ac_try") 2>&5
   1708   ac_status=$?
   1709   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1710   test $ac_status = 0; }; }; then :
   1711   ac_retval=0
   1712 else
   1713   $as_echo "$as_me: program exited with status $ac_status" >&5
   1714        $as_echo "$as_me: failed program was:" >&5
   1715 sed 's/^/| /' conftest.$ac_ext >&5
   1716 
   1717        ac_retval=$ac_status
   1718 fi
   1719   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1720   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1721   as_fn_set_status $ac_retval
   1722 
   1723 } # ac_fn_c_try_run
   1724 
   1725 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1726 # -------------------------------------------------------
   1727 # Tests whether HEADER exists and can be compiled using the include files in
   1728 # INCLUDES, setting the cache variable VAR accordingly.
   1729 ac_fn_c_check_header_compile ()
   1730 {
   1731   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1733 $as_echo_n "checking for $2... " >&6; }
   1734 if eval \${$3+:} false; then :
   1735   $as_echo_n "(cached) " >&6
   1736 else
   1737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1738 /* end confdefs.h.  */
   1739 $4
   1740 #include <$2>
   1741 _ACEOF
   1742 if ac_fn_c_try_compile "$LINENO"; then :
   1743   eval "$3=yes"
   1744 else
   1745   eval "$3=no"
   1746 fi
   1747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1748 fi
   1749 eval ac_res=\$$3
   1750 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1751 $as_echo "$ac_res" >&6; }
   1752   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1753 
   1754 } # ac_fn_c_check_header_compile
   1755 
   1756 # ac_fn_c_try_link LINENO
   1757 # -----------------------
   1758 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1759 ac_fn_c_try_link ()
   1760 {
   1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1762   rm -f conftest.$ac_objext conftest$ac_exeext
   1763   if { { ac_try="$ac_link"
   1764 case "(($ac_try" in
   1765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1766   *) ac_try_echo=$ac_try;;
   1767 esac
   1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1769 $as_echo "$ac_try_echo"; } >&5
   1770   (eval "$ac_link") 2>conftest.err
   1771   ac_status=$?
   1772   if test -s conftest.err; then
   1773     grep -v '^ *+' conftest.err >conftest.er1
   1774     cat conftest.er1 >&5
   1775     mv -f conftest.er1 conftest.err
   1776   fi
   1777   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1778   test $ac_status = 0; } && {
   1779 	 test -z "$ac_c_werror_flag" ||
   1780 	 test ! -s conftest.err
   1781        } && test -s conftest$ac_exeext && {
   1782 	 test "$cross_compiling" = yes ||
   1783 	 test -x conftest$ac_exeext
   1784        }; then :
   1785   ac_retval=0
   1786 else
   1787   $as_echo "$as_me: failed program was:" >&5
   1788 sed 's/^/| /' conftest.$ac_ext >&5
   1789 
   1790 	ac_retval=1
   1791 fi
   1792   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1793   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1794   # interfere with the next link command; also delete a directory that is
   1795   # left behind by Apple's compiler.  We do this before executing the actions.
   1796   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1797   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1798   as_fn_set_status $ac_retval
   1799 
   1800 } # ac_fn_c_try_link
   1801 
   1802 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1803 # -------------------------------------------
   1804 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1805 # variable VAR accordingly.
   1806 ac_fn_c_check_type ()
   1807 {
   1808   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1810 $as_echo_n "checking for $2... " >&6; }
   1811 if eval \${$3+:} false; then :
   1812   $as_echo_n "(cached) " >&6
   1813 else
   1814   eval "$3=no"
   1815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1816 /* end confdefs.h.  */
   1817 $4
   1818 int
   1819 main ()
   1820 {
   1821 if (sizeof ($2))
   1822 	 return 0;
   1823   ;
   1824   return 0;
   1825 }
   1826 _ACEOF
   1827 if ac_fn_c_try_compile "$LINENO"; then :
   1828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1829 /* end confdefs.h.  */
   1830 $4
   1831 int
   1832 main ()
   1833 {
   1834 if (sizeof (($2)))
   1835 	    return 0;
   1836   ;
   1837   return 0;
   1838 }
   1839 _ACEOF
   1840 if ac_fn_c_try_compile "$LINENO"; then :
   1841 
   1842 else
   1843   eval "$3=yes"
   1844 fi
   1845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1846 fi
   1847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1848 fi
   1849 eval ac_res=\$$3
   1850 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1851 $as_echo "$ac_res" >&6; }
   1852   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1853 
   1854 } # ac_fn_c_check_type
   1855 
   1856 # ac_fn_c_find_uintX_t LINENO BITS VAR
   1857 # ------------------------------------
   1858 # Finds an unsigned integer type with width BITS, setting cache variable VAR
   1859 # accordingly.
   1860 ac_fn_c_find_uintX_t ()
   1861 {
   1862   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
   1864 $as_echo_n "checking for uint$2_t... " >&6; }
   1865 if eval \${$3+:} false; then :
   1866   $as_echo_n "(cached) " >&6
   1867 else
   1868   eval "$3=no"
   1869      # Order is important - never check a type that is potentially smaller
   1870      # than half of the expected target width.
   1871      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
   1872 	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
   1873        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1874 /* end confdefs.h.  */
   1875 $ac_includes_default
   1876 int
   1877 main ()
   1878 {
   1879 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
   1880 test_array [0] = 0;
   1881 return test_array [0];
   1882 
   1883   ;
   1884   return 0;
   1885 }
   1886 _ACEOF
   1887 if ac_fn_c_try_compile "$LINENO"; then :
   1888   case $ac_type in #(
   1889   uint$2_t) :
   1890     eval "$3=yes" ;; #(
   1891   *) :
   1892     eval "$3=\$ac_type" ;;
   1893 esac
   1894 fi
   1895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1896        if eval test \"x\$"$3"\" = x"no"; then :
   1897 
   1898 else
   1899   break
   1900 fi
   1901      done
   1902 fi
   1903 eval ac_res=\$$3
   1904 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1905 $as_echo "$ac_res" >&6; }
   1906   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1907 
   1908 } # ac_fn_c_find_uintX_t
   1909 
   1910 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   1911 # --------------------------------------------
   1912 # Tries to find the compile-time value of EXPR in a program that includes
   1913 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   1914 # computed
   1915 ac_fn_c_compute_int ()
   1916 {
   1917   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1918   if test "$cross_compiling" = yes; then
   1919     # Depending upon the size, compute the lo and hi bounds.
   1920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1921 /* end confdefs.h.  */
   1922 $4
   1923 int
   1924 main ()
   1925 {
   1926 static int test_array [1 - 2 * !(($2) >= 0)];
   1927 test_array [0] = 0;
   1928 return test_array [0];
   1929 
   1930   ;
   1931   return 0;
   1932 }
   1933 _ACEOF
   1934 if ac_fn_c_try_compile "$LINENO"; then :
   1935   ac_lo=0 ac_mid=0
   1936   while :; do
   1937     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1938 /* end confdefs.h.  */
   1939 $4
   1940 int
   1941 main ()
   1942 {
   1943 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   1944 test_array [0] = 0;
   1945 return test_array [0];
   1946 
   1947   ;
   1948   return 0;
   1949 }
   1950 _ACEOF
   1951 if ac_fn_c_try_compile "$LINENO"; then :
   1952   ac_hi=$ac_mid; break
   1953 else
   1954   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   1955 			if test $ac_lo -le $ac_mid; then
   1956 			  ac_lo= ac_hi=
   1957 			  break
   1958 			fi
   1959 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   1960 fi
   1961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1962   done
   1963 else
   1964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1965 /* end confdefs.h.  */
   1966 $4
   1967 int
   1968 main ()
   1969 {
   1970 static int test_array [1 - 2 * !(($2) < 0)];
   1971 test_array [0] = 0;
   1972 return test_array [0];
   1973 
   1974   ;
   1975   return 0;
   1976 }
   1977 _ACEOF
   1978 if ac_fn_c_try_compile "$LINENO"; then :
   1979   ac_hi=-1 ac_mid=-1
   1980   while :; do
   1981     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1982 /* end confdefs.h.  */
   1983 $4
   1984 int
   1985 main ()
   1986 {
   1987 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   1988 test_array [0] = 0;
   1989 return test_array [0];
   1990 
   1991   ;
   1992   return 0;
   1993 }
   1994 _ACEOF
   1995 if ac_fn_c_try_compile "$LINENO"; then :
   1996   ac_lo=$ac_mid; break
   1997 else
   1998   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   1999 			if test $ac_mid -le $ac_hi; then
   2000 			  ac_lo= ac_hi=
   2001 			  break
   2002 			fi
   2003 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2004 fi
   2005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2006   done
   2007 else
   2008   ac_lo= ac_hi=
   2009 fi
   2010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2011 fi
   2012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2013 # Binary search between lo and hi bounds.
   2014 while test "x$ac_lo" != "x$ac_hi"; do
   2015   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2017 /* end confdefs.h.  */
   2018 $4
   2019 int
   2020 main ()
   2021 {
   2022 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2023 test_array [0] = 0;
   2024 return test_array [0];
   2025 
   2026   ;
   2027   return 0;
   2028 }
   2029 _ACEOF
   2030 if ac_fn_c_try_compile "$LINENO"; then :
   2031   ac_hi=$ac_mid
   2032 else
   2033   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2034 fi
   2035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2036 done
   2037 case $ac_lo in #((
   2038 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2039 '') ac_retval=1 ;;
   2040 esac
   2041   else
   2042     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2043 /* end confdefs.h.  */
   2044 $4
   2045 static long int longval () { return $2; }
   2046 static unsigned long int ulongval () { return $2; }
   2047 #include <stdio.h>
   2048 #include <stdlib.h>
   2049 int
   2050 main ()
   2051 {
   2052 
   2053   FILE *f = fopen ("conftest.val", "w");
   2054   if (! f)
   2055     return 1;
   2056   if (($2) < 0)
   2057     {
   2058       long int i = longval ();
   2059       if (i != ($2))
   2060 	return 1;
   2061       fprintf (f, "%ld", i);
   2062     }
   2063   else
   2064     {
   2065       unsigned long int i = ulongval ();
   2066       if (i != ($2))
   2067 	return 1;
   2068       fprintf (f, "%lu", i);
   2069     }
   2070   /* Do not output a trailing newline, as this causes \r\n confusion
   2071      on some platforms.  */
   2072   return ferror (f) || fclose (f) != 0;
   2073 
   2074   ;
   2075   return 0;
   2076 }
   2077 _ACEOF
   2078 if ac_fn_c_try_run "$LINENO"; then :
   2079   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2080 else
   2081   ac_retval=1
   2082 fi
   2083 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2084   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2085 rm -f conftest.val
   2086 
   2087   fi
   2088   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2089   as_fn_set_status $ac_retval
   2090 
   2091 } # ac_fn_c_compute_int
   2092 
   2093 # ac_fn_c_check_func LINENO FUNC VAR
   2094 # ----------------------------------
   2095 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   2096 ac_fn_c_check_func ()
   2097 {
   2098   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2100 $as_echo_n "checking for $2... " >&6; }
   2101 if eval \${$3+:} false; then :
   2102   $as_echo_n "(cached) " >&6
   2103 else
   2104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2105 /* end confdefs.h.  */
   2106 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   2107    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   2108 #define $2 innocuous_$2
   2109 
   2110 /* System header to define __stub macros and hopefully few prototypes,
   2111     which can conflict with char $2 (); below.
   2112     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2113     <limits.h> exists even on freestanding compilers.  */
   2114 
   2115 #ifdef __STDC__
   2116 # include <limits.h>
   2117 #else
   2118 # include <assert.h>
   2119 #endif
   2120 
   2121 #undef $2
   2122 
   2123 /* Override any GCC internal prototype to avoid an error.
   2124    Use char because int might match the return type of a GCC
   2125    builtin and then its argument prototype would still apply.  */
   2126 #ifdef __cplusplus
   2127 extern "C"
   2128 #endif
   2129 char $2 ();
   2130 /* The GNU C library defines this for functions which it implements
   2131     to always fail with ENOSYS.  Some functions are actually named
   2132     something starting with __ and the normal name is an alias.  */
   2133 #if defined __stub_$2 || defined __stub___$2
   2134 choke me
   2135 #endif
   2136 
   2137 int
   2138 main ()
   2139 {
   2140 return $2 ();
   2141   ;
   2142   return 0;
   2143 }
   2144 _ACEOF
   2145 if ac_fn_c_try_link "$LINENO"; then :
   2146   eval "$3=yes"
   2147 else
   2148   eval "$3=no"
   2149 fi
   2150 rm -f core conftest.err conftest.$ac_objext \
   2151     conftest$ac_exeext conftest.$ac_ext
   2152 fi
   2153 eval ac_res=\$$3
   2154 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2155 $as_echo "$ac_res" >&6; }
   2156   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2157 
   2158 } # ac_fn_c_check_func
   2159 
   2160 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2161 # ---------------------------------------------
   2162 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2163 # accordingly.
   2164 ac_fn_c_check_decl ()
   2165 {
   2166   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2167   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2168   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2170 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2171 if eval \${$3+:} false; then :
   2172   $as_echo_n "(cached) " >&6
   2173 else
   2174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2175 /* end confdefs.h.  */
   2176 $4
   2177 int
   2178 main ()
   2179 {
   2180 #ifndef $as_decl_name
   2181 #ifdef __cplusplus
   2182   (void) $as_decl_use;
   2183 #else
   2184   (void) $as_decl_name;
   2185 #endif
   2186 #endif
   2187 
   2188   ;
   2189   return 0;
   2190 }
   2191 _ACEOF
   2192 if ac_fn_c_try_compile "$LINENO"; then :
   2193   eval "$3=yes"
   2194 else
   2195   eval "$3=no"
   2196 fi
   2197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2198 fi
   2199 eval ac_res=\$$3
   2200 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2201 $as_echo "$ac_res" >&6; }
   2202   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2203 
   2204 } # ac_fn_c_check_decl
   2205 
   2206 # ac_fn_cxx_try_link LINENO
   2207 # -------------------------
   2208 # Try to link conftest.$ac_ext, and return whether this succeeded.
   2209 ac_fn_cxx_try_link ()
   2210 {
   2211   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2212   rm -f conftest.$ac_objext conftest$ac_exeext
   2213   if { { ac_try="$ac_link"
   2214 case "(($ac_try" in
   2215   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2216   *) ac_try_echo=$ac_try;;
   2217 esac
   2218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2219 $as_echo "$ac_try_echo"; } >&5
   2220   (eval "$ac_link") 2>conftest.err
   2221   ac_status=$?
   2222   if test -s conftest.err; then
   2223     grep -v '^ *+' conftest.err >conftest.er1
   2224     cat conftest.er1 >&5
   2225     mv -f conftest.er1 conftest.err
   2226   fi
   2227   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2228   test $ac_status = 0; } && {
   2229 	 test -z "$ac_cxx_werror_flag" ||
   2230 	 test ! -s conftest.err
   2231        } && test -s conftest$ac_exeext && {
   2232 	 test "$cross_compiling" = yes ||
   2233 	 test -x conftest$ac_exeext
   2234        }; then :
   2235   ac_retval=0
   2236 else
   2237   $as_echo "$as_me: failed program was:" >&5
   2238 sed 's/^/| /' conftest.$ac_ext >&5
   2239 
   2240 	ac_retval=1
   2241 fi
   2242   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2243   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2244   # interfere with the next link command; also delete a directory that is
   2245   # left behind by Apple's compiler.  We do this before executing the actions.
   2246   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2247   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2248   as_fn_set_status $ac_retval
   2249 
   2250 } # ac_fn_cxx_try_link
   2251 cat >config.log <<_ACEOF
   2252 This file contains any messages produced by compilers while
   2253 running configure, to aid debugging if configure makes a mistake.
   2254 
   2255 It was created by cpplib $as_me  , which was
   2256 generated by GNU Autoconf 2.69.  Invocation command line was
   2257 
   2258   $ $0 $@
   2259 
   2260 _ACEOF
   2261 exec 5>>config.log
   2262 {
   2263 cat <<_ASUNAME
   2264 ## --------- ##
   2265 ## Platform. ##
   2266 ## --------- ##
   2267 
   2268 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2269 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2270 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2271 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2272 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2273 
   2274 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2275 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2276 
   2277 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2278 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2279 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2280 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2281 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2282 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2283 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2284 
   2285 _ASUNAME
   2286 
   2287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2288 for as_dir in $PATH
   2289 do
   2290   IFS=$as_save_IFS
   2291   test -z "$as_dir" && as_dir=.
   2292     $as_echo "PATH: $as_dir"
   2293   done
   2294 IFS=$as_save_IFS
   2295 
   2296 } >&5
   2297 
   2298 cat >&5 <<_ACEOF
   2299 
   2300 
   2301 ## ----------- ##
   2302 ## Core tests. ##
   2303 ## ----------- ##
   2304 
   2305 _ACEOF
   2306 
   2307 
   2308 # Keep a trace of the command line.
   2309 # Strip out --no-create and --no-recursion so they do not pile up.
   2310 # Strip out --silent because we don't want to record it for future runs.
   2311 # Also quote any args containing shell meta-characters.
   2312 # Make two passes to allow for proper duplicate-argument suppression.
   2313 ac_configure_args=
   2314 ac_configure_args0=
   2315 ac_configure_args1=
   2316 ac_must_keep_next=false
   2317 for ac_pass in 1 2
   2318 do
   2319   for ac_arg
   2320   do
   2321     case $ac_arg in
   2322     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2323     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2324     | -silent | --silent | --silen | --sile | --sil)
   2325       continue ;;
   2326     *\'*)
   2327       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2328     esac
   2329     case $ac_pass in
   2330     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2331     2)
   2332       as_fn_append ac_configure_args1 " '$ac_arg'"
   2333       if test $ac_must_keep_next = true; then
   2334 	ac_must_keep_next=false # Got value, back to normal.
   2335       else
   2336 	case $ac_arg in
   2337 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2338 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2339 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2340 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2341 	    case "$ac_configure_args0 " in
   2342 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2343 	    esac
   2344 	    ;;
   2345 	  -* ) ac_must_keep_next=true ;;
   2346 	esac
   2347       fi
   2348       as_fn_append ac_configure_args " '$ac_arg'"
   2349       ;;
   2350     esac
   2351   done
   2352 done
   2353 { ac_configure_args0=; unset ac_configure_args0;}
   2354 { ac_configure_args1=; unset ac_configure_args1;}
   2355 
   2356 # When interrupted or exit'd, cleanup temporary files, and complete
   2357 # config.log.  We remove comments because anyway the quotes in there
   2358 # would cause problems or look ugly.
   2359 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2360 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2361 trap 'exit_status=$?
   2362   # Save into config.log some information that might help in debugging.
   2363   {
   2364     echo
   2365 
   2366     $as_echo "## ---------------- ##
   2367 ## Cache variables. ##
   2368 ## ---------------- ##"
   2369     echo
   2370     # The following way of writing the cache mishandles newlines in values,
   2371 (
   2372   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2373     eval ac_val=\$$ac_var
   2374     case $ac_val in #(
   2375     *${as_nl}*)
   2376       case $ac_var in #(
   2377       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2378 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2379       esac
   2380       case $ac_var in #(
   2381       _ | IFS | as_nl) ;; #(
   2382       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2383       *) { eval $ac_var=; unset $ac_var;} ;;
   2384       esac ;;
   2385     esac
   2386   done
   2387   (set) 2>&1 |
   2388     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2389     *${as_nl}ac_space=\ *)
   2390       sed -n \
   2391 	"s/'\''/'\''\\\\'\'''\''/g;
   2392 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2393       ;; #(
   2394     *)
   2395       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2396       ;;
   2397     esac |
   2398     sort
   2399 )
   2400     echo
   2401 
   2402     $as_echo "## ----------------- ##
   2403 ## Output variables. ##
   2404 ## ----------------- ##"
   2405     echo
   2406     for ac_var in $ac_subst_vars
   2407     do
   2408       eval ac_val=\$$ac_var
   2409       case $ac_val in
   2410       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2411       esac
   2412       $as_echo "$ac_var='\''$ac_val'\''"
   2413     done | sort
   2414     echo
   2415 
   2416     if test -n "$ac_subst_files"; then
   2417       $as_echo "## ------------------- ##
   2418 ## File substitutions. ##
   2419 ## ------------------- ##"
   2420       echo
   2421       for ac_var in $ac_subst_files
   2422       do
   2423 	eval ac_val=\$$ac_var
   2424 	case $ac_val in
   2425 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2426 	esac
   2427 	$as_echo "$ac_var='\''$ac_val'\''"
   2428       done | sort
   2429       echo
   2430     fi
   2431 
   2432     if test -s confdefs.h; then
   2433       $as_echo "## ----------- ##
   2434 ## confdefs.h. ##
   2435 ## ----------- ##"
   2436       echo
   2437       cat confdefs.h
   2438       echo
   2439     fi
   2440     test "$ac_signal" != 0 &&
   2441       $as_echo "$as_me: caught signal $ac_signal"
   2442     $as_echo "$as_me: exit $exit_status"
   2443   } >&5
   2444   rm -f core *.core core.conftest.* &&
   2445     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2446     exit $exit_status
   2447 ' 0
   2448 for ac_signal in 1 2 13 15; do
   2449   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2450 done
   2451 ac_signal=0
   2452 
   2453 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2454 rm -f -r conftest* confdefs.h
   2455 
   2456 $as_echo "/* confdefs.h */" > confdefs.h
   2457 
   2458 # Predefined preprocessor variables.
   2459 
   2460 cat >>confdefs.h <<_ACEOF
   2461 #define PACKAGE_NAME "$PACKAGE_NAME"
   2462 _ACEOF
   2463 
   2464 cat >>confdefs.h <<_ACEOF
   2465 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2466 _ACEOF
   2467 
   2468 cat >>confdefs.h <<_ACEOF
   2469 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2470 _ACEOF
   2471 
   2472 cat >>confdefs.h <<_ACEOF
   2473 #define PACKAGE_STRING "$PACKAGE_STRING"
   2474 _ACEOF
   2475 
   2476 cat >>confdefs.h <<_ACEOF
   2477 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2478 _ACEOF
   2479 
   2480 cat >>confdefs.h <<_ACEOF
   2481 #define PACKAGE_URL "$PACKAGE_URL"
   2482 _ACEOF
   2483 
   2484 
   2485 # Let the site file select an alternate cache file if it wants to.
   2486 # Prefer an explicitly selected file to automatically selected ones.
   2487 ac_site_file1=NONE
   2488 ac_site_file2=NONE
   2489 if test -n "$CONFIG_SITE"; then
   2490   # We do not want a PATH search for config.site.
   2491   case $CONFIG_SITE in #((
   2492     -*)  ac_site_file1=./$CONFIG_SITE;;
   2493     */*) ac_site_file1=$CONFIG_SITE;;
   2494     *)   ac_site_file1=./$CONFIG_SITE;;
   2495   esac
   2496 elif test "x$prefix" != xNONE; then
   2497   ac_site_file1=$prefix/share/config.site
   2498   ac_site_file2=$prefix/etc/config.site
   2499 else
   2500   ac_site_file1=$ac_default_prefix/share/config.site
   2501   ac_site_file2=$ac_default_prefix/etc/config.site
   2502 fi
   2503 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2504 do
   2505   test "x$ac_site_file" = xNONE && continue
   2506   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2507     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2508 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2509     sed 's/^/| /' "$ac_site_file" >&5
   2510     . "$ac_site_file" \
   2511       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2513 as_fn_error $? "failed to load site script $ac_site_file
   2514 See \`config.log' for more details" "$LINENO" 5; }
   2515   fi
   2516 done
   2517 
   2518 if test -r "$cache_file"; then
   2519   # Some versions of bash will fail to source /dev/null (special files
   2520   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2521   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2522     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2523 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2524     case $cache_file in
   2525       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2526       *)                      . "./$cache_file";;
   2527     esac
   2528   fi
   2529 else
   2530   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2531 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2532   >$cache_file
   2533 fi
   2534 
   2535 # Check that the precious variables saved in the cache have kept the same
   2536 # value.
   2537 ac_cache_corrupted=false
   2538 for ac_var in $ac_precious_vars; do
   2539   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2540   eval ac_new_set=\$ac_env_${ac_var}_set
   2541   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2542   eval ac_new_val=\$ac_env_${ac_var}_value
   2543   case $ac_old_set,$ac_new_set in
   2544     set,)
   2545       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2546 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2547       ac_cache_corrupted=: ;;
   2548     ,set)
   2549       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2550 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2551       ac_cache_corrupted=: ;;
   2552     ,);;
   2553     *)
   2554       if test "x$ac_old_val" != "x$ac_new_val"; then
   2555 	# differences in whitespace do not lead to failure.
   2556 	ac_old_val_w=`echo x $ac_old_val`
   2557 	ac_new_val_w=`echo x $ac_new_val`
   2558 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2559 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2560 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2561 	  ac_cache_corrupted=:
   2562 	else
   2563 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2564 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2565 	  eval $ac_var=\$ac_old_val
   2566 	fi
   2567 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2568 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2569 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2570 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2571       fi;;
   2572   esac
   2573   # Pass precious variables to config.status.
   2574   if test "$ac_new_set" = set; then
   2575     case $ac_new_val in
   2576     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2577     *) ac_arg=$ac_var=$ac_new_val ;;
   2578     esac
   2579     case " $ac_configure_args " in
   2580       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2581       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2582     esac
   2583   fi
   2584 done
   2585 if $ac_cache_corrupted; then
   2586   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2588   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2589 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2590   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2591 fi
   2592 ## -------------------- ##
   2593 ## Main body of script. ##
   2594 ## -------------------- ##
   2595 
   2596 ac_ext=c
   2597 ac_cpp='$CPP $CPPFLAGS'
   2598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2601 
   2602 
   2603 
   2604 
   2605 ac_aux_dir=
   2606 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2607   if test -f "$ac_dir/install-sh"; then
   2608     ac_aux_dir=$ac_dir
   2609     ac_install_sh="$SHELL $ac_aux_dir/install-sh -c"
   2610     break
   2611   elif test -f "$ac_dir/install.sh"; then
   2612     ac_aux_dir=$ac_dir
   2613     ac_install_sh="$SHELL $ac_aux_dir/install.sh -c"
   2614     break
   2615   elif test -f "$ac_dir/shtool"; then
   2616     ac_aux_dir=$ac_dir
   2617     ac_install_sh="$SHELL $ac_aux_dir/shtool install -c"
   2618     break
   2619   fi
   2620 done
   2621 if test -z "$ac_aux_dir"; then
   2622   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2623 fi
   2624 
   2625 # These three variables are undocumented and unsupported,
   2626 # and are intended to be withdrawn in a future Autoconf release.
   2627 # They can cause serious problems if a builder's source tree is in a directory
   2628 # whose full name contains unusual characters.
   2629 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2630 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2631 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2632 
   2633 
   2634 # Make sure we can run config.sub.
   2635 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2636   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2637 
   2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2639 $as_echo_n "checking build system type... " >&6; }
   2640 if ${ac_cv_build+:} false; then :
   2641   $as_echo_n "(cached) " >&6
   2642 else
   2643   ac_build_alias=$build_alias
   2644 test "x$ac_build_alias" = x &&
   2645   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2646 test "x$ac_build_alias" = x &&
   2647   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2648 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2649   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2650 
   2651 fi
   2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2653 $as_echo "$ac_cv_build" >&6; }
   2654 case $ac_cv_build in
   2655 *-*-*) ;;
   2656 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2657 esac
   2658 build=$ac_cv_build
   2659 ac_save_IFS=$IFS; IFS='-'
   2660 set x $ac_cv_build
   2661 shift
   2662 build_cpu=$1
   2663 build_vendor=$2
   2664 shift; shift
   2665 # Remember, the first character of IFS is used to create $*,
   2666 # except with old shells:
   2667 build_os=$*
   2668 IFS=$ac_save_IFS
   2669 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2670 
   2671 
   2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2673 $as_echo_n "checking host system type... " >&6; }
   2674 if ${ac_cv_host+:} false; then :
   2675   $as_echo_n "(cached) " >&6
   2676 else
   2677   if test "x$host_alias" = x; then
   2678   ac_cv_host=$ac_cv_build
   2679 else
   2680   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2681     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2682 fi
   2683 
   2684 fi
   2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2686 $as_echo "$ac_cv_host" >&6; }
   2687 case $ac_cv_host in
   2688 *-*-*) ;;
   2689 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2690 esac
   2691 host=$ac_cv_host
   2692 ac_save_IFS=$IFS; IFS='-'
   2693 set x $ac_cv_host
   2694 shift
   2695 host_cpu=$1
   2696 host_vendor=$2
   2697 shift; shift
   2698 # Remember, the first character of IFS is used to create $*,
   2699 # except with old shells:
   2700 host_os=$*
   2701 IFS=$ac_save_IFS
   2702 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2703 
   2704 
   2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2706 $as_echo_n "checking target system type... " >&6; }
   2707 if ${ac_cv_target+:} false; then :
   2708   $as_echo_n "(cached) " >&6
   2709 else
   2710   if test "x$target_alias" = x; then
   2711   ac_cv_target=$ac_cv_host
   2712 else
   2713   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2714     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2715 fi
   2716 
   2717 fi
   2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2719 $as_echo "$ac_cv_target" >&6; }
   2720 case $ac_cv_target in
   2721 *-*-*) ;;
   2722 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2723 esac
   2724 target=$ac_cv_target
   2725 ac_save_IFS=$IFS; IFS='-'
   2726 set x $ac_cv_target
   2727 shift
   2728 target_cpu=$1
   2729 target_vendor=$2
   2730 shift; shift
   2731 # Remember, the first character of IFS is used to create $*,
   2732 # except with old shells:
   2733 target_os=$*
   2734 IFS=$ac_save_IFS
   2735 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2736 
   2737 
   2738 # The aliases save the names the user supplied, while $host etc.
   2739 # will get canonicalized.
   2740 test -n "$target_alias" &&
   2741   test "$program_prefix$program_suffix$program_transform_name" = \
   2742     NONENONEs,x,x, &&
   2743   program_prefix=${target_alias}-
   2744 
   2745 
   2746 # Checks for programs.
   2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2748 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2749 set x ${MAKE-make}
   2750 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2751 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2752   $as_echo_n "(cached) " >&6
   2753 else
   2754   cat >conftest.make <<\_ACEOF
   2755 SHELL = /bin/sh
   2756 all:
   2757 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2758 _ACEOF
   2759 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2760 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2761   *@@@%%%=?*=@@@%%%*)
   2762     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2763   *)
   2764     eval ac_cv_prog_make_${ac_make}_set=no;;
   2765 esac
   2766 rm -f conftest.make
   2767 fi
   2768 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2770 $as_echo "yes" >&6; }
   2771   SET_MAKE=
   2772 else
   2773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2774 $as_echo "no" >&6; }
   2775   SET_MAKE="MAKE=${MAKE-make}"
   2776 fi
   2777 
   2778 # Find a good install program.  We prefer a C program (faster),
   2779 # so one script is as good as another.  But avoid the broken or
   2780 # incompatible versions:
   2781 # SysV /etc/install, /usr/sbin/install
   2782 # SunOS /usr/etc/install
   2783 # IRIX /sbin/install
   2784 # AIX /bin/install
   2785 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2786 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2787 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2788 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2789 # OS/2's system install, which has a completely different semantic
   2790 # ./install, which can be erroneously created by make from ./install.sh.
   2791 # Reject install programs that cannot install multiple files.
   2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2793 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2794 if test -z "$INSTALL"; then
   2795 if ${ac_cv_path_install+:} false; then :
   2796   $as_echo_n "(cached) " >&6
   2797 else
   2798   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2799 for as_dir in $PATH
   2800 do
   2801   IFS=$as_save_IFS
   2802   test -z "$as_dir" && as_dir=.
   2803     # Account for people who put trailing slashes in PATH elements.
   2804 case $as_dir/ in #((
   2805   ./ | .// | /[cC]/* | \
   2806   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2807   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2808   /usr/ucb/* ) ;;
   2809   *)
   2810     # OSF1 and SCO ODT 3.0 have their own names for install.
   2811     # Don't use installbsd from OSF since it installs stuff as root
   2812     # by default.
   2813     for ac_prog in ginstall scoinst install; do
   2814       for ac_exec_ext in '' $ac_executable_extensions; do
   2815 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2816 	  if test $ac_prog = install &&
   2817 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2818 	    # AIX install.  It has an incompatible calling convention.
   2819 	    :
   2820 	  elif test $ac_prog = install &&
   2821 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2822 	    # program-specific install script used by HP pwplus--don't use.
   2823 	    :
   2824 	  else
   2825 	    rm -rf conftest.one conftest.two conftest.dir
   2826 	    echo one > conftest.one
   2827 	    echo two > conftest.two
   2828 	    mkdir conftest.dir
   2829 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2830 	      test -s conftest.one && test -s conftest.two &&
   2831 	      test -s conftest.dir/conftest.one &&
   2832 	      test -s conftest.dir/conftest.two
   2833 	    then
   2834 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2835 	      break 3
   2836 	    fi
   2837 	  fi
   2838 	fi
   2839       done
   2840     done
   2841     ;;
   2842 esac
   2843 
   2844   done
   2845 IFS=$as_save_IFS
   2846 
   2847 rm -rf conftest.one conftest.two conftest.dir
   2848 
   2849 fi
   2850   if test "${ac_cv_path_install+set}" = set; then
   2851     INSTALL=$ac_cv_path_install
   2852   else
   2853     # As a last resort, use the slow shell script.  Don't cache a
   2854     # value for INSTALL within a source directory, because that will
   2855     # break other packages using the cache if that directory is
   2856     # removed, or if the value is a relative name.
   2857     INSTALL=$ac_install_sh
   2858   fi
   2859 fi
   2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2861 $as_echo "$INSTALL" >&6; }
   2862 
   2863 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2864 # It thinks the first close brace ends the variable substitution.
   2865 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2866 
   2867 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2868 
   2869 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2870 
   2871 ac_ext=c
   2872 ac_cpp='$CPP $CPPFLAGS'
   2873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2876 if test -n "$ac_tool_prefix"; then
   2877   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2878 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2880 $as_echo_n "checking for $ac_word... " >&6; }
   2881 if ${ac_cv_prog_CC+:} false; then :
   2882   $as_echo_n "(cached) " >&6
   2883 else
   2884   if test -n "$CC"; then
   2885   ac_cv_prog_CC="$CC" # Let the user override the test.
   2886 else
   2887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2888 for as_dir in $PATH
   2889 do
   2890   IFS=$as_save_IFS
   2891   test -z "$as_dir" && as_dir=.
   2892     for ac_exec_ext in '' $ac_executable_extensions; do
   2893   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2894     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2895     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2896     break 2
   2897   fi
   2898 done
   2899   done
   2900 IFS=$as_save_IFS
   2901 
   2902 fi
   2903 fi
   2904 CC=$ac_cv_prog_CC
   2905 if test -n "$CC"; then
   2906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2907 $as_echo "$CC" >&6; }
   2908 else
   2909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2910 $as_echo "no" >&6; }
   2911 fi
   2912 
   2913 
   2914 fi
   2915 if test -z "$ac_cv_prog_CC"; then
   2916   ac_ct_CC=$CC
   2917   # Extract the first word of "gcc", so it can be a program name with args.
   2918 set dummy gcc; ac_word=$2
   2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2920 $as_echo_n "checking for $ac_word... " >&6; }
   2921 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2922   $as_echo_n "(cached) " >&6
   2923 else
   2924   if test -n "$ac_ct_CC"; then
   2925   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2926 else
   2927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2928 for as_dir in $PATH
   2929 do
   2930   IFS=$as_save_IFS
   2931   test -z "$as_dir" && as_dir=.
   2932     for ac_exec_ext in '' $ac_executable_extensions; do
   2933   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2934     ac_cv_prog_ac_ct_CC="gcc"
   2935     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2936     break 2
   2937   fi
   2938 done
   2939   done
   2940 IFS=$as_save_IFS
   2941 
   2942 fi
   2943 fi
   2944 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2945 if test -n "$ac_ct_CC"; then
   2946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2947 $as_echo "$ac_ct_CC" >&6; }
   2948 else
   2949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2950 $as_echo "no" >&6; }
   2951 fi
   2952 
   2953   if test "x$ac_ct_CC" = x; then
   2954     CC=""
   2955   else
   2956     case $cross_compiling:$ac_tool_warned in
   2957 yes:)
   2958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2960 ac_tool_warned=yes ;;
   2961 esac
   2962     CC=$ac_ct_CC
   2963   fi
   2964 else
   2965   CC="$ac_cv_prog_CC"
   2966 fi
   2967 
   2968 if test -z "$CC"; then
   2969           if test -n "$ac_tool_prefix"; then
   2970     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2971 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2973 $as_echo_n "checking for $ac_word... " >&6; }
   2974 if ${ac_cv_prog_CC+:} false; then :
   2975   $as_echo_n "(cached) " >&6
   2976 else
   2977   if test -n "$CC"; then
   2978   ac_cv_prog_CC="$CC" # Let the user override the test.
   2979 else
   2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2981 for as_dir in $PATH
   2982 do
   2983   IFS=$as_save_IFS
   2984   test -z "$as_dir" && as_dir=.
   2985     for ac_exec_ext in '' $ac_executable_extensions; do
   2986   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2987     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2988     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2989     break 2
   2990   fi
   2991 done
   2992   done
   2993 IFS=$as_save_IFS
   2994 
   2995 fi
   2996 fi
   2997 CC=$ac_cv_prog_CC
   2998 if test -n "$CC"; then
   2999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3000 $as_echo "$CC" >&6; }
   3001 else
   3002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3003 $as_echo "no" >&6; }
   3004 fi
   3005 
   3006 
   3007   fi
   3008 fi
   3009 if test -z "$CC"; then
   3010   # Extract the first word of "cc", so it can be a program name with args.
   3011 set dummy cc; ac_word=$2
   3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3013 $as_echo_n "checking for $ac_word... " >&6; }
   3014 if ${ac_cv_prog_CC+:} false; then :
   3015   $as_echo_n "(cached) " >&6
   3016 else
   3017   if test -n "$CC"; then
   3018   ac_cv_prog_CC="$CC" # Let the user override the test.
   3019 else
   3020   ac_prog_rejected=no
   3021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3022 for as_dir in $PATH
   3023 do
   3024   IFS=$as_save_IFS
   3025   test -z "$as_dir" && as_dir=.
   3026     for ac_exec_ext in '' $ac_executable_extensions; do
   3027   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3028     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3029        ac_prog_rejected=yes
   3030        continue
   3031      fi
   3032     ac_cv_prog_CC="cc"
   3033     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3034     break 2
   3035   fi
   3036 done
   3037   done
   3038 IFS=$as_save_IFS
   3039 
   3040 if test $ac_prog_rejected = yes; then
   3041   # We found a bogon in the path, so make sure we never use it.
   3042   set dummy $ac_cv_prog_CC
   3043   shift
   3044   if test $# != 0; then
   3045     # We chose a different compiler from the bogus one.
   3046     # However, it has the same basename, so the bogon will be chosen
   3047     # first if we set CC to just the basename; use the full file name.
   3048     shift
   3049     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3050   fi
   3051 fi
   3052 fi
   3053 fi
   3054 CC=$ac_cv_prog_CC
   3055 if test -n "$CC"; then
   3056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3057 $as_echo "$CC" >&6; }
   3058 else
   3059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3060 $as_echo "no" >&6; }
   3061 fi
   3062 
   3063 
   3064 fi
   3065 if test -z "$CC"; then
   3066   if test -n "$ac_tool_prefix"; then
   3067   for ac_prog in cl.exe
   3068   do
   3069     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3070 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3072 $as_echo_n "checking for $ac_word... " >&6; }
   3073 if ${ac_cv_prog_CC+:} false; then :
   3074   $as_echo_n "(cached) " >&6
   3075 else
   3076   if test -n "$CC"; then
   3077   ac_cv_prog_CC="$CC" # Let the user override the test.
   3078 else
   3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3080 for as_dir in $PATH
   3081 do
   3082   IFS=$as_save_IFS
   3083   test -z "$as_dir" && as_dir=.
   3084     for ac_exec_ext in '' $ac_executable_extensions; do
   3085   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3086     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3087     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3088     break 2
   3089   fi
   3090 done
   3091   done
   3092 IFS=$as_save_IFS
   3093 
   3094 fi
   3095 fi
   3096 CC=$ac_cv_prog_CC
   3097 if test -n "$CC"; then
   3098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3099 $as_echo "$CC" >&6; }
   3100 else
   3101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3102 $as_echo "no" >&6; }
   3103 fi
   3104 
   3105 
   3106     test -n "$CC" && break
   3107   done
   3108 fi
   3109 if test -z "$CC"; then
   3110   ac_ct_CC=$CC
   3111   for ac_prog in cl.exe
   3112 do
   3113   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3114 set dummy $ac_prog; 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_ac_ct_CC+:} false; then :
   3118   $as_echo_n "(cached) " >&6
   3119 else
   3120   if test -n "$ac_ct_CC"; then
   3121   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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_ac_ct_CC="$ac_prog"
   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 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3141 if test -n "$ac_ct_CC"; then
   3142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3143 $as_echo "$ac_ct_CC" >&6; }
   3144 else
   3145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3146 $as_echo "no" >&6; }
   3147 fi
   3148 
   3149 
   3150   test -n "$ac_ct_CC" && break
   3151 done
   3152 
   3153   if test "x$ac_ct_CC" = x; then
   3154     CC=""
   3155   else
   3156     case $cross_compiling:$ac_tool_warned in
   3157 yes:)
   3158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3160 ac_tool_warned=yes ;;
   3161 esac
   3162     CC=$ac_ct_CC
   3163   fi
   3164 fi
   3165 
   3166 fi
   3167 
   3168 
   3169 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3171 as_fn_error $? "no acceptable C compiler found in \$PATH
   3172 See \`config.log' for more details" "$LINENO" 5; }
   3173 
   3174 # Provide some information about the compiler.
   3175 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3176 set X $ac_compile
   3177 ac_compiler=$2
   3178 for ac_option in --version -v -V -qversion; do
   3179   { { ac_try="$ac_compiler $ac_option >&5"
   3180 case "(($ac_try" in
   3181   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3182   *) ac_try_echo=$ac_try;;
   3183 esac
   3184 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3185 $as_echo "$ac_try_echo"; } >&5
   3186   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3187   ac_status=$?
   3188   if test -s conftest.err; then
   3189     sed '10a\
   3190 ... rest of stderr output deleted ...
   3191          10q' conftest.err >conftest.er1
   3192     cat conftest.er1 >&5
   3193   fi
   3194   rm -f conftest.er1 conftest.err
   3195   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3196   test $ac_status = 0; }
   3197 done
   3198 
   3199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3200 /* end confdefs.h.  */
   3201 
   3202 int
   3203 main ()
   3204 {
   3205 
   3206   ;
   3207   return 0;
   3208 }
   3209 _ACEOF
   3210 ac_clean_files_save=$ac_clean_files
   3211 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3212 # Try to create an executable without -o first, disregard a.out.
   3213 # It will help us diagnose broken compilers, and finding out an intuition
   3214 # of exeext.
   3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3216 $as_echo_n "checking whether the C compiler works... " >&6; }
   3217 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3218 
   3219 # The possible output files:
   3220 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3221 
   3222 ac_rmfiles=
   3223 for ac_file in $ac_files
   3224 do
   3225   case $ac_file in
   3226     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3227     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3228   esac
   3229 done
   3230 rm -f $ac_rmfiles
   3231 
   3232 if { { ac_try="$ac_link_default"
   3233 case "(($ac_try" in
   3234   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3235   *) ac_try_echo=$ac_try;;
   3236 esac
   3237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3238 $as_echo "$ac_try_echo"; } >&5
   3239   (eval "$ac_link_default") 2>&5
   3240   ac_status=$?
   3241   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3242   test $ac_status = 0; }; then :
   3243   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3244 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3245 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3246 # so that the user can short-circuit this test for compilers unknown to
   3247 # Autoconf.
   3248 for ac_file in $ac_files ''
   3249 do
   3250   test -f "$ac_file" || continue
   3251   case $ac_file in
   3252     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3253 	;;
   3254     [ab].out )
   3255 	# We found the default executable, but exeext='' is most
   3256 	# certainly right.
   3257 	break;;
   3258     *.* )
   3259 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3260 	then :; else
   3261 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3262 	fi
   3263 	# We set ac_cv_exeext here because the later test for it is not
   3264 	# safe: cross compilers may not add the suffix if given an `-o'
   3265 	# argument, so we may need to know it at that point already.
   3266 	# Even if this section looks crufty: it has the advantage of
   3267 	# actually working.
   3268 	break;;
   3269     * )
   3270 	break;;
   3271   esac
   3272 done
   3273 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3274 
   3275 else
   3276   ac_file=''
   3277 fi
   3278 if test -z "$ac_file"; then :
   3279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3280 $as_echo "no" >&6; }
   3281 $as_echo "$as_me: failed program was:" >&5
   3282 sed 's/^/| /' conftest.$ac_ext >&5
   3283 
   3284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3286 as_fn_error 77 "C compiler cannot create executables
   3287 See \`config.log' for more details" "$LINENO" 5; }
   3288 else
   3289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3290 $as_echo "yes" >&6; }
   3291 fi
   3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3293 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3295 $as_echo "$ac_file" >&6; }
   3296 ac_exeext=$ac_cv_exeext
   3297 
   3298 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3299 ac_clean_files=$ac_clean_files_save
   3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3301 $as_echo_n "checking for suffix of executables... " >&6; }
   3302 if { { ac_try="$ac_link"
   3303 case "(($ac_try" in
   3304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3305   *) ac_try_echo=$ac_try;;
   3306 esac
   3307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3308 $as_echo "$ac_try_echo"; } >&5
   3309   (eval "$ac_link") 2>&5
   3310   ac_status=$?
   3311   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3312   test $ac_status = 0; }; then :
   3313   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3314 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3315 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3316 # `rm'.
   3317 for ac_file in conftest.exe conftest conftest.*; do
   3318   test -f "$ac_file" || continue
   3319   case $ac_file in
   3320     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3321     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3322 	  break;;
   3323     * ) break;;
   3324   esac
   3325 done
   3326 else
   3327   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3329 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3330 See \`config.log' for more details" "$LINENO" 5; }
   3331 fi
   3332 rm -f conftest conftest$ac_cv_exeext
   3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3334 $as_echo "$ac_cv_exeext" >&6; }
   3335 
   3336 rm -f conftest.$ac_ext
   3337 EXEEXT=$ac_cv_exeext
   3338 ac_exeext=$EXEEXT
   3339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3340 /* end confdefs.h.  */
   3341 #include <stdio.h>
   3342 int
   3343 main ()
   3344 {
   3345 FILE *f = fopen ("conftest.out", "w");
   3346  return ferror (f) || fclose (f) != 0;
   3347 
   3348   ;
   3349   return 0;
   3350 }
   3351 _ACEOF
   3352 ac_clean_files="$ac_clean_files conftest.out"
   3353 # Check that the compiler produces executables we can run.  If not, either
   3354 # the compiler is broken, or we cross compile.
   3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3356 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3357 if test "$cross_compiling" != yes; then
   3358   { { ac_try="$ac_link"
   3359 case "(($ac_try" in
   3360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3361   *) ac_try_echo=$ac_try;;
   3362 esac
   3363 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3364 $as_echo "$ac_try_echo"; } >&5
   3365   (eval "$ac_link") 2>&5
   3366   ac_status=$?
   3367   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3368   test $ac_status = 0; }
   3369   if { ac_try='./conftest$ac_cv_exeext'
   3370   { { case "(($ac_try" in
   3371   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3372   *) ac_try_echo=$ac_try;;
   3373 esac
   3374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3375 $as_echo "$ac_try_echo"; } >&5
   3376   (eval "$ac_try") 2>&5
   3377   ac_status=$?
   3378   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3379   test $ac_status = 0; }; }; then
   3380     cross_compiling=no
   3381   else
   3382     if test "$cross_compiling" = maybe; then
   3383 	cross_compiling=yes
   3384     else
   3385 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3387 as_fn_error $? "cannot run C compiled programs.
   3388 If you meant to cross compile, use \`--host'.
   3389 See \`config.log' for more details" "$LINENO" 5; }
   3390     fi
   3391   fi
   3392 fi
   3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3394 $as_echo "$cross_compiling" >&6; }
   3395 
   3396 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3397 ac_clean_files=$ac_clean_files_save
   3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3399 $as_echo_n "checking for suffix of object files... " >&6; }
   3400 if ${ac_cv_objext+:} false; then :
   3401   $as_echo_n "(cached) " >&6
   3402 else
   3403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3404 /* end confdefs.h.  */
   3405 
   3406 int
   3407 main ()
   3408 {
   3409 
   3410   ;
   3411   return 0;
   3412 }
   3413 _ACEOF
   3414 rm -f conftest.o conftest.obj
   3415 if { { ac_try="$ac_compile"
   3416 case "(($ac_try" in
   3417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3418   *) ac_try_echo=$ac_try;;
   3419 esac
   3420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3421 $as_echo "$ac_try_echo"; } >&5
   3422   (eval "$ac_compile") 2>&5
   3423   ac_status=$?
   3424   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3425   test $ac_status = 0; }; then :
   3426   for ac_file in conftest.o conftest.obj conftest.*; do
   3427   test -f "$ac_file" || continue;
   3428   case $ac_file in
   3429     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3430     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3431        break;;
   3432   esac
   3433 done
   3434 else
   3435   $as_echo "$as_me: failed program was:" >&5
   3436 sed 's/^/| /' conftest.$ac_ext >&5
   3437 
   3438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3440 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3441 See \`config.log' for more details" "$LINENO" 5; }
   3442 fi
   3443 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3444 fi
   3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3446 $as_echo "$ac_cv_objext" >&6; }
   3447 OBJEXT=$ac_cv_objext
   3448 ac_objext=$OBJEXT
   3449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3450 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3451 if ${ac_cv_c_compiler_gnu+:} false; then :
   3452   $as_echo_n "(cached) " >&6
   3453 else
   3454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3455 /* end confdefs.h.  */
   3456 
   3457 int
   3458 main ()
   3459 {
   3460 #ifndef __GNUC__
   3461        choke me
   3462 #endif
   3463 
   3464   ;
   3465   return 0;
   3466 }
   3467 _ACEOF
   3468 if ac_fn_c_try_compile "$LINENO"; then :
   3469   ac_compiler_gnu=yes
   3470 else
   3471   ac_compiler_gnu=no
   3472 fi
   3473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3474 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3475 
   3476 fi
   3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3478 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3479 if test $ac_compiler_gnu = yes; then
   3480   GCC=yes
   3481 else
   3482   GCC=
   3483 fi
   3484 ac_test_CFLAGS=${CFLAGS+set}
   3485 ac_save_CFLAGS=$CFLAGS
   3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3487 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3488 if ${ac_cv_prog_cc_g+:} false; then :
   3489   $as_echo_n "(cached) " >&6
   3490 else
   3491   ac_save_c_werror_flag=$ac_c_werror_flag
   3492    ac_c_werror_flag=yes
   3493    ac_cv_prog_cc_g=no
   3494    CFLAGS="-g"
   3495    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3496 /* end confdefs.h.  */
   3497 
   3498 int
   3499 main ()
   3500 {
   3501 
   3502   ;
   3503   return 0;
   3504 }
   3505 _ACEOF
   3506 if ac_fn_c_try_compile "$LINENO"; then :
   3507   ac_cv_prog_cc_g=yes
   3508 else
   3509   CFLAGS=""
   3510       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3511 /* end confdefs.h.  */
   3512 
   3513 int
   3514 main ()
   3515 {
   3516 
   3517   ;
   3518   return 0;
   3519 }
   3520 _ACEOF
   3521 if ac_fn_c_try_compile "$LINENO"; then :
   3522 
   3523 else
   3524   ac_c_werror_flag=$ac_save_c_werror_flag
   3525 	 CFLAGS="-g"
   3526 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3527 /* end confdefs.h.  */
   3528 
   3529 int
   3530 main ()
   3531 {
   3532 
   3533   ;
   3534   return 0;
   3535 }
   3536 _ACEOF
   3537 if ac_fn_c_try_compile "$LINENO"; then :
   3538   ac_cv_prog_cc_g=yes
   3539 fi
   3540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3541 fi
   3542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3543 fi
   3544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3545    ac_c_werror_flag=$ac_save_c_werror_flag
   3546 fi
   3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3548 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3549 if test "$ac_test_CFLAGS" = set; then
   3550   CFLAGS=$ac_save_CFLAGS
   3551 elif test $ac_cv_prog_cc_g = yes; then
   3552   if test "$GCC" = yes; then
   3553     CFLAGS="-g -O2"
   3554   else
   3555     CFLAGS="-g"
   3556   fi
   3557 else
   3558   if test "$GCC" = yes; then
   3559     CFLAGS="-O2"
   3560   else
   3561     CFLAGS=
   3562   fi
   3563 fi
   3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3565 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3566 if ${ac_cv_prog_cc_c89+:} false; then :
   3567   $as_echo_n "(cached) " >&6
   3568 else
   3569   ac_cv_prog_cc_c89=no
   3570 ac_save_CC=$CC
   3571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3572 /* end confdefs.h.  */
   3573 #include <stdarg.h>
   3574 #include <stdio.h>
   3575 struct stat;
   3576 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3577 struct buf { int x; };
   3578 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3579 static char *e (p, i)
   3580      char **p;
   3581      int i;
   3582 {
   3583   return p[i];
   3584 }
   3585 static char *f (char * (*g) (char **, int), char **p, ...)
   3586 {
   3587   char *s;
   3588   va_list v;
   3589   va_start (v,p);
   3590   s = g (p, va_arg (v,int));
   3591   va_end (v);
   3592   return s;
   3593 }
   3594 
   3595 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3596    function prototypes and stuff, but not '\xHH' hex character constants.
   3597    These don't provoke an error unfortunately, instead are silently treated
   3598    as 'x'.  The following induces an error, until -std is added to get
   3599    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3600    array size at least.  It's necessary to write '\x00'==0 to get something
   3601    that's true only with -std.  */
   3602 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3603 
   3604 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3605    inside strings and character constants.  */
   3606 #define FOO(x) 'x'
   3607 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3608 
   3609 int test (int i, double x);
   3610 struct s1 {int (*f) (int a);};
   3611 struct s2 {int (*f) (double a);};
   3612 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3613 int argc;
   3614 char **argv;
   3615 int
   3616 main ()
   3617 {
   3618 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3619   ;
   3620   return 0;
   3621 }
   3622 _ACEOF
   3623 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3624 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3625 do
   3626   CC="$ac_save_CC $ac_arg"
   3627   if ac_fn_c_try_compile "$LINENO"; then :
   3628   ac_cv_prog_cc_c89=$ac_arg
   3629 fi
   3630 rm -f core conftest.err conftest.$ac_objext
   3631   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3632 done
   3633 rm -f conftest.$ac_ext
   3634 CC=$ac_save_CC
   3635 
   3636 fi
   3637 # AC_CACHE_VAL
   3638 case "x$ac_cv_prog_cc_c89" in
   3639   x)
   3640     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3641 $as_echo "none needed" >&6; } ;;
   3642   xno)
   3643     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3644 $as_echo "unsupported" >&6; } ;;
   3645   *)
   3646     CC="$CC $ac_cv_prog_cc_c89"
   3647     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3648 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3649 esac
   3650 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3651 
   3652 fi
   3653 
   3654 ac_ext=c
   3655 ac_cpp='$CPP $CPPFLAGS'
   3656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3659 
   3660 ac_ext=cpp
   3661 ac_cpp='$CXXCPP $CPPFLAGS'
   3662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   3665 if test -z "$CXX"; then
   3666   if test -n "$CCC"; then
   3667     CXX=$CCC
   3668   else
   3669     if test -n "$ac_tool_prefix"; then
   3670   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   3671   do
   3672     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3673 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3675 $as_echo_n "checking for $ac_word... " >&6; }
   3676 if ${ac_cv_prog_CXX+:} false; then :
   3677   $as_echo_n "(cached) " >&6
   3678 else
   3679   if test -n "$CXX"; then
   3680   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   3681 else
   3682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3683 for as_dir in $PATH
   3684 do
   3685   IFS=$as_save_IFS
   3686   test -z "$as_dir" && as_dir=.
   3687     for ac_exec_ext in '' $ac_executable_extensions; do
   3688   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3689     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   3690     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3691     break 2
   3692   fi
   3693 done
   3694   done
   3695 IFS=$as_save_IFS
   3696 
   3697 fi
   3698 fi
   3699 CXX=$ac_cv_prog_CXX
   3700 if test -n "$CXX"; then
   3701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   3702 $as_echo "$CXX" >&6; }
   3703 else
   3704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3705 $as_echo "no" >&6; }
   3706 fi
   3707 
   3708 
   3709     test -n "$CXX" && break
   3710   done
   3711 fi
   3712 if test -z "$CXX"; then
   3713   ac_ct_CXX=$CXX
   3714   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   3715 do
   3716   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3717 set dummy $ac_prog; ac_word=$2
   3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3719 $as_echo_n "checking for $ac_word... " >&6; }
   3720 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   3721   $as_echo_n "(cached) " >&6
   3722 else
   3723   if test -n "$ac_ct_CXX"; then
   3724   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   3725 else
   3726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3727 for as_dir in $PATH
   3728 do
   3729   IFS=$as_save_IFS
   3730   test -z "$as_dir" && as_dir=.
   3731     for ac_exec_ext in '' $ac_executable_extensions; do
   3732   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3733     ac_cv_prog_ac_ct_CXX="$ac_prog"
   3734     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3735     break 2
   3736   fi
   3737 done
   3738   done
   3739 IFS=$as_save_IFS
   3740 
   3741 fi
   3742 fi
   3743 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   3744 if test -n "$ac_ct_CXX"; then
   3745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   3746 $as_echo "$ac_ct_CXX" >&6; }
   3747 else
   3748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3749 $as_echo "no" >&6; }
   3750 fi
   3751 
   3752 
   3753   test -n "$ac_ct_CXX" && break
   3754 done
   3755 
   3756   if test "x$ac_ct_CXX" = x; then
   3757     CXX="g++"
   3758   else
   3759     case $cross_compiling:$ac_tool_warned in
   3760 yes:)
   3761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3763 ac_tool_warned=yes ;;
   3764 esac
   3765     CXX=$ac_ct_CXX
   3766   fi
   3767 fi
   3768 
   3769   fi
   3770 fi
   3771 # Provide some information about the compiler.
   3772 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   3773 set X $ac_compile
   3774 ac_compiler=$2
   3775 for ac_option in --version -v -V -qversion; do
   3776   { { ac_try="$ac_compiler $ac_option >&5"
   3777 case "(($ac_try" in
   3778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3779   *) ac_try_echo=$ac_try;;
   3780 esac
   3781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3782 $as_echo "$ac_try_echo"; } >&5
   3783   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3784   ac_status=$?
   3785   if test -s conftest.err; then
   3786     sed '10a\
   3787 ... rest of stderr output deleted ...
   3788          10q' conftest.err >conftest.er1
   3789     cat conftest.er1 >&5
   3790   fi
   3791   rm -f conftest.er1 conftest.err
   3792   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3793   test $ac_status = 0; }
   3794 done
   3795 
   3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   3797 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   3798 if ${ac_cv_cxx_compiler_gnu+:} false; then :
   3799   $as_echo_n "(cached) " >&6
   3800 else
   3801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3802 /* end confdefs.h.  */
   3803 
   3804 int
   3805 main ()
   3806 {
   3807 #ifndef __GNUC__
   3808        choke me
   3809 #endif
   3810 
   3811   ;
   3812   return 0;
   3813 }
   3814 _ACEOF
   3815 if ac_fn_cxx_try_compile "$LINENO"; then :
   3816   ac_compiler_gnu=yes
   3817 else
   3818   ac_compiler_gnu=no
   3819 fi
   3820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3821 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   3822 
   3823 fi
   3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   3825 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   3826 if test $ac_compiler_gnu = yes; then
   3827   GXX=yes
   3828 else
   3829   GXX=
   3830 fi
   3831 ac_test_CXXFLAGS=${CXXFLAGS+set}
   3832 ac_save_CXXFLAGS=$CXXFLAGS
   3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   3834 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   3835 if ${ac_cv_prog_cxx_g+:} false; then :
   3836   $as_echo_n "(cached) " >&6
   3837 else
   3838   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   3839    ac_cxx_werror_flag=yes
   3840    ac_cv_prog_cxx_g=no
   3841    CXXFLAGS="-g"
   3842    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3843 /* end confdefs.h.  */
   3844 
   3845 int
   3846 main ()
   3847 {
   3848 
   3849   ;
   3850   return 0;
   3851 }
   3852 _ACEOF
   3853 if ac_fn_cxx_try_compile "$LINENO"; then :
   3854   ac_cv_prog_cxx_g=yes
   3855 else
   3856   CXXFLAGS=""
   3857       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3858 /* end confdefs.h.  */
   3859 
   3860 int
   3861 main ()
   3862 {
   3863 
   3864   ;
   3865   return 0;
   3866 }
   3867 _ACEOF
   3868 if ac_fn_cxx_try_compile "$LINENO"; then :
   3869 
   3870 else
   3871   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3872 	 CXXFLAGS="-g"
   3873 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3874 /* end confdefs.h.  */
   3875 
   3876 int
   3877 main ()
   3878 {
   3879 
   3880   ;
   3881   return 0;
   3882 }
   3883 _ACEOF
   3884 if ac_fn_cxx_try_compile "$LINENO"; then :
   3885   ac_cv_prog_cxx_g=yes
   3886 fi
   3887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3888 fi
   3889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3890 fi
   3891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3892    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3893 fi
   3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   3895 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   3896 if test "$ac_test_CXXFLAGS" = set; then
   3897   CXXFLAGS=$ac_save_CXXFLAGS
   3898 elif test $ac_cv_prog_cxx_g = yes; then
   3899   if test "$GXX" = yes; then
   3900     CXXFLAGS="-g -O2"
   3901   else
   3902     CXXFLAGS="-g"
   3903   fi
   3904 else
   3905   if test "$GXX" = yes; then
   3906     CXXFLAGS="-O2"
   3907   else
   3908     CXXFLAGS=
   3909   fi
   3910 fi
   3911 ac_ext=c
   3912 ac_cpp='$CPP $CPPFLAGS'
   3913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3916 
   3917 if test -n "$ac_tool_prefix"; then
   3918   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   3919 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3921 $as_echo_n "checking for $ac_word... " >&6; }
   3922 if ${ac_cv_prog_RANLIB+:} false; then :
   3923   $as_echo_n "(cached) " >&6
   3924 else
   3925   if test -n "$RANLIB"; then
   3926   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   3927 else
   3928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3929 for as_dir in $PATH
   3930 do
   3931   IFS=$as_save_IFS
   3932   test -z "$as_dir" && as_dir=.
   3933     for ac_exec_ext in '' $ac_executable_extensions; do
   3934   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3935     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   3936     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3937     break 2
   3938   fi
   3939 done
   3940   done
   3941 IFS=$as_save_IFS
   3942 
   3943 fi
   3944 fi
   3945 RANLIB=$ac_cv_prog_RANLIB
   3946 if test -n "$RANLIB"; then
   3947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   3948 $as_echo "$RANLIB" >&6; }
   3949 else
   3950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3951 $as_echo "no" >&6; }
   3952 fi
   3953 
   3954 
   3955 fi
   3956 if test -z "$ac_cv_prog_RANLIB"; then
   3957   ac_ct_RANLIB=$RANLIB
   3958   # Extract the first word of "ranlib", so it can be a program name with args.
   3959 set dummy ranlib; ac_word=$2
   3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3961 $as_echo_n "checking for $ac_word... " >&6; }
   3962 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   3963   $as_echo_n "(cached) " >&6
   3964 else
   3965   if test -n "$ac_ct_RANLIB"; then
   3966   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   3967 else
   3968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3969 for as_dir in $PATH
   3970 do
   3971   IFS=$as_save_IFS
   3972   test -z "$as_dir" && as_dir=.
   3973     for ac_exec_ext in '' $ac_executable_extensions; do
   3974   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3975     ac_cv_prog_ac_ct_RANLIB="ranlib"
   3976     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3977     break 2
   3978   fi
   3979 done
   3980   done
   3981 IFS=$as_save_IFS
   3982 
   3983 fi
   3984 fi
   3985 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   3986 if test -n "$ac_ct_RANLIB"; then
   3987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   3988 $as_echo "$ac_ct_RANLIB" >&6; }
   3989 else
   3990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3991 $as_echo "no" >&6; }
   3992 fi
   3993 
   3994   if test "x$ac_ct_RANLIB" = x; then
   3995     RANLIB=":"
   3996   else
   3997     case $cross_compiling:$ac_tool_warned in
   3998 yes:)
   3999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4001 ac_tool_warned=yes ;;
   4002 esac
   4003     RANLIB=$ac_ct_RANLIB
   4004   fi
   4005 else
   4006   RANLIB="$ac_cv_prog_RANLIB"
   4007 fi
   4008 
   4009 
   4010 
   4011 ac_ext=c
   4012 ac_cpp='$CPP $CPPFLAGS'
   4013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4017 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4018 # On Suns, sometimes $CPP names a directory.
   4019 if test -n "$CPP" && test -d "$CPP"; then
   4020   CPP=
   4021 fi
   4022 if test -z "$CPP"; then
   4023   if ${ac_cv_prog_CPP+:} false; then :
   4024   $as_echo_n "(cached) " >&6
   4025 else
   4026       # Double quotes because CPP needs to be expanded
   4027     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4028     do
   4029       ac_preproc_ok=false
   4030 for ac_c_preproc_warn_flag in '' yes
   4031 do
   4032   # Use a header file that comes with gcc, so configuring glibc
   4033   # with a fresh cross-compiler works.
   4034   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4035   # <limits.h> exists even on freestanding compilers.
   4036   # On the NeXT, cc -E runs the code through the compiler's parser,
   4037   # not just through cpp. "Syntax error" is here to catch this case.
   4038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4039 /* end confdefs.h.  */
   4040 #ifdef __STDC__
   4041 # include <limits.h>
   4042 #else
   4043 # include <assert.h>
   4044 #endif
   4045 		     Syntax error
   4046 _ACEOF
   4047 if ac_fn_c_try_cpp "$LINENO"; then :
   4048 
   4049 else
   4050   # Broken: fails on valid input.
   4051 continue
   4052 fi
   4053 rm -f conftest.err conftest.i conftest.$ac_ext
   4054 
   4055   # OK, works on sane cases.  Now check whether nonexistent headers
   4056   # can be detected and how.
   4057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4058 /* end confdefs.h.  */
   4059 #include <ac_nonexistent.h>
   4060 _ACEOF
   4061 if ac_fn_c_try_cpp "$LINENO"; then :
   4062   # Broken: success on invalid input.
   4063 continue
   4064 else
   4065   # Passes both tests.
   4066 ac_preproc_ok=:
   4067 break
   4068 fi
   4069 rm -f conftest.err conftest.i conftest.$ac_ext
   4070 
   4071 done
   4072 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4073 rm -f conftest.i conftest.err conftest.$ac_ext
   4074 if $ac_preproc_ok; then :
   4075   break
   4076 fi
   4077 
   4078     done
   4079     ac_cv_prog_CPP=$CPP
   4080 
   4081 fi
   4082   CPP=$ac_cv_prog_CPP
   4083 else
   4084   ac_cv_prog_CPP=$CPP
   4085 fi
   4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4087 $as_echo "$CPP" >&6; }
   4088 ac_preproc_ok=false
   4089 for ac_c_preproc_warn_flag in '' yes
   4090 do
   4091   # Use a header file that comes with gcc, so configuring glibc
   4092   # with a fresh cross-compiler works.
   4093   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4094   # <limits.h> exists even on freestanding compilers.
   4095   # On the NeXT, cc -E runs the code through the compiler's parser,
   4096   # not just through cpp. "Syntax error" is here to catch this case.
   4097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4098 /* end confdefs.h.  */
   4099 #ifdef __STDC__
   4100 # include <limits.h>
   4101 #else
   4102 # include <assert.h>
   4103 #endif
   4104 		     Syntax error
   4105 _ACEOF
   4106 if ac_fn_c_try_cpp "$LINENO"; then :
   4107 
   4108 else
   4109   # Broken: fails on valid input.
   4110 continue
   4111 fi
   4112 rm -f conftest.err conftest.i conftest.$ac_ext
   4113 
   4114   # OK, works on sane cases.  Now check whether nonexistent headers
   4115   # can be detected and how.
   4116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4117 /* end confdefs.h.  */
   4118 #include <ac_nonexistent.h>
   4119 _ACEOF
   4120 if ac_fn_c_try_cpp "$LINENO"; then :
   4121   # Broken: success on invalid input.
   4122 continue
   4123 else
   4124   # Passes both tests.
   4125 ac_preproc_ok=:
   4126 break
   4127 fi
   4128 rm -f conftest.err conftest.i conftest.$ac_ext
   4129 
   4130 done
   4131 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4132 rm -f conftest.i conftest.err conftest.$ac_ext
   4133 if $ac_preproc_ok; then :
   4134 
   4135 else
   4136   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4138 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4139 See \`config.log' for more details" "$LINENO" 5; }
   4140 fi
   4141 
   4142 ac_ext=c
   4143 ac_cpp='$CPP $CPPFLAGS'
   4144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4147 
   4148 
   4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4150 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4151 if ${ac_cv_path_GREP+:} false; then :
   4152   $as_echo_n "(cached) " >&6
   4153 else
   4154   if test -z "$GREP"; then
   4155   ac_path_GREP_found=false
   4156   # Loop through the user's path and test for each of PROGNAME-LIST
   4157   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4158 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4159 do
   4160   IFS=$as_save_IFS
   4161   test -z "$as_dir" && as_dir=.
   4162     for ac_prog in grep ggrep; do
   4163     for ac_exec_ext in '' $ac_executable_extensions; do
   4164       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4165       as_fn_executable_p "$ac_path_GREP" || continue
   4166 # Check for GNU ac_path_GREP and select it if it is found.
   4167   # Check for GNU $ac_path_GREP
   4168 case `"$ac_path_GREP" --version 2>&1` in
   4169 *GNU*)
   4170   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4171 *)
   4172   ac_count=0
   4173   $as_echo_n 0123456789 >"conftest.in"
   4174   while :
   4175   do
   4176     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4177     mv "conftest.tmp" "conftest.in"
   4178     cp "conftest.in" "conftest.nl"
   4179     $as_echo 'GREP' >> "conftest.nl"
   4180     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4181     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4182     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4183     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4184       # Best one so far, save it but keep looking for a better one
   4185       ac_cv_path_GREP="$ac_path_GREP"
   4186       ac_path_GREP_max=$ac_count
   4187     fi
   4188     # 10*(2^10) chars as input seems more than enough
   4189     test $ac_count -gt 10 && break
   4190   done
   4191   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4192 esac
   4193 
   4194       $ac_path_GREP_found && break 3
   4195     done
   4196   done
   4197   done
   4198 IFS=$as_save_IFS
   4199   if test -z "$ac_cv_path_GREP"; then
   4200     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4201   fi
   4202 else
   4203   ac_cv_path_GREP=$GREP
   4204 fi
   4205 
   4206 fi
   4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4208 $as_echo "$ac_cv_path_GREP" >&6; }
   4209  GREP="$ac_cv_path_GREP"
   4210 
   4211 
   4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4213 $as_echo_n "checking for egrep... " >&6; }
   4214 if ${ac_cv_path_EGREP+:} false; then :
   4215   $as_echo_n "(cached) " >&6
   4216 else
   4217   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4218    then ac_cv_path_EGREP="$GREP -E"
   4219    else
   4220      if test -z "$EGREP"; then
   4221   ac_path_EGREP_found=false
   4222   # Loop through the user's path and test for each of PROGNAME-LIST
   4223   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4224 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4225 do
   4226   IFS=$as_save_IFS
   4227   test -z "$as_dir" && as_dir=.
   4228     for ac_prog in egrep; do
   4229     for ac_exec_ext in '' $ac_executable_extensions; do
   4230       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4231       as_fn_executable_p "$ac_path_EGREP" || continue
   4232 # Check for GNU ac_path_EGREP and select it if it is found.
   4233   # Check for GNU $ac_path_EGREP
   4234 case `"$ac_path_EGREP" --version 2>&1` in
   4235 *GNU*)
   4236   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4237 *)
   4238   ac_count=0
   4239   $as_echo_n 0123456789 >"conftest.in"
   4240   while :
   4241   do
   4242     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4243     mv "conftest.tmp" "conftest.in"
   4244     cp "conftest.in" "conftest.nl"
   4245     $as_echo 'EGREP' >> "conftest.nl"
   4246     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4247     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4248     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4249     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4250       # Best one so far, save it but keep looking for a better one
   4251       ac_cv_path_EGREP="$ac_path_EGREP"
   4252       ac_path_EGREP_max=$ac_count
   4253     fi
   4254     # 10*(2^10) chars as input seems more than enough
   4255     test $ac_count -gt 10 && break
   4256   done
   4257   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4258 esac
   4259 
   4260       $ac_path_EGREP_found && break 3
   4261     done
   4262   done
   4263   done
   4264 IFS=$as_save_IFS
   4265   if test -z "$ac_cv_path_EGREP"; then
   4266     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4267   fi
   4268 else
   4269   ac_cv_path_EGREP=$EGREP
   4270 fi
   4271 
   4272    fi
   4273 fi
   4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4275 $as_echo "$ac_cv_path_EGREP" >&6; }
   4276  EGREP="$ac_cv_path_EGREP"
   4277 
   4278 
   4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4280 $as_echo_n "checking for ANSI C header files... " >&6; }
   4281 if ${ac_cv_header_stdc+:} false; then :
   4282   $as_echo_n "(cached) " >&6
   4283 else
   4284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4285 /* end confdefs.h.  */
   4286 #include <stdlib.h>
   4287 #include <stdarg.h>
   4288 #include <string.h>
   4289 #include <float.h>
   4290 
   4291 int
   4292 main ()
   4293 {
   4294 
   4295   ;
   4296   return 0;
   4297 }
   4298 _ACEOF
   4299 if ac_fn_c_try_compile "$LINENO"; then :
   4300   ac_cv_header_stdc=yes
   4301 else
   4302   ac_cv_header_stdc=no
   4303 fi
   4304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4305 
   4306 if test $ac_cv_header_stdc = yes; then
   4307   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4309 /* end confdefs.h.  */
   4310 #include <string.h>
   4311 
   4312 _ACEOF
   4313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4314   $EGREP "memchr" >/dev/null 2>&1; then :
   4315 
   4316 else
   4317   ac_cv_header_stdc=no
   4318 fi
   4319 rm -f conftest*
   4320 
   4321 fi
   4322 
   4323 if test $ac_cv_header_stdc = yes; then
   4324   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4326 /* end confdefs.h.  */
   4327 #include <stdlib.h>
   4328 
   4329 _ACEOF
   4330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4331   $EGREP "free" >/dev/null 2>&1; then :
   4332 
   4333 else
   4334   ac_cv_header_stdc=no
   4335 fi
   4336 rm -f conftest*
   4337 
   4338 fi
   4339 
   4340 if test $ac_cv_header_stdc = yes; then
   4341   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4342   if test "$cross_compiling" = yes; then :
   4343   :
   4344 else
   4345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4346 /* end confdefs.h.  */
   4347 #include <ctype.h>
   4348 #include <stdlib.h>
   4349 #if ((' ' & 0x0FF) == 0x020)
   4350 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4351 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4352 #else
   4353 # define ISLOWER(c) \
   4354 		   (('a' <= (c) && (c) <= 'i') \
   4355 		     || ('j' <= (c) && (c) <= 'r') \
   4356 		     || ('s' <= (c) && (c) <= 'z'))
   4357 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4358 #endif
   4359 
   4360 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4361 int
   4362 main ()
   4363 {
   4364   int i;
   4365   for (i = 0; i < 256; i++)
   4366     if (XOR (islower (i), ISLOWER (i))
   4367 	|| toupper (i) != TOUPPER (i))
   4368       return 2;
   4369   return 0;
   4370 }
   4371 _ACEOF
   4372 if ac_fn_c_try_run "$LINENO"; then :
   4373 
   4374 else
   4375   ac_cv_header_stdc=no
   4376 fi
   4377 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4378   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4379 fi
   4380 
   4381 fi
   4382 fi
   4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4384 $as_echo "$ac_cv_header_stdc" >&6; }
   4385 if test $ac_cv_header_stdc = yes; then
   4386 
   4387 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4388 
   4389 fi
   4390 
   4391 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4392 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4393 		  inttypes.h stdint.h unistd.h
   4394 do :
   4395   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4396 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4397 "
   4398 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4399   cat >>confdefs.h <<_ACEOF
   4400 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4401 _ACEOF
   4402 
   4403 fi
   4404 
   4405 done
   4406 
   4407 
   4408 
   4409   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4410 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4411   MINIX=yes
   4412 else
   4413   MINIX=
   4414 fi
   4415 
   4416 
   4417   if test "$MINIX" = yes; then
   4418 
   4419 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4420 
   4421 
   4422 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4423 
   4424 
   4425 $as_echo "#define _MINIX 1" >>confdefs.h
   4426 
   4427   fi
   4428 
   4429 
   4430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4431 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4432 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4433   $as_echo_n "(cached) " >&6
   4434 else
   4435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4436 /* end confdefs.h.  */
   4437 
   4438 #         define __EXTENSIONS__ 1
   4439           $ac_includes_default
   4440 int
   4441 main ()
   4442 {
   4443 
   4444   ;
   4445   return 0;
   4446 }
   4447 _ACEOF
   4448 if ac_fn_c_try_compile "$LINENO"; then :
   4449   ac_cv_safe_to_define___extensions__=yes
   4450 else
   4451   ac_cv_safe_to_define___extensions__=no
   4452 fi
   4453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4454 fi
   4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4456 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4457   test $ac_cv_safe_to_define___extensions__ = yes &&
   4458     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4459 
   4460   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4461 
   4462   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4463 
   4464   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4465 
   4466   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4467 
   4468 
   4469 # Check whether --enable-largefile was given.
   4470 if test "${enable_largefile+set}" = set; then :
   4471   enableval=$enable_largefile;
   4472 fi
   4473 
   4474 if test "$enable_largefile" != no; then
   4475 
   4476   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   4477 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   4478 if ${ac_cv_sys_largefile_CC+:} false; then :
   4479   $as_echo_n "(cached) " >&6
   4480 else
   4481   ac_cv_sys_largefile_CC=no
   4482      if test "$GCC" != yes; then
   4483        ac_save_CC=$CC
   4484        while :; do
   4485 	 # IRIX 6.2 and later do not support large files by default,
   4486 	 # so use the C compiler's -n32 option if that helps.
   4487 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4488 /* end confdefs.h.  */
   4489 #include <sys/types.h>
   4490  /* Check that off_t can represent 2**63 - 1 correctly.
   4491     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4492     since some C++ compilers masquerading as C compilers
   4493     incorrectly reject 9223372036854775807.  */
   4494 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   4495   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4496 		       && LARGE_OFF_T % 2147483647 == 1)
   4497 		      ? 1 : -1];
   4498 int
   4499 main ()
   4500 {
   4501 
   4502   ;
   4503   return 0;
   4504 }
   4505 _ACEOF
   4506 	 if ac_fn_c_try_compile "$LINENO"; then :
   4507   break
   4508 fi
   4509 rm -f core conftest.err conftest.$ac_objext
   4510 	 CC="$CC -n32"
   4511 	 if ac_fn_c_try_compile "$LINENO"; then :
   4512   ac_cv_sys_largefile_CC=' -n32'; break
   4513 fi
   4514 rm -f core conftest.err conftest.$ac_objext
   4515 	 break
   4516        done
   4517        CC=$ac_save_CC
   4518        rm -f conftest.$ac_ext
   4519     fi
   4520 fi
   4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   4522 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   4523   if test "$ac_cv_sys_largefile_CC" != no; then
   4524     CC=$CC$ac_cv_sys_largefile_CC
   4525   fi
   4526 
   4527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   4528 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   4529 if ${ac_cv_sys_file_offset_bits+:} false; then :
   4530   $as_echo_n "(cached) " >&6
   4531 else
   4532   while :; do
   4533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4534 /* end confdefs.h.  */
   4535 #include <sys/types.h>
   4536  /* Check that off_t can represent 2**63 - 1 correctly.
   4537     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4538     since some C++ compilers masquerading as C compilers
   4539     incorrectly reject 9223372036854775807.  */
   4540 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   4541   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4542 		       && LARGE_OFF_T % 2147483647 == 1)
   4543 		      ? 1 : -1];
   4544 int
   4545 main ()
   4546 {
   4547 
   4548   ;
   4549   return 0;
   4550 }
   4551 _ACEOF
   4552 if ac_fn_c_try_compile "$LINENO"; then :
   4553   ac_cv_sys_file_offset_bits=no; break
   4554 fi
   4555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4557 /* end confdefs.h.  */
   4558 #define _FILE_OFFSET_BITS 64
   4559 #include <sys/types.h>
   4560  /* Check that off_t can represent 2**63 - 1 correctly.
   4561     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4562     since some C++ compilers masquerading as C compilers
   4563     incorrectly reject 9223372036854775807.  */
   4564 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   4565   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4566 		       && LARGE_OFF_T % 2147483647 == 1)
   4567 		      ? 1 : -1];
   4568 int
   4569 main ()
   4570 {
   4571 
   4572   ;
   4573   return 0;
   4574 }
   4575 _ACEOF
   4576 if ac_fn_c_try_compile "$LINENO"; then :
   4577   ac_cv_sys_file_offset_bits=64; break
   4578 fi
   4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4580   ac_cv_sys_file_offset_bits=unknown
   4581   break
   4582 done
   4583 fi
   4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   4585 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   4586 case $ac_cv_sys_file_offset_bits in #(
   4587   no | unknown) ;;
   4588   *)
   4589 cat >>confdefs.h <<_ACEOF
   4590 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   4591 _ACEOF
   4592 ;;
   4593 esac
   4594 rm -rf conftest*
   4595   if test $ac_cv_sys_file_offset_bits = unknown; then
   4596     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   4597 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   4598 if ${ac_cv_sys_large_files+:} false; then :
   4599   $as_echo_n "(cached) " >&6
   4600 else
   4601   while :; do
   4602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4603 /* end confdefs.h.  */
   4604 #include <sys/types.h>
   4605  /* Check that off_t can represent 2**63 - 1 correctly.
   4606     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4607     since some C++ compilers masquerading as C compilers
   4608     incorrectly reject 9223372036854775807.  */
   4609 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   4610   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4611 		       && LARGE_OFF_T % 2147483647 == 1)
   4612 		      ? 1 : -1];
   4613 int
   4614 main ()
   4615 {
   4616 
   4617   ;
   4618   return 0;
   4619 }
   4620 _ACEOF
   4621 if ac_fn_c_try_compile "$LINENO"; then :
   4622   ac_cv_sys_large_files=no; break
   4623 fi
   4624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4626 /* end confdefs.h.  */
   4627 #define _LARGE_FILES 1
   4628 #include <sys/types.h>
   4629  /* Check that off_t can represent 2**63 - 1 correctly.
   4630     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4631     since some C++ compilers masquerading as C compilers
   4632     incorrectly reject 9223372036854775807.  */
   4633 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   4634   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4635 		       && LARGE_OFF_T % 2147483647 == 1)
   4636 		      ? 1 : -1];
   4637 int
   4638 main ()
   4639 {
   4640 
   4641   ;
   4642   return 0;
   4643 }
   4644 _ACEOF
   4645 if ac_fn_c_try_compile "$LINENO"; then :
   4646   ac_cv_sys_large_files=1; break
   4647 fi
   4648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4649   ac_cv_sys_large_files=unknown
   4650   break
   4651 done
   4652 fi
   4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   4654 $as_echo "$ac_cv_sys_large_files" >&6; }
   4655 case $ac_cv_sys_large_files in #(
   4656   no | unknown) ;;
   4657   *)
   4658 cat >>confdefs.h <<_ACEOF
   4659 #define _LARGE_FILES $ac_cv_sys_large_files
   4660 _ACEOF
   4661 ;;
   4662 esac
   4663 rm -rf conftest*
   4664   fi
   4665 
   4666 
   4667 fi
   4668 
   4669 
   4670 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
   4671 for ac_prog in aclocal
   4672 do
   4673   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4674 set dummy $ac_prog; ac_word=$2
   4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4676 $as_echo_n "checking for $ac_word... " >&6; }
   4677 if ${ac_cv_prog_ACLOCAL+:} false; then :
   4678   $as_echo_n "(cached) " >&6
   4679 else
   4680   if test -n "$ACLOCAL"; then
   4681   ac_cv_prog_ACLOCAL="$ACLOCAL" # Let the user override the test.
   4682 else
   4683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4684 for as_dir in $PATH
   4685 do
   4686   IFS=$as_save_IFS
   4687   test -z "$as_dir" && as_dir=.
   4688     for ac_exec_ext in '' $ac_executable_extensions; do
   4689   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4690     ac_cv_prog_ACLOCAL="$ac_prog"
   4691     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4692     break 2
   4693   fi
   4694 done
   4695   done
   4696 IFS=$as_save_IFS
   4697 
   4698 fi
   4699 fi
   4700 ACLOCAL=$ac_cv_prog_ACLOCAL
   4701 if test -n "$ACLOCAL"; then
   4702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
   4703 $as_echo "$ACLOCAL" >&6; }
   4704 else
   4705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4706 $as_echo "no" >&6; }
   4707 fi
   4708 
   4709 
   4710   test -n "$ACLOCAL" && break
   4711 done
   4712 test -n "$ACLOCAL" || ACLOCAL="$MISSING aclocal"
   4713 
   4714 for ac_prog in autoconf
   4715 do
   4716   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4717 set dummy $ac_prog; ac_word=$2
   4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4719 $as_echo_n "checking for $ac_word... " >&6; }
   4720 if ${ac_cv_prog_AUTOCONF+:} false; then :
   4721   $as_echo_n "(cached) " >&6
   4722 else
   4723   if test -n "$AUTOCONF"; then
   4724   ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
   4725 else
   4726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4727 for as_dir in $PATH
   4728 do
   4729   IFS=$as_save_IFS
   4730   test -z "$as_dir" && as_dir=.
   4731     for ac_exec_ext in '' $ac_executable_extensions; do
   4732   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4733     ac_cv_prog_AUTOCONF="$ac_prog"
   4734     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4735     break 2
   4736   fi
   4737 done
   4738   done
   4739 IFS=$as_save_IFS
   4740 
   4741 fi
   4742 fi
   4743 AUTOCONF=$ac_cv_prog_AUTOCONF
   4744 if test -n "$AUTOCONF"; then
   4745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
   4746 $as_echo "$AUTOCONF" >&6; }
   4747 else
   4748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4749 $as_echo "no" >&6; }
   4750 fi
   4751 
   4752 
   4753   test -n "$AUTOCONF" && break
   4754 done
   4755 test -n "$AUTOCONF" || AUTOCONF="$MISSING autoconf"
   4756 
   4757 for ac_prog in autoheader
   4758 do
   4759   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4760 set dummy $ac_prog; ac_word=$2
   4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4762 $as_echo_n "checking for $ac_word... " >&6; }
   4763 if ${ac_cv_prog_AUTOHEADER+:} false; then :
   4764   $as_echo_n "(cached) " >&6
   4765 else
   4766   if test -n "$AUTOHEADER"; then
   4767   ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
   4768 else
   4769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4770 for as_dir in $PATH
   4771 do
   4772   IFS=$as_save_IFS
   4773   test -z "$as_dir" && as_dir=.
   4774     for ac_exec_ext in '' $ac_executable_extensions; do
   4775   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4776     ac_cv_prog_AUTOHEADER="$ac_prog"
   4777     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4778     break 2
   4779   fi
   4780 done
   4781   done
   4782 IFS=$as_save_IFS
   4783 
   4784 fi
   4785 fi
   4786 AUTOHEADER=$ac_cv_prog_AUTOHEADER
   4787 if test -n "$AUTOHEADER"; then
   4788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
   4789 $as_echo "$AUTOHEADER" >&6; }
   4790 else
   4791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4792 $as_echo "no" >&6; }
   4793 fi
   4794 
   4795 
   4796   test -n "$AUTOHEADER" && break
   4797 done
   4798 test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader"
   4799 
   4800 
   4801 # Figure out what compiler warnings we can enable.
   4802 # See config/warnings.m4 for details.
   4803 
   4804 ac_ext=c
   4805 ac_cpp='$CPP $CPPFLAGS'
   4806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4809 
   4810 warn=
   4811 save_CFLAGS="$CFLAGS"
   4812 for real_option in -W -Wall -Wno-narrowing -Wwrite-strings \
   4813 			  -Wmissing-format-attribute; do
   4814   # Do the check with the no- prefix removed since gcc silently
   4815   # accepts any -Wno-* option on purpose
   4816   case $real_option in
   4817     -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
   4818     *) option=$real_option ;;
   4819   esac
   4820   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
   4821 
   4822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
   4823 $as_echo_n "checking whether $CC supports $option... " >&6; }
   4824 if eval \${$as_acx_Woption+:} false; then :
   4825   $as_echo_n "(cached) " >&6
   4826 else
   4827   CFLAGS="$option"
   4828     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4829 /* end confdefs.h.  */
   4830 
   4831 int
   4832 main ()
   4833 {
   4834 
   4835   ;
   4836   return 0;
   4837 }
   4838 _ACEOF
   4839 if ac_fn_c_try_compile "$LINENO"; then :
   4840   eval "$as_acx_Woption=yes"
   4841 else
   4842   eval "$as_acx_Woption=no"
   4843 fi
   4844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4845 
   4846 fi
   4847 eval ac_res=\$$as_acx_Woption
   4848 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   4849 $as_echo "$ac_res" >&6; }
   4850   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
   4851   warn="$warn${warn:+ }$real_option"
   4852 fi
   4853   done
   4854 CFLAGS="$save_CFLAGS"
   4855 ac_ext=c
   4856 ac_cpp='$CPP $CPPFLAGS'
   4857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4860 
   4861 
   4862 ac_ext=c
   4863 ac_cpp='$CPP $CPPFLAGS'
   4864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4867 
   4868 c_warn=
   4869 save_CFLAGS="$CFLAGS"
   4870 for real_option in -Wstrict-prototypes -Wmissing-prototypes \
   4871 			  -Wold-style-definition -Wc++-compat; do
   4872   # Do the check with the no- prefix removed since gcc silently
   4873   # accepts any -Wno-* option on purpose
   4874   case $real_option in
   4875     -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
   4876     *) option=$real_option ;;
   4877   esac
   4878   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
   4879 
   4880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
   4881 $as_echo_n "checking whether $CC supports $option... " >&6; }
   4882 if eval \${$as_acx_Woption+:} false; then :
   4883   $as_echo_n "(cached) " >&6
   4884 else
   4885   CFLAGS="$option"
   4886     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4887 /* end confdefs.h.  */
   4888 
   4889 int
   4890 main ()
   4891 {
   4892 
   4893   ;
   4894   return 0;
   4895 }
   4896 _ACEOF
   4897 if ac_fn_c_try_compile "$LINENO"; then :
   4898   eval "$as_acx_Woption=yes"
   4899 else
   4900   eval "$as_acx_Woption=no"
   4901 fi
   4902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4903 
   4904 fi
   4905 eval ac_res=\$$as_acx_Woption
   4906 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   4907 $as_echo "$ac_res" >&6; }
   4908   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
   4909   c_warn="$c_warn${c_warn:+ }$real_option"
   4910 fi
   4911   done
   4912 CFLAGS="$save_CFLAGS"
   4913 ac_ext=c
   4914 ac_cpp='$CPP $CPPFLAGS'
   4915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4918 
   4919 
   4920 ac_ext=c
   4921 ac_cpp='$CPP $CPPFLAGS'
   4922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4925 
   4926 WARN_PEDANTIC=
   4927 # Do the check with the no- prefix removed from the warning options
   4928 # since gcc silently accepts any -Wno-* option on purpose
   4929 if test "$GCC" = yes; then :
   4930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
   4931 $as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
   4932 if ${acx_cv_prog_cc_pedantic__Wlong_long+:} false; then :
   4933   $as_echo_n "(cached) " >&6
   4934 else
   4935   save_CFLAGS="$CFLAGS"
   4936 CFLAGS="-pedantic -Wlong-long"
   4937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4938 /* end confdefs.h.  */
   4939 
   4940 int
   4941 main ()
   4942 {
   4943 
   4944   ;
   4945   return 0;
   4946 }
   4947 _ACEOF
   4948 if ac_fn_c_try_compile "$LINENO"; then :
   4949   acx_cv_prog_cc_pedantic__Wlong_long=yes
   4950 else
   4951   acx_cv_prog_cc_pedantic__Wlong_long=no
   4952 fi
   4953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4954 CFLAGS="$save_CFLAGS"
   4955 fi
   4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
   4957 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
   4958 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
   4959   WARN_PEDANTIC="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
   4960 fi
   4961 
   4962 fi
   4963 ac_ext=c
   4964 ac_cpp='$CPP $CPPFLAGS'
   4965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4968 
   4969 
   4970 
   4971 # Disable exceptions and RTTI if building with g++
   4972 ac_ext=c
   4973 ac_cpp='$CPP $CPPFLAGS'
   4974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4977 
   4978 noexception_flags=
   4979 save_CFLAGS="$CFLAGS"
   4980 for real_option in -fno-exceptions -fno-rtti; do
   4981   # Do the check with the no- prefix removed since gcc silently
   4982   # accepts any -Wno-* option on purpose
   4983   case $real_option in
   4984     -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
   4985     *) option=$real_option ;;
   4986   esac
   4987   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
   4988 
   4989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
   4990 $as_echo_n "checking whether $CC supports $option... " >&6; }
   4991 if eval \${$as_acx_Woption+:} false; then :
   4992   $as_echo_n "(cached) " >&6
   4993 else
   4994   CFLAGS="$option"
   4995     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4996 /* end confdefs.h.  */
   4997 
   4998 int
   4999 main ()
   5000 {
   5001 
   5002   ;
   5003   return 0;
   5004 }
   5005 _ACEOF
   5006 if ac_fn_c_try_compile "$LINENO"; then :
   5007   eval "$as_acx_Woption=yes"
   5008 else
   5009   eval "$as_acx_Woption=no"
   5010 fi
   5011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5012 
   5013 fi
   5014 eval ac_res=\$$as_acx_Woption
   5015 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   5016 $as_echo "$ac_res" >&6; }
   5017   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
   5018   noexception_flags="$noexception_flags${noexception_flags:+ }$real_option"
   5019 fi
   5020   done
   5021 CFLAGS="$save_CFLAGS"
   5022 ac_ext=c
   5023 ac_cpp='$CPP $CPPFLAGS'
   5024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5027 
   5028 
   5029 
   5030 # Only enable with --enable-werror-always until existing warnings are
   5031 # corrected.
   5032 ac_ext=c
   5033 ac_cpp='$CPP $CPPFLAGS'
   5034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5037 
   5038 WERROR=
   5039 # Check whether --enable-werror-always was given.
   5040 if test "${enable_werror_always+set}" = set; then :
   5041   enableval=$enable_werror_always;
   5042 else
   5043   enable_werror_always=no
   5044 fi
   5045 
   5046 if test $enable_werror_always = yes; then :
   5047   WERROR="$WERROR${WERROR:+ }-Werror"
   5048 fi
   5049 
   5050 ac_ext=c
   5051 ac_cpp='$CPP $CPPFLAGS'
   5052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5055 
   5056 
   5057 
   5058 # Dependency checking.
   5059 rm -rf .tst 2>/dev/null
   5060 mkdir .tst 2>/dev/null
   5061 if test -d .tst; then
   5062   am__leading_dot=.
   5063 else
   5064   am__leading_dot=_
   5065 fi
   5066 rmdir .tst 2>/dev/null
   5067 
   5068 DEPDIR="${am__leading_dot}deps"
   5069 
   5070 ac_config_commands="$ac_config_commands depdir"
   5071 
   5072 
   5073 ac_ext=cpp
   5074 ac_cpp='$CXXCPP $CPPFLAGS'
   5075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5078 
   5079 
   5080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5081 /* end confdefs.h.  */
   5082 int i;
   5083 _ACEOF
   5084 if ac_fn_cxx_try_compile "$LINENO"; then :
   5085 
   5086 else
   5087   as_fn_error $? "C++ compiler missing or inoperational" "$LINENO" 5
   5088 fi
   5089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5090 ac_ext=c
   5091 ac_cpp='$CPP $CPPFLAGS'
   5092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5095 
   5096 depcc="$CXX"  am_compiler_list=
   5097 
   5098 am_depcomp=$ac_aux_dir/depcomp
   5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5100 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5101 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
   5102   $as_echo_n "(cached) " >&6
   5103 else
   5104   if test -f "$am_depcomp"; then
   5105   # We make a subdir and do the tests there.  Otherwise we can end up
   5106   # making bogus files that we don't know about and never remove.  For
   5107   # instance it was reported that on HP-UX the gcc test will end up
   5108   # making a dummy file named `D' -- because `-MD' means `put the output
   5109   # in D'.
   5110   mkdir conftest.dir
   5111   # Copy depcomp to subdir because otherwise we won't find it if we're
   5112   # using a relative directory.
   5113   cp "$am_depcomp" conftest.dir
   5114   cd conftest.dir
   5115   # We will build objects and dependencies in a subdirectory because
   5116   # it helps to detect inapplicable dependency modes.  For instance
   5117   # both Tru64's cc and ICC support -MD to output dependencies as a
   5118   # side effect of compilation, but ICC will put the dependencies in
   5119   # the current directory while Tru64 will put them in the object
   5120   # directory.
   5121   mkdir sub
   5122 
   5123   am_cv_CXX_dependencies_compiler_type=none
   5124   if test "$am_compiler_list" = ""; then
   5125      am_compiler_list=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5126   fi
   5127   for depmode in $am_compiler_list; do
   5128     if test $depmode = none; then break; fi
   5129 
   5130     $as_echo "$as_me:$LINENO: trying $depmode" >&5
   5131     # Setup a source with many dependencies, because some compilers
   5132     # like to wrap large dependency lists on column 80 (with \), and
   5133     # we should not choose a depcomp mode which is confused by this.
   5134     #
   5135     # We need to recreate these files for each test, as the compiler may
   5136     # overwrite some of them when testing with obscure command lines.
   5137     # This happens at least with the AIX C compiler.
   5138     : > sub/conftest.c
   5139     for i in 1 2 3 4 5 6; do
   5140       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5141       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5142       # Solaris 8's {/usr,}/bin/sh.
   5143       touch sub/conftst$i.h
   5144     done
   5145     echo "include sub/conftest.Po" > confmf
   5146 
   5147     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5148     # mode.  It turns out that the SunPro C++ compiler does not properly
   5149     # handle `-M -o', and we need to detect this.
   5150     depcmd="depmode=$depmode \
   5151        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5152        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5153        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
   5154     echo "| $depcmd" | sed -e 's/  */ /g' >&5
   5155     if env $depcmd > conftest.err 2>&1 &&
   5156        grep sub/conftst6.h sub/conftest.Po >>conftest.err 2>&1 &&
   5157        grep sub/conftest.${OBJEXT-o} sub/conftest.Po >>conftest.err 2>&1 &&
   5158        ${MAKE-make} -s -f confmf >>conftest.err 2>&1; then
   5159       # icc doesn't choke on unknown options, it will just issue warnings
   5160       # or remarks (even with -Werror).  So we grep stderr for any message
   5161       # that says an option was ignored or not supported.
   5162       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5163       #   icc: Command line warning: ignoring option '-M'; no argument required
   5164       # The diagnosis changed in icc 8.0:
   5165       #   icc: Command line remark: option '-MP' not supported
   5166       if (grep 'ignoring option' conftest.err ||
   5167           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5168         am_cv_CXX_dependencies_compiler_type=$depmode
   5169 	$as_echo "$as_me:$LINENO: success" >&5
   5170         break
   5171       fi
   5172     fi
   5173     $as_echo "$as_me:$LINENO: failure, diagnostics are:" >&5
   5174     sed -e 's/^/| /' < conftest.err >&5
   5175   done
   5176 
   5177   cd ..
   5178   rm -rf conftest.dir
   5179 else
   5180   am_cv_CXX_dependencies_compiler_type=none
   5181 fi
   5182 
   5183 fi
   5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5185 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5186 if test x${am_cv_CXX_dependencies_compiler_type-none} = xnone
   5187 then as_fn_error $? "no usable dependency style found" "$LINENO" 5
   5188 else CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5189 
   5190 fi
   5191 
   5192 
   5193 # Checks for header files.
   5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
   5195 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
   5196 if ${ac_cv_header_time+:} false; then :
   5197   $as_echo_n "(cached) " >&6
   5198 else
   5199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5200 /* end confdefs.h.  */
   5201 #include <sys/types.h>
   5202 #include <sys/time.h>
   5203 #include <time.h>
   5204 
   5205 int
   5206 main ()
   5207 {
   5208 if ((struct tm *) 0)
   5209 return 0;
   5210   ;
   5211   return 0;
   5212 }
   5213 _ACEOF
   5214 if ac_fn_c_try_compile "$LINENO"; then :
   5215   ac_cv_header_time=yes
   5216 else
   5217   ac_cv_header_time=no
   5218 fi
   5219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5220 fi
   5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
   5222 $as_echo "$ac_cv_header_time" >&6; }
   5223 if test $ac_cv_header_time = yes; then
   5224 
   5225 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
   5226 
   5227 fi
   5228 
   5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5
   5230 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; }
   5231 if ${gcc_cv_header_string+:} false; then :
   5232   $as_echo_n "(cached) " >&6
   5233 else
   5234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5235 /* end confdefs.h.  */
   5236 #include <string.h>
   5237 #include <strings.h>
   5238 int
   5239 main ()
   5240 {
   5241 
   5242   ;
   5243   return 0;
   5244 }
   5245 _ACEOF
   5246 if ac_fn_c_try_compile "$LINENO"; then :
   5247   gcc_cv_header_string=yes
   5248 else
   5249   gcc_cv_header_string=no
   5250 fi
   5251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5252 fi
   5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_header_string" >&5
   5254 $as_echo "$gcc_cv_header_string" >&6; }
   5255 if test $gcc_cv_header_string = yes; then
   5256 
   5257 $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h
   5258 
   5259 fi
   5260 
   5261 
   5262 for ac_header in locale.h fcntl.h limits.h stddef.h \
   5263 	stdlib.h strings.h string.h sys/file.h unistd.h
   5264 do :
   5265   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5266 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   5267 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   5268   cat >>confdefs.h <<_ACEOF
   5269 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5270 _ACEOF
   5271 
   5272 fi
   5273 
   5274 done
   5275 
   5276 
   5277 # Checks for typedefs, structures, and compiler characteristics.
   5278  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   5279 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   5280 if ${ac_cv_c_bigendian+:} false; then :
   5281   $as_echo_n "(cached) " >&6
   5282 else
   5283   ac_cv_c_bigendian=unknown
   5284     # See if we're dealing with a universal compiler.
   5285     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5286 /* end confdefs.h.  */
   5287 #ifndef __APPLE_CC__
   5288 	       not a universal capable compiler
   5289 	     #endif
   5290 	     typedef int dummy;
   5291 
   5292 _ACEOF
   5293 if ac_fn_c_try_compile "$LINENO"; then :
   5294 
   5295 	# Check for potential -arch flags.  It is not universal unless
   5296 	# there are at least two -arch flags with different values.
   5297 	ac_arch=
   5298 	ac_prev=
   5299 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   5300 	 if test -n "$ac_prev"; then
   5301 	   case $ac_word in
   5302 	     i?86 | x86_64 | ppc | ppc64)
   5303 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   5304 		 ac_arch=$ac_word
   5305 	       else
   5306 		 ac_cv_c_bigendian=universal
   5307 		 break
   5308 	       fi
   5309 	       ;;
   5310 	   esac
   5311 	   ac_prev=
   5312 	 elif test "x$ac_word" = "x-arch"; then
   5313 	   ac_prev=arch
   5314 	 fi
   5315        done
   5316 fi
   5317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5318     if test $ac_cv_c_bigendian = unknown; then
   5319       # See if sys/param.h defines the BYTE_ORDER macro.
   5320       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5321 /* end confdefs.h.  */
   5322 #include <sys/types.h>
   5323 	     #include <sys/param.h>
   5324 
   5325 int
   5326 main ()
   5327 {
   5328 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   5329 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   5330 		     && LITTLE_ENDIAN)
   5331 	      bogus endian macros
   5332 	     #endif
   5333 
   5334   ;
   5335   return 0;
   5336 }
   5337 _ACEOF
   5338 if ac_fn_c_try_compile "$LINENO"; then :
   5339   # It does; now see whether it defined to BIG_ENDIAN or not.
   5340 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5341 /* end confdefs.h.  */
   5342 #include <sys/types.h>
   5343 		#include <sys/param.h>
   5344 
   5345 int
   5346 main ()
   5347 {
   5348 #if BYTE_ORDER != BIG_ENDIAN
   5349 		 not big endian
   5350 		#endif
   5351 
   5352   ;
   5353   return 0;
   5354 }
   5355 _ACEOF
   5356 if ac_fn_c_try_compile "$LINENO"; then :
   5357   ac_cv_c_bigendian=yes
   5358 else
   5359   ac_cv_c_bigendian=no
   5360 fi
   5361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5362 fi
   5363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5364     fi
   5365     if test $ac_cv_c_bigendian = unknown; then
   5366       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   5367       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5368 /* end confdefs.h.  */
   5369 #include <limits.h>
   5370 
   5371 int
   5372 main ()
   5373 {
   5374 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   5375 	      bogus endian macros
   5376 	     #endif
   5377 
   5378   ;
   5379   return 0;
   5380 }
   5381 _ACEOF
   5382 if ac_fn_c_try_compile "$LINENO"; then :
   5383   # It does; now see whether it defined to _BIG_ENDIAN or not.
   5384 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5385 /* end confdefs.h.  */
   5386 #include <limits.h>
   5387 
   5388 int
   5389 main ()
   5390 {
   5391 #ifndef _BIG_ENDIAN
   5392 		 not big endian
   5393 		#endif
   5394 
   5395   ;
   5396   return 0;
   5397 }
   5398 _ACEOF
   5399 if ac_fn_c_try_compile "$LINENO"; then :
   5400   ac_cv_c_bigendian=yes
   5401 else
   5402   ac_cv_c_bigendian=no
   5403 fi
   5404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5405 fi
   5406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5407     fi
   5408     if test $ac_cv_c_bigendian = unknown; then
   5409       # Compile a test program.
   5410       if test "$cross_compiling" = yes; then :
   5411   # Try to guess by grepping values from an object file.
   5412 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5413 /* end confdefs.h.  */
   5414 short int ascii_mm[] =
   5415 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   5416 		short int ascii_ii[] =
   5417 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   5418 		int use_ascii (int i) {
   5419 		  return ascii_mm[i] + ascii_ii[i];
   5420 		}
   5421 		short int ebcdic_ii[] =
   5422 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   5423 		short int ebcdic_mm[] =
   5424 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   5425 		int use_ebcdic (int i) {
   5426 		  return ebcdic_mm[i] + ebcdic_ii[i];
   5427 		}
   5428 		extern int foo;
   5429 
   5430 int
   5431 main ()
   5432 {
   5433 return use_ascii (foo) == use_ebcdic (foo);
   5434   ;
   5435   return 0;
   5436 }
   5437 _ACEOF
   5438 if ac_fn_c_try_compile "$LINENO"; then :
   5439   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   5440 	      ac_cv_c_bigendian=yes
   5441 	    fi
   5442 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   5443 	      if test "$ac_cv_c_bigendian" = unknown; then
   5444 		ac_cv_c_bigendian=no
   5445 	      else
   5446 		# finding both strings is unlikely to happen, but who knows?
   5447 		ac_cv_c_bigendian=unknown
   5448 	      fi
   5449 	    fi
   5450 fi
   5451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5452 else
   5453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5454 /* end confdefs.h.  */
   5455 $ac_includes_default
   5456 int
   5457 main ()
   5458 {
   5459 
   5460 	     /* Are we little or big endian?  From Harbison&Steele.  */
   5461 	     union
   5462 	     {
   5463 	       long int l;
   5464 	       char c[sizeof (long int)];
   5465 	     } u;
   5466 	     u.l = 1;
   5467 	     return u.c[sizeof (long int) - 1] == 1;
   5468 
   5469   ;
   5470   return 0;
   5471 }
   5472 _ACEOF
   5473 if ac_fn_c_try_run "$LINENO"; then :
   5474   ac_cv_c_bigendian=no
   5475 else
   5476   ac_cv_c_bigendian=yes
   5477 fi
   5478 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   5479   conftest.$ac_objext conftest.beam conftest.$ac_ext
   5480 fi
   5481 
   5482     fi
   5483 fi
   5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   5485 $as_echo "$ac_cv_c_bigendian" >&6; }
   5486  case $ac_cv_c_bigendian in #(
   5487    yes)
   5488      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
   5489 ;; #(
   5490    no)
   5491       ;; #(
   5492    universal)
   5493 
   5494 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   5495 
   5496      ;; #(
   5497    *)
   5498      as_fn_error $? "unknown endianness
   5499  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   5500  esac
   5501 
   5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   5503 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
   5504 if ${ac_cv_c_const+:} false; then :
   5505   $as_echo_n "(cached) " >&6
   5506 else
   5507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5508 /* end confdefs.h.  */
   5509 
   5510 int
   5511 main ()
   5512 {
   5513 
   5514 #ifndef __cplusplus
   5515   /* Ultrix mips cc rejects this sort of thing.  */
   5516   typedef int charset[2];
   5517   const charset cs = { 0, 0 };
   5518   /* SunOS 4.1.1 cc rejects this.  */
   5519   char const *const *pcpcc;
   5520   char **ppc;
   5521   /* NEC SVR4.0.2 mips cc rejects this.  */
   5522   struct point {int x, y;};
   5523   static struct point const zero = {0,0};
   5524   /* AIX XL C 1.02.0.0 rejects this.
   5525      It does not let you subtract one const X* pointer from another in
   5526      an arm of an if-expression whose if-part is not a constant
   5527      expression */
   5528   const char *g = "string";
   5529   pcpcc = &g + (g ? g-g : 0);
   5530   /* HPUX 7.0 cc rejects these. */
   5531   ++pcpcc;
   5532   ppc = (char**) pcpcc;
   5533   pcpcc = (char const *const *) ppc;
   5534   { /* SCO 3.2v4 cc rejects this sort of thing.  */
   5535     char tx;
   5536     char *t = &tx;
   5537     char const *s = 0 ? (char *) 0 : (char const *) 0;
   5538 
   5539     *t++ = 0;
   5540     if (s) return 0;
   5541   }
   5542   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   5543     int x[] = {25, 17};
   5544     const int *foo = &x[0];
   5545     ++foo;
   5546   }
   5547   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   5548     typedef const int *iptr;
   5549     iptr p = 0;
   5550     ++p;
   5551   }
   5552   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
   5553        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   5554     struct s { int j; const int *ap[3]; } bx;
   5555     struct s *b = &bx; b->j = 5;
   5556   }
   5557   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   5558     const int foo = 10;
   5559     if (!foo) return 0;
   5560   }
   5561   return !cs[0] && !zero.x;
   5562 #endif
   5563 
   5564   ;
   5565   return 0;
   5566 }
   5567 _ACEOF
   5568 if ac_fn_c_try_compile "$LINENO"; then :
   5569   ac_cv_c_const=yes
   5570 else
   5571   ac_cv_c_const=no
   5572 fi
   5573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5574 fi
   5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   5576 $as_echo "$ac_cv_c_const" >&6; }
   5577 if test $ac_cv_c_const = no; then
   5578 
   5579 $as_echo "#define const /**/" >>confdefs.h
   5580 
   5581 fi
   5582 
   5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
   5584 $as_echo_n "checking for inline... " >&6; }
   5585 if ${ac_cv_c_inline+:} false; then :
   5586   $as_echo_n "(cached) " >&6
   5587 else
   5588   ac_cv_c_inline=no
   5589 for ac_kw in inline __inline__ __inline; do
   5590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5591 /* end confdefs.h.  */
   5592 #ifndef __cplusplus
   5593 typedef int foo_t;
   5594 static $ac_kw foo_t static_foo () {return 0; }
   5595 $ac_kw foo_t foo () {return 0; }
   5596 #endif
   5597 
   5598 _ACEOF
   5599 if ac_fn_c_try_compile "$LINENO"; then :
   5600   ac_cv_c_inline=$ac_kw
   5601 fi
   5602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5603   test "$ac_cv_c_inline" != no && break
   5604 done
   5605 
   5606 fi
   5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
   5608 $as_echo "$ac_cv_c_inline" >&6; }
   5609 
   5610 case $ac_cv_c_inline in
   5611   inline | yes) ;;
   5612   *)
   5613     case $ac_cv_c_inline in
   5614       no) ac_val=;;
   5615       *) ac_val=$ac_cv_c_inline;;
   5616     esac
   5617     cat >>confdefs.h <<_ACEOF
   5618 #ifndef __cplusplus
   5619 #define inline $ac_val
   5620 #endif
   5621 _ACEOF
   5622     ;;
   5623 esac
   5624 
   5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obstacks" >&5
   5626 $as_echo_n "checking for obstacks... " >&6; }
   5627 if ${ac_cv_func_obstack+:} false; then :
   5628   $as_echo_n "(cached) " >&6
   5629 else
   5630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5631 /* end confdefs.h.  */
   5632 $ac_includes_default
   5633 		      #include "obstack.h"
   5634 int
   5635 main ()
   5636 {
   5637 struct obstack mem;
   5638 		       #define obstack_chunk_alloc malloc
   5639 		       #define obstack_chunk_free free
   5640 		       obstack_init (&mem);
   5641 		       obstack_free (&mem, 0);
   5642   ;
   5643   return 0;
   5644 }
   5645 _ACEOF
   5646 if ac_fn_c_try_link "$LINENO"; then :
   5647   ac_cv_func_obstack=yes
   5648 else
   5649   ac_cv_func_obstack=no
   5650 fi
   5651 rm -f core conftest.err conftest.$ac_objext \
   5652     conftest$ac_exeext conftest.$ac_ext
   5653 fi
   5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_obstack" >&5
   5655 $as_echo "$ac_cv_func_obstack" >&6; }
   5656 if test $ac_cv_func_obstack = yes; then
   5657 
   5658 $as_echo "#define HAVE_OBSTACK 1" >>confdefs.h
   5659 
   5660 else
   5661   case " $LIBOBJS " in
   5662   *" obstack.$ac_objext "* ) ;;
   5663   *) LIBOBJS="$LIBOBJS obstack.$ac_objext"
   5664  ;;
   5665 esac
   5666 
   5667 fi
   5668 
   5669 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
   5670 if test "x$ac_cv_type_off_t" = xyes; then :
   5671 
   5672 else
   5673 
   5674 cat >>confdefs.h <<_ACEOF
   5675 #define off_t long int
   5676 _ACEOF
   5677 
   5678 fi
   5679 
   5680 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
   5681 if test "x$ac_cv_type_size_t" = xyes; then :
   5682 
   5683 else
   5684 
   5685 cat >>confdefs.h <<_ACEOF
   5686 #define size_t unsigned int
   5687 _ACEOF
   5688 
   5689 fi
   5690 
   5691 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
   5692 if test "x$ac_cv_type_ssize_t" = xyes; then :
   5693 
   5694 else
   5695 
   5696 cat >>confdefs.h <<_ACEOF
   5697 #define ssize_t int
   5698 _ACEOF
   5699 
   5700 fi
   5701 
   5702 
   5703   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
   5704 if test "x$ac_cv_type_uintptr_t" = xyes; then :
   5705 
   5706 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
   5707 
   5708 else
   5709   for ac_type in 'unsigned int' 'unsigned long int' \
   5710 	'unsigned long long int'; do
   5711        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5712 /* end confdefs.h.  */
   5713 $ac_includes_default
   5714 int
   5715 main ()
   5716 {
   5717 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
   5718 test_array [0] = 0;
   5719 return test_array [0];
   5720 
   5721   ;
   5722   return 0;
   5723 }
   5724 _ACEOF
   5725 if ac_fn_c_try_compile "$LINENO"; then :
   5726 
   5727 cat >>confdefs.h <<_ACEOF
   5728 #define uintptr_t $ac_type
   5729 _ACEOF
   5730 
   5731 	  ac_type=
   5732 fi
   5733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5734        test -z "$ac_type" && break
   5735      done
   5736 fi
   5737 
   5738 
   5739 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
   5740 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
   5741 
   5742 else
   5743 
   5744 cat >>confdefs.h <<_ACEOF
   5745 #define ptrdiff_t int
   5746 _ACEOF
   5747 
   5748 fi
   5749 
   5750 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
   5751 case $ac_cv_c_uint64_t in #(
   5752   no|yes) ;; #(
   5753   *)
   5754 
   5755 $as_echo "#define _UINT64_T 1" >>confdefs.h
   5756 
   5757 
   5758 cat >>confdefs.h <<_ACEOF
   5759 #define uint64_t $ac_cv_c_uint64_t
   5760 _ACEOF
   5761 ;;
   5762   esac
   5763 
   5764 if test x"$ac_cv_c_uint64_t" = x"no"; then
   5765   as_fn_error $? "uint64_t not found" "$LINENO" 5
   5766 fi
   5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
   5768 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
   5769 if ${ac_cv_struct_tm+:} false; then :
   5770   $as_echo_n "(cached) " >&6
   5771 else
   5772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5773 /* end confdefs.h.  */
   5774 #include <sys/types.h>
   5775 #include <time.h>
   5776 
   5777 int
   5778 main ()
   5779 {
   5780 struct tm tm;
   5781 				     int *p = &tm.tm_sec;
   5782 				     return !p;
   5783   ;
   5784   return 0;
   5785 }
   5786 _ACEOF
   5787 if ac_fn_c_try_compile "$LINENO"; then :
   5788   ac_cv_struct_tm=time.h
   5789 else
   5790   ac_cv_struct_tm=sys/time.h
   5791 fi
   5792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5793 fi
   5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
   5795 $as_echo "$ac_cv_struct_tm" >&6; }
   5796 if test $ac_cv_struct_tm = sys/time.h; then
   5797 
   5798 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
   5799 
   5800 fi
   5801 
   5802 # The cast to long int works around a bug in the HP C Compiler
   5803 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   5804 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   5805 # This bug is HP SR number 8606223364.
   5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   5807 $as_echo_n "checking size of int... " >&6; }
   5808 if ${ac_cv_sizeof_int+:} false; then :
   5809   $as_echo_n "(cached) " >&6
   5810 else
   5811   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
   5812 
   5813 else
   5814   if test "$ac_cv_type_int" = yes; then
   5815      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   5816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5817 as_fn_error 77 "cannot compute sizeof (int)
   5818 See \`config.log' for more details" "$LINENO" 5; }
   5819    else
   5820      ac_cv_sizeof_int=0
   5821    fi
   5822 fi
   5823 
   5824 fi
   5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   5826 $as_echo "$ac_cv_sizeof_int" >&6; }
   5827 
   5828 
   5829 
   5830 cat >>confdefs.h <<_ACEOF
   5831 #define SIZEOF_INT $ac_cv_sizeof_int
   5832 _ACEOF
   5833 
   5834 
   5835 # The cast to long int works around a bug in the HP C Compiler
   5836 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   5837 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   5838 # This bug is HP SR number 8606223364.
   5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   5840 $as_echo_n "checking size of long... " >&6; }
   5841 if ${ac_cv_sizeof_long+:} false; then :
   5842   $as_echo_n "(cached) " >&6
   5843 else
   5844   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
   5845 
   5846 else
   5847   if test "$ac_cv_type_long" = yes; then
   5848      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   5849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5850 as_fn_error 77 "cannot compute sizeof (long)
   5851 See \`config.log' for more details" "$LINENO" 5; }
   5852    else
   5853      ac_cv_sizeof_long=0
   5854    fi
   5855 fi
   5856 
   5857 fi
   5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   5859 $as_echo "$ac_cv_sizeof_long" >&6; }
   5860 
   5861 
   5862 
   5863 cat >>confdefs.h <<_ACEOF
   5864 #define SIZEOF_LONG $ac_cv_sizeof_long
   5865 _ACEOF
   5866 
   5867 
   5868 
   5869 for ac_func in clearerr_unlocked feof_unlocked   ferror_unlocked fflush_unlocked fgetc_unlocked fgets_unlocked   fileno_unlocked fprintf_unlocked fputc_unlocked fputs_unlocked   fread_unlocked fwrite_unlocked getchar_unlocked getc_unlocked   putchar_unlocked putc_unlocked
   5870 do :
   5871   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   5872 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   5873 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   5874   cat >>confdefs.h <<_ACEOF
   5875 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   5876 _ACEOF
   5877 
   5878 fi
   5879 done
   5880 
   5881 ac_fn_c_check_decl "$LINENO" "abort" "ac_cv_have_decl_abort" "$ac_includes_default"
   5882 if test "x$ac_cv_have_decl_abort" = xyes; then :
   5883   ac_have_decl=1
   5884 else
   5885   ac_have_decl=0
   5886 fi
   5887 
   5888 cat >>confdefs.h <<_ACEOF
   5889 #define HAVE_DECL_ABORT $ac_have_decl
   5890 _ACEOF
   5891 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
   5892 if test "x$ac_cv_have_decl_asprintf" = xyes; then :
   5893   ac_have_decl=1
   5894 else
   5895   ac_have_decl=0
   5896 fi
   5897 
   5898 cat >>confdefs.h <<_ACEOF
   5899 #define HAVE_DECL_ASPRINTF $ac_have_decl
   5900 _ACEOF
   5901 as_ac_Symbol=`$as_echo "ac_cv_have_decl_basename(char *)" | $as_tr_sh`
   5902 ac_fn_c_check_decl "$LINENO" "basename(char *)" "$as_ac_Symbol" "$ac_includes_default"
   5903 if eval test \"x\$"$as_ac_Symbol"\" = x"yes"; then :
   5904   ac_have_decl=1
   5905 else
   5906   ac_have_decl=0
   5907 fi
   5908 
   5909 cat >>confdefs.h <<_ACEOF
   5910 #define HAVE_DECL_BASENAME $ac_have_decl
   5911 _ACEOF
   5912 ac_fn_c_check_decl "$LINENO" "errno" "ac_cv_have_decl_errno" "$ac_includes_default"
   5913 if test "x$ac_cv_have_decl_errno" = xyes; then :
   5914   ac_have_decl=1
   5915 else
   5916   ac_have_decl=0
   5917 fi
   5918 
   5919 cat >>confdefs.h <<_ACEOF
   5920 #define HAVE_DECL_ERRNO $ac_have_decl
   5921 _ACEOF
   5922 ac_fn_c_check_decl "$LINENO" "getopt" "ac_cv_have_decl_getopt" "$ac_includes_default"
   5923 if test "x$ac_cv_have_decl_getopt" = xyes; then :
   5924   ac_have_decl=1
   5925 else
   5926   ac_have_decl=0
   5927 fi
   5928 
   5929 cat >>confdefs.h <<_ACEOF
   5930 #define HAVE_DECL_GETOPT $ac_have_decl
   5931 _ACEOF
   5932 ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
   5933 if test "x$ac_cv_have_decl_vasprintf" = xyes; then :
   5934   ac_have_decl=1
   5935 else
   5936   ac_have_decl=0
   5937 fi
   5938 
   5939 cat >>confdefs.h <<_ACEOF
   5940 #define HAVE_DECL_VASPRINTF $ac_have_decl
   5941 _ACEOF
   5942 
   5943 ac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default"
   5944 if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes; then :
   5945   ac_have_decl=1
   5946 else
   5947   ac_have_decl=0
   5948 fi
   5949 
   5950 cat >>confdefs.h <<_ACEOF
   5951 #define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl
   5952 _ACEOF
   5953 ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default"
   5954 if test "x$ac_cv_have_decl_feof_unlocked" = xyes; then :
   5955   ac_have_decl=1
   5956 else
   5957   ac_have_decl=0
   5958 fi
   5959 
   5960 cat >>confdefs.h <<_ACEOF
   5961 #define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl
   5962 _ACEOF
   5963 ac_fn_c_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default"
   5964 if test "x$ac_cv_have_decl_ferror_unlocked" = xyes; then :
   5965   ac_have_decl=1
   5966 else
   5967   ac_have_decl=0
   5968 fi
   5969 
   5970 cat >>confdefs.h <<_ACEOF
   5971 #define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl
   5972 _ACEOF
   5973 ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
   5974 if test "x$ac_cv_have_decl_fflush_unlocked" = xyes; then :
   5975   ac_have_decl=1
   5976 else
   5977   ac_have_decl=0
   5978 fi
   5979 
   5980 cat >>confdefs.h <<_ACEOF
   5981 #define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl
   5982 _ACEOF
   5983 ac_fn_c_check_decl "$LINENO" "fgetc_unlocked" "ac_cv_have_decl_fgetc_unlocked" "$ac_includes_default"
   5984 if test "x$ac_cv_have_decl_fgetc_unlocked" = xyes; then :
   5985   ac_have_decl=1
   5986 else
   5987   ac_have_decl=0
   5988 fi
   5989 
   5990 cat >>confdefs.h <<_ACEOF
   5991 #define HAVE_DECL_FGETC_UNLOCKED $ac_have_decl
   5992 _ACEOF
   5993 ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default"
   5994 if test "x$ac_cv_have_decl_fgets_unlocked" = xyes; then :
   5995   ac_have_decl=1
   5996 else
   5997   ac_have_decl=0
   5998 fi
   5999 
   6000 cat >>confdefs.h <<_ACEOF
   6001 #define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl
   6002 _ACEOF
   6003 ac_fn_c_check_decl "$LINENO" "fileno_unlocked" "ac_cv_have_decl_fileno_unlocked" "$ac_includes_default"
   6004 if test "x$ac_cv_have_decl_fileno_unlocked" = xyes; then :
   6005   ac_have_decl=1
   6006 else
   6007   ac_have_decl=0
   6008 fi
   6009 
   6010 cat >>confdefs.h <<_ACEOF
   6011 #define HAVE_DECL_FILENO_UNLOCKED $ac_have_decl
   6012 _ACEOF
   6013 ac_fn_c_check_decl "$LINENO" "fprintf_unlocked" "ac_cv_have_decl_fprintf_unlocked" "$ac_includes_default"
   6014 if test "x$ac_cv_have_decl_fprintf_unlocked" = xyes; then :
   6015   ac_have_decl=1
   6016 else
   6017   ac_have_decl=0
   6018 fi
   6019 
   6020 cat >>confdefs.h <<_ACEOF
   6021 #define HAVE_DECL_FPRINTF_UNLOCKED $ac_have_decl
   6022 _ACEOF
   6023 ac_fn_c_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default"
   6024 if test "x$ac_cv_have_decl_fputc_unlocked" = xyes; then :
   6025   ac_have_decl=1
   6026 else
   6027   ac_have_decl=0
   6028 fi
   6029 
   6030 cat >>confdefs.h <<_ACEOF
   6031 #define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl
   6032 _ACEOF
   6033 ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
   6034 if test "x$ac_cv_have_decl_fputs_unlocked" = xyes; then :
   6035   ac_have_decl=1
   6036 else
   6037   ac_have_decl=0
   6038 fi
   6039 
   6040 cat >>confdefs.h <<_ACEOF
   6041 #define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl
   6042 _ACEOF
   6043 ac_fn_c_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default"
   6044 if test "x$ac_cv_have_decl_fread_unlocked" = xyes; then :
   6045   ac_have_decl=1
   6046 else
   6047   ac_have_decl=0
   6048 fi
   6049 
   6050 cat >>confdefs.h <<_ACEOF
   6051 #define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl
   6052 _ACEOF
   6053 ac_fn_c_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default"
   6054 if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes; then :
   6055   ac_have_decl=1
   6056 else
   6057   ac_have_decl=0
   6058 fi
   6059 
   6060 cat >>confdefs.h <<_ACEOF
   6061 #define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl
   6062 _ACEOF
   6063 ac_fn_c_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default"
   6064 if test "x$ac_cv_have_decl_getchar_unlocked" = xyes; then :
   6065   ac_have_decl=1
   6066 else
   6067   ac_have_decl=0
   6068 fi
   6069 
   6070 cat >>confdefs.h <<_ACEOF
   6071 #define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl
   6072 _ACEOF
   6073 ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
   6074 if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then :
   6075   ac_have_decl=1
   6076 else
   6077   ac_have_decl=0
   6078 fi
   6079 
   6080 cat >>confdefs.h <<_ACEOF
   6081 #define HAVE_DECL_GETC_UNLOCKED $ac_have_decl
   6082 _ACEOF
   6083 ac_fn_c_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default"
   6084 if test "x$ac_cv_have_decl_putchar_unlocked" = xyes; then :
   6085   ac_have_decl=1
   6086 else
   6087   ac_have_decl=0
   6088 fi
   6089 
   6090 cat >>confdefs.h <<_ACEOF
   6091 #define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl
   6092 _ACEOF
   6093 ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
   6094 if test "x$ac_cv_have_decl_putc_unlocked" = xyes; then :
   6095   ac_have_decl=1
   6096 else
   6097   ac_have_decl=0
   6098 fi
   6099 
   6100 cat >>confdefs.h <<_ACEOF
   6101 #define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl
   6102 _ACEOF
   6103 
   6104 
   6105 # Checks for library functions.
   6106 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
   6107 # for constant arguments.  Useless!
   6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
   6109 $as_echo_n "checking for working alloca.h... " >&6; }
   6110 if ${ac_cv_working_alloca_h+:} false; then :
   6111   $as_echo_n "(cached) " >&6
   6112 else
   6113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6114 /* end confdefs.h.  */
   6115 #include <alloca.h>
   6116 int
   6117 main ()
   6118 {
   6119 char *p = (char *) alloca (2 * sizeof (int));
   6120 			  if (p) return 0;
   6121   ;
   6122   return 0;
   6123 }
   6124 _ACEOF
   6125 if ac_fn_c_try_link "$LINENO"; then :
   6126   ac_cv_working_alloca_h=yes
   6127 else
   6128   ac_cv_working_alloca_h=no
   6129 fi
   6130 rm -f core conftest.err conftest.$ac_objext \
   6131     conftest$ac_exeext conftest.$ac_ext
   6132 fi
   6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
   6134 $as_echo "$ac_cv_working_alloca_h" >&6; }
   6135 if test $ac_cv_working_alloca_h = yes; then
   6136 
   6137 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
   6138 
   6139 fi
   6140 
   6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
   6142 $as_echo_n "checking for alloca... " >&6; }
   6143 if ${ac_cv_func_alloca_works+:} false; then :
   6144   $as_echo_n "(cached) " >&6
   6145 else
   6146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6147 /* end confdefs.h.  */
   6148 #ifdef __GNUC__
   6149 # define alloca __builtin_alloca
   6150 #else
   6151 # ifdef _MSC_VER
   6152 #  include <malloc.h>
   6153 #  define alloca _alloca
   6154 # else
   6155 #  ifdef HAVE_ALLOCA_H
   6156 #   include <alloca.h>
   6157 #  else
   6158 #   ifdef _AIX
   6159  #pragma alloca
   6160 #   else
   6161 #    ifndef alloca /* predefined by HP cc +Olibcalls */
   6162 void *alloca (size_t);
   6163 #    endif
   6164 #   endif
   6165 #  endif
   6166 # endif
   6167 #endif
   6168 
   6169 int
   6170 main ()
   6171 {
   6172 char *p = (char *) alloca (1);
   6173 				    if (p) return 0;
   6174   ;
   6175   return 0;
   6176 }
   6177 _ACEOF
   6178 if ac_fn_c_try_link "$LINENO"; then :
   6179   ac_cv_func_alloca_works=yes
   6180 else
   6181   ac_cv_func_alloca_works=no
   6182 fi
   6183 rm -f core conftest.err conftest.$ac_objext \
   6184     conftest$ac_exeext conftest.$ac_ext
   6185 fi
   6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
   6187 $as_echo "$ac_cv_func_alloca_works" >&6; }
   6188 
   6189 if test $ac_cv_func_alloca_works = yes; then
   6190 
   6191 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
   6192 
   6193 else
   6194   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
   6195 # that cause trouble.  Some versions do not even contain alloca or
   6196 # contain a buggy version.  If you still want to use their alloca,
   6197 # use ar to extract alloca.o from them instead of compiling alloca.c.
   6198 
   6199 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
   6200 
   6201 $as_echo "#define C_ALLOCA 1" >>confdefs.h
   6202 
   6203 
   6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
   6205 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
   6206 if ${ac_cv_os_cray+:} false; then :
   6207   $as_echo_n "(cached) " >&6
   6208 else
   6209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6210 /* end confdefs.h.  */
   6211 #if defined CRAY && ! defined CRAY2
   6212 webecray
   6213 #else
   6214 wenotbecray
   6215 #endif
   6216 
   6217 _ACEOF
   6218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6219   $EGREP "webecray" >/dev/null 2>&1; then :
   6220   ac_cv_os_cray=yes
   6221 else
   6222   ac_cv_os_cray=no
   6223 fi
   6224 rm -f conftest*
   6225 
   6226 fi
   6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
   6228 $as_echo "$ac_cv_os_cray" >&6; }
   6229 if test $ac_cv_os_cray = yes; then
   6230   for ac_func in _getb67 GETB67 getb67; do
   6231     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   6232 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   6233 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   6234 
   6235 cat >>confdefs.h <<_ACEOF
   6236 #define CRAY_STACKSEG_END $ac_func
   6237 _ACEOF
   6238 
   6239     break
   6240 fi
   6241 
   6242   done
   6243 fi
   6244 
   6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
   6246 $as_echo_n "checking stack direction for C alloca... " >&6; }
   6247 if ${ac_cv_c_stack_direction+:} false; then :
   6248   $as_echo_n "(cached) " >&6
   6249 else
   6250   if test "$cross_compiling" = yes; then :
   6251   ac_cv_c_stack_direction=0
   6252 else
   6253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6254 /* end confdefs.h.  */
   6255 $ac_includes_default
   6256 int
   6257 find_stack_direction (int *addr, int depth)
   6258 {
   6259   int dir, dummy = 0;
   6260   if (! addr)
   6261     addr = &dummy;
   6262   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
   6263   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
   6264   return dir + dummy;
   6265 }
   6266 
   6267 int
   6268 main (int argc, char **argv)
   6269 {
   6270   return find_stack_direction (0, argc + !argv + 20) < 0;
   6271 }
   6272 _ACEOF
   6273 if ac_fn_c_try_run "$LINENO"; then :
   6274   ac_cv_c_stack_direction=1
   6275 else
   6276   ac_cv_c_stack_direction=-1
   6277 fi
   6278 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6279   conftest.$ac_objext conftest.beam conftest.$ac_ext
   6280 fi
   6281 
   6282 fi
   6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
   6284 $as_echo "$ac_cv_c_stack_direction" >&6; }
   6285 cat >>confdefs.h <<_ACEOF
   6286 #define STACK_DIRECTION $ac_cv_c_stack_direction
   6287 _ACEOF
   6288 
   6289 
   6290 fi
   6291 
   6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   6293 $as_echo_n "checking for ANSI C header files... " >&6; }
   6294 if ${ac_cv_header_stdc+:} false; then :
   6295   $as_echo_n "(cached) " >&6
   6296 else
   6297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6298 /* end confdefs.h.  */
   6299 #include <stdlib.h>
   6300 #include <stdarg.h>
   6301 #include <string.h>
   6302 #include <float.h>
   6303 
   6304 int
   6305 main ()
   6306 {
   6307 
   6308   ;
   6309   return 0;
   6310 }
   6311 _ACEOF
   6312 if ac_fn_c_try_compile "$LINENO"; then :
   6313   ac_cv_header_stdc=yes
   6314 else
   6315   ac_cv_header_stdc=no
   6316 fi
   6317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6318 
   6319 if test $ac_cv_header_stdc = yes; then
   6320   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   6321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6322 /* end confdefs.h.  */
   6323 #include <string.h>
   6324 
   6325 _ACEOF
   6326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6327   $EGREP "memchr" >/dev/null 2>&1; then :
   6328 
   6329 else
   6330   ac_cv_header_stdc=no
   6331 fi
   6332 rm -f conftest*
   6333 
   6334 fi
   6335 
   6336 if test $ac_cv_header_stdc = yes; then
   6337   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   6338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6339 /* end confdefs.h.  */
   6340 #include <stdlib.h>
   6341 
   6342 _ACEOF
   6343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   6344   $EGREP "free" >/dev/null 2>&1; then :
   6345 
   6346 else
   6347   ac_cv_header_stdc=no
   6348 fi
   6349 rm -f conftest*
   6350 
   6351 fi
   6352 
   6353 if test $ac_cv_header_stdc = yes; then
   6354   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   6355   if test "$cross_compiling" = yes; then :
   6356   :
   6357 else
   6358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6359 /* end confdefs.h.  */
   6360 #include <ctype.h>
   6361 #include <stdlib.h>
   6362 #if ((' ' & 0x0FF) == 0x020)
   6363 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   6364 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   6365 #else
   6366 # define ISLOWER(c) \
   6367 		   (('a' <= (c) && (c) <= 'i') \
   6368 		     || ('j' <= (c) && (c) <= 'r') \
   6369 		     || ('s' <= (c) && (c) <= 'z'))
   6370 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   6371 #endif
   6372 
   6373 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   6374 int
   6375 main ()
   6376 {
   6377   int i;
   6378   for (i = 0; i < 256; i++)
   6379     if (XOR (islower (i), ISLOWER (i))
   6380 	|| toupper (i) != TOUPPER (i))
   6381       return 2;
   6382   return 0;
   6383 }
   6384 _ACEOF
   6385 if ac_fn_c_try_run "$LINENO"; then :
   6386 
   6387 else
   6388   ac_cv_header_stdc=no
   6389 fi
   6390 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6391   conftest.$ac_objext conftest.beam conftest.$ac_ext
   6392 fi
   6393 
   6394 fi
   6395 fi
   6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   6397 $as_echo "$ac_cv_header_stdc" >&6; }
   6398 if test $ac_cv_header_stdc = yes; then
   6399 
   6400 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   6401 
   6402 fi
   6403 
   6404 
   6405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
   6406 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
   6407 if ${am_cv_langinfo_codeset+:} false; then :
   6408   $as_echo_n "(cached) " >&6
   6409 else
   6410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6411 /* end confdefs.h.  */
   6412 #include <langinfo.h>
   6413 int
   6414 main ()
   6415 {
   6416 char* cs = nl_langinfo(CODESET);
   6417   ;
   6418   return 0;
   6419 }
   6420 _ACEOF
   6421 if ac_fn_c_try_link "$LINENO"; then :
   6422   am_cv_langinfo_codeset=yes
   6423 else
   6424   am_cv_langinfo_codeset=no
   6425 fi
   6426 rm -f core conftest.err conftest.$ac_objext \
   6427     conftest$ac_exeext conftest.$ac_ext
   6428 
   6429 fi
   6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
   6431 $as_echo "$am_cv_langinfo_codeset" >&6; }
   6432   if test $am_cv_langinfo_codeset = yes; then
   6433 
   6434 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
   6435 
   6436   fi
   6437 
   6438 # If we haven't got the data from the intl directory,
   6439 # assume NLS is disabled.
   6440 USE_NLS=no
   6441 LIBINTL=
   6442 LIBINTL_DEP=
   6443 INCINTL=
   6444 XGETTEXT=
   6445 GMSGFMT=
   6446 POSUB=
   6447 
   6448 if test -f  ../intl/config.intl; then
   6449   .  ../intl/config.intl
   6450 fi
   6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   6452 $as_echo_n "checking whether NLS is requested... " >&6; }
   6453 if test x"$USE_NLS" != xyes; then
   6454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6455 $as_echo "no" >&6; }
   6456 else
   6457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6458 $as_echo "yes" >&6; }
   6459 
   6460 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   6461 
   6462 
   6463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
   6464 $as_echo_n "checking for catalogs to be installed... " >&6; }
   6465   # Look for .po and .gmo files in the source directory.
   6466   CATALOGS=
   6467   XLINGUAS=
   6468   for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
   6469     # If there aren't any .gmo files the shell will give us the
   6470     # literal string "../path/to/srcdir/po/*.gmo" which has to be
   6471     # weeded out.
   6472     case "$cat" in *\**)
   6473       continue;;
   6474     esac
   6475     # The quadruple backslash is collapsed to a double backslash
   6476     # by the backticks, then collapsed again by the double quotes,
   6477     # leaving us with one backslash in the sed expression (right
   6478     # before the dot that mustn't act as a wildcard).
   6479     cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
   6480     lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
   6481     # The user is allowed to set LINGUAS to a list of languages to
   6482     # install catalogs for.  If it's empty that means "all of them."
   6483     if test "x$LINGUAS" = x; then
   6484       CATALOGS="$CATALOGS $cat"
   6485       XLINGUAS="$XLINGUAS $lang"
   6486     else
   6487       case "$LINGUAS" in *$lang*)
   6488         CATALOGS="$CATALOGS $cat"
   6489         XLINGUAS="$XLINGUAS $lang"
   6490         ;;
   6491       esac
   6492     fi
   6493   done
   6494   LINGUAS="$XLINGUAS"
   6495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
   6496 $as_echo "$LINGUAS" >&6; }
   6497 
   6498 
   6499     DATADIRNAME=share
   6500 
   6501   INSTOBJEXT=.mo
   6502 
   6503   GENCAT=gencat
   6504 
   6505   CATOBJEXT=.gmo
   6506 
   6507 fi
   6508 
   6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uchar" >&5
   6510 $as_echo_n "checking for uchar... " >&6; }
   6511 if ${gcc_cv_type_uchar+:} false; then :
   6512   $as_echo_n "(cached) " >&6
   6513 else
   6514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6515 /* end confdefs.h.  */
   6516 
   6517 #include <sys/types.h>
   6518 
   6519 int
   6520 main ()
   6521 {
   6522 if ((uchar *)0) return 0;
   6523  if (sizeof(uchar)) return 0;
   6524   ;
   6525   return 0;
   6526 }
   6527 _ACEOF
   6528 if ac_fn_c_try_compile "$LINENO"; then :
   6529   ac_cv_type_uchar=yes
   6530 else
   6531   ac_cv_type_uchar=no
   6532 fi
   6533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6534 fi
   6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_type_uchar" >&5
   6536 $as_echo "$gcc_cv_type_uchar" >&6; }
   6537 if test $ac_cv_type_uchar = yes; then
   6538 
   6539 $as_echo "#define HAVE_UCHAR 1" >>confdefs.h
   6540 
   6541 fi
   6542 
   6543 # g++ on Solaris 10+ defines _XOPEN_SOURCE=600, which exposes a different
   6544 # iconv() prototype.
   6545 ac_ext=cpp
   6546 ac_cpp='$CXXCPP $CPPFLAGS'
   6547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6550 
   6551 
   6552       if test "X$prefix" = "XNONE"; then
   6553     acl_final_prefix="$ac_default_prefix"
   6554   else
   6555     acl_final_prefix="$prefix"
   6556   fi
   6557   if test "X$exec_prefix" = "XNONE"; then
   6558     acl_final_exec_prefix='${prefix}'
   6559   else
   6560     acl_final_exec_prefix="$exec_prefix"
   6561   fi
   6562   acl_save_prefix="$prefix"
   6563   prefix="$acl_final_prefix"
   6564   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   6565   prefix="$acl_save_prefix"
   6566 
   6567 
   6568 # Check whether --with-gnu-ld was given.
   6569 if test "${with_gnu_ld+set}" = set; then :
   6570   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   6571 else
   6572   with_gnu_ld=no
   6573 fi
   6574 
   6575 # Prepare PATH_SEPARATOR.
   6576 # The user is always right.
   6577 if test "${PATH_SEPARATOR+set}" != set; then
   6578   echo "#! /bin/sh" >conf$$.sh
   6579   echo  "exit 0"   >>conf$$.sh
   6580   chmod +x conf$$.sh
   6581   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   6582     PATH_SEPARATOR=';'
   6583   else
   6584     PATH_SEPARATOR=:
   6585   fi
   6586   rm -f conf$$.sh
   6587 fi
   6588 ac_prog=ld
   6589 if test "$GCC" = yes; then
   6590   # Check if gcc -print-prog-name=ld gives a path.
   6591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
   6592 $as_echo_n "checking for ld used by GCC... " >&6; }
   6593   case $host in
   6594   *-*-mingw*)
   6595     # gcc leaves a trailing carriage return which upsets mingw
   6596     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   6597   *)
   6598     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   6599   esac
   6600   case $ac_prog in
   6601     # Accept absolute paths.
   6602     [\\/]* | [A-Za-z]:[\\/]*)
   6603       re_direlt='/[^/][^/]*/\.\./'
   6604       # Canonicalize the path of ld
   6605       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
   6606       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   6607 	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   6608       done
   6609       test -z "$LD" && LD="$ac_prog"
   6610       ;;
   6611   "")
   6612     # If it fails, then pretend we aren't using GCC.
   6613     ac_prog=ld
   6614     ;;
   6615   *)
   6616     # If it is relative, then search for the first ld in PATH.
   6617     with_gnu_ld=unknown
   6618     ;;
   6619   esac
   6620 elif test "$with_gnu_ld" = yes; then
   6621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   6622 $as_echo_n "checking for GNU ld... " >&6; }
   6623 else
   6624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   6625 $as_echo_n "checking for non-GNU ld... " >&6; }
   6626 fi
   6627 if ${acl_cv_path_LD+:} false; then :
   6628   $as_echo_n "(cached) " >&6
   6629 else
   6630   if test -z "$LD"; then
   6631   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
   6632   for ac_dir in $PATH; do
   6633     test -z "$ac_dir" && ac_dir=.
   6634     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   6635       acl_cv_path_LD="$ac_dir/$ac_prog"
   6636       # Check to see if the program is GNU ld.  I'd rather use --version,
   6637       # but apparently some GNU ld's only accept -v.
   6638       # Break only if it was the GNU/non-GNU ld that we prefer.
   6639       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
   6640 	test "$with_gnu_ld" != no && break
   6641       else
   6642 	test "$with_gnu_ld" != yes && break
   6643       fi
   6644     fi
   6645   done
   6646   IFS="$ac_save_ifs"
   6647 else
   6648   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   6649 fi
   6650 fi
   6651 
   6652 LD="$acl_cv_path_LD"
   6653 if test -n "$LD"; then
   6654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   6655 $as_echo "$LD" >&6; }
   6656 else
   6657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6658 $as_echo "no" >&6; }
   6659 fi
   6660 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   6662 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   6663 if ${acl_cv_prog_gnu_ld+:} false; then :
   6664   $as_echo_n "(cached) " >&6
   6665 else
   6666   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
   6667 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
   6668   acl_cv_prog_gnu_ld=yes
   6669 else
   6670   acl_cv_prog_gnu_ld=no
   6671 fi
   6672 fi
   6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   6674 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
   6675 with_gnu_ld=$acl_cv_prog_gnu_ld
   6676 
   6677 
   6678 
   6679                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   6680 $as_echo_n "checking for shared library run path origin... " >&6; }
   6681 if ${acl_cv_rpath+:} false; then :
   6682   $as_echo_n "(cached) " >&6
   6683 else
   6684 
   6685     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   6686     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   6687     . ./conftest.sh
   6688     rm -f ./conftest.sh
   6689     acl_cv_rpath=done
   6690 
   6691 fi
   6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   6693 $as_echo "$acl_cv_rpath" >&6; }
   6694   wl="$acl_cv_wl"
   6695   libext="$acl_cv_libext"
   6696   shlibext="$acl_cv_shlibext"
   6697   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   6698   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   6699   hardcode_direct="$acl_cv_hardcode_direct"
   6700   hardcode_minus_L="$acl_cv_hardcode_minus_L"
   6701     # Check whether --enable-rpath was given.
   6702 if test "${enable_rpath+set}" = set; then :
   6703   enableval=$enable_rpath; :
   6704 else
   6705   enable_rpath=yes
   6706 fi
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 
   6715     use_additional=yes
   6716 
   6717   acl_save_prefix="$prefix"
   6718   prefix="$acl_final_prefix"
   6719   acl_save_exec_prefix="$exec_prefix"
   6720   exec_prefix="$acl_final_exec_prefix"
   6721 
   6722     eval additional_includedir=\"$includedir\"
   6723     eval additional_libdir=\"$libdir\"
   6724 
   6725   exec_prefix="$acl_save_exec_prefix"
   6726   prefix="$acl_save_prefix"
   6727 
   6728 
   6729 # Check whether --with-libiconv-prefix was given.
   6730 if test "${with_libiconv_prefix+set}" = set; then :
   6731   withval=$with_libiconv_prefix;
   6732     if test "X$withval" = "Xno"; then
   6733       use_additional=no
   6734     else
   6735       if test "X$withval" = "X"; then
   6736 
   6737   acl_save_prefix="$prefix"
   6738   prefix="$acl_final_prefix"
   6739   acl_save_exec_prefix="$exec_prefix"
   6740   exec_prefix="$acl_final_exec_prefix"
   6741 
   6742           eval additional_includedir=\"$includedir\"
   6743           eval additional_libdir=\"$libdir\"
   6744 
   6745   exec_prefix="$acl_save_exec_prefix"
   6746   prefix="$acl_save_prefix"
   6747 
   6748       else
   6749         additional_includedir="$withval/include"
   6750         additional_libdir="$withval/lib"
   6751       fi
   6752     fi
   6753 
   6754 fi
   6755 
   6756       LIBICONV=
   6757   LTLIBICONV=
   6758   INCICONV=
   6759   rpathdirs=
   6760   ltrpathdirs=
   6761   names_already_handled=
   6762   names_next_round='iconv '
   6763   while test -n "$names_next_round"; do
   6764     names_this_round="$names_next_round"
   6765     names_next_round=
   6766     for name in $names_this_round; do
   6767       already_handled=
   6768       for n in $names_already_handled; do
   6769         if test "$n" = "$name"; then
   6770           already_handled=yes
   6771           break
   6772         fi
   6773       done
   6774       if test -z "$already_handled"; then
   6775         names_already_handled="$names_already_handled $name"
   6776                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   6777         eval value=\"\$HAVE_LIB$uppername\"
   6778         if test -n "$value"; then
   6779           if test "$value" = yes; then
   6780             eval value=\"\$LIB$uppername\"
   6781             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   6782             eval value=\"\$LTLIB$uppername\"
   6783             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   6784           else
   6785                                     :
   6786           fi
   6787         else
   6788                               found_dir=
   6789           found_la=
   6790           found_so=
   6791           found_a=
   6792           if test $use_additional = yes; then
   6793             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
   6794               found_dir="$additional_libdir"
   6795               found_so="$additional_libdir/lib$name.$shlibext"
   6796               if test -f "$additional_libdir/lib$name.la"; then
   6797                 found_la="$additional_libdir/lib$name.la"
   6798               fi
   6799             else
   6800               if test -f "$additional_libdir/lib$name.$libext"; then
   6801                 found_dir="$additional_libdir"
   6802                 found_a="$additional_libdir/lib$name.$libext"
   6803                 if test -f "$additional_libdir/lib$name.la"; then
   6804                   found_la="$additional_libdir/lib$name.la"
   6805                 fi
   6806               fi
   6807             fi
   6808           fi
   6809           if test "X$found_dir" = "X"; then
   6810             for x in $LDFLAGS $LTLIBICONV; do
   6811 
   6812   acl_save_prefix="$prefix"
   6813   prefix="$acl_final_prefix"
   6814   acl_save_exec_prefix="$exec_prefix"
   6815   exec_prefix="$acl_final_exec_prefix"
   6816   eval x=\"$x\"
   6817   exec_prefix="$acl_save_exec_prefix"
   6818   prefix="$acl_save_prefix"
   6819 
   6820               case "$x" in
   6821                 -L*)
   6822                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   6823                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
   6824                     found_dir="$dir"
   6825                     found_so="$dir/lib$name.$shlibext"
   6826                     if test -f "$dir/lib$name.la"; then
   6827                       found_la="$dir/lib$name.la"
   6828                     fi
   6829                   else
   6830                     if test -f "$dir/lib$name.$libext"; then
   6831                       found_dir="$dir"
   6832                       found_a="$dir/lib$name.$libext"
   6833                       if test -f "$dir/lib$name.la"; then
   6834                         found_la="$dir/lib$name.la"
   6835                       fi
   6836                     fi
   6837                   fi
   6838                   ;;
   6839               esac
   6840               if test "X$found_dir" != "X"; then
   6841                 break
   6842               fi
   6843             done
   6844           fi
   6845           if test "X$found_dir" != "X"; then
   6846                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   6847             if test "X$found_so" != "X"; then
   6848                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   6849                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   6850               else
   6851                                                                                 haveit=
   6852                 for x in $ltrpathdirs; do
   6853                   if test "X$x" = "X$found_dir"; then
   6854                     haveit=yes
   6855                     break
   6856                   fi
   6857                 done
   6858                 if test -z "$haveit"; then
   6859                   ltrpathdirs="$ltrpathdirs $found_dir"
   6860                 fi
   6861                                 if test "$hardcode_direct" = yes; then
   6862                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   6863                 else
   6864                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   6865                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   6866                                                             haveit=
   6867                     for x in $rpathdirs; do
   6868                       if test "X$x" = "X$found_dir"; then
   6869                         haveit=yes
   6870                         break
   6871                       fi
   6872                     done
   6873                     if test -z "$haveit"; then
   6874                       rpathdirs="$rpathdirs $found_dir"
   6875                     fi
   6876                   else
   6877                                                                                 haveit=
   6878                     for x in $LDFLAGS $LIBICONV; do
   6879 
   6880   acl_save_prefix="$prefix"
   6881   prefix="$acl_final_prefix"
   6882   acl_save_exec_prefix="$exec_prefix"
   6883   exec_prefix="$acl_final_exec_prefix"
   6884   eval x=\"$x\"
   6885   exec_prefix="$acl_save_exec_prefix"
   6886   prefix="$acl_save_prefix"
   6887 
   6888                       if test "X$x" = "X-L$found_dir"; then
   6889                         haveit=yes
   6890                         break
   6891                       fi
   6892                     done
   6893                     if test -z "$haveit"; then
   6894                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   6895                     fi
   6896                     if test "$hardcode_minus_L" != no; then
   6897                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   6898                     else
   6899                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   6900                     fi
   6901                   fi
   6902                 fi
   6903               fi
   6904             else
   6905               if test "X$found_a" != "X"; then
   6906                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   6907               else
   6908                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   6909               fi
   6910             fi
   6911                         additional_includedir=
   6912             case "$found_dir" in
   6913               */lib | */lib/)
   6914                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   6915                 additional_includedir="$basedir/include"
   6916                 ;;
   6917             esac
   6918             if test "X$additional_includedir" != "X"; then
   6919                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   6920                 haveit=
   6921                 if test "X$additional_includedir" = "X/usr/local/include"; then
   6922                   if test -n "$GCC"; then
   6923                     case $host_os in
   6924                       linux*) haveit=yes;;
   6925                     esac
   6926                   fi
   6927                 fi
   6928                 if test -z "$haveit"; then
   6929                   for x in $CPPFLAGS $INCICONV; do
   6930 
   6931   acl_save_prefix="$prefix"
   6932   prefix="$acl_final_prefix"
   6933   acl_save_exec_prefix="$exec_prefix"
   6934   exec_prefix="$acl_final_exec_prefix"
   6935   eval x=\"$x\"
   6936   exec_prefix="$acl_save_exec_prefix"
   6937   prefix="$acl_save_prefix"
   6938 
   6939                     if test "X$x" = "X-I$additional_includedir"; then
   6940                       haveit=yes
   6941                       break
   6942                     fi
   6943                   done
   6944                   if test -z "$haveit"; then
   6945                     if test -d "$additional_includedir"; then
   6946                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   6947                     fi
   6948                   fi
   6949                 fi
   6950               fi
   6951             fi
   6952                         if test -n "$found_la"; then
   6953                                                         save_libdir="$libdir"
   6954               case "$found_la" in
   6955                 */* | *\\*) . "$found_la" ;;
   6956                 *) . "./$found_la" ;;
   6957               esac
   6958               libdir="$save_libdir"
   6959                             for dep in $dependency_libs; do
   6960                 case "$dep" in
   6961                   -L*)
   6962                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   6963                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   6964                       haveit=
   6965                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   6966                         if test -n "$GCC"; then
   6967                           case $host_os in
   6968                             linux*) haveit=yes;;
   6969                           esac
   6970                         fi
   6971                       fi
   6972                       if test -z "$haveit"; then
   6973                         haveit=
   6974                         for x in $LDFLAGS $LIBICONV; do
   6975 
   6976   acl_save_prefix="$prefix"
   6977   prefix="$acl_final_prefix"
   6978   acl_save_exec_prefix="$exec_prefix"
   6979   exec_prefix="$acl_final_exec_prefix"
   6980   eval x=\"$x\"
   6981   exec_prefix="$acl_save_exec_prefix"
   6982   prefix="$acl_save_prefix"
   6983 
   6984                           if test "X$x" = "X-L$additional_libdir"; then
   6985                             haveit=yes
   6986                             break
   6987                           fi
   6988                         done
   6989                         if test -z "$haveit"; then
   6990                           if test -d "$additional_libdir"; then
   6991                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   6992                           fi
   6993                         fi
   6994                         haveit=
   6995                         for x in $LDFLAGS $LTLIBICONV; do
   6996 
   6997   acl_save_prefix="$prefix"
   6998   prefix="$acl_final_prefix"
   6999   acl_save_exec_prefix="$exec_prefix"
   7000   exec_prefix="$acl_final_exec_prefix"
   7001   eval x=\"$x\"
   7002   exec_prefix="$acl_save_exec_prefix"
   7003   prefix="$acl_save_prefix"
   7004 
   7005                           if test "X$x" = "X-L$additional_libdir"; then
   7006                             haveit=yes
   7007                             break
   7008                           fi
   7009                         done
   7010                         if test -z "$haveit"; then
   7011                           if test -d "$additional_libdir"; then
   7012                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   7013                           fi
   7014                         fi
   7015                       fi
   7016                     fi
   7017                     ;;
   7018                   -R*)
   7019                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   7020                     if test "$enable_rpath" != no; then
   7021                                                                   haveit=
   7022                       for x in $rpathdirs; do
   7023                         if test "X$x" = "X$dir"; then
   7024                           haveit=yes
   7025                           break
   7026                         fi
   7027                       done
   7028                       if test -z "$haveit"; then
   7029                         rpathdirs="$rpathdirs $dir"
   7030                       fi
   7031                                                                   haveit=
   7032                       for x in $ltrpathdirs; do
   7033                         if test "X$x" = "X$dir"; then
   7034                           haveit=yes
   7035                           break
   7036                         fi
   7037                       done
   7038                       if test -z "$haveit"; then
   7039                         ltrpathdirs="$ltrpathdirs $dir"
   7040                       fi
   7041                     fi
   7042                     ;;
   7043                   -l*)
   7044                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   7045                     ;;
   7046                   *.la)
   7047                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   7048                     ;;
   7049                   *)
   7050                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   7051                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   7052                     ;;
   7053                 esac
   7054               done
   7055             fi
   7056           else
   7057                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   7058             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   7059           fi
   7060         fi
   7061       fi
   7062     done
   7063   done
   7064   if test "X$rpathdirs" != "X"; then
   7065     if test -n "$hardcode_libdir_separator"; then
   7066                         alldirs=
   7067       for found_dir in $rpathdirs; do
   7068         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   7069       done
   7070             acl_save_libdir="$libdir"
   7071       libdir="$alldirs"
   7072       eval flag=\"$hardcode_libdir_flag_spec\"
   7073       libdir="$acl_save_libdir"
   7074       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   7075     else
   7076             for found_dir in $rpathdirs; do
   7077         acl_save_libdir="$libdir"
   7078         libdir="$found_dir"
   7079         eval flag=\"$hardcode_libdir_flag_spec\"
   7080         libdir="$acl_save_libdir"
   7081         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   7082       done
   7083     fi
   7084   fi
   7085   if test "X$ltrpathdirs" != "X"; then
   7086             for found_dir in $ltrpathdirs; do
   7087       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   7088     done
   7089   fi
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   7098 $as_echo_n "checking for iconv... " >&6; }
   7099 if ${am_cv_func_iconv+:} false; then :
   7100   $as_echo_n "(cached) " >&6
   7101 else
   7102 
   7103     am_cv_func_iconv="no, consider installing GNU libiconv"
   7104     am_cv_lib_iconv=no
   7105                     am_save_CPPFLAGS="$CPPFLAGS"
   7106     CPPFLAGS="$CPPFLAGS $INCICONV"
   7107     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7108 /* end confdefs.h.  */
   7109 #include <stdlib.h>
   7110 #include <iconv.h>
   7111 int
   7112 main ()
   7113 {
   7114 iconv_t cd = iconv_open("","");
   7115        iconv(cd,NULL,NULL,NULL,NULL);
   7116        iconv_close(cd);
   7117   ;
   7118   return 0;
   7119 }
   7120 _ACEOF
   7121 if ac_fn_cxx_try_link "$LINENO"; then :
   7122   am_cv_func_iconv=yes
   7123 fi
   7124 rm -f core conftest.err conftest.$ac_objext \
   7125     conftest$ac_exeext conftest.$ac_ext
   7126     CPPFLAGS="$am_save_CPPFLAGS"
   7127 
   7128     if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
   7129       for _libs in .libs _libs; do
   7130         am_save_CPPFLAGS="$CPPFLAGS"
   7131         am_save_LIBS="$LIBS"
   7132         CPPFLAGS="$CPPFLAGS -I../libiconv/include"
   7133         LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
   7134         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7135 /* end confdefs.h.  */
   7136 #include <stdlib.h>
   7137 #include <iconv.h>
   7138 int
   7139 main ()
   7140 {
   7141 iconv_t cd = iconv_open("","");
   7142            iconv(cd,NULL,NULL,NULL,NULL);
   7143            iconv_close(cd);
   7144   ;
   7145   return 0;
   7146 }
   7147 _ACEOF
   7148 if ac_fn_cxx_try_link "$LINENO"; then :
   7149   INCICONV="-I../libiconv/include"
   7150           LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
   7151           LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
   7152           am_cv_lib_iconv=yes
   7153           am_cv_func_iconv=yes
   7154 fi
   7155 rm -f core conftest.err conftest.$ac_objext \
   7156     conftest$ac_exeext conftest.$ac_ext
   7157         CPPFLAGS="$am_save_CPPFLAGS"
   7158         LIBS="$am_save_LIBS"
   7159         if test "$am_cv_func_iconv" = "yes"; then
   7160           break
   7161         fi
   7162       done
   7163     fi
   7164 
   7165     if test "$am_cv_func_iconv" != yes; then
   7166       am_save_CPPFLAGS="$CPPFLAGS"
   7167       am_save_LIBS="$LIBS"
   7168       CPPFLAGS="$CPPFLAGS $INCICONV"
   7169       LIBS="$LIBS $LIBICONV"
   7170       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7171 /* end confdefs.h.  */
   7172 #include <stdlib.h>
   7173 #include <iconv.h>
   7174 int
   7175 main ()
   7176 {
   7177 iconv_t cd = iconv_open("","");
   7178          iconv(cd,NULL,NULL,NULL,NULL);
   7179          iconv_close(cd);
   7180   ;
   7181   return 0;
   7182 }
   7183 _ACEOF
   7184 if ac_fn_cxx_try_link "$LINENO"; then :
   7185   am_cv_lib_iconv=yes
   7186         am_cv_func_iconv=yes
   7187 fi
   7188 rm -f core conftest.err conftest.$ac_objext \
   7189     conftest$ac_exeext conftest.$ac_ext
   7190       CPPFLAGS="$am_save_CPPFLAGS"
   7191       LIBS="$am_save_LIBS"
   7192     fi
   7193 
   7194 fi
   7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   7196 $as_echo "$am_cv_func_iconv" >&6; }
   7197   if test "$am_cv_func_iconv" = yes; then
   7198 
   7199 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
   7200 
   7201   fi
   7202   if test "$am_cv_lib_iconv" = yes; then
   7203 
   7204   for element in $INCICONV; do
   7205     haveit=
   7206     for x in $CPPFLAGS; do
   7207 
   7208   acl_save_prefix="$prefix"
   7209   prefix="$acl_final_prefix"
   7210   acl_save_exec_prefix="$exec_prefix"
   7211   exec_prefix="$acl_final_exec_prefix"
   7212   eval x=\"$x\"
   7213   exec_prefix="$acl_save_exec_prefix"
   7214   prefix="$acl_save_prefix"
   7215 
   7216       if test "X$x" = "X$element"; then
   7217         haveit=yes
   7218         break
   7219       fi
   7220     done
   7221     if test -z "$haveit"; then
   7222       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   7223     fi
   7224   done
   7225 
   7226     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   7227 $as_echo_n "checking how to link with libiconv... " >&6; }
   7228     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   7229 $as_echo "$LIBICONV" >&6; }
   7230   else
   7231     LIBICONV=
   7232     LTLIBICONV=
   7233   fi
   7234 
   7235 
   7236 
   7237   if test "$am_cv_func_iconv" = yes; then
   7238     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
   7239 $as_echo_n "checking for iconv declaration... " >&6; }
   7240     if ${am_cv_proto_iconv+:} false; then :
   7241   $as_echo_n "(cached) " >&6
   7242 else
   7243 
   7244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7245 /* end confdefs.h.  */
   7246 
   7247 #include <stdlib.h>
   7248 #include <iconv.h>
   7249 extern
   7250 #ifdef __cplusplus
   7251 "C"
   7252 #endif
   7253 #if defined(__STDC__) || defined(__cplusplus)
   7254 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
   7255 #else
   7256 size_t iconv();
   7257 #endif
   7258 
   7259 int
   7260 main ()
   7261 {
   7262 
   7263   ;
   7264   return 0;
   7265 }
   7266 _ACEOF
   7267 if ac_fn_cxx_try_compile "$LINENO"; then :
   7268   am_cv_proto_iconv_arg1=""
   7269 else
   7270   am_cv_proto_iconv_arg1="const"
   7271 fi
   7272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7273       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
   7274 fi
   7275 
   7276     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
   7277     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
   7278          }$am_cv_proto_iconv" >&5
   7279 $as_echo "${ac_t:-
   7280          }$am_cv_proto_iconv" >&6; }
   7281 
   7282 cat >>confdefs.h <<_ACEOF
   7283 #define ICONV_CONST $am_cv_proto_iconv_arg1
   7284 _ACEOF
   7285 
   7286   fi
   7287 
   7288 ac_ext=c
   7289 ac_cpp='$CPP $CPPFLAGS'
   7290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7293 
   7294 
   7295 # More defines and substitutions.
   7296 PACKAGE="$PACKAGE_TARNAME"
   7297 
   7298 cat >>confdefs.h <<_ACEOF
   7299 #define PACKAGE "$PACKAGE"
   7300 _ACEOF
   7301 
   7302 
   7303 
   7304 if test "x$enable_nls" != xno; then
   7305   USED_CATALOGS='$(CATALOGS)'
   7306 else
   7307   USED_CATALOGS=
   7308 fi
   7309 
   7310 
   7311 # Check whether --enable-maintainer-mode was given.
   7312 if test "${enable_maintainer_mode+set}" = set; then :
   7313   enableval=$enable_maintainer_mode;
   7314 else
   7315   enable_maintainer_mode=no
   7316 fi
   7317 
   7318 
   7319 if test "x$enable_maintainer_mode" = xno; then
   7320   MAINT='#'
   7321 else
   7322   MAINT=
   7323 fi
   7324 
   7325 
   7326 # Enable expensive internal checks
   7327 is_release=
   7328 if test -f $srcdir/../gcc/DEV-PHASE \
   7329    && test x"`cat $srcdir/../gcc/DEV-PHASE`" != xexperimental; then
   7330   is_release=yes
   7331 fi
   7332 
   7333 # Check whether --enable-checking was given.
   7334 if test "${enable_checking+set}" = set; then :
   7335   enableval=$enable_checking; ac_checking_flags="${enableval}"
   7336 else
   7337 
   7338 # Determine the default checks.
   7339 if test x$is_release = x ; then
   7340   ac_checking_flags=yes
   7341 else
   7342   ac_checking_flags=release
   7343 fi
   7344 fi
   7345 
   7346 IFS="${IFS= 	}"; ac_save_IFS="$IFS"; IFS="$IFS,"
   7347 for check in release $ac_checking_flags
   7348 do
   7349 	case $check in
   7350 	# these set all the flags to specific states
   7351 	yes|all) ac_checking=1 ; ac_assert_checking=1 ; ac_valgrind_checking= ;;
   7352 	no|none) ac_checking= ; ac_assert_checking= ; ac_valgrind_checking= ;;
   7353 	release) ac_checking= ; ac_assert_checking=1 ; ac_valgrind_checking= ;;
   7354 	# these enable particular checks
   7355 	assert) ac_assert_checking=1 ;;
   7356 	misc) ac_checking=1 ;;
   7357 	valgrind) ac_valgrind_checking=1 ;;
   7358 	# accept
   7359 	*) ;;
   7360 	esac
   7361 done
   7362 IFS="$ac_save_IFS"
   7363 
   7364 if test x$ac_checking != x ; then
   7365 
   7366 $as_echo "#define CHECKING_P 1" >>confdefs.h
   7367 
   7368 else
   7369   $as_echo "#define CHECKING_P 0" >>confdefs.h
   7370 
   7371 fi
   7372 
   7373 if test x$ac_assert_checking != x ; then
   7374 
   7375 $as_echo "#define ENABLE_ASSERT_CHECKING 1" >>confdefs.h
   7376 
   7377 fi
   7378 
   7379 if test x$ac_valgrind_checking != x ; then
   7380 
   7381 $as_echo "#define ENABLE_VALGRIND_CHECKING 1" >>confdefs.h
   7382 
   7383 fi
   7384 
   7385 # Check whether --enable-canonical-system-headers was given.
   7386 if test "${enable_canonical_system_headers+set}" = set; then :
   7387   enableval=$enable_canonical_system_headers;
   7388 else
   7389   enable_canonical_system_headers=yes
   7390 fi
   7391 
   7392 if test $enable_canonical_system_headers != no; then
   7393 
   7394 $as_echo "#define ENABLE_CANONICAL_SYSTEM_HEADERS 1" >>confdefs.h
   7395 
   7396 fi
   7397 
   7398 case $target in
   7399   i?86-* | x86_64-*)
   7400     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7401 /* end confdefs.h.  */
   7402 
   7403 int
   7404 main ()
   7405 {
   7406 asm ("pcmpestri %0, %%xmm0, %%xmm1" : : "i"(0))
   7407   ;
   7408   return 0;
   7409 }
   7410 _ACEOF
   7411 if ac_fn_c_try_compile "$LINENO"; then :
   7412 
   7413 $as_echo "#define HAVE_SSE4 1" >>confdefs.h
   7414 
   7415 fi
   7416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7417 esac
   7418 
   7419 # Enable --enable-host-shared.
   7420 # Check whether --enable-host-shared was given.
   7421 if test "${enable_host_shared+set}" = set; then :
   7422   enableval=$enable_host_shared; PICFLAG=-fPIC
   7423 else
   7424   PICFLAG=
   7425 fi
   7426 
   7427 
   7428 
   7429 # Check whether --enable-valgrind-annotations was given.
   7430 if test "${enable_valgrind_annotations+set}" = set; then :
   7431   enableval=$enable_valgrind_annotations;
   7432 else
   7433   enable_valgrind_annotations=no
   7434 fi
   7435 
   7436 if test x$enable_valgrind_annotations != xno \
   7437     || test x$ac_valgrind_checking != x; then
   7438   if (test $have_valgrind_h = no \
   7439       && test $gcc_cv_header_memcheck_h = no \
   7440       && test $gcc_cv_header_valgrind_memcheck_h = no); then
   7441     as_fn_error $? "*** Can't find valgrind/memcheck.h, memcheck.h or valgrind.h" "$LINENO" 5
   7442   fi
   7443 
   7444 $as_echo "#define ENABLE_VALGRIND_ANNOTATIONS 1" >>confdefs.h
   7445 
   7446 fi
   7447 
   7448 # Output.
   7449 
   7450 ac_config_headers="$ac_config_headers config.h:config.in"
   7451 
   7452 ac_config_files="$ac_config_files Makefile"
   7453 
   7454 cat >confcache <<\_ACEOF
   7455 # This file is a shell script that caches the results of configure
   7456 # tests run on this system so they can be shared between configure
   7457 # scripts and configure runs, see configure's option --config-cache.
   7458 # It is not useful on other systems.  If it contains results you don't
   7459 # want to keep, you may remove or edit it.
   7460 #
   7461 # config.status only pays attention to the cache file if you give it
   7462 # the --recheck option to rerun configure.
   7463 #
   7464 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   7465 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   7466 # following values.
   7467 
   7468 _ACEOF
   7469 
   7470 # The following way of writing the cache mishandles newlines in values,
   7471 # but we know of no workaround that is simple, portable, and efficient.
   7472 # So, we kill variables containing newlines.
   7473 # Ultrix sh set writes to stderr and can't be redirected directly,
   7474 # and sets the high bit in the cache file unless we assign to the vars.
   7475 (
   7476   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   7477     eval ac_val=\$$ac_var
   7478     case $ac_val in #(
   7479     *${as_nl}*)
   7480       case $ac_var in #(
   7481       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   7482 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   7483       esac
   7484       case $ac_var in #(
   7485       _ | IFS | as_nl) ;; #(
   7486       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   7487       *) { eval $ac_var=; unset $ac_var;} ;;
   7488       esac ;;
   7489     esac
   7490   done
   7491 
   7492   (set) 2>&1 |
   7493     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   7494     *${as_nl}ac_space=\ *)
   7495       # `set' does not quote correctly, so add quotes: double-quote
   7496       # substitution turns \\\\ into \\, and sed turns \\ into \.
   7497       sed -n \
   7498 	"s/'/'\\\\''/g;
   7499 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   7500       ;; #(
   7501     *)
   7502       # `set' quotes correctly as required by POSIX, so do not add quotes.
   7503       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   7504       ;;
   7505     esac |
   7506     sort
   7507 ) |
   7508   sed '
   7509      /^ac_cv_env_/b end
   7510      t clear
   7511      :clear
   7512      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   7513      t end
   7514      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   7515      :end' >>confcache
   7516 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   7517   if test -w "$cache_file"; then
   7518     if test "x$cache_file" != "x/dev/null"; then
   7519       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   7520 $as_echo "$as_me: updating cache $cache_file" >&6;}
   7521       if test ! -f "$cache_file" || test -h "$cache_file"; then
   7522 	cat confcache >"$cache_file"
   7523       else
   7524         case $cache_file in #(
   7525         */* | ?:*)
   7526 	  mv -f confcache "$cache_file"$$ &&
   7527 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   7528         *)
   7529 	  mv -f confcache "$cache_file" ;;
   7530 	esac
   7531       fi
   7532     fi
   7533   else
   7534     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   7535 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   7536   fi
   7537 fi
   7538 rm -f confcache
   7539 
   7540 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   7541 # Let make expand exec_prefix.
   7542 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   7543 
   7544 DEFS=-DHAVE_CONFIG_H
   7545 
   7546 ac_libobjs=
   7547 ac_ltlibobjs=
   7548 U=
   7549 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   7550   # 1. Remove the extension, and $U if already installed.
   7551   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   7552   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   7553   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   7554   #    will be set to the directory where LIBOBJS objects are built.
   7555   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   7556   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   7557 done
   7558 LIBOBJS=$ac_libobjs
   7559 
   7560 LTLIBOBJS=$ac_ltlibobjs
   7561 
   7562 
   7563 
   7564 
   7565 : "${CONFIG_STATUS=./config.status}"
   7566 ac_write_fail=0
   7567 ac_clean_files_save=$ac_clean_files
   7568 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   7569 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   7570 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   7571 as_write_fail=0
   7572 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   7573 #! $SHELL
   7574 # Generated by $as_me.
   7575 # Run this file to recreate the current configuration.
   7576 # Compiler output produced by configure, useful for debugging
   7577 # configure, is in config.log if it exists.
   7578 
   7579 debug=false
   7580 ac_cs_recheck=false
   7581 ac_cs_silent=false
   7582 
   7583 SHELL=\${CONFIG_SHELL-$SHELL}
   7584 export SHELL
   7585 _ASEOF
   7586 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   7587 ## -------------------- ##
   7588 ## M4sh Initialization. ##
   7589 ## -------------------- ##
   7590 
   7591 # Be more Bourne compatible
   7592 DUALCASE=1; export DUALCASE # for MKS sh
   7593 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   7594   emulate sh
   7595   NULLCMD=:
   7596   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   7597   # is contrary to our usage.  Disable this feature.
   7598   alias -g '${1+"$@"}'='"$@"'
   7599   setopt NO_GLOB_SUBST
   7600 else
   7601   case `(set -o) 2>/dev/null` in #(
   7602   *posix*) :
   7603     set -o posix ;; #(
   7604   *) :
   7605      ;;
   7606 esac
   7607 fi
   7608 
   7609 
   7610 as_nl='
   7611 '
   7612 export as_nl
   7613 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   7614 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   7615 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   7616 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   7617 # Prefer a ksh shell builtin over an external printf program on Solaris,
   7618 # but without wasting forks for bash or zsh.
   7619 if test -z "$BASH_VERSION$ZSH_VERSION" \
   7620     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   7621   as_echo='print -r --'
   7622   as_echo_n='print -rn --'
   7623 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   7624   as_echo='printf %s\n'
   7625   as_echo_n='printf %s'
   7626 else
   7627   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   7628     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   7629     as_echo_n='/usr/ucb/echo -n'
   7630   else
   7631     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   7632     as_echo_n_body='eval
   7633       arg=$1;
   7634       case $arg in #(
   7635       *"$as_nl"*)
   7636 	expr "X$arg" : "X\\(.*\\)$as_nl";
   7637 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   7638       esac;
   7639       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   7640     '
   7641     export as_echo_n_body
   7642     as_echo_n='sh -c $as_echo_n_body as_echo'
   7643   fi
   7644   export as_echo_body
   7645   as_echo='sh -c $as_echo_body as_echo'
   7646 fi
   7647 
   7648 # The user is always right.
   7649 if test "${PATH_SEPARATOR+set}" != set; then
   7650   PATH_SEPARATOR=:
   7651   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   7652     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   7653       PATH_SEPARATOR=';'
   7654   }
   7655 fi
   7656 
   7657 
   7658 # IFS
   7659 # We need space, tab and new line, in precisely that order.  Quoting is
   7660 # there to prevent editors from complaining about space-tab.
   7661 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   7662 # splitting by setting IFS to empty value.)
   7663 IFS=" ""	$as_nl"
   7664 
   7665 # Find who we are.  Look in the path if we contain no directory separator.
   7666 as_myself=
   7667 case $0 in #((
   7668   *[\\/]* ) as_myself=$0 ;;
   7669   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7670 for as_dir in $PATH
   7671 do
   7672   IFS=$as_save_IFS
   7673   test -z "$as_dir" && as_dir=.
   7674     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   7675   done
   7676 IFS=$as_save_IFS
   7677 
   7678      ;;
   7679 esac
   7680 # We did not find ourselves, most probably we were run as `sh COMMAND'
   7681 # in which case we are not to be found in the path.
   7682 if test "x$as_myself" = x; then
   7683   as_myself=$0
   7684 fi
   7685 if test ! -f "$as_myself"; then
   7686   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   7687   exit 1
   7688 fi
   7689 
   7690 # Unset variables that we do not need and which cause bugs (e.g. in
   7691 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   7692 # suppresses any "Segmentation fault" message there.  '((' could
   7693 # trigger a bug in pdksh 5.2.14.
   7694 for as_var in BASH_ENV ENV MAIL MAILPATH
   7695 do eval test x\${$as_var+set} = xset \
   7696   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   7697 done
   7698 PS1='$ '
   7699 PS2='> '
   7700 PS4='+ '
   7701 
   7702 # NLS nuisances.
   7703 LC_ALL=C
   7704 export LC_ALL
   7705 LANGUAGE=C
   7706 export LANGUAGE
   7707 
   7708 # CDPATH.
   7709 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   7710 
   7711 
   7712 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   7713 # ----------------------------------------
   7714 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   7715 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   7716 # script with STATUS, using 1 if that was 0.
   7717 as_fn_error ()
   7718 {
   7719   as_status=$1; test $as_status -eq 0 && as_status=1
   7720   if test "$4"; then
   7721     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   7722     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   7723   fi
   7724   $as_echo "$as_me: error: $2" >&2
   7725   as_fn_exit $as_status
   7726 } # as_fn_error
   7727 
   7728 
   7729 # as_fn_set_status STATUS
   7730 # -----------------------
   7731 # Set $? to STATUS, without forking.
   7732 as_fn_set_status ()
   7733 {
   7734   return $1
   7735 } # as_fn_set_status
   7736 
   7737 # as_fn_exit STATUS
   7738 # -----------------
   7739 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   7740 as_fn_exit ()
   7741 {
   7742   set +e
   7743   as_fn_set_status $1
   7744   exit $1
   7745 } # as_fn_exit
   7746 
   7747 # as_fn_unset VAR
   7748 # ---------------
   7749 # Portably unset VAR.
   7750 as_fn_unset ()
   7751 {
   7752   { eval $1=; unset $1;}
   7753 }
   7754 as_unset=as_fn_unset
   7755 # as_fn_append VAR VALUE
   7756 # ----------------------
   7757 # Append the text in VALUE to the end of the definition contained in VAR. Take
   7758 # advantage of any shell optimizations that allow amortized linear growth over
   7759 # repeated appends, instead of the typical quadratic growth present in naive
   7760 # implementations.
   7761 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   7762   eval 'as_fn_append ()
   7763   {
   7764     eval $1+=\$2
   7765   }'
   7766 else
   7767   as_fn_append ()
   7768   {
   7769     eval $1=\$$1\$2
   7770   }
   7771 fi # as_fn_append
   7772 
   7773 # as_fn_arith ARG...
   7774 # ------------------
   7775 # Perform arithmetic evaluation on the ARGs, and store the result in the
   7776 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   7777 # must be portable across $(()) and expr.
   7778 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   7779   eval 'as_fn_arith ()
   7780   {
   7781     as_val=$(( $* ))
   7782   }'
   7783 else
   7784   as_fn_arith ()
   7785   {
   7786     as_val=`expr "$@" || test $? -eq 1`
   7787   }
   7788 fi # as_fn_arith
   7789 
   7790 
   7791 if expr a : '\(a\)' >/dev/null 2>&1 &&
   7792    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   7793   as_expr=expr
   7794 else
   7795   as_expr=false
   7796 fi
   7797 
   7798 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   7799   as_basename=basename
   7800 else
   7801   as_basename=false
   7802 fi
   7803 
   7804 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   7805   as_dirname=dirname
   7806 else
   7807   as_dirname=false
   7808 fi
   7809 
   7810 as_me=`$as_basename -- "$0" ||
   7811 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   7812 	 X"$0" : 'X\(//\)$' \| \
   7813 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   7814 $as_echo X/"$0" |
   7815     sed '/^.*\/\([^/][^/]*\)\/*$/{
   7816 	    s//\1/
   7817 	    q
   7818 	  }
   7819 	  /^X\/\(\/\/\)$/{
   7820 	    s//\1/
   7821 	    q
   7822 	  }
   7823 	  /^X\/\(\/\).*/{
   7824 	    s//\1/
   7825 	    q
   7826 	  }
   7827 	  s/.*/./; q'`
   7828 
   7829 # Avoid depending upon Character Ranges.
   7830 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   7831 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   7832 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   7833 as_cr_digits='0123456789'
   7834 as_cr_alnum=$as_cr_Letters$as_cr_digits
   7835 
   7836 ECHO_C= ECHO_N= ECHO_T=
   7837 case `echo -n x` in #(((((
   7838 -n*)
   7839   case `echo 'xy\c'` in
   7840   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   7841   xy)  ECHO_C='\c';;
   7842   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   7843        ECHO_T='	';;
   7844   esac;;
   7845 *)
   7846   ECHO_N='-n';;
   7847 esac
   7848 
   7849 rm -f conf$$ conf$$.exe conf$$.file
   7850 if test -d conf$$.dir; then
   7851   rm -f conf$$.dir/conf$$.file
   7852 else
   7853   rm -f conf$$.dir
   7854   mkdir conf$$.dir 2>/dev/null
   7855 fi
   7856 if (echo >conf$$.file) 2>/dev/null; then
   7857   if ln -s conf$$.file conf$$ 2>/dev/null; then
   7858     as_ln_s='ln -s'
   7859     # ... but there are two gotchas:
   7860     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   7861     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   7862     # In both cases, we have to default to `cp -pR'.
   7863     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   7864       as_ln_s='cp -pR'
   7865   elif ln conf$$.file conf$$ 2>/dev/null; then
   7866     as_ln_s=ln
   7867   else
   7868     as_ln_s='cp -pR'
   7869   fi
   7870 else
   7871   as_ln_s='cp -pR'
   7872 fi
   7873 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   7874 rmdir conf$$.dir 2>/dev/null
   7875 
   7876 
   7877 # as_fn_mkdir_p
   7878 # -------------
   7879 # Create "$as_dir" as a directory, including parents if necessary.
   7880 as_fn_mkdir_p ()
   7881 {
   7882 
   7883   case $as_dir in #(
   7884   -*) as_dir=./$as_dir;;
   7885   esac
   7886   test -d "$as_dir" || eval $as_mkdir_p || {
   7887     as_dirs=
   7888     while :; do
   7889       case $as_dir in #(
   7890       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   7891       *) as_qdir=$as_dir;;
   7892       esac
   7893       as_dirs="'$as_qdir' $as_dirs"
   7894       as_dir=`$as_dirname -- "$as_dir" ||
   7895 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7896 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   7897 	 X"$as_dir" : 'X\(//\)$' \| \
   7898 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   7899 $as_echo X"$as_dir" |
   7900     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   7901 	    s//\1/
   7902 	    q
   7903 	  }
   7904 	  /^X\(\/\/\)[^/].*/{
   7905 	    s//\1/
   7906 	    q
   7907 	  }
   7908 	  /^X\(\/\/\)$/{
   7909 	    s//\1/
   7910 	    q
   7911 	  }
   7912 	  /^X\(\/\).*/{
   7913 	    s//\1/
   7914 	    q
   7915 	  }
   7916 	  s/.*/./; q'`
   7917       test -d "$as_dir" && break
   7918     done
   7919     test -z "$as_dirs" || eval "mkdir $as_dirs"
   7920   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   7921 
   7922 
   7923 } # as_fn_mkdir_p
   7924 if mkdir -p . 2>/dev/null; then
   7925   as_mkdir_p='mkdir -p "$as_dir"'
   7926 else
   7927   test -d ./-p && rmdir ./-p
   7928   as_mkdir_p=false
   7929 fi
   7930 
   7931 
   7932 # as_fn_executable_p FILE
   7933 # -----------------------
   7934 # Test if FILE is an executable regular file.
   7935 as_fn_executable_p ()
   7936 {
   7937   test -f "$1" && test -x "$1"
   7938 } # as_fn_executable_p
   7939 as_test_x='test -x'
   7940 as_executable_p=as_fn_executable_p
   7941 
   7942 # Sed expression to map a string onto a valid CPP name.
   7943 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   7944 
   7945 # Sed expression to map a string onto a valid variable name.
   7946 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   7947 
   7948 
   7949 exec 6>&1
   7950 ## ----------------------------------- ##
   7951 ## Main body of $CONFIG_STATUS script. ##
   7952 ## ----------------------------------- ##
   7953 _ASEOF
   7954 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   7955 
   7956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   7957 # Save the log message, to keep $0 and so on meaningful, and to
   7958 # report actual input values of CONFIG_FILES etc. instead of their
   7959 # values after options handling.
   7960 ac_log="
   7961 This file was extended by cpplib $as_me  , which was
   7962 generated by GNU Autoconf 2.69.  Invocation command line was
   7963 
   7964   CONFIG_FILES    = $CONFIG_FILES
   7965   CONFIG_HEADERS  = $CONFIG_HEADERS
   7966   CONFIG_LINKS    = $CONFIG_LINKS
   7967   CONFIG_COMMANDS = $CONFIG_COMMANDS
   7968   $ $0 $@
   7969 
   7970 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   7971 "
   7972 
   7973 _ACEOF
   7974 
   7975 case $ac_config_files in *"
   7976 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   7977 esac
   7978 
   7979 case $ac_config_headers in *"
   7980 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   7981 esac
   7982 
   7983 
   7984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   7985 # Files that config.status was made for.
   7986 config_files="$ac_config_files"
   7987 config_headers="$ac_config_headers"
   7988 config_commands="$ac_config_commands"
   7989 
   7990 _ACEOF
   7991 
   7992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   7993 ac_cs_usage="\
   7994 \`$as_me' instantiates files and other configuration actions
   7995 from templates according to the current configuration.  Unless the files
   7996 and actions are specified as TAGs, all are instantiated by default.
   7997 
   7998 Usage: $0 [OPTION]... [TAG]...
   7999 
   8000   -h, --help       print this help, then exit
   8001   -V, --version    print version number and configuration settings, then exit
   8002       --config     print configuration, then exit
   8003   -q, --quiet, --silent
   8004                    do not print progress messages
   8005   -d, --debug      don't remove temporary files
   8006       --recheck    update $as_me by reconfiguring in the same conditions
   8007       --file=FILE[:TEMPLATE]
   8008                    instantiate the configuration file FILE
   8009       --header=FILE[:TEMPLATE]
   8010                    instantiate the configuration header FILE
   8011 
   8012 Configuration files:
   8013 $config_files
   8014 
   8015 Configuration headers:
   8016 $config_headers
   8017 
   8018 Configuration commands:
   8019 $config_commands
   8020 
   8021 Report bugs to <gcc-bugs@gcc.gnu.org>."
   8022 
   8023 _ACEOF
   8024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8025 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   8026 ac_cs_version="\\
   8027 cpplib config.status
   8028 configured by $0, generated by GNU Autoconf 2.69,
   8029   with options \\"\$ac_cs_config\\"
   8030 
   8031 Copyright (C) 2012 Free Software Foundation, Inc.
   8032 This config.status script is free software; the Free Software Foundation
   8033 gives unlimited permission to copy, distribute and modify it."
   8034 
   8035 ac_pwd='$ac_pwd'
   8036 srcdir='$srcdir'
   8037 INSTALL='$INSTALL'
   8038 test -n "\$AWK" || AWK=awk
   8039 _ACEOF
   8040 
   8041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8042 # The default lists apply if the user does not specify any file.
   8043 ac_need_defaults=:
   8044 while test $# != 0
   8045 do
   8046   case $1 in
   8047   --*=?*)
   8048     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   8049     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   8050     ac_shift=:
   8051     ;;
   8052   --*=)
   8053     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   8054     ac_optarg=
   8055     ac_shift=:
   8056     ;;
   8057   *)
   8058     ac_option=$1
   8059     ac_optarg=$2
   8060     ac_shift=shift
   8061     ;;
   8062   esac
   8063 
   8064   case $ac_option in
   8065   # Handling of the options.
   8066   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   8067     ac_cs_recheck=: ;;
   8068   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   8069     $as_echo "$ac_cs_version"; exit ;;
   8070   --config | --confi | --conf | --con | --co | --c )
   8071     $as_echo "$ac_cs_config"; exit ;;
   8072   --debug | --debu | --deb | --de | --d | -d )
   8073     debug=: ;;
   8074   --file | --fil | --fi | --f )
   8075     $ac_shift
   8076     case $ac_optarg in
   8077     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   8078     '') as_fn_error $? "missing file argument" ;;
   8079     esac
   8080     as_fn_append CONFIG_FILES " '$ac_optarg'"
   8081     ac_need_defaults=false;;
   8082   --header | --heade | --head | --hea )
   8083     $ac_shift
   8084     case $ac_optarg in
   8085     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   8086     esac
   8087     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   8088     ac_need_defaults=false;;
   8089   --he | --h)
   8090     # Conflict between --help and --header
   8091     as_fn_error $? "ambiguous option: \`$1'
   8092 Try \`$0 --help' for more information.";;
   8093   --help | --hel | -h )
   8094     $as_echo "$ac_cs_usage"; exit ;;
   8095   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   8096   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   8097     ac_cs_silent=: ;;
   8098 
   8099   # This is an error.
   8100   -*) as_fn_error $? "unrecognized option: \`$1'
   8101 Try \`$0 --help' for more information." ;;
   8102 
   8103   *) as_fn_append ac_config_targets " $1"
   8104      ac_need_defaults=false ;;
   8105 
   8106   esac
   8107   shift
   8108 done
   8109 
   8110 ac_configure_extra_args=
   8111 
   8112 if $ac_cs_silent; then
   8113   exec 6>/dev/null
   8114   ac_configure_extra_args="$ac_configure_extra_args --silent"
   8115 fi
   8116 
   8117 _ACEOF
   8118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8119 if \$ac_cs_recheck; then
   8120   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   8121   shift
   8122   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   8123   CONFIG_SHELL='$SHELL'
   8124   export CONFIG_SHELL
   8125   exec "\$@"
   8126 fi
   8127 
   8128 _ACEOF
   8129 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8130 exec 5>>config.log
   8131 {
   8132   echo
   8133   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   8134 ## Running $as_me. ##
   8135 _ASBOX
   8136   $as_echo "$ac_log"
   8137 } >&5
   8138 
   8139 _ACEOF
   8140 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8141 #
   8142 # INIT-COMMANDS
   8143 #
   8144 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
   8145 
   8146 _ACEOF
   8147 
   8148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8149 
   8150 # Handling of arguments.
   8151 for ac_config_target in $ac_config_targets
   8152 do
   8153   case $ac_config_target in
   8154     "depdir") CONFIG_COMMANDS="$CONFIG_COMMANDS depdir" ;;
   8155     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
   8156     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   8157 
   8158   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   8159   esac
   8160 done
   8161 
   8162 
   8163 # If the user did not use the arguments to specify the items to instantiate,
   8164 # then the envvar interface is used.  Set only those that are not.
   8165 # We use the long form for the default assignment because of an extremely
   8166 # bizarre bug on SunOS 4.1.3.
   8167 if $ac_need_defaults; then
   8168   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   8169   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   8170   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   8171 fi
   8172 
   8173 # Have a temporary directory for convenience.  Make it in the build tree
   8174 # simply because there is no reason against having it here, and in addition,
   8175 # creating and moving files from /tmp can sometimes cause problems.
   8176 # Hook for its removal unless debugging.
   8177 # Note that there is a small window in which the directory will not be cleaned:
   8178 # after its creation but before its name has been assigned to `$tmp'.
   8179 $debug ||
   8180 {
   8181   tmp= ac_tmp=
   8182   trap 'exit_status=$?
   8183   : "${ac_tmp:=$tmp}"
   8184   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   8185 ' 0
   8186   trap 'as_fn_exit 1' 1 2 13 15
   8187 }
   8188 # Create a (secure) tmp directory for tmp files.
   8189 
   8190 {
   8191   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   8192   test -d "$tmp"
   8193 }  ||
   8194 {
   8195   tmp=./conf$$-$RANDOM
   8196   (umask 077 && mkdir "$tmp")
   8197 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   8198 ac_tmp=$tmp
   8199 
   8200 # Set up the scripts for CONFIG_FILES section.
   8201 # No need to generate them if there are no CONFIG_FILES.
   8202 # This happens for instance with `./config.status config.h'.
   8203 if test -n "$CONFIG_FILES"; then
   8204 
   8205 
   8206 ac_cr=`echo X | tr X '\015'`
   8207 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   8208 # But we know of no other shell where ac_cr would be empty at this
   8209 # point, so we can use a bashism as a fallback.
   8210 if test "x$ac_cr" = x; then
   8211   eval ac_cr=\$\'\\r\'
   8212 fi
   8213 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   8214 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   8215   ac_cs_awk_cr='\\r'
   8216 else
   8217   ac_cs_awk_cr=$ac_cr
   8218 fi
   8219 
   8220 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   8221 _ACEOF
   8222 
   8223 
   8224 {
   8225   echo "cat >conf$$subs.awk <<_ACEOF" &&
   8226   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   8227   echo "_ACEOF"
   8228 } >conf$$subs.sh ||
   8229   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   8230 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   8231 ac_delim='%!_!# '
   8232 for ac_last_try in false false false false false :; do
   8233   . ./conf$$subs.sh ||
   8234     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   8235 
   8236   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   8237   if test $ac_delim_n = $ac_delim_num; then
   8238     break
   8239   elif $ac_last_try; then
   8240     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   8241   else
   8242     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   8243   fi
   8244 done
   8245 rm -f conf$$subs.sh
   8246 
   8247 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8248 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   8249 _ACEOF
   8250 sed -n '
   8251 h
   8252 s/^/S["/; s/!.*/"]=/
   8253 p
   8254 g
   8255 s/^[^!]*!//
   8256 :repl
   8257 t repl
   8258 s/'"$ac_delim"'$//
   8259 t delim
   8260 :nl
   8261 h
   8262 s/\(.\{148\}\)..*/\1/
   8263 t more1
   8264 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   8265 p
   8266 n
   8267 b repl
   8268 :more1
   8269 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   8270 p
   8271 g
   8272 s/.\{148\}//
   8273 t nl
   8274 :delim
   8275 h
   8276 s/\(.\{148\}\)..*/\1/
   8277 t more2
   8278 s/["\\]/\\&/g; s/^/"/; s/$/"/
   8279 p
   8280 b
   8281 :more2
   8282 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   8283 p
   8284 g
   8285 s/.\{148\}//
   8286 t delim
   8287 ' <conf$$subs.awk | sed '
   8288 /^[^""]/{
   8289   N
   8290   s/\n//
   8291 }
   8292 ' >>$CONFIG_STATUS || ac_write_fail=1
   8293 rm -f conf$$subs.awk
   8294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8295 _ACAWK
   8296 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   8297   for (key in S) S_is_set[key] = 1
   8298   FS = ""
   8299 
   8300 }
   8301 {
   8302   line = $ 0
   8303   nfields = split(line, field, "@")
   8304   substed = 0
   8305   len = length(field[1])
   8306   for (i = 2; i < nfields; i++) {
   8307     key = field[i]
   8308     keylen = length(key)
   8309     if (S_is_set[key]) {
   8310       value = S[key]
   8311       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   8312       len += length(value) + length(field[++i])
   8313       substed = 1
   8314     } else
   8315       len += 1 + keylen
   8316   }
   8317 
   8318   print line
   8319 }
   8320 
   8321 _ACAWK
   8322 _ACEOF
   8323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8324 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   8325   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   8326 else
   8327   cat
   8328 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   8329   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   8330 _ACEOF
   8331 
   8332 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   8333 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   8334 # trailing colons and then remove the whole line if VPATH becomes empty
   8335 # (actually we leave an empty line to preserve line numbers).
   8336 if test "x$srcdir" = x.; then
   8337   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   8338 h
   8339 s///
   8340 s/^/:/
   8341 s/[	 ]*$/:/
   8342 s/:\$(srcdir):/:/g
   8343 s/:\${srcdir}:/:/g
   8344 s/:@srcdir@:/:/g
   8345 s/^:*//
   8346 s/:*$//
   8347 x
   8348 s/\(=[	 ]*\).*/\1/
   8349 G
   8350 s/\n//
   8351 s/^[^=]*=[	 ]*$//
   8352 }'
   8353 fi
   8354 
   8355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8356 fi # test -n "$CONFIG_FILES"
   8357 
   8358 # Set up the scripts for CONFIG_HEADERS section.
   8359 # No need to generate them if there are no CONFIG_HEADERS.
   8360 # This happens for instance with `./config.status Makefile'.
   8361 if test -n "$CONFIG_HEADERS"; then
   8362 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   8363 BEGIN {
   8364 _ACEOF
   8365 
   8366 # Transform confdefs.h into an awk script `defines.awk', embedded as
   8367 # here-document in config.status, that substitutes the proper values into
   8368 # config.h.in to produce config.h.
   8369 
   8370 # Create a delimiter string that does not exist in confdefs.h, to ease
   8371 # handling of long lines.
   8372 ac_delim='%!_!# '
   8373 for ac_last_try in false false :; do
   8374   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   8375   if test -z "$ac_tt"; then
   8376     break
   8377   elif $ac_last_try; then
   8378     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   8379   else
   8380     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   8381   fi
   8382 done
   8383 
   8384 # For the awk script, D is an array of macro values keyed by name,
   8385 # likewise P contains macro parameters if any.  Preserve backslash
   8386 # newline sequences.
   8387 
   8388 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   8389 sed -n '
   8390 s/.\{148\}/&'"$ac_delim"'/g
   8391 t rset
   8392 :rset
   8393 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   8394 t def
   8395 d
   8396 :def
   8397 s/\\$//
   8398 t bsnl
   8399 s/["\\]/\\&/g
   8400 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   8401 D["\1"]=" \3"/p
   8402 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   8403 d
   8404 :bsnl
   8405 s/["\\]/\\&/g
   8406 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   8407 D["\1"]=" \3\\\\\\n"\\/p
   8408 t cont
   8409 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   8410 t cont
   8411 d
   8412 :cont
   8413 n
   8414 s/.\{148\}/&'"$ac_delim"'/g
   8415 t clear
   8416 :clear
   8417 s/\\$//
   8418 t bsnlc
   8419 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   8420 d
   8421 :bsnlc
   8422 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   8423 b cont
   8424 ' <confdefs.h | sed '
   8425 s/'"$ac_delim"'/"\\\
   8426 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   8427 
   8428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8429   for (key in D) D_is_set[key] = 1
   8430   FS = ""
   8431 }
   8432 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   8433   line = \$ 0
   8434   split(line, arg, " ")
   8435   if (arg[1] == "#") {
   8436     defundef = arg[2]
   8437     mac1 = arg[3]
   8438   } else {
   8439     defundef = substr(arg[1], 2)
   8440     mac1 = arg[2]
   8441   }
   8442   split(mac1, mac2, "(") #)
   8443   macro = mac2[1]
   8444   prefix = substr(line, 1, index(line, defundef) - 1)
   8445   if (D_is_set[macro]) {
   8446     # Preserve the white space surrounding the "#".
   8447     print prefix "define", macro P[macro] D[macro]
   8448     next
   8449   } else {
   8450     # Replace #undef with comments.  This is necessary, for example,
   8451     # in the case of _POSIX_SOURCE, which is predefined and required
   8452     # on some systems where configure will not decide to define it.
   8453     if (defundef == "undef") {
   8454       print "/*", prefix defundef, macro, "*/"
   8455       next
   8456     }
   8457   }
   8458 }
   8459 { print }
   8460 _ACAWK
   8461 _ACEOF
   8462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8463   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   8464 fi # test -n "$CONFIG_HEADERS"
   8465 
   8466 
   8467 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   8468 shift
   8469 for ac_tag
   8470 do
   8471   case $ac_tag in
   8472   :[FHLC]) ac_mode=$ac_tag; continue;;
   8473   esac
   8474   case $ac_mode$ac_tag in
   8475   :[FHL]*:*);;
   8476   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   8477   :[FH]-) ac_tag=-:-;;
   8478   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   8479   esac
   8480   ac_save_IFS=$IFS
   8481   IFS=:
   8482   set x $ac_tag
   8483   IFS=$ac_save_IFS
   8484   shift
   8485   ac_file=$1
   8486   shift
   8487 
   8488   case $ac_mode in
   8489   :L) ac_source=$1;;
   8490   :[FH])
   8491     ac_file_inputs=
   8492     for ac_f
   8493     do
   8494       case $ac_f in
   8495       -) ac_f="$ac_tmp/stdin";;
   8496       *) # Look for the file first in the build tree, then in the source tree
   8497 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   8498 	 # because $ac_f cannot contain `:'.
   8499 	 test -f "$ac_f" ||
   8500 	   case $ac_f in
   8501 	   [\\/$]*) false;;
   8502 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   8503 	   esac ||
   8504 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   8505       esac
   8506       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   8507       as_fn_append ac_file_inputs " '$ac_f'"
   8508     done
   8509 
   8510     # Let's still pretend it is `configure' which instantiates (i.e., don't
   8511     # use $as_me), people would be surprised to read:
   8512     #    /* config.h.  Generated by config.status.  */
   8513     configure_input='Generated from '`
   8514 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   8515 	`' by configure.'
   8516     if test x"$ac_file" != x-; then
   8517       configure_input="$ac_file.  $configure_input"
   8518       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   8519 $as_echo "$as_me: creating $ac_file" >&6;}
   8520     fi
   8521     # Neutralize special characters interpreted by sed in replacement strings.
   8522     case $configure_input in #(
   8523     *\&* | *\|* | *\\* )
   8524        ac_sed_conf_input=`$as_echo "$configure_input" |
   8525        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   8526     *) ac_sed_conf_input=$configure_input;;
   8527     esac
   8528 
   8529     case $ac_tag in
   8530     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   8531       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   8532     esac
   8533     ;;
   8534   esac
   8535 
   8536   ac_dir=`$as_dirname -- "$ac_file" ||
   8537 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   8538 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   8539 	 X"$ac_file" : 'X\(//\)$' \| \
   8540 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   8541 $as_echo X"$ac_file" |
   8542     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   8543 	    s//\1/
   8544 	    q
   8545 	  }
   8546 	  /^X\(\/\/\)[^/].*/{
   8547 	    s//\1/
   8548 	    q
   8549 	  }
   8550 	  /^X\(\/\/\)$/{
   8551 	    s//\1/
   8552 	    q
   8553 	  }
   8554 	  /^X\(\/\).*/{
   8555 	    s//\1/
   8556 	    q
   8557 	  }
   8558 	  s/.*/./; q'`
   8559   as_dir="$ac_dir"; as_fn_mkdir_p
   8560   ac_builddir=.
   8561 
   8562 case "$ac_dir" in
   8563 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   8564 *)
   8565   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   8566   # A ".." for each directory in $ac_dir_suffix.
   8567   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   8568   case $ac_top_builddir_sub in
   8569   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   8570   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   8571   esac ;;
   8572 esac
   8573 ac_abs_top_builddir=$ac_pwd
   8574 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   8575 # for backward compatibility:
   8576 ac_top_builddir=$ac_top_build_prefix
   8577 
   8578 case $srcdir in
   8579   .)  # We are building in place.
   8580     ac_srcdir=.
   8581     ac_top_srcdir=$ac_top_builddir_sub
   8582     ac_abs_top_srcdir=$ac_pwd ;;
   8583   [\\/]* | ?:[\\/]* )  # Absolute name.
   8584     ac_srcdir=$srcdir$ac_dir_suffix;
   8585     ac_top_srcdir=$srcdir
   8586     ac_abs_top_srcdir=$srcdir ;;
   8587   *) # Relative name.
   8588     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   8589     ac_top_srcdir=$ac_top_build_prefix$srcdir
   8590     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   8591 esac
   8592 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   8593 
   8594 
   8595   case $ac_mode in
   8596   :F)
   8597   #
   8598   # CONFIG_FILE
   8599   #
   8600 
   8601   case $INSTALL in
   8602   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   8603   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   8604   esac
   8605 _ACEOF
   8606 
   8607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8608 # If the template does not know about datarootdir, expand it.
   8609 # FIXME: This hack should be removed a few years after 2.60.
   8610 ac_datarootdir_hack=; ac_datarootdir_seen=
   8611 ac_sed_dataroot='
   8612 /datarootdir/ {
   8613   p
   8614   q
   8615 }
   8616 /@datadir@/p
   8617 /@docdir@/p
   8618 /@infodir@/p
   8619 /@localedir@/p
   8620 /@mandir@/p'
   8621 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   8622 *datarootdir*) ac_datarootdir_seen=yes;;
   8623 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   8624   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   8625 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   8626 _ACEOF
   8627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8628   ac_datarootdir_hack='
   8629   s&@datadir@&$datadir&g
   8630   s&@docdir@&$docdir&g
   8631   s&@infodir@&$infodir&g
   8632   s&@localedir@&$localedir&g
   8633   s&@mandir@&$mandir&g
   8634   s&\\\${datarootdir}&$datarootdir&g' ;;
   8635 esac
   8636 _ACEOF
   8637 
   8638 # Neutralize VPATH when `$srcdir' = `.'.
   8639 # Shell code in configure.ac might set extrasub.
   8640 # FIXME: do we really want to maintain this feature?
   8641 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8642 ac_sed_extra="$ac_vpsub
   8643 $extrasub
   8644 _ACEOF
   8645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8646 :t
   8647 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   8648 s|@configure_input@|$ac_sed_conf_input|;t t
   8649 s&@top_builddir@&$ac_top_builddir_sub&;t t
   8650 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   8651 s&@srcdir@&$ac_srcdir&;t t
   8652 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   8653 s&@top_srcdir@&$ac_top_srcdir&;t t
   8654 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   8655 s&@builddir@&$ac_builddir&;t t
   8656 s&@abs_builddir@&$ac_abs_builddir&;t t
   8657 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   8658 s&@INSTALL@&$ac_INSTALL&;t t
   8659 $ac_datarootdir_hack
   8660 "
   8661 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   8662   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   8663 
   8664 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   8665   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   8666   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   8667       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   8668   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   8669 which seems to be undefined.  Please make sure it is defined" >&5
   8670 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   8671 which seems to be undefined.  Please make sure it is defined" >&2;}
   8672 
   8673   rm -f "$ac_tmp/stdin"
   8674   case $ac_file in
   8675   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   8676   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   8677   esac \
   8678   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   8679  ;;
   8680   :H)
   8681   #
   8682   # CONFIG_HEADER
   8683   #
   8684   if test x"$ac_file" != x-; then
   8685     {
   8686       $as_echo "/* $configure_input  */" \
   8687       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   8688     } >"$ac_tmp/config.h" \
   8689       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   8690     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   8691       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   8692 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   8693     else
   8694       rm -f "$ac_file"
   8695       mv "$ac_tmp/config.h" "$ac_file" \
   8696 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   8697     fi
   8698   else
   8699     $as_echo "/* $configure_input  */" \
   8700       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   8701       || as_fn_error $? "could not create -" "$LINENO" 5
   8702   fi
   8703  ;;
   8704 
   8705   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   8706 $as_echo "$as_me: executing $ac_file commands" >&6;}
   8707  ;;
   8708   esac
   8709 
   8710 
   8711   case $ac_file$ac_mode in
   8712     "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
   8713     "config.h":H) echo timestamp > stamp-h1 ;;
   8714 
   8715   esac
   8716 done # for ac_tag
   8717 
   8718 
   8719 as_fn_exit 0
   8720 _ACEOF
   8721 ac_clean_files=$ac_clean_files_save
   8722 
   8723 test $ac_write_fail = 0 ||
   8724   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   8725 
   8726 
   8727 # configure is writing to config.log, and then calls config.status.
   8728 # config.status does its own redirection, appending to config.log.
   8729 # Unfortunately, on DOS this fails, as config.log is still kept open
   8730 # by configure, so config.status won't be able to write to it; its
   8731 # output is simply discarded.  So we exec the FD to /dev/null,
   8732 # effectively closing config.log, so it can be properly (re)opened and
   8733 # appended to by config.status.  When coming back to configure, we
   8734 # need to make the FD available again.
   8735 if test "$no_create" != yes; then
   8736   ac_cs_success=:
   8737   ac_config_status_args=
   8738   test "$silent" = yes &&
   8739     ac_config_status_args="$ac_config_status_args --quiet"
   8740   exec 5>/dev/null
   8741   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   8742   exec 5>>config.log
   8743   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   8744   # would make configure fail if this is the last instruction.
   8745   $ac_cs_success || as_fn_exit 1
   8746 fi
   8747 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   8748   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   8749 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   8750 fi
   8751 
   8752