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