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