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