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