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