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