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