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