Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8.2.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for xorg-server 1.10.3.
      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 
    179   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    180     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    183     PATH=/empty FPATH=/empty; export PATH FPATH
    184     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    185       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    186   if (eval "$as_required") 2>/dev/null; then :
    187   as_have_required=yes
    188 else
    189   as_have_required=no
    190 fi
    191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    192 
    193 else
    194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    195 as_found=false
    196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    197 do
    198   IFS=$as_save_IFS
    199   test -z "$as_dir" && as_dir=.
    200   as_found=:
    201   case $as_dir in #(
    202 	 /*)
    203 	   for as_base in sh bash ksh sh5; do
    204 	     # Try only shells that exist, to save several forks.
    205 	     as_shell=$as_dir/$as_base
    206 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    207 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$as_shell as_have_required=yes
    209 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    210   break 2
    211 fi
    212 fi
    213 	   done;;
    214        esac
    215   as_found=false
    216 done
    217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    218 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$SHELL as_have_required=yes
    220 fi; }
    221 IFS=$as_save_IFS
    222 
    223 
    224       if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226 	# neutralization value for shells without unset; and this also
    227 	# works around shells that cannot unset nonexistent variables.
    228 	# Preserve -v and -x to the replacement shell.
    229 	BASH_ENV=/dev/null
    230 	ENV=/dev/null
    231 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232 	export CONFIG_SHELL
    233 	case $- in # ((((
    234 	  *v*x* | *x*v* ) as_opts=-vx ;;
    235 	  *v* ) as_opts=-v ;;
    236 	  *x* ) as_opts=-x ;;
    237 	  * ) as_opts= ;;
    238 	esac
    239 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    240 fi
    241 
    242     if test x$as_have_required = xno; then :
    243   $as_echo "$0: This script requires a shell more modern than all"
    244   $as_echo "$0: the shells that I found on your system."
    245   if test x${ZSH_VERSION+set} = xset ; then
    246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    248   else
    249     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    250 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    251 $0: about your system, including any error possibly output
    252 $0: before this message. Then install a modern shell, or
    253 $0: manually run the script under such a shell if you do
    254 $0: have one."
    255   fi
    256   exit 1
    257 fi
    258 fi
    259 fi
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 export SHELL
    262 # Unset more variables known to interfere with behavior of common tools.
    263 CLICOLOR_FORCE= GREP_OPTIONS=
    264 unset CLICOLOR_FORCE GREP_OPTIONS
    265 
    266 ## --------------------- ##
    267 ## M4sh Shell Functions. ##
    268 ## --------------------- ##
    269 # as_fn_unset VAR
    270 # ---------------
    271 # Portably unset VAR.
    272 as_fn_unset ()
    273 {
    274   { eval $1=; unset $1;}
    275 }
    276 as_unset=as_fn_unset
    277 
    278 # as_fn_set_status STATUS
    279 # -----------------------
    280 # Set $? to STATUS, without forking.
    281 as_fn_set_status ()
    282 {
    283   return $1
    284 } # as_fn_set_status
    285 
    286 # as_fn_exit STATUS
    287 # -----------------
    288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    289 as_fn_exit ()
    290 {
    291   set +e
    292   as_fn_set_status $1
    293   exit $1
    294 } # as_fn_exit
    295 
    296 # as_fn_mkdir_p
    297 # -------------
    298 # Create "$as_dir" as a directory, including parents if necessary.
    299 as_fn_mkdir_p ()
    300 {
    301 
    302   case $as_dir in #(
    303   -*) as_dir=./$as_dir;;
    304   esac
    305   test -d "$as_dir" || eval $as_mkdir_p || {
    306     as_dirs=
    307     while :; do
    308       case $as_dir in #(
    309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    310       *) as_qdir=$as_dir;;
    311       esac
    312       as_dirs="'$as_qdir' $as_dirs"
    313       as_dir=`$as_dirname -- "$as_dir" ||
    314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    315 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    316 	 X"$as_dir" : 'X\(//\)$' \| \
    317 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    318 $as_echo X"$as_dir" |
    319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\/\)[^/].*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  /^X\(\/\/\)$/{
    328 	    s//\1/
    329 	    q
    330 	  }
    331 	  /^X\(\/\).*/{
    332 	    s//\1/
    333 	    q
    334 	  }
    335 	  s/.*/./; q'`
    336       test -d "$as_dir" && break
    337     done
    338     test -z "$as_dirs" || eval "mkdir $as_dirs"
    339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    340 
    341 
    342 } # as_fn_mkdir_p
    343 # as_fn_append VAR VALUE
    344 # ----------------------
    345 # Append the text in VALUE to the end of the definition contained in VAR. Take
    346 # advantage of any shell optimizations that allow amortized linear growth over
    347 # repeated appends, instead of the typical quadratic growth present in naive
    348 # implementations.
    349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    350   eval 'as_fn_append ()
    351   {
    352     eval $1+=\$2
    353   }'
    354 else
    355   as_fn_append ()
    356   {
    357     eval $1=\$$1\$2
    358   }
    359 fi # as_fn_append
    360 
    361 # as_fn_arith ARG...
    362 # ------------------
    363 # Perform arithmetic evaluation on the ARGs, and store the result in the
    364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    365 # must be portable across $(()) and expr.
    366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    367   eval 'as_fn_arith ()
    368   {
    369     as_val=$(( $* ))
    370   }'
    371 else
    372   as_fn_arith ()
    373   {
    374     as_val=`expr "$@" || test $? -eq 1`
    375   }
    376 fi # as_fn_arith
    377 
    378 
    379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    380 # ----------------------------------------
    381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    383 # script with STATUS, using 1 if that was 0.
    384 as_fn_error ()
    385 {
    386   as_status=$1; test $as_status -eq 0 && as_status=1
    387   if test "$4"; then
    388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    390   fi
    391   $as_echo "$as_me: error: $2" >&2
    392   as_fn_exit $as_status
    393 } # as_fn_error
    394 
    395 if expr a : '\(a\)' >/dev/null 2>&1 &&
    396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    397   as_expr=expr
    398 else
    399   as_expr=false
    400 fi
    401 
    402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    403   as_basename=basename
    404 else
    405   as_basename=false
    406 fi
    407 
    408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    409   as_dirname=dirname
    410 else
    411   as_dirname=false
    412 fi
    413 
    414 as_me=`$as_basename -- "$0" ||
    415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    416 	 X"$0" : 'X\(//\)$' \| \
    417 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    418 $as_echo X/"$0" |
    419     sed '/^.*\/\([^/][^/]*\)\/*$/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  /^X\/\(\/\/\)$/{
    424 	    s//\1/
    425 	    q
    426 	  }
    427 	  /^X\/\(\/\).*/{
    428 	    s//\1/
    429 	    q
    430 	  }
    431 	  s/.*/./; q'`
    432 
    433 # Avoid depending upon Character Ranges.
    434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    437 as_cr_digits='0123456789'
    438 as_cr_alnum=$as_cr_Letters$as_cr_digits
    439 
    440 
    441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    446   sed -n '
    447     p
    448     /[$]LINENO/=
    449   ' <$as_myself |
    450     sed '
    451       s/[$]LINENO.*/&-/
    452       t lineno
    453       b
    454       :lineno
    455       N
    456       :loop
    457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    458       t loop
    459       s/-\n.*//
    460     ' >$as_me.lineno &&
    461   chmod +x "$as_me.lineno" ||
    462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    463 
    464   # Don't try to exec as it changes $[0], causing all sort of problems
    465   # (the dirname of $[0] is not the place where we might find the
    466   # original and so on.  Autoconf is especially sensitive to this).
    467   . "./$as_me.lineno"
    468   # Exit status is that of the last command.
    469   exit
    470 }
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in #(((((
    474 -n*)
    475   case `echo 'xy\c'` in
    476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    477   xy)  ECHO_C='\c';;
    478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    479        ECHO_T='	';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 rm -f conf$$ conf$$.exe conf$$.file
    486 if test -d conf$$.dir; then
    487   rm -f conf$$.dir/conf$$.file
    488 else
    489   rm -f conf$$.dir
    490   mkdir conf$$.dir 2>/dev/null
    491 fi
    492 if (echo >conf$$.file) 2>/dev/null; then
    493   if ln -s conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s='ln -s'
    495     # ... but there are two gotchas:
    496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    498     # In both cases, we have to default to `cp -p'.
    499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    500       as_ln_s='cp -p'
    501   elif ln conf$$.file conf$$ 2>/dev/null; then
    502     as_ln_s=ln
    503   else
    504     as_ln_s='cp -p'
    505   fi
    506 else
    507   as_ln_s='cp -p'
    508 fi
    509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    510 rmdir conf$$.dir 2>/dev/null
    511 
    512 if mkdir -p . 2>/dev/null; then
    513   as_mkdir_p='mkdir -p "$as_dir"'
    514 else
    515   test -d ./-p && rmdir ./-p
    516   as_mkdir_p=false
    517 fi
    518 
    519 if test -x / >/dev/null 2>&1; then
    520   as_test_x='test -x'
    521 else
    522   if ls -dL / >/dev/null 2>&1; then
    523     as_ls_L_option=L
    524   else
    525     as_ls_L_option=
    526   fi
    527   as_test_x='
    528     eval sh -c '\''
    529       if test -d "$1"; then
    530 	test -d "$1/.";
    531       else
    532 	case $1 in #(
    533 	-*)set "./$1";;
    534 	esac;
    535 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    536 	???[sx]*):;;*)false;;esac;fi
    537     '\'' sh
    538   '
    539 fi
    540 as_executable_p=$as_test_x
    541 
    542 # Sed expression to map a string onto a valid CPP name.
    543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    544 
    545 # Sed expression to map a string onto a valid variable name.
    546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    547 
    548 as_awk_strverscmp='
    549   # Use only awk features that work with 7th edition Unix awk (1978).
    550   # My, what an old awk you have, Mr. Solaris!
    551   END {
    552     while (length(v1) && length(v2)) {
    553       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    554       # Normally this is a single character, but if v1 and v2 contain digits,
    555       # compare them as integers and fractions as strverscmp does.
    556       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    557 	# Split v1 and v2 into their leading digit string components d1 and d2,
    558 	# and advance v1 and v2 past the leading digit strings.
    559 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    560 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    561 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    562 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    563 	if (d1 ~ /^0/) {
    564 	  if (d2 ~ /^0/) {
    565 	    # Compare two fractions.
    566 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    567 	      d1 = substr(d1, 2); len1--
    568 	      d2 = substr(d2, 2); len2--
    569 	    }
    570 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    571 	      # The two components differ in length, and the common prefix
    572 	      # contains only leading zeros.  Consider the longer to be less.
    573 	      d1 = -len1
    574 	      d2 = -len2
    575 	    } else {
    576 	      # Otherwise, compare as strings.
    577 	      d1 = "x" d1
    578 	      d2 = "x" d2
    579 	    }
    580 	  } else {
    581 	    # A fraction is less than an integer.
    582 	    exit 1
    583 	  }
    584 	} else {
    585 	  if (d2 ~ /^0/) {
    586 	    # An integer is greater than a fraction.
    587 	    exit 2
    588 	  } else {
    589 	    # Compare two integers.
    590 	    d1 += 0
    591 	    d2 += 0
    592 	  }
    593 	}
    594       } else {
    595 	# The normal case, without worrying about digits.
    596 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    597 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    598       }
    599       if (d1 < d2) exit 1
    600       if (d1 > d2) exit 2
    601     }
    602     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    603     # which mishandles some comparisons of empty strings to integers.
    604     if (length(v2)) exit 1
    605     if (length(v1)) exit 2
    606   }
    607 '
    608 SHELL=${CONFIG_SHELL-/bin/sh}
    609 
    610 
    611 test -n "$DJDIR" || exec 7<&0 </dev/null
    612 exec 6>&1
    613 
    614 # Name of the host.
    615 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    616 # so uname gets run too.
    617 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    618 
    619 #
    620 # Initializations.
    621 #
    622 ac_default_prefix=/usr/local
    623 ac_clean_files=
    624 ac_config_libobj_dir=.
    625 LIBOBJS=
    626 cross_compiling=no
    627 subdirs=
    628 MFLAGS=
    629 MAKEFLAGS=
    630 
    631 # Identity of this package.
    632 PACKAGE_NAME='xorg-server'
    633 PACKAGE_TARNAME='xorg-server'
    634 PACKAGE_VERSION='1.10.3'
    635 PACKAGE_STRING='xorg-server 1.10.3'
    636 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    637 PACKAGE_URL=''
    638 
    639 ac_unique_file="Makefile.am"
    640 # Factoring default headers for most tests.
    641 ac_includes_default="\
    642 #include <stdio.h>
    643 #ifdef HAVE_SYS_TYPES_H
    644 # include <sys/types.h>
    645 #endif
    646 #ifdef HAVE_SYS_STAT_H
    647 # include <sys/stat.h>
    648 #endif
    649 #ifdef STDC_HEADERS
    650 # include <stdlib.h>
    651 # include <stddef.h>
    652 #else
    653 # ifdef HAVE_STDLIB_H
    654 #  include <stdlib.h>
    655 # endif
    656 #endif
    657 #ifdef HAVE_STRING_H
    658 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    659 #  include <memory.h>
    660 # endif
    661 # include <string.h>
    662 #endif
    663 #ifdef HAVE_STRINGS_H
    664 # include <strings.h>
    665 #endif
    666 #ifdef HAVE_INTTYPES_H
    667 # include <inttypes.h>
    668 #endif
    669 #ifdef HAVE_STDINT_H
    670 # include <stdint.h>
    671 #endif
    672 #ifdef HAVE_UNISTD_H
    673 # include <unistd.h>
    674 #endif"
    675 
    676 ac_subst_vars='am__EXEEXT_FALSE
    677 am__EXEEXT_TRUE
    678 LTLIBOBJS
    679 LIBOBJS
    680 DIX_CFLAGS
    681 BUILD_TIME
    682 BUILD_DATE
    683 RELEASE_DATE
    684 PROJECTROOT
    685 XFAKESERVER_FALSE
    686 XFAKESERVER_TRUE
    687 BUILD_KDRIVEFBDEVLIB_FALSE
    688 BUILD_KDRIVEFBDEVLIB_TRUE
    689 XEPHYR_FALSE
    690 XEPHYR_TRUE
    691 KDRIVEFBDEV_FALSE
    692 KDRIVEFBDEV_TRUE
    693 TSLIB_FALSE
    694 TSLIB_TRUE
    695 KDRIVE_MOUSE_FALSE
    696 KDRIVE_MOUSE_TRUE
    697 KDRIVE_KBD_FALSE
    698 KDRIVE_KBD_TRUE
    699 KDRIVE_EVDEV_FALSE
    700 KDRIVE_EVDEV_TRUE
    701 KDRIVELINUX_FALSE
    702 KDRIVELINUX_TRUE
    703 KDRIVE_LIBS
    704 KDRIVE_LOCAL_LIBS
    705 KDRIVE_PURE_LIBS
    706 KDRIVE_CFLAGS
    707 KDRIVE_PURE_INCS
    708 KDRIVE_INCS
    709 XEPHYR_INCS
    710 XEPHYR_LIBS
    711 XEPHYR_CFLAGS
    712 TSLIB_LIBS
    713 TSLIB_CFLAGS
    714 KDRIVE_FALSE
    715 KDRIVE_TRUE
    716 DMX_BUILD_USB_FALSE
    717 DMX_BUILD_USB_TRUE
    718 DMX_BUILD_LNX_FALSE
    719 DMX_BUILD_LNX_TRUE
    720 X11EXAMPLES_DEP_LIBS
    721 X11EXAMPLES_DEP_CFLAGS
    722 XRESEXAMPLES_DEP_LIBS
    723 XRESEXAMPLES_DEP_CFLAGS
    724 XTSTEXAMPLES_DEP_LIBS
    725 XTSTEXAMPLES_DEP_CFLAGS
    726 DMXXIEXAMPLES_DEP_LIBS
    727 DMXXIEXAMPLES_DEP_CFLAGS
    728 DMXXMUEXAMPLES_DEP_LIBS
    729 DMXXMUEXAMPLES_DEP_CFLAGS
    730 DMXEXAMPLES_DEP_LIBS
    731 DMXEXAMPLES_DEP_CFLAGS
    732 XDMX_SYS_LIBS
    733 XDMX_LIBS
    734 XDMX_CFLAGS
    735 DMX_FALSE
    736 DMX_TRUE
    737 XDMXCONFIG_DEP_LIBS
    738 XDMXCONFIG_DEP_CFLAGS
    739 DMXMODULES_LIBS
    740 DMXMODULES_CFLAGS
    741 STANDALONE_XPBPROXY_FALSE
    742 STANDALONE_XPBPROXY_TRUE
    743 XQUARTZ_SPARKLE_FALSE
    744 XQUARTZ_SPARKLE_TRUE
    745 XQUARTZ_FALSE
    746 XQUARTZ_TRUE
    747 am__fastdepOBJC_FALSE
    748 am__fastdepOBJC_TRUE
    749 OBJCDEPMODE
    750 OBJCFLAGS
    751 OBJCLINK
    752 OBJCCLD
    753 OBJC
    754 XPBPROXY_LIBS
    755 XPBPROXY_CFLAGS
    756 DARWIN_LIBS
    757 XWIN_XV_FALSE
    758 XWIN_XV_TRUE
    759 XWIN_RANDR_FALSE
    760 XWIN_RANDR_TRUE
    761 XWIN_PRIMARYFB_FALSE
    762 XWIN_PRIMARYFB_TRUE
    763 XWIN_NATIVEGDI_FALSE
    764 XWIN_NATIVEGDI_TRUE
    765 XWIN_GLX_WINDOWS_FALSE
    766 XWIN_GLX_WINDOWS_TRUE
    767 XWIN_CLIPBOARD_FALSE
    768 XWIN_CLIPBOARD_TRUE
    769 XWIN_MULTIWINDOWEXTWM_FALSE
    770 XWIN_MULTIWINDOWEXTWM_TRUE
    771 XWIN_MULTIWINDOW_FALSE
    772 XWIN_MULTIWINDOW_TRUE
    773 XWIN_FALSE
    774 XWIN_TRUE
    775 XWIN_SYS_LIBS
    776 XWIN_SERVER_NAME
    777 XWIN_LIBS
    778 WINDOWSWM_LIBS
    779 WINDOWSWM_CFLAGS
    780 XWINMODULES_LIBS
    781 XWINMODULES_CFLAGS
    782 WINDRES
    783 DEFAULT_LOGDIR
    784 SYSCONFDIR
    785 XF86VIDMODE_FALSE
    786 XF86VIDMODE_TRUE
    787 DGA_FALSE
    788 DGA_TRUE
    789 SOLARIS_VT_FALSE
    790 SOLARIS_VT_TRUE
    791 SOLARIS_ASM_INLINE_FALSE
    792 SOLARIS_ASM_INLINE_TRUE
    793 LNXACPI_FALSE
    794 LNXACPI_TRUE
    795 LINUX_ALPHA_FALSE
    796 LINUX_ALPHA_TRUE
    797 LINUX_IA64_FALSE
    798 LINUX_IA64_TRUE
    799 XORG_BUS_SPARC_FALSE
    800 XORG_BUS_SPARC_TRUE
    801 XORG_BUS_BSDPCI_FALSE
    802 XORG_BUS_BSDPCI_TRUE
    803 XORG_BUS_LINUXPCI_FALSE
    804 XORG_BUS_LINUXPCI_TRUE
    805 XORG_FALSE
    806 XORG_TRUE
    807 abi_extension
    808 abi_xinput
    809 abi_videodrv
    810 abi_ansic
    811 logdir
    812 sysconfigdir
    813 extdir
    814 sdkdir
    815 driverdir
    816 moduledir
    817 DEFAULT_LOGPREFIX
    818 DEFAULT_LIBRARY_PATH
    819 DEFAULT_MODULE_PATH
    820 __XCONFIGDIR__
    821 XF86CONFIGFILE
    822 __XCONFIGFILE__
    823 XF86CONFIGDIR
    824 XORG_CFLAGS
    825 PERL
    826 XORG_OS_SUBDIR
    827 XORG_OS
    828 XORG_INCS
    829 XORG_SYS_LIBS
    830 XORG_LIBS
    831 XORG_MODULES_LIBS
    832 XORG_MODULES_CFLAGS
    833 XF86VIDMODE_LIBS
    834 XF86VIDMODE_CFLAGS
    835 DGA_LIBS
    836 DGA_CFLAGS
    837 SOLARIS_ASM_CFLAGS
    838 SOLARIS_INOUT_ARCH
    839 PCIACCESS_LIBS
    840 PCIACCESS_CFLAGS
    841 symbol_visibility
    842 XNEST_SYS_LIBS
    843 XNEST_LIBS
    844 XNEST_FALSE
    845 XNEST_TRUE
    846 XNESTMODULES_LIBS
    847 XNESTMODULES_CFLAGS
    848 XVFB_SYS_LIBS
    849 XVFB_LIBS
    850 XVFB_FALSE
    851 XVFB_TRUE
    852 LD_EXPORT_SYMBOLS_FLAG
    853 UTILS_SYS_LIBS
    854 XSERVER_SYS_LIBS
    855 XSERVER_LIBS
    856 XSERVERLIBS_LIBS
    857 XSERVERLIBS_CFLAGS
    858 XSERVERCFLAGS_LIBS
    859 XSERVERCFLAGS_CFLAGS
    860 SHA1_CFLAGS
    861 SHA1_LIBS
    862 OPENSSL_LIBS
    863 OPENSSL_CFLAGS
    864 LIBSHA1_LIBS
    865 LIBSHA1_CFLAGS
    866 MAIN_LIB
    867 OS_LIB
    868 DIX_LIB
    869 UNITTESTS_FALSE
    870 UNITTESTS_TRUE
    871 GLIB_LIBS
    872 GLIB_CFLAGS
    873 DEBUG_FALSE
    874 DEBUG_TRUE
    875 VENDOR_NAME_SHORT
    876 DRI_DRIVER_PATH
    877 BASE_FONT_PATH
    878 SERVER_MISC_CONFIG_PATH
    879 PCI_TXT_IDS_PATH
    880 COMPILEDDEFAULTFONTPATH
    881 XDMAUTH_FALSE
    882 XDMAUTH_TRUE
    883 XDMCP_FALSE
    884 XDMCP_TRUE
    885 XDMCP_LIBS
    886 XDMCP_CFLAGS
    887 XKB_COMPILED_DIR
    888 XKM_OUTPUT_DIR
    889 XKB_BIN_DIRECTORY
    890 XKB_BASE_DIRECTORY
    891 INT10MODULE_FALSE
    892 INT10MODULE_TRUE
    893 VBE_FALSE
    894 VBE_TRUE
    895 VGAHW_FALSE
    896 VGAHW_TRUE
    897 XAA_FALSE
    898 XAA_TRUE
    899 XF86UTILS_FALSE
    900 XF86UTILS_TRUE
    901 XCALIBRATE_FALSE
    902 XCALIBRATE_TRUE
    903 DPMSExtension_FALSE
    904 DPMSExtension_TRUE
    905 XF86BIGFONT_FALSE
    906 XF86BIGFONT_TRUE
    907 DBE_FALSE
    908 DBE_TRUE
    909 XCSECURITY_FALSE
    910 XCSECURITY_TRUE
    911 SELINUX_LIBS
    912 SELINUX_CFLAGS
    913 XSELINUX_FALSE
    914 XSELINUX_TRUE
    915 XACE_FALSE
    916 XACE_TRUE
    917 XINERAMA_FALSE
    918 XINERAMA_TRUE
    919 DRI2_AIGLX_FALSE
    920 DRI2_AIGLX_TRUE
    921 LIBDRM_LIBS
    922 LIBDRM_CFLAGS
    923 DRI2_FALSE
    924 DRI2_TRUE
    925 DRI2PROTO_LIBS
    926 DRI2PROTO_CFLAGS
    927 DRI_LIBS
    928 DRI_CFLAGS
    929 DRIPROTO_LIBS
    930 DRIPROTO_CFLAGS
    931 DRI_FALSE
    932 DRI_TRUE
    933 GLX_DEFINES
    934 AIGLX_FALSE
    935 AIGLX_TRUE
    936 GLX_FALSE
    937 GLX_TRUE
    938 GL_LIBS
    939 GL_CFLAGS
    940 XLIB_LIBS
    941 XLIB_CFLAGS
    942 RES_FALSE
    943 RES_TRUE
    944 SCREENSAVER_FALSE
    945 SCREENSAVER_TRUE
    946 RECORD_FALSE
    947 RECORD_TRUE
    948 MITSHM_FALSE
    949 MITSHM_TRUE
    950 COMPOSITE_FALSE
    951 COMPOSITE_TRUE
    952 XREGISTRY_FALSE
    953 XREGISTRY_TRUE
    954 XVMC_FALSE
    955 XVMC_TRUE
    956 XV_FALSE
    957 XV_TRUE
    958 CONFIG_NEED_DBUS_FALSE
    959 CONFIG_NEED_DBUS_TRUE
    960 CONFIG_HAL_FALSE
    961 CONFIG_HAL_TRUE
    962 HAL_LIBS
    963 HAL_CFLAGS
    964 CONFIG_DBUS_API_FALSE
    965 CONFIG_DBUS_API_TRUE
    966 HAVE_DBUS_FALSE
    967 HAVE_DBUS_TRUE
    968 DBUS_LIBS
    969 DBUS_CFLAGS
    970 CONFIG_UDEV_FALSE
    971 CONFIG_UDEV_TRUE
    972 UDEV_LIBS
    973 UDEV_CFLAGS
    974 PIXMAN_LIBS
    975 PIXMAN_CFLAGS
    976 SDK_REQUIRED_MODULES
    977 INSTALL_LIBXF86CONFIG_FALSE
    978 INSTALL_LIBXF86CONFIG_TRUE
    979 HAVE_FOP_FALSE
    980 HAVE_FOP_TRUE
    981 FOP
    982 HAVE_XMLTO_FALSE
    983 HAVE_XMLTO_TRUE
    984 HAVE_XMLTO_TEXT_FALSE
    985 HAVE_XMLTO_TEXT_TRUE
    986 XMLTO
    987 ENABLE_DEVEL_DOCS_FALSE
    988 ENABLE_DEVEL_DOCS_TRUE
    989 ENABLE_DOCS_FALSE
    990 ENABLE_DOCS_TRUE
    991 INT10_STUB_FALSE
    992 INT10_STUB_TRUE
    993 INT10_X86EMU_FALSE
    994 INT10_X86EMU_TRUE
    995 INT10_VM86_FALSE
    996 INT10_VM86_TRUE
    997 SECURE_RPC_FALSE
    998 SECURE_RPC_TRUE
    999 INSTALL_SETUID_FALSE
   1000 INSTALL_SETUID_TRUE
   1001 GLX_TLS
   1002 XQUARTZ_SPARKLE
   1003 LAUNCHD_ID_PREFIX
   1004 APPLE_APPLICATION_NAME
   1005 APPLE_APPLICATIONS_DIR
   1006 FONT100DPIDIR
   1007 FONT75DPIDIR
   1008 FONTTYPE1DIR
   1009 FONTTTFDIR
   1010 FONTOTFDIR
   1011 FONTMISCDIR
   1012 FONTROOTDIR
   1013 SPARC64_VIDEO_FALSE
   1014 SPARC64_VIDEO_TRUE
   1015 PPC_VIDEO_FALSE
   1016 PPC_VIDEO_TRUE
   1017 I386_VIDEO_FALSE
   1018 I386_VIDEO_TRUE
   1019 ARM_VIDEO_FALSE
   1020 ARM_VIDEO_TRUE
   1021 ALPHA_VIDEO_FALSE
   1022 ALPHA_VIDEO_TRUE
   1023 GLX_ARCH_DEFINES
   1024 ARM_BACKTRACE_CFLAGS
   1025 BSD_KQUEUE_APM_FALSE
   1026 BSD_KQUEUE_APM_TRUE
   1027 BSD_APM_FALSE
   1028 BSD_APM_TRUE
   1029 FREEBSD_KLDLOAD_FALSE
   1030 FREEBSD_KLDLOAD_TRUE
   1031 FBDEVHW_FALSE
   1032 FBDEVHW_TRUE
   1033 LNXAPM_FALSE
   1034 LNXAPM_TRUE
   1035 AGP_FALSE
   1036 AGP_TRUE
   1037 NEED_VSNPRINTF_FALSE
   1038 NEED_VSNPRINTF_TRUE
   1039 NEED_STRLCAT_FALSE
   1040 NEED_STRLCAT_TRUE
   1041 ALLOCA
   1042 DLOPEN_LIBS
   1043 SPECIAL_DTRACE_OBJECTS_FALSE
   1044 SPECIAL_DTRACE_OBJECTS_TRUE
   1045 XSERVER_DTRACE_FALSE
   1046 XSERVER_DTRACE_TRUE
   1047 DTRACE
   1048 RAWCPPFLAGS
   1049 RAWCPP
   1050 YFLAGS
   1051 YACC
   1052 LEXLIB
   1053 LEX_OUTPUT_ROOT
   1054 LEX
   1055 OTOOL64
   1056 OTOOL
   1057 LIPO
   1058 NMEDIT
   1059 DSYMUTIL
   1060 MANIFEST_TOOL
   1061 RANLIB
   1062 ac_ct_AR
   1063 AR
   1064 NM
   1065 ac_ct_DUMPBIN
   1066 DUMPBIN
   1067 LD
   1068 FGREP
   1069 LIBTOOL
   1070 OBJDUMP
   1071 DLLTOOL
   1072 AS
   1073 LN_S
   1074 am__fastdepCCAS_FALSE
   1075 am__fastdepCCAS_TRUE
   1076 CCASDEPMODE
   1077 CCASFLAGS
   1078 CCAS
   1079 HAVE_STYLESHEETS_FALSE
   1080 HAVE_STYLESHEETS_TRUE
   1081 XSL_STYLESHEET
   1082 STYLESHEET_SRCDIR
   1083 XORG_SGML_PATH
   1084 HAVE_DOXYGEN_FALSE
   1085 HAVE_DOXYGEN_TRUE
   1086 DOXYGEN
   1087 AM_BACKSLASH
   1088 AM_DEFAULT_VERBOSITY
   1089 MAN_SUBSTS
   1090 XORG_MAN_PAGE
   1091 ADMIN_MAN_DIR
   1092 DRIVER_MAN_DIR
   1093 MISC_MAN_DIR
   1094 FILE_MAN_DIR
   1095 LIB_MAN_DIR
   1096 APP_MAN_DIR
   1097 ADMIN_MAN_SUFFIX
   1098 DRIVER_MAN_SUFFIX
   1099 MISC_MAN_SUFFIX
   1100 FILE_MAN_SUFFIX
   1101 LIB_MAN_SUFFIX
   1102 APP_MAN_SUFFIX
   1103 SED
   1104 host_os
   1105 host_vendor
   1106 host_cpu
   1107 host
   1108 build_os
   1109 build_vendor
   1110 build_cpu
   1111 build
   1112 INSTALL_CMD
   1113 PKG_CONFIG_LIBDIR
   1114 PKG_CONFIG_PATH
   1115 PKG_CONFIG
   1116 CHANGELOG_CMD
   1117 STRICT_CFLAGS
   1118 CWARNFLAGS
   1119 EGREP
   1120 GREP
   1121 CPP
   1122 am__fastdepCC_FALSE
   1123 am__fastdepCC_TRUE
   1124 CCDEPMODE
   1125 AMDEPBACKSLASH
   1126 AMDEP_FALSE
   1127 AMDEP_TRUE
   1128 am__quote
   1129 am__include
   1130 DEPDIR
   1131 OBJEXT
   1132 EXEEXT
   1133 ac_ct_CC
   1134 CPPFLAGS
   1135 LDFLAGS
   1136 CFLAGS
   1137 CC
   1138 MAINT
   1139 MAINTAINER_MODE_FALSE
   1140 MAINTAINER_MODE_TRUE
   1141 am__untar
   1142 am__tar
   1143 AMTAR
   1144 am__leading_dot
   1145 SET_MAKE
   1146 AWK
   1147 mkdir_p
   1148 MKDIR_P
   1149 INSTALL_STRIP_PROGRAM
   1150 STRIP
   1151 install_sh
   1152 MAKEINFO
   1153 AUTOHEADER
   1154 AUTOMAKE
   1155 AUTOCONF
   1156 ACLOCAL
   1157 VERSION
   1158 PACKAGE
   1159 CYGPATH_W
   1160 am__isrc
   1161 INSTALL_DATA
   1162 INSTALL_SCRIPT
   1163 INSTALL_PROGRAM
   1164 target_alias
   1165 host_alias
   1166 build_alias
   1167 LIBS
   1168 ECHO_T
   1169 ECHO_N
   1170 ECHO_C
   1171 DEFS
   1172 mandir
   1173 localedir
   1174 libdir
   1175 psdir
   1176 pdfdir
   1177 dvidir
   1178 htmldir
   1179 infodir
   1180 docdir
   1181 oldincludedir
   1182 includedir
   1183 localstatedir
   1184 sharedstatedir
   1185 sysconfdir
   1186 datadir
   1187 datarootdir
   1188 libexecdir
   1189 sbindir
   1190 bindir
   1191 program_transform_name
   1192 prefix
   1193 exec_prefix
   1194 PACKAGE_URL
   1195 PACKAGE_BUGREPORT
   1196 PACKAGE_STRING
   1197 PACKAGE_VERSION
   1198 PACKAGE_TARNAME
   1199 PACKAGE_NAME
   1200 PATH_SEPARATOR
   1201 SHELL'
   1202 ac_subst_files=''
   1203 ac_user_opts='
   1204 enable_option_checking
   1205 enable_maintainer_mode
   1206 enable_dependency_tracking
   1207 enable_strict_compilation
   1208 enable_silent_rules
   1209 with_doxygen
   1210 enable_static
   1211 enable_shared
   1212 with_pic
   1213 enable_fast_install
   1214 with_gnu_ld
   1215 with_sysroot
   1216 enable_libtool_lock
   1217 enable_largefile
   1218 with_dtrace
   1219 enable_werror
   1220 enable_debug
   1221 enable_unit_tests
   1222 enable_use_sigio_by_default
   1223 with_int10
   1224 with_vendor_name
   1225 with_vendor_name_short
   1226 with_vendor_web
   1227 with_module_dir
   1228 with_log_dir
   1229 with_builder_addr
   1230 with_os_name
   1231 with_os_vendor
   1232 with_builderstring
   1233 with_fontrootdir
   1234 with_fontmiscdir
   1235 with_fontotfdir
   1236 with_fontttfdir
   1237 with_fonttype1dir
   1238 with_font75dpidir
   1239 with_font100dpidir
   1240 with_default_font_path
   1241 with_xkb_path
   1242 with_xkb_output
   1243 with_default_xkb_rules
   1244 with_default_xkb_model
   1245 with_default_xkb_layout
   1246 with_default_xkb_variant
   1247 with_default_xkb_options
   1248 with_serverconfig_path
   1249 with_apple_applications_dir
   1250 with_apple_application_name
   1251 with_launchd_id_prefix
   1252 enable_sparkle
   1253 enable_install_libxf86config
   1254 enable_visibility
   1255 enable_pc98
   1256 enable_aiglx
   1257 enable_glx_tls
   1258 enable_registry
   1259 enable_composite
   1260 enable_mitshm
   1261 enable_xres
   1262 enable_record
   1263 enable_xv
   1264 enable_xvmc
   1265 enable_dga
   1266 enable_screensaver
   1267 enable_xdmcp
   1268 enable_xdm_auth_1
   1269 enable_glx
   1270 enable_dri
   1271 enable_dri2
   1272 enable_xinerama
   1273 enable_xf86vidmode
   1274 enable_xace
   1275 enable_xselinux
   1276 enable_xcsecurity
   1277 enable_xcalibrate
   1278 enable_tslib
   1279 enable_dbe
   1280 enable_xf86bigfont
   1281 enable_dpms
   1282 enable_config_udev
   1283 enable_config_dbus
   1284 enable_config_hal
   1285 enable_xfree86_utils
   1286 enable_xaa
   1287 enable_vgahw
   1288 enable_vbe
   1289 enable_int10_module
   1290 enable_windowswm
   1291 enable_libdrm
   1292 enable_xorg
   1293 enable_dmx
   1294 enable_xvfb
   1295 enable_xnest
   1296 enable_xquartz
   1297 enable_standalone_xpbproxy
   1298 enable_xwin
   1299 enable_kdrive
   1300 enable_xephyr
   1301 enable_xfake
   1302 enable_xfbdev
   1303 enable_kdrive_kbd
   1304 enable_kdrive_mouse
   1305 enable_kdrive_evdev
   1306 enable_install_setuid
   1307 enable_unix_transport
   1308 enable_tcp_transport
   1309 enable_ipv6
   1310 enable_local_transport
   1311 enable_secure_rpc
   1312 enable_docs
   1313 enable_devel_docs
   1314 with_xmlto
   1315 with_fop
   1316 with_xkb_bin_directory
   1317 with_sha1
   1318 '
   1319       ac_precious_vars='build_alias
   1320 host_alias
   1321 target_alias
   1322 CC
   1323 CFLAGS
   1324 LDFLAGS
   1325 LIBS
   1326 CPPFLAGS
   1327 CPP
   1328 PKG_CONFIG
   1329 PKG_CONFIG_PATH
   1330 PKG_CONFIG_LIBDIR
   1331 DOXYGEN
   1332 CCAS
   1333 CCASFLAGS
   1334 YACC
   1335 YFLAGS
   1336 XMLTO
   1337 FOP
   1338 PIXMAN_CFLAGS
   1339 PIXMAN_LIBS
   1340 UDEV_CFLAGS
   1341 UDEV_LIBS
   1342 DBUS_CFLAGS
   1343 DBUS_LIBS
   1344 HAL_CFLAGS
   1345 HAL_LIBS
   1346 XLIB_CFLAGS
   1347 XLIB_LIBS
   1348 GL_CFLAGS
   1349 GL_LIBS
   1350 DRIPROTO_CFLAGS
   1351 DRIPROTO_LIBS
   1352 DRI_CFLAGS
   1353 DRI_LIBS
   1354 DRI2PROTO_CFLAGS
   1355 DRI2PROTO_LIBS
   1356 LIBDRM_CFLAGS
   1357 LIBDRM_LIBS
   1358 SELINUX_CFLAGS
   1359 SELINUX_LIBS
   1360 XDMCP_CFLAGS
   1361 XDMCP_LIBS
   1362 GLIB_CFLAGS
   1363 GLIB_LIBS
   1364 LIBSHA1_CFLAGS
   1365 LIBSHA1_LIBS
   1366 OPENSSL_CFLAGS
   1367 OPENSSL_LIBS
   1368 XSERVERCFLAGS_CFLAGS
   1369 XSERVERCFLAGS_LIBS
   1370 XSERVERLIBS_CFLAGS
   1371 XSERVERLIBS_LIBS
   1372 XNESTMODULES_CFLAGS
   1373 XNESTMODULES_LIBS
   1374 PCIACCESS_CFLAGS
   1375 PCIACCESS_LIBS
   1376 DGA_CFLAGS
   1377 DGA_LIBS
   1378 XF86VIDMODE_CFLAGS
   1379 XF86VIDMODE_LIBS
   1380 XORG_MODULES_CFLAGS
   1381 XORG_MODULES_LIBS
   1382 XWINMODULES_CFLAGS
   1383 XWINMODULES_LIBS
   1384 WINDOWSWM_CFLAGS
   1385 WINDOWSWM_LIBS
   1386 XPBPROXY_CFLAGS
   1387 XPBPROXY_LIBS
   1388 DMXMODULES_CFLAGS
   1389 DMXMODULES_LIBS
   1390 XDMXCONFIG_DEP_CFLAGS
   1391 XDMXCONFIG_DEP_LIBS
   1392 DMXEXAMPLES_DEP_CFLAGS
   1393 DMXEXAMPLES_DEP_LIBS
   1394 DMXXMUEXAMPLES_DEP_CFLAGS
   1395 DMXXMUEXAMPLES_DEP_LIBS
   1396 DMXXIEXAMPLES_DEP_CFLAGS
   1397 DMXXIEXAMPLES_DEP_LIBS
   1398 XTSTEXAMPLES_DEP_CFLAGS
   1399 XTSTEXAMPLES_DEP_LIBS
   1400 XRESEXAMPLES_DEP_CFLAGS
   1401 XRESEXAMPLES_DEP_LIBS
   1402 X11EXAMPLES_DEP_CFLAGS
   1403 X11EXAMPLES_DEP_LIBS
   1404 TSLIB_CFLAGS
   1405 TSLIB_LIBS
   1406 XEPHYR_CFLAGS
   1407 XEPHYR_LIBS'
   1408 
   1409 
   1410 # Initialize some variables set by options.
   1411 ac_init_help=
   1412 ac_init_version=false
   1413 ac_unrecognized_opts=
   1414 ac_unrecognized_sep=
   1415 # The variables have the same names as the options, with
   1416 # dashes changed to underlines.
   1417 cache_file=/dev/null
   1418 exec_prefix=NONE
   1419 no_create=
   1420 no_recursion=
   1421 prefix=NONE
   1422 program_prefix=NONE
   1423 program_suffix=NONE
   1424 program_transform_name=s,x,x,
   1425 silent=
   1426 site=
   1427 srcdir=
   1428 verbose=
   1429 x_includes=NONE
   1430 x_libraries=NONE
   1431 
   1432 # Installation directory options.
   1433 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1434 # and all the variables that are supposed to be based on exec_prefix
   1435 # by default will actually change.
   1436 # Use braces instead of parens because sh, perl, etc. also accept them.
   1437 # (The list follows the same order as the GNU Coding Standards.)
   1438 bindir='${exec_prefix}/bin'
   1439 sbindir='${exec_prefix}/sbin'
   1440 libexecdir='${exec_prefix}/libexec'
   1441 datarootdir='${prefix}/share'
   1442 datadir='${datarootdir}'
   1443 sysconfdir='${prefix}/etc'
   1444 sharedstatedir='${prefix}/com'
   1445 localstatedir='${prefix}/var'
   1446 includedir='${prefix}/include'
   1447 oldincludedir='/usr/include'
   1448 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1449 infodir='${datarootdir}/info'
   1450 htmldir='${docdir}'
   1451 dvidir='${docdir}'
   1452 pdfdir='${docdir}'
   1453 psdir='${docdir}'
   1454 libdir='${exec_prefix}/lib'
   1455 localedir='${datarootdir}/locale'
   1456 mandir='${datarootdir}/man'
   1457 
   1458 ac_prev=
   1459 ac_dashdash=
   1460 for ac_option
   1461 do
   1462   # If the previous option needs an argument, assign it.
   1463   if test -n "$ac_prev"; then
   1464     eval $ac_prev=\$ac_option
   1465     ac_prev=
   1466     continue
   1467   fi
   1468 
   1469   case $ac_option in
   1470   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1471   *=)   ac_optarg= ;;
   1472   *)    ac_optarg=yes ;;
   1473   esac
   1474 
   1475   # Accept the important Cygnus configure options, so we can diagnose typos.
   1476 
   1477   case $ac_dashdash$ac_option in
   1478   --)
   1479     ac_dashdash=yes ;;
   1480 
   1481   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1482     ac_prev=bindir ;;
   1483   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1484     bindir=$ac_optarg ;;
   1485 
   1486   -build | --build | --buil | --bui | --bu)
   1487     ac_prev=build_alias ;;
   1488   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1489     build_alias=$ac_optarg ;;
   1490 
   1491   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1492   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1493     ac_prev=cache_file ;;
   1494   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1495   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1496     cache_file=$ac_optarg ;;
   1497 
   1498   --config-cache | -C)
   1499     cache_file=config.cache ;;
   1500 
   1501   -datadir | --datadir | --datadi | --datad)
   1502     ac_prev=datadir ;;
   1503   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1504     datadir=$ac_optarg ;;
   1505 
   1506   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1507   | --dataroo | --dataro | --datar)
   1508     ac_prev=datarootdir ;;
   1509   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1510   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1511     datarootdir=$ac_optarg ;;
   1512 
   1513   -disable-* | --disable-*)
   1514     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1515     # Reject names that are not valid shell variable names.
   1516     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1517       as_fn_error $? "invalid feature name: $ac_useropt"
   1518     ac_useropt_orig=$ac_useropt
   1519     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1520     case $ac_user_opts in
   1521       *"
   1522 "enable_$ac_useropt"
   1523 "*) ;;
   1524       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1525 	 ac_unrecognized_sep=', ';;
   1526     esac
   1527     eval enable_$ac_useropt=no ;;
   1528 
   1529   -docdir | --docdir | --docdi | --doc | --do)
   1530     ac_prev=docdir ;;
   1531   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1532     docdir=$ac_optarg ;;
   1533 
   1534   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1535     ac_prev=dvidir ;;
   1536   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1537     dvidir=$ac_optarg ;;
   1538 
   1539   -enable-* | --enable-*)
   1540     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1541     # Reject names that are not valid shell variable names.
   1542     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1543       as_fn_error $? "invalid feature name: $ac_useropt"
   1544     ac_useropt_orig=$ac_useropt
   1545     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1546     case $ac_user_opts in
   1547       *"
   1548 "enable_$ac_useropt"
   1549 "*) ;;
   1550       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1551 	 ac_unrecognized_sep=', ';;
   1552     esac
   1553     eval enable_$ac_useropt=\$ac_optarg ;;
   1554 
   1555   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1556   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1557   | --exec | --exe | --ex)
   1558     ac_prev=exec_prefix ;;
   1559   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1560   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1561   | --exec=* | --exe=* | --ex=*)
   1562     exec_prefix=$ac_optarg ;;
   1563 
   1564   -gas | --gas | --ga | --g)
   1565     # Obsolete; use --with-gas.
   1566     with_gas=yes ;;
   1567 
   1568   -help | --help | --hel | --he | -h)
   1569     ac_init_help=long ;;
   1570   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1571     ac_init_help=recursive ;;
   1572   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1573     ac_init_help=short ;;
   1574 
   1575   -host | --host | --hos | --ho)
   1576     ac_prev=host_alias ;;
   1577   -host=* | --host=* | --hos=* | --ho=*)
   1578     host_alias=$ac_optarg ;;
   1579 
   1580   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1581     ac_prev=htmldir ;;
   1582   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1583   | --ht=*)
   1584     htmldir=$ac_optarg ;;
   1585 
   1586   -includedir | --includedir | --includedi | --included | --include \
   1587   | --includ | --inclu | --incl | --inc)
   1588     ac_prev=includedir ;;
   1589   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1590   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1591     includedir=$ac_optarg ;;
   1592 
   1593   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1594     ac_prev=infodir ;;
   1595   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1596     infodir=$ac_optarg ;;
   1597 
   1598   -libdir | --libdir | --libdi | --libd)
   1599     ac_prev=libdir ;;
   1600   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1601     libdir=$ac_optarg ;;
   1602 
   1603   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1604   | --libexe | --libex | --libe)
   1605     ac_prev=libexecdir ;;
   1606   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1607   | --libexe=* | --libex=* | --libe=*)
   1608     libexecdir=$ac_optarg ;;
   1609 
   1610   -localedir | --localedir | --localedi | --localed | --locale)
   1611     ac_prev=localedir ;;
   1612   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1613     localedir=$ac_optarg ;;
   1614 
   1615   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1616   | --localstate | --localstat | --localsta | --localst | --locals)
   1617     ac_prev=localstatedir ;;
   1618   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1619   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1620     localstatedir=$ac_optarg ;;
   1621 
   1622   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1623     ac_prev=mandir ;;
   1624   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1625     mandir=$ac_optarg ;;
   1626 
   1627   -nfp | --nfp | --nf)
   1628     # Obsolete; use --without-fp.
   1629     with_fp=no ;;
   1630 
   1631   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1632   | --no-cr | --no-c | -n)
   1633     no_create=yes ;;
   1634 
   1635   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1636   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1637     no_recursion=yes ;;
   1638 
   1639   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1640   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1641   | --oldin | --oldi | --old | --ol | --o)
   1642     ac_prev=oldincludedir ;;
   1643   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1644   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1645   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1646     oldincludedir=$ac_optarg ;;
   1647 
   1648   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1649     ac_prev=prefix ;;
   1650   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1651     prefix=$ac_optarg ;;
   1652 
   1653   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1654   | --program-pre | --program-pr | --program-p)
   1655     ac_prev=program_prefix ;;
   1656   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1657   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1658     program_prefix=$ac_optarg ;;
   1659 
   1660   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1661   | --program-suf | --program-su | --program-s)
   1662     ac_prev=program_suffix ;;
   1663   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1664   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1665     program_suffix=$ac_optarg ;;
   1666 
   1667   -program-transform-name | --program-transform-name \
   1668   | --program-transform-nam | --program-transform-na \
   1669   | --program-transform-n | --program-transform- \
   1670   | --program-transform | --program-transfor \
   1671   | --program-transfo | --program-transf \
   1672   | --program-trans | --program-tran \
   1673   | --progr-tra | --program-tr | --program-t)
   1674     ac_prev=program_transform_name ;;
   1675   -program-transform-name=* | --program-transform-name=* \
   1676   | --program-transform-nam=* | --program-transform-na=* \
   1677   | --program-transform-n=* | --program-transform-=* \
   1678   | --program-transform=* | --program-transfor=* \
   1679   | --program-transfo=* | --program-transf=* \
   1680   | --program-trans=* | --program-tran=* \
   1681   | --progr-tra=* | --program-tr=* | --program-t=*)
   1682     program_transform_name=$ac_optarg ;;
   1683 
   1684   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1685     ac_prev=pdfdir ;;
   1686   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1687     pdfdir=$ac_optarg ;;
   1688 
   1689   -psdir | --psdir | --psdi | --psd | --ps)
   1690     ac_prev=psdir ;;
   1691   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1692     psdir=$ac_optarg ;;
   1693 
   1694   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1695   | -silent | --silent | --silen | --sile | --sil)
   1696     silent=yes ;;
   1697 
   1698   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1699     ac_prev=sbindir ;;
   1700   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1701   | --sbi=* | --sb=*)
   1702     sbindir=$ac_optarg ;;
   1703 
   1704   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1705   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1706   | --sharedst | --shareds | --shared | --share | --shar \
   1707   | --sha | --sh)
   1708     ac_prev=sharedstatedir ;;
   1709   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1710   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1711   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1712   | --sha=* | --sh=*)
   1713     sharedstatedir=$ac_optarg ;;
   1714 
   1715   -site | --site | --sit)
   1716     ac_prev=site ;;
   1717   -site=* | --site=* | --sit=*)
   1718     site=$ac_optarg ;;
   1719 
   1720   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1721     ac_prev=srcdir ;;
   1722   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1723     srcdir=$ac_optarg ;;
   1724 
   1725   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1726   | --syscon | --sysco | --sysc | --sys | --sy)
   1727     ac_prev=sysconfdir ;;
   1728   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1729   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1730     sysconfdir=$ac_optarg ;;
   1731 
   1732   -target | --target | --targe | --targ | --tar | --ta | --t)
   1733     ac_prev=target_alias ;;
   1734   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1735     target_alias=$ac_optarg ;;
   1736 
   1737   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1738     verbose=yes ;;
   1739 
   1740   -version | --version | --versio | --versi | --vers | -V)
   1741     ac_init_version=: ;;
   1742 
   1743   -with-* | --with-*)
   1744     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1745     # Reject names that are not valid shell variable names.
   1746     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1747       as_fn_error $? "invalid package name: $ac_useropt"
   1748     ac_useropt_orig=$ac_useropt
   1749     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1750     case $ac_user_opts in
   1751       *"
   1752 "with_$ac_useropt"
   1753 "*) ;;
   1754       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1755 	 ac_unrecognized_sep=', ';;
   1756     esac
   1757     eval with_$ac_useropt=\$ac_optarg ;;
   1758 
   1759   -without-* | --without-*)
   1760     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1761     # Reject names that are not valid shell variable names.
   1762     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1763       as_fn_error $? "invalid package name: $ac_useropt"
   1764     ac_useropt_orig=$ac_useropt
   1765     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1766     case $ac_user_opts in
   1767       *"
   1768 "with_$ac_useropt"
   1769 "*) ;;
   1770       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1771 	 ac_unrecognized_sep=', ';;
   1772     esac
   1773     eval with_$ac_useropt=no ;;
   1774 
   1775   --x)
   1776     # Obsolete; use --with-x.
   1777     with_x=yes ;;
   1778 
   1779   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1780   | --x-incl | --x-inc | --x-in | --x-i)
   1781     ac_prev=x_includes ;;
   1782   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1783   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1784     x_includes=$ac_optarg ;;
   1785 
   1786   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1787   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1788     ac_prev=x_libraries ;;
   1789   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1790   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1791     x_libraries=$ac_optarg ;;
   1792 
   1793   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1794 Try \`$0 --help' for more information"
   1795     ;;
   1796 
   1797   *=*)
   1798     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1799     # Reject names that are not valid shell variable names.
   1800     case $ac_envvar in #(
   1801       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1802       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1803     esac
   1804     eval $ac_envvar=\$ac_optarg
   1805     export $ac_envvar ;;
   1806 
   1807   *)
   1808     # FIXME: should be removed in autoconf 3.0.
   1809     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1810     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1811       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1812     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1813     ;;
   1814 
   1815   esac
   1816 done
   1817 
   1818 if test -n "$ac_prev"; then
   1819   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1820   as_fn_error $? "missing argument to $ac_option"
   1821 fi
   1822 
   1823 if test -n "$ac_unrecognized_opts"; then
   1824   case $enable_option_checking in
   1825     no) ;;
   1826     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1827     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1828   esac
   1829 fi
   1830 
   1831 # Check all directory arguments for consistency.
   1832 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1833 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1834 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1835 		libdir localedir mandir
   1836 do
   1837   eval ac_val=\$$ac_var
   1838   # Remove trailing slashes.
   1839   case $ac_val in
   1840     */ )
   1841       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1842       eval $ac_var=\$ac_val;;
   1843   esac
   1844   # Be sure to have absolute directory names.
   1845   case $ac_val in
   1846     [\\/$]* | ?:[\\/]* )  continue;;
   1847     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1848   esac
   1849   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1850 done
   1851 
   1852 # There might be people who depend on the old broken behavior: `$host'
   1853 # used to hold the argument of --host etc.
   1854 # FIXME: To remove some day.
   1855 build=$build_alias
   1856 host=$host_alias
   1857 target=$target_alias
   1858 
   1859 # FIXME: To remove some day.
   1860 if test "x$host_alias" != x; then
   1861   if test "x$build_alias" = x; then
   1862     cross_compiling=maybe
   1863     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1864     If a cross compiler is detected then cross compile mode will be used" >&2
   1865   elif test "x$build_alias" != "x$host_alias"; then
   1866     cross_compiling=yes
   1867   fi
   1868 fi
   1869 
   1870 ac_tool_prefix=
   1871 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1872 
   1873 test "$silent" = yes && exec 6>/dev/null
   1874 
   1875 
   1876 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1877 ac_ls_di=`ls -di .` &&
   1878 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1879   as_fn_error $? "working directory cannot be determined"
   1880 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1881   as_fn_error $? "pwd does not report name of working directory"
   1882 
   1883 
   1884 # Find the source files, if location was not specified.
   1885 if test -z "$srcdir"; then
   1886   ac_srcdir_defaulted=yes
   1887   # Try the directory containing this script, then the parent directory.
   1888   ac_confdir=`$as_dirname -- "$as_myself" ||
   1889 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1890 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1891 	 X"$as_myself" : 'X\(//\)$' \| \
   1892 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1893 $as_echo X"$as_myself" |
   1894     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1895 	    s//\1/
   1896 	    q
   1897 	  }
   1898 	  /^X\(\/\/\)[^/].*/{
   1899 	    s//\1/
   1900 	    q
   1901 	  }
   1902 	  /^X\(\/\/\)$/{
   1903 	    s//\1/
   1904 	    q
   1905 	  }
   1906 	  /^X\(\/\).*/{
   1907 	    s//\1/
   1908 	    q
   1909 	  }
   1910 	  s/.*/./; q'`
   1911   srcdir=$ac_confdir
   1912   if test ! -r "$srcdir/$ac_unique_file"; then
   1913     srcdir=..
   1914   fi
   1915 else
   1916   ac_srcdir_defaulted=no
   1917 fi
   1918 if test ! -r "$srcdir/$ac_unique_file"; then
   1919   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1920   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1921 fi
   1922 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1923 ac_abs_confdir=`(
   1924 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1925 	pwd)`
   1926 # When building in place, set srcdir=.
   1927 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1928   srcdir=.
   1929 fi
   1930 # Remove unnecessary trailing slashes from srcdir.
   1931 # Double slashes in file names in object file debugging info
   1932 # mess up M-x gdb in Emacs.
   1933 case $srcdir in
   1934 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1935 esac
   1936 for ac_var in $ac_precious_vars; do
   1937   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1938   eval ac_env_${ac_var}_value=\$${ac_var}
   1939   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1940   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1941 done
   1942 
   1943 #
   1944 # Report the --help message.
   1945 #
   1946 if test "$ac_init_help" = "long"; then
   1947   # Omit some internal or obsolete options to make the list less imposing.
   1948   # This message is too long to be a string in the A/UX 3.1 sh.
   1949   cat <<_ACEOF
   1950 \`configure' configures xorg-server 1.10.3 to adapt to many kinds of systems.
   1951 
   1952 Usage: $0 [OPTION]... [VAR=VALUE]...
   1953 
   1954 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1955 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1956 
   1957 Defaults for the options are specified in brackets.
   1958 
   1959 Configuration:
   1960   -h, --help              display this help and exit
   1961       --help=short        display options specific to this package
   1962       --help=recursive    display the short help of all the included packages
   1963   -V, --version           display version information and exit
   1964   -q, --quiet, --silent   do not print \`checking ...' messages
   1965       --cache-file=FILE   cache test results in FILE [disabled]
   1966   -C, --config-cache      alias for \`--cache-file=config.cache'
   1967   -n, --no-create         do not create output files
   1968       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1969 
   1970 Installation directories:
   1971   --prefix=PREFIX         install architecture-independent files in PREFIX
   1972                           [$ac_default_prefix]
   1973   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1974                           [PREFIX]
   1975 
   1976 By default, \`make install' will install all the files in
   1977 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1978 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1979 for instance \`--prefix=\$HOME'.
   1980 
   1981 For better control, use the options below.
   1982 
   1983 Fine tuning of the installation directories:
   1984   --bindir=DIR            user executables [EPREFIX/bin]
   1985   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1986   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1987   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1988   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1989   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1990   --libdir=DIR            object code libraries [EPREFIX/lib]
   1991   --includedir=DIR        C header files [PREFIX/include]
   1992   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1993   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1994   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1995   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1996   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1997   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1998   --docdir=DIR            documentation root [DATAROOTDIR/doc/xorg-server]
   1999   --htmldir=DIR           html documentation [DOCDIR]
   2000   --dvidir=DIR            dvi documentation [DOCDIR]
   2001   --pdfdir=DIR            pdf documentation [DOCDIR]
   2002   --psdir=DIR             ps documentation [DOCDIR]
   2003 _ACEOF
   2004 
   2005   cat <<\_ACEOF
   2006 
   2007 Program names:
   2008   --program-prefix=PREFIX            prepend PREFIX to installed program names
   2009   --program-suffix=SUFFIX            append SUFFIX to installed program names
   2010   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   2011 
   2012 System types:
   2013   --build=BUILD     configure for building on BUILD [guessed]
   2014   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   2015 _ACEOF
   2016 fi
   2017 
   2018 if test -n "$ac_init_help"; then
   2019   case $ac_init_help in
   2020      short | recursive ) echo "Configuration of xorg-server 1.10.3:";;
   2021    esac
   2022   cat <<\_ACEOF
   2023 
   2024 Optional Features:
   2025   --disable-option-checking  ignore unrecognized --enable/--with options
   2026   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   2027   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   2028   --enable-maintainer-mode  enable make rules and dependencies not useful
   2029 			  (and sometimes confusing) to the casual installer
   2030   --disable-dependency-tracking  speeds up one-time build
   2031   --enable-dependency-tracking   do not reject slow dependency extractors
   2032   --enable-strict-compilation
   2033                           Enable all warnings from compiler and make them
   2034                           errors (default: disabled)
   2035   --enable-silent-rules          less verbose build output (undo: `make V=1')
   2036   --disable-silent-rules         verbose build output (undo: `make V=0')
   2037   --enable-static[=PKGS]  build static libraries [default=no]
   2038   --enable-shared[=PKGS]  build shared libraries [default=yes]
   2039   --enable-fast-install[=PKGS]
   2040                           optimize for fast installation [default=yes]
   2041   --disable-libtool-lock  avoid locking (might break parallel builds)
   2042   --disable-largefile     omit support for large files
   2043   --enable-werror         Obsolete - use --enable-strict-compilation instead
   2044   --enable-debug          Enable debugging (default: disabled)
   2045   --enable-unit-tests     Enable unit-tests (default: auto)
   2046   --enable-use-sigio-by-default
   2047   Enable SIGIO input handlers by default (default: $USE_SIGIO_BY_DEFAULT)
   2048 
   2049   --enable-sparkle        Enable updating of X11.app using the Sparkle
   2050                           Framework (default: disabled)
   2051   --enable-install-libxf86config
   2052                           Install libxf86config (default: disabled)
   2053   --enable-visibility     Enable symbol visibility (default: auto)
   2054   --enable-pc98           Enable PC98 support in Xorg (default: auto)
   2055   --enable-aiglx          Build accelerated indirect GLX (default: enabled)
   2056   --enable-glx-tls        Build GLX with TLS support (default: auto)
   2057   --disable-registry      Build string registry module (default: enabled)
   2058   --disable-composite     Build Composite extension (default: enabled)
   2059   --disable-shm           Build SHM extension (default: enabled)
   2060   --disable-xres          Build XRes extension (default: enabled)
   2061   --disable-record        Build Record extension (default: enabled)
   2062   --disable-xv            Build Xv extension (default: enabled)
   2063   --disable-xvmc          Build XvMC extension (default: enabled)
   2064   --disable-dga           Build DGA extension (default: auto)
   2065   --disable-screensaver   Build ScreenSaver extension (default: enabled)
   2066   --disable-xdmcp         Build XDMCP extension (default: auto)
   2067   --disable-xdm-auth-1    Build XDM-Auth-1 extension (default: auto)
   2068   --disable-glx           Build GLX extension (default: enabled)
   2069   --enable-dri            Build DRI extension (default: auto)
   2070   --enable-dri2           Build DRI2 extension (default: auto)
   2071   --disable-xinerama      Build Xinerama extension (default: enabled)
   2072   --disable-xf86vidmode   Build XF86VidMode extension (default: auto)
   2073   --disable-xace          Build X-ACE extension (default: enabled)
   2074   --enable-xselinux       Build SELinux extension (default: disabled)
   2075   --enable-xcsecurity     Build Security extension (default: disabled)
   2076   --enable-xcalibrate     Build XCalibrate extension (default: disabled)
   2077   --enable-tslib          Build kdrive tslib touchscreen support (default:
   2078                           disabled)
   2079   --disable-dbe           Build DBE extension (default: enabled)
   2080   --enable-xf86bigfont    Build XF86 Big Font extension (default: disabled)
   2081   --disable-dpms          Build DPMS extension (default: enabled)
   2082   --enable-config-udev    Build udev support (default: auto)
   2083   --enable-config-dbus    Build D-BUS API support (default: no)
   2084   --disable-config-hal    Build HAL support (default: auto)
   2085   --enable-xfree86-utils  Build xfree86 DDX utilities (default: enabled)
   2086   --enable-xaa            Build XAA (default: enabled)
   2087   --enable-vgahw          Build Xorg with vga access (default: enabled)
   2088   --enable-vbe            Build Xorg with VBE module (default: enabled)
   2089   --enable-int10-module   Build Xorg with int10 module (default: enabled)
   2090   --enable-windowswm      Build XWin with WindowsWM extension (default: no)
   2091   --enable-libdrm         Build Xorg with libdrm support (default: enabled)
   2092   --enable-xorg           Build Xorg server (default: auto)
   2093   --enable-dmx            Build DMX server (default: auto)
   2094   --enable-xvfb           Build Xvfb server (default: yes)
   2095   --enable-xnest          Build Xnest server (default: auto)
   2096   --enable-xquartz        Build Xquartz server for OS-X (default: auto)
   2097   --enable-standalone-xpbproxy
   2098                           Build a standalone xpbproxy (in addition to the one
   2099                           integrated into Xquartz as a separate thread)
   2100                           (default: no)
   2101   --enable-xwin           Build XWin server (default: auto)
   2102   --enable-kdrive         Build kdrive servers (default: no)
   2103   --enable-xephyr         Build the kdrive Xephyr server (default: auto)
   2104   --enable-xfake          Build the kdrive 'fake' server (default: auto)
   2105   --enable-xfbdev         Build the kdrive framebuffer device server (default:
   2106                           auto)
   2107   --enable-kdrive-kbd     Build kbd driver for kdrive (default: auto)
   2108   --enable-kdrive-mouse   Build mouse driver for kdrive (default: auto)
   2109   --enable-kdrive-evdev   Build evdev driver for kdrive (default: auto)
   2110   --enable-install-setuid Install Xorg server as owned by root with setuid bit
   2111                           (default: auto)
   2112   --enable-unix-transport Enable UNIX domain socket transport
   2113   --enable-tcp-transport  Enable TCP socket transport
   2114   --enable-ipv6           Enable IPv6 support
   2115   --enable-local-transport
   2116                           Enable os-specific local transport
   2117   --enable-secure-rpc     Enable Secure RPC
   2118   --enable-docs           Enable building the documentation (default: yes)
   2119   --enable-devel-docs     Enable building the developer documentation
   2120                           (default: yes)
   2121 
   2122 Optional Packages:
   2123   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   2124   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   2125   --with-doxygen          Use doxygen to regenerate documentation (default:
   2126                           auto)
   2127   --with-pic              try to use only PIC/non-PIC objects [default=use
   2128                           both]
   2129   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   2130   --with-sysroot=DIR Search for dependent libraries within DIR
   2131                         (or the compiler's sysroot if not specified).
   2132   --with-dtrace=PATH      Enable dtrace probes (default: enabled if dtrace
   2133                           found)
   2134   --with-int10=BACKEND    int10 backend: vm86, x86emu or stub
   2135   --with-vendor-name=VENDOR
   2136                           Vendor string reported by the server
   2137   --with-vendor-name-short=VENDOR
   2138                           Short version of vendor string reported by the
   2139                           server
   2140   --with-vendor-web=URL   Vendor web address reported by the server
   2141   --with-module-dir=DIR   Directory where modules are installed (default:
   2142                           $libdir/xorg/modules)
   2143   --with-log-dir=DIR      Directory where log files are kept (default:
   2144                           $localstatedir/log)
   2145   --with-builder-addr=ADDRESS
   2146                           Builder address (default:
   2147                           xorg@lists.freedesktop.org)
   2148   --with-os-name=OSNAME   Name of OS (default: output of "uname -srm")
   2149   --with-os-vendor=OSVENDOR
   2150                           Name of OS vendor
   2151   --with-builderstring=BUILDERSTRING
   2152                           Additional builder string
   2153   --with-fontrootdir=DIR  Path to root directory for font files
   2154   --with-fontmiscdir=DIR  Path to misc files [FONTROOTDIR/misc]
   2155   --with-fontotfdir=DIR   Path to OTF files [FONTROOTDIR/OTF]
   2156   --with-fontttfdir=DIR   Path to TTF files [FONTROOTDIR/TTF]
   2157   --with-fonttype1dir=DIR Path to Type1 files [FONTROOTDIR/Type1]
   2158   --with-font75dpidir=DIR Path to 75dpi files [FONTROOTDIR/75dpi]
   2159   --with-font100dpidir=DIR
   2160                           Path to 100dpi files [FONTROOTDIR/100dpi]
   2161   --with-default-font-path=PATH
   2162                           Comma separated list of font dirs
   2163   --with-xkb-path=PATH    Path to XKB base dir (default: ${datadir}/X11/xkb)
   2164   --with-xkb-output=PATH  Path to XKB output dir (default:
   2165                           ${datadir}/X11/xkb/compiled)
   2166   --with-default-xkb-rules=RULES
   2167                           Keyboard ruleset (default: base/evdev)
   2168   --with-default-xkb-model=MODEL
   2169                           Keyboard model (default: pc105)
   2170   --with-default-xkb-layout=LAYOUT
   2171                           Keyboard layout (default: us)
   2172   --with-default-xkb-variant=VARIANT
   2173                           Keyboard variant (default: (none))
   2174   --with-default-xkb-options=OPTIONS
   2175                           Keyboard layout options (default: (none))
   2176   --with-serverconfig-path=PATH
   2177                           Directory where ancillary server config files are
   2178                           installed (default: ${libdir}/xorg)
   2179   --with-apple-applications-dir=PATH
   2180                           Path to the Applications directory (default:
   2181                           /Applications/Utilities)
   2182   --with-apple-application-name=NAME
   2183                           Name for the .app (default: X11)
   2184   --with-launchd-id-prefix=PATH
   2185                           Prefix to use for launchd identifiers (default:
   2186                           org.x)
   2187   --with-xmlto            Use xmlto to regenerate documentation (default:
   2188                           auto)
   2189   --with-fop              Use fop to regenerate documentation (default: auto)
   2190   --with-xkb-bin-directory=DIR
   2191                           Directory containing xkbcomp program
   2192   --with-sha1=libc|libmd|libgcrypt|libcrypto|libsha1|CommonCrypto
   2193                           choose SHA1 implementation
   2194 
   2195 Some influential environment variables:
   2196   CC          C compiler command
   2197   CFLAGS      C compiler flags
   2198   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   2199               nonstandard directory <lib dir>
   2200   LIBS        libraries to pass to the linker, e.g. -l<library>
   2201   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   2202               you have headers in a nonstandard directory <include dir>
   2203   CPP         C preprocessor
   2204   PKG_CONFIG  path to pkg-config utility
   2205   PKG_CONFIG_PATH
   2206               directories to add to pkg-config's search path
   2207   PKG_CONFIG_LIBDIR
   2208               path overriding pkg-config's built-in search path
   2209   DOXYGEN     Path to doxygen command
   2210   CCAS        assembler compiler command (defaults to CC)
   2211   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
   2212   YACC        The `Yet Another Compiler Compiler' implementation to use.
   2213               Defaults to the first program found out of: `bison -y', `byacc',
   2214               `yacc'.
   2215   YFLAGS      The list of arguments that will be passed by default to $YACC.
   2216               This script will default YFLAGS to the empty string to avoid a
   2217               default value of `-d' given by some make applications.
   2218   XMLTO       Path to xmlto command
   2219   FOP         Path to fop command
   2220   PIXMAN_CFLAGS
   2221               C compiler flags for PIXMAN, overriding pkg-config
   2222   PIXMAN_LIBS linker flags for PIXMAN, overriding pkg-config
   2223   UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
   2224   UDEV_LIBS   linker flags for UDEV, overriding pkg-config
   2225   DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
   2226   DBUS_LIBS   linker flags for DBUS, overriding pkg-config
   2227   HAL_CFLAGS  C compiler flags for HAL, overriding pkg-config
   2228   HAL_LIBS    linker flags for HAL, overriding pkg-config
   2229   XLIB_CFLAGS C compiler flags for XLIB, overriding pkg-config
   2230   XLIB_LIBS   linker flags for XLIB, overriding pkg-config
   2231   GL_CFLAGS   C compiler flags for GL, overriding pkg-config
   2232   GL_LIBS     linker flags for GL, overriding pkg-config
   2233   DRIPROTO_CFLAGS
   2234               C compiler flags for DRIPROTO, overriding pkg-config
   2235   DRIPROTO_LIBS
   2236               linker flags for DRIPROTO, overriding pkg-config
   2237   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   2238   DRI_LIBS    linker flags for DRI, overriding pkg-config
   2239   DRI2PROTO_CFLAGS
   2240               C compiler flags for DRI2PROTO, overriding pkg-config
   2241   DRI2PROTO_LIBS
   2242               linker flags for DRI2PROTO, overriding pkg-config
   2243   LIBDRM_CFLAGS
   2244               C compiler flags for LIBDRM, overriding pkg-config
   2245   LIBDRM_LIBS linker flags for LIBDRM, overriding pkg-config
   2246   SELINUX_CFLAGS
   2247               C compiler flags for SELINUX, overriding pkg-config
   2248   SELINUX_LIBS
   2249               linker flags for SELINUX, overriding pkg-config
   2250   XDMCP_CFLAGS
   2251               C compiler flags for XDMCP, overriding pkg-config
   2252   XDMCP_LIBS  linker flags for XDMCP, overriding pkg-config
   2253   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
   2254   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
   2255   LIBSHA1_CFLAGS
   2256               C compiler flags for LIBSHA1, overriding pkg-config
   2257   LIBSHA1_LIBS
   2258               linker flags for LIBSHA1, overriding pkg-config
   2259   OPENSSL_CFLAGS
   2260               C compiler flags for OPENSSL, overriding pkg-config
   2261   OPENSSL_LIBS
   2262               linker flags for OPENSSL, overriding pkg-config
   2263   XSERVERCFLAGS_CFLAGS
   2264               C compiler flags for XSERVERCFLAGS, overriding pkg-config
   2265   XSERVERCFLAGS_LIBS
   2266               linker flags for XSERVERCFLAGS, overriding pkg-config
   2267   XSERVERLIBS_CFLAGS
   2268               C compiler flags for XSERVERLIBS, overriding pkg-config
   2269   XSERVERLIBS_LIBS
   2270               linker flags for XSERVERLIBS, overriding pkg-config
   2271   XNESTMODULES_CFLAGS
   2272               C compiler flags for XNESTMODULES, overriding pkg-config
   2273   XNESTMODULES_LIBS
   2274               linker flags for XNESTMODULES, overriding pkg-config
   2275   PCIACCESS_CFLAGS
   2276               C compiler flags for PCIACCESS, overriding pkg-config
   2277   PCIACCESS_LIBS
   2278               linker flags for PCIACCESS, overriding pkg-config
   2279   DGA_CFLAGS  C compiler flags for DGA, overriding pkg-config
   2280   DGA_LIBS    linker flags for DGA, overriding pkg-config
   2281   XF86VIDMODE_CFLAGS
   2282               C compiler flags for XF86VIDMODE, overriding pkg-config
   2283   XF86VIDMODE_LIBS
   2284               linker flags for XF86VIDMODE, overriding pkg-config
   2285   XORG_MODULES_CFLAGS
   2286               C compiler flags for XORG_MODULES, overriding pkg-config
   2287   XORG_MODULES_LIBS
   2288               linker flags for XORG_MODULES, overriding pkg-config
   2289   XWINMODULES_CFLAGS
   2290               C compiler flags for XWINMODULES, overriding pkg-config
   2291   XWINMODULES_LIBS
   2292               linker flags for XWINMODULES, overriding pkg-config
   2293   WINDOWSWM_CFLAGS
   2294               C compiler flags for WINDOWSWM, overriding pkg-config
   2295   WINDOWSWM_LIBS
   2296               linker flags for WINDOWSWM, overriding pkg-config
   2297   XPBPROXY_CFLAGS
   2298               C compiler flags for XPBPROXY, overriding pkg-config
   2299   XPBPROXY_LIBS
   2300               linker flags for XPBPROXY, overriding pkg-config
   2301   DMXMODULES_CFLAGS
   2302               C compiler flags for DMXMODULES, overriding pkg-config
   2303   DMXMODULES_LIBS
   2304               linker flags for DMXMODULES, overriding pkg-config
   2305   XDMXCONFIG_DEP_CFLAGS
   2306               C compiler flags for XDMXCONFIG_DEP, overriding pkg-config
   2307   XDMXCONFIG_DEP_LIBS
   2308               linker flags for XDMXCONFIG_DEP, overriding pkg-config
   2309   DMXEXAMPLES_DEP_CFLAGS
   2310               C compiler flags for DMXEXAMPLES_DEP, overriding pkg-config
   2311   DMXEXAMPLES_DEP_LIBS
   2312               linker flags for DMXEXAMPLES_DEP, overriding pkg-config
   2313   DMXXMUEXAMPLES_DEP_CFLAGS
   2314               C compiler flags for DMXXMUEXAMPLES_DEP, overriding pkg-config
   2315   DMXXMUEXAMPLES_DEP_LIBS
   2316               linker flags for DMXXMUEXAMPLES_DEP, overriding pkg-config
   2317   DMXXIEXAMPLES_DEP_CFLAGS
   2318               C compiler flags for DMXXIEXAMPLES_DEP, overriding pkg-config
   2319   DMXXIEXAMPLES_DEP_LIBS
   2320               linker flags for DMXXIEXAMPLES_DEP, overriding pkg-config
   2321   XTSTEXAMPLES_DEP_CFLAGS
   2322               C compiler flags for XTSTEXAMPLES_DEP, overriding pkg-config
   2323   XTSTEXAMPLES_DEP_LIBS
   2324               linker flags for XTSTEXAMPLES_DEP, overriding pkg-config
   2325   XRESEXAMPLES_DEP_CFLAGS
   2326               C compiler flags for XRESEXAMPLES_DEP, overriding pkg-config
   2327   XRESEXAMPLES_DEP_LIBS
   2328               linker flags for XRESEXAMPLES_DEP, overriding pkg-config
   2329   X11EXAMPLES_DEP_CFLAGS
   2330               C compiler flags for X11EXAMPLES_DEP, overriding pkg-config
   2331   X11EXAMPLES_DEP_LIBS
   2332               linker flags for X11EXAMPLES_DEP, overriding pkg-config
   2333   TSLIB_CFLAGS
   2334               C compiler flags for TSLIB, overriding pkg-config
   2335   TSLIB_LIBS  linker flags for TSLIB, overriding pkg-config
   2336   XEPHYR_CFLAGS
   2337               C compiler flags for XEPHYR, overriding pkg-config
   2338   XEPHYR_LIBS linker flags for XEPHYR, overriding pkg-config
   2339 
   2340 Use these variables to override the choices made by `configure' or to help
   2341 it to find libraries and programs with nonstandard names/locations.
   2342 
   2343 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   2344 _ACEOF
   2345 ac_status=$?
   2346 fi
   2347 
   2348 if test "$ac_init_help" = "recursive"; then
   2349   # If there are subdirs, report their specific --help.
   2350   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   2351     test -d "$ac_dir" ||
   2352       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   2353       continue
   2354     ac_builddir=.
   2355 
   2356 case "$ac_dir" in
   2357 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   2358 *)
   2359   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   2360   # A ".." for each directory in $ac_dir_suffix.
   2361   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   2362   case $ac_top_builddir_sub in
   2363   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   2364   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   2365   esac ;;
   2366 esac
   2367 ac_abs_top_builddir=$ac_pwd
   2368 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   2369 # for backward compatibility:
   2370 ac_top_builddir=$ac_top_build_prefix
   2371 
   2372 case $srcdir in
   2373   .)  # We are building in place.
   2374     ac_srcdir=.
   2375     ac_top_srcdir=$ac_top_builddir_sub
   2376     ac_abs_top_srcdir=$ac_pwd ;;
   2377   [\\/]* | ?:[\\/]* )  # Absolute name.
   2378     ac_srcdir=$srcdir$ac_dir_suffix;
   2379     ac_top_srcdir=$srcdir
   2380     ac_abs_top_srcdir=$srcdir ;;
   2381   *) # Relative name.
   2382     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   2383     ac_top_srcdir=$ac_top_build_prefix$srcdir
   2384     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   2385 esac
   2386 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   2387 
   2388     cd "$ac_dir" || { ac_status=$?; continue; }
   2389     # Check for guested configure.
   2390     if test -f "$ac_srcdir/configure.gnu"; then
   2391       echo &&
   2392       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   2393     elif test -f "$ac_srcdir/configure"; then
   2394       echo &&
   2395       $SHELL "$ac_srcdir/configure" --help=recursive
   2396     else
   2397       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   2398     fi || ac_status=$?
   2399     cd "$ac_pwd" || { ac_status=$?; break; }
   2400   done
   2401 fi
   2402 
   2403 test -n "$ac_init_help" && exit $ac_status
   2404 if $ac_init_version; then
   2405   cat <<\_ACEOF
   2406 xorg-server configure 1.10.3
   2407 generated by GNU Autoconf 2.68
   2408 
   2409 Copyright (C) 2010 Free Software Foundation, Inc.
   2410 This configure script is free software; the Free Software Foundation
   2411 gives unlimited permission to copy, distribute and modify it.
   2412 _ACEOF
   2413   exit
   2414 fi
   2415 
   2416 ## ------------------------ ##
   2417 ## Autoconf initialization. ##
   2418 ## ------------------------ ##
   2419 
   2420 # ac_fn_c_try_compile LINENO
   2421 # --------------------------
   2422 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   2423 ac_fn_c_try_compile ()
   2424 {
   2425   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2426   rm -f conftest.$ac_objext
   2427   if { { ac_try="$ac_compile"
   2428 case "(($ac_try" in
   2429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2430   *) ac_try_echo=$ac_try;;
   2431 esac
   2432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2433 $as_echo "$ac_try_echo"; } >&5
   2434   (eval "$ac_compile") 2>conftest.err
   2435   ac_status=$?
   2436   if test -s conftest.err; then
   2437     grep -v '^ *+' conftest.err >conftest.er1
   2438     cat conftest.er1 >&5
   2439     mv -f conftest.er1 conftest.err
   2440   fi
   2441   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2442   test $ac_status = 0; } && {
   2443 	 test -z "$ac_c_werror_flag" ||
   2444 	 test ! -s conftest.err
   2445        } && test -s conftest.$ac_objext; then :
   2446   ac_retval=0
   2447 else
   2448   $as_echo "$as_me: failed program was:" >&5
   2449 sed 's/^/| /' conftest.$ac_ext >&5
   2450 
   2451 	ac_retval=1
   2452 fi
   2453   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2454   as_fn_set_status $ac_retval
   2455 
   2456 } # ac_fn_c_try_compile
   2457 
   2458 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2459 # ---------------------------------------------
   2460 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2461 # accordingly.
   2462 ac_fn_c_check_decl ()
   2463 {
   2464   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2465   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2466   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2468 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2469 if eval \${$3+:} false; then :
   2470   $as_echo_n "(cached) " >&6
   2471 else
   2472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2473 /* end confdefs.h.  */
   2474 $4
   2475 int
   2476 main ()
   2477 {
   2478 #ifndef $as_decl_name
   2479 #ifdef __cplusplus
   2480   (void) $as_decl_use;
   2481 #else
   2482   (void) $as_decl_name;
   2483 #endif
   2484 #endif
   2485 
   2486   ;
   2487   return 0;
   2488 }
   2489 _ACEOF
   2490 if ac_fn_c_try_compile "$LINENO"; then :
   2491   eval "$3=yes"
   2492 else
   2493   eval "$3=no"
   2494 fi
   2495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2496 fi
   2497 eval ac_res=\$$3
   2498 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2499 $as_echo "$ac_res" >&6; }
   2500   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2501 
   2502 } # ac_fn_c_check_decl
   2503 
   2504 # ac_fn_c_try_cpp LINENO
   2505 # ----------------------
   2506 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   2507 ac_fn_c_try_cpp ()
   2508 {
   2509   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2510   if { { ac_try="$ac_cpp conftest.$ac_ext"
   2511 case "(($ac_try" in
   2512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2513   *) ac_try_echo=$ac_try;;
   2514 esac
   2515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2516 $as_echo "$ac_try_echo"; } >&5
   2517   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   2518   ac_status=$?
   2519   if test -s conftest.err; then
   2520     grep -v '^ *+' conftest.err >conftest.er1
   2521     cat conftest.er1 >&5
   2522     mv -f conftest.er1 conftest.err
   2523   fi
   2524   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2525   test $ac_status = 0; } > conftest.i && {
   2526 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   2527 	 test ! -s conftest.err
   2528        }; then :
   2529   ac_retval=0
   2530 else
   2531   $as_echo "$as_me: failed program was:" >&5
   2532 sed 's/^/| /' conftest.$ac_ext >&5
   2533 
   2534     ac_retval=1
   2535 fi
   2536   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2537   as_fn_set_status $ac_retval
   2538 
   2539 } # ac_fn_c_try_cpp
   2540 
   2541 # ac_fn_c_try_run LINENO
   2542 # ----------------------
   2543 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   2544 # that executables *can* be run.
   2545 ac_fn_c_try_run ()
   2546 {
   2547   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2548   if { { ac_try="$ac_link"
   2549 case "(($ac_try" in
   2550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2551   *) ac_try_echo=$ac_try;;
   2552 esac
   2553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2554 $as_echo "$ac_try_echo"; } >&5
   2555   (eval "$ac_link") 2>&5
   2556   ac_status=$?
   2557   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2558   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   2559   { { case "(($ac_try" in
   2560   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2561   *) ac_try_echo=$ac_try;;
   2562 esac
   2563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2564 $as_echo "$ac_try_echo"; } >&5
   2565   (eval "$ac_try") 2>&5
   2566   ac_status=$?
   2567   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2568   test $ac_status = 0; }; }; then :
   2569   ac_retval=0
   2570 else
   2571   $as_echo "$as_me: program exited with status $ac_status" >&5
   2572        $as_echo "$as_me: failed program was:" >&5
   2573 sed 's/^/| /' conftest.$ac_ext >&5
   2574 
   2575        ac_retval=$ac_status
   2576 fi
   2577   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2578   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2579   as_fn_set_status $ac_retval
   2580 
   2581 } # ac_fn_c_try_run
   2582 
   2583 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   2584 # -------------------------------------------------------
   2585 # Tests whether HEADER exists and can be compiled using the include files in
   2586 # INCLUDES, setting the cache variable VAR accordingly.
   2587 ac_fn_c_check_header_compile ()
   2588 {
   2589   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2591 $as_echo_n "checking for $2... " >&6; }
   2592 if eval \${$3+:} false; then :
   2593   $as_echo_n "(cached) " >&6
   2594 else
   2595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2596 /* end confdefs.h.  */
   2597 $4
   2598 #include <$2>
   2599 _ACEOF
   2600 if ac_fn_c_try_compile "$LINENO"; then :
   2601   eval "$3=yes"
   2602 else
   2603   eval "$3=no"
   2604 fi
   2605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2606 fi
   2607 eval ac_res=\$$3
   2608 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2609 $as_echo "$ac_res" >&6; }
   2610   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2611 
   2612 } # ac_fn_c_check_header_compile
   2613 
   2614 # ac_fn_c_try_link LINENO
   2615 # -----------------------
   2616 # Try to link conftest.$ac_ext, and return whether this succeeded.
   2617 ac_fn_c_try_link ()
   2618 {
   2619   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2620   rm -f conftest.$ac_objext conftest$ac_exeext
   2621   if { { ac_try="$ac_link"
   2622 case "(($ac_try" in
   2623   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2624   *) ac_try_echo=$ac_try;;
   2625 esac
   2626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2627 $as_echo "$ac_try_echo"; } >&5
   2628   (eval "$ac_link") 2>conftest.err
   2629   ac_status=$?
   2630   if test -s conftest.err; then
   2631     grep -v '^ *+' conftest.err >conftest.er1
   2632     cat conftest.er1 >&5
   2633     mv -f conftest.er1 conftest.err
   2634   fi
   2635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2636   test $ac_status = 0; } && {
   2637 	 test -z "$ac_c_werror_flag" ||
   2638 	 test ! -s conftest.err
   2639        } && test -s conftest$ac_exeext && {
   2640 	 test "$cross_compiling" = yes ||
   2641 	 $as_test_x conftest$ac_exeext
   2642        }; then :
   2643   ac_retval=0
   2644 else
   2645   $as_echo "$as_me: failed program was:" >&5
   2646 sed 's/^/| /' conftest.$ac_ext >&5
   2647 
   2648 	ac_retval=1
   2649 fi
   2650   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2651   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2652   # interfere with the next link command; also delete a directory that is
   2653   # left behind by Apple's compiler.  We do this before executing the actions.
   2654   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2655   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2656   as_fn_set_status $ac_retval
   2657 
   2658 } # ac_fn_c_try_link
   2659 
   2660 # ac_fn_c_check_func LINENO FUNC VAR
   2661 # ----------------------------------
   2662 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   2663 ac_fn_c_check_func ()
   2664 {
   2665   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2667 $as_echo_n "checking for $2... " >&6; }
   2668 if eval \${$3+:} false; then :
   2669   $as_echo_n "(cached) " >&6
   2670 else
   2671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2672 /* end confdefs.h.  */
   2673 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   2674    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   2675 #define $2 innocuous_$2
   2676 
   2677 /* System header to define __stub macros and hopefully few prototypes,
   2678     which can conflict with char $2 (); below.
   2679     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2680     <limits.h> exists even on freestanding compilers.  */
   2681 
   2682 #ifdef __STDC__
   2683 # include <limits.h>
   2684 #else
   2685 # include <assert.h>
   2686 #endif
   2687 
   2688 #undef $2
   2689 
   2690 /* Override any GCC internal prototype to avoid an error.
   2691    Use char because int might match the return type of a GCC
   2692    builtin and then its argument prototype would still apply.  */
   2693 #ifdef __cplusplus
   2694 extern "C"
   2695 #endif
   2696 char $2 ();
   2697 /* The GNU C library defines this for functions which it implements
   2698     to always fail with ENOSYS.  Some functions are actually named
   2699     something starting with __ and the normal name is an alias.  */
   2700 #if defined __stub_$2 || defined __stub___$2
   2701 choke me
   2702 #endif
   2703 
   2704 int
   2705 main ()
   2706 {
   2707 return $2 ();
   2708   ;
   2709   return 0;
   2710 }
   2711 _ACEOF
   2712 if ac_fn_c_try_link "$LINENO"; then :
   2713   eval "$3=yes"
   2714 else
   2715   eval "$3=no"
   2716 fi
   2717 rm -f core conftest.err conftest.$ac_objext \
   2718     conftest$ac_exeext conftest.$ac_ext
   2719 fi
   2720 eval ac_res=\$$3
   2721 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2722 $as_echo "$ac_res" >&6; }
   2723   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2724 
   2725 } # ac_fn_c_check_func
   2726 
   2727 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   2728 # -------------------------------------------------------
   2729 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   2730 # the include files in INCLUDES and setting the cache variable VAR
   2731 # accordingly.
   2732 ac_fn_c_check_header_mongrel ()
   2733 {
   2734   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2735   if eval \${$3+:} false; then :
   2736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2737 $as_echo_n "checking for $2... " >&6; }
   2738 if eval \${$3+:} false; then :
   2739   $as_echo_n "(cached) " >&6
   2740 fi
   2741 eval ac_res=\$$3
   2742 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2743 $as_echo "$ac_res" >&6; }
   2744 else
   2745   # Is the header compilable?
   2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   2747 $as_echo_n "checking $2 usability... " >&6; }
   2748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2749 /* end confdefs.h.  */
   2750 $4
   2751 #include <$2>
   2752 _ACEOF
   2753 if ac_fn_c_try_compile "$LINENO"; then :
   2754   ac_header_compiler=yes
   2755 else
   2756   ac_header_compiler=no
   2757 fi
   2758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   2760 $as_echo "$ac_header_compiler" >&6; }
   2761 
   2762 # Is the header present?
   2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   2764 $as_echo_n "checking $2 presence... " >&6; }
   2765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2766 /* end confdefs.h.  */
   2767 #include <$2>
   2768 _ACEOF
   2769 if ac_fn_c_try_cpp "$LINENO"; then :
   2770   ac_header_preproc=yes
   2771 else
   2772   ac_header_preproc=no
   2773 fi
   2774 rm -f conftest.err conftest.i conftest.$ac_ext
   2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   2776 $as_echo "$ac_header_preproc" >&6; }
   2777 
   2778 # So?  What about this header?
   2779 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   2780   yes:no: )
   2781     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   2782 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   2783     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2784 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2785     ;;
   2786   no:yes:* )
   2787     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   2788 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   2789     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   2790 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   2791     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   2792 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   2793     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   2794 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   2795     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2796 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2797 ( $as_echo "## ---------------------------------------------------------------------- ##
   2798 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   2799 ## ---------------------------------------------------------------------- ##"
   2800      ) | sed "s/^/$as_me: WARNING:     /" >&2
   2801     ;;
   2802 esac
   2803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2804 $as_echo_n "checking for $2... " >&6; }
   2805 if eval \${$3+:} false; then :
   2806   $as_echo_n "(cached) " >&6
   2807 else
   2808   eval "$3=\$ac_header_compiler"
   2809 fi
   2810 eval ac_res=\$$3
   2811 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2812 $as_echo "$ac_res" >&6; }
   2813 fi
   2814   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2815 
   2816 } # ac_fn_c_check_header_mongrel
   2817 
   2818 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   2819 # --------------------------------------------
   2820 # Tries to find the compile-time value of EXPR in a program that includes
   2821 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   2822 # computed
   2823 ac_fn_c_compute_int ()
   2824 {
   2825   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2826   if test "$cross_compiling" = yes; then
   2827     # Depending upon the size, compute the lo and hi bounds.
   2828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2829 /* end confdefs.h.  */
   2830 $4
   2831 int
   2832 main ()
   2833 {
   2834 static int test_array [1 - 2 * !(($2) >= 0)];
   2835 test_array [0] = 0
   2836 
   2837   ;
   2838   return 0;
   2839 }
   2840 _ACEOF
   2841 if ac_fn_c_try_compile "$LINENO"; then :
   2842   ac_lo=0 ac_mid=0
   2843   while :; do
   2844     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2845 /* end confdefs.h.  */
   2846 $4
   2847 int
   2848 main ()
   2849 {
   2850 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2851 test_array [0] = 0
   2852 
   2853   ;
   2854   return 0;
   2855 }
   2856 _ACEOF
   2857 if ac_fn_c_try_compile "$LINENO"; then :
   2858   ac_hi=$ac_mid; break
   2859 else
   2860   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2861 			if test $ac_lo -le $ac_mid; then
   2862 			  ac_lo= ac_hi=
   2863 			  break
   2864 			fi
   2865 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2866 fi
   2867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2868   done
   2869 else
   2870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2871 /* end confdefs.h.  */
   2872 $4
   2873 int
   2874 main ()
   2875 {
   2876 static int test_array [1 - 2 * !(($2) < 0)];
   2877 test_array [0] = 0
   2878 
   2879   ;
   2880   return 0;
   2881 }
   2882 _ACEOF
   2883 if ac_fn_c_try_compile "$LINENO"; then :
   2884   ac_hi=-1 ac_mid=-1
   2885   while :; do
   2886     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2887 /* end confdefs.h.  */
   2888 $4
   2889 int
   2890 main ()
   2891 {
   2892 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2893 test_array [0] = 0
   2894 
   2895   ;
   2896   return 0;
   2897 }
   2898 _ACEOF
   2899 if ac_fn_c_try_compile "$LINENO"; then :
   2900   ac_lo=$ac_mid; break
   2901 else
   2902   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2903 			if test $ac_mid -le $ac_hi; then
   2904 			  ac_lo= ac_hi=
   2905 			  break
   2906 			fi
   2907 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2908 fi
   2909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2910   done
   2911 else
   2912   ac_lo= ac_hi=
   2913 fi
   2914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2915 fi
   2916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2917 # Binary search between lo and hi bounds.
   2918 while test "x$ac_lo" != "x$ac_hi"; do
   2919   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2921 /* end confdefs.h.  */
   2922 $4
   2923 int
   2924 main ()
   2925 {
   2926 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2927 test_array [0] = 0
   2928 
   2929   ;
   2930   return 0;
   2931 }
   2932 _ACEOF
   2933 if ac_fn_c_try_compile "$LINENO"; then :
   2934   ac_hi=$ac_mid
   2935 else
   2936   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2937 fi
   2938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2939 done
   2940 case $ac_lo in #((
   2941 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2942 '') ac_retval=1 ;;
   2943 esac
   2944   else
   2945     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2946 /* end confdefs.h.  */
   2947 $4
   2948 static long int longval () { return $2; }
   2949 static unsigned long int ulongval () { return $2; }
   2950 #include <stdio.h>
   2951 #include <stdlib.h>
   2952 int
   2953 main ()
   2954 {
   2955 
   2956   FILE *f = fopen ("conftest.val", "w");
   2957   if (! f)
   2958     return 1;
   2959   if (($2) < 0)
   2960     {
   2961       long int i = longval ();
   2962       if (i != ($2))
   2963 	return 1;
   2964       fprintf (f, "%ld", i);
   2965     }
   2966   else
   2967     {
   2968       unsigned long int i = ulongval ();
   2969       if (i != ($2))
   2970 	return 1;
   2971       fprintf (f, "%lu", i);
   2972     }
   2973   /* Do not output a trailing newline, as this causes \r\n confusion
   2974      on some platforms.  */
   2975   return ferror (f) || fclose (f) != 0;
   2976 
   2977   ;
   2978   return 0;
   2979 }
   2980 _ACEOF
   2981 if ac_fn_c_try_run "$LINENO"; then :
   2982   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2983 else
   2984   ac_retval=1
   2985 fi
   2986 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2987   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2988 rm -f conftest.val
   2989 
   2990   fi
   2991   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2992   as_fn_set_status $ac_retval
   2993 
   2994 } # ac_fn_c_compute_int
   2995 
   2996 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2997 # -------------------------------------------
   2998 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2999 # variable VAR accordingly.
   3000 ac_fn_c_check_type ()
   3001 {
   3002   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   3003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   3004 $as_echo_n "checking for $2... " >&6; }
   3005 if eval \${$3+:} false; then :
   3006   $as_echo_n "(cached) " >&6
   3007 else
   3008   eval "$3=no"
   3009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3010 /* end confdefs.h.  */
   3011 $4
   3012 int
   3013 main ()
   3014 {
   3015 if (sizeof ($2))
   3016 	 return 0;
   3017   ;
   3018   return 0;
   3019 }
   3020 _ACEOF
   3021 if ac_fn_c_try_compile "$LINENO"; then :
   3022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3023 /* end confdefs.h.  */
   3024 $4
   3025 int
   3026 main ()
   3027 {
   3028 if (sizeof (($2)))
   3029 	    return 0;
   3030   ;
   3031   return 0;
   3032 }
   3033 _ACEOF
   3034 if ac_fn_c_try_compile "$LINENO"; then :
   3035 
   3036 else
   3037   eval "$3=yes"
   3038 fi
   3039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3040 fi
   3041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3042 fi
   3043 eval ac_res=\$$3
   3044 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   3045 $as_echo "$ac_res" >&6; }
   3046   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   3047 
   3048 } # ac_fn_c_check_type
   3049 
   3050 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   3051 # ----------------------------------------------------
   3052 # Tries to find if the field MEMBER exists in type AGGR, after including
   3053 # INCLUDES, setting cache variable VAR accordingly.
   3054 ac_fn_c_check_member ()
   3055 {
   3056   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   3057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   3058 $as_echo_n "checking for $2.$3... " >&6; }
   3059 if eval \${$4+:} false; then :
   3060   $as_echo_n "(cached) " >&6
   3061 else
   3062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3063 /* end confdefs.h.  */
   3064 $5
   3065 int
   3066 main ()
   3067 {
   3068 static $2 ac_aggr;
   3069 if (ac_aggr.$3)
   3070 return 0;
   3071   ;
   3072   return 0;
   3073 }
   3074 _ACEOF
   3075 if ac_fn_c_try_compile "$LINENO"; then :
   3076   eval "$4=yes"
   3077 else
   3078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3079 /* end confdefs.h.  */
   3080 $5
   3081 int
   3082 main ()
   3083 {
   3084 static $2 ac_aggr;
   3085 if (sizeof ac_aggr.$3)
   3086 return 0;
   3087   ;
   3088   return 0;
   3089 }
   3090 _ACEOF
   3091 if ac_fn_c_try_compile "$LINENO"; then :
   3092   eval "$4=yes"
   3093 else
   3094   eval "$4=no"
   3095 fi
   3096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3097 fi
   3098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3099 fi
   3100 eval ac_res=\$$4
   3101 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   3102 $as_echo "$ac_res" >&6; }
   3103   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   3104 
   3105 } # ac_fn_c_check_member
   3106 cat >config.log <<_ACEOF
   3107 This file contains any messages produced by compilers while
   3108 running configure, to aid debugging if configure makes a mistake.
   3109 
   3110 It was created by xorg-server $as_me 1.10.3, which was
   3111 generated by GNU Autoconf 2.68.  Invocation command line was
   3112 
   3113   $ $0 $@
   3114 
   3115 _ACEOF
   3116 exec 5>>config.log
   3117 {
   3118 cat <<_ASUNAME
   3119 ## --------- ##
   3120 ## Platform. ##
   3121 ## --------- ##
   3122 
   3123 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   3124 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   3125 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   3126 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   3127 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   3128 
   3129 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   3130 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   3131 
   3132 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   3133 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   3134 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   3135 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   3136 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   3137 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   3138 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   3139 
   3140 _ASUNAME
   3141 
   3142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3143 for as_dir in $PATH
   3144 do
   3145   IFS=$as_save_IFS
   3146   test -z "$as_dir" && as_dir=.
   3147     $as_echo "PATH: $as_dir"
   3148   done
   3149 IFS=$as_save_IFS
   3150 
   3151 } >&5
   3152 
   3153 cat >&5 <<_ACEOF
   3154 
   3155 
   3156 ## ----------- ##
   3157 ## Core tests. ##
   3158 ## ----------- ##
   3159 
   3160 _ACEOF
   3161 
   3162 
   3163 # Keep a trace of the command line.
   3164 # Strip out --no-create and --no-recursion so they do not pile up.
   3165 # Strip out --silent because we don't want to record it for future runs.
   3166 # Also quote any args containing shell meta-characters.
   3167 # Make two passes to allow for proper duplicate-argument suppression.
   3168 ac_configure_args=
   3169 ac_configure_args0=
   3170 ac_configure_args1=
   3171 ac_must_keep_next=false
   3172 for ac_pass in 1 2
   3173 do
   3174   for ac_arg
   3175   do
   3176     case $ac_arg in
   3177     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   3178     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   3179     | -silent | --silent | --silen | --sile | --sil)
   3180       continue ;;
   3181     *\'*)
   3182       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   3183     esac
   3184     case $ac_pass in
   3185     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   3186     2)
   3187       as_fn_append ac_configure_args1 " '$ac_arg'"
   3188       if test $ac_must_keep_next = true; then
   3189 	ac_must_keep_next=false # Got value, back to normal.
   3190       else
   3191 	case $ac_arg in
   3192 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   3193 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   3194 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   3195 	  | -with-* | --with-* | -without-* | --without-* | --x)
   3196 	    case "$ac_configure_args0 " in
   3197 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   3198 	    esac
   3199 	    ;;
   3200 	  -* ) ac_must_keep_next=true ;;
   3201 	esac
   3202       fi
   3203       as_fn_append ac_configure_args " '$ac_arg'"
   3204       ;;
   3205     esac
   3206   done
   3207 done
   3208 { ac_configure_args0=; unset ac_configure_args0;}
   3209 { ac_configure_args1=; unset ac_configure_args1;}
   3210 
   3211 # When interrupted or exit'd, cleanup temporary files, and complete
   3212 # config.log.  We remove comments because anyway the quotes in there
   3213 # would cause problems or look ugly.
   3214 # WARNING: Use '\'' to represent an apostrophe within the trap.
   3215 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   3216 trap 'exit_status=$?
   3217   # Save into config.log some information that might help in debugging.
   3218   {
   3219     echo
   3220 
   3221     $as_echo "## ---------------- ##
   3222 ## Cache variables. ##
   3223 ## ---------------- ##"
   3224     echo
   3225     # The following way of writing the cache mishandles newlines in values,
   3226 (
   3227   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   3228     eval ac_val=\$$ac_var
   3229     case $ac_val in #(
   3230     *${as_nl}*)
   3231       case $ac_var in #(
   3232       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   3233 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   3234       esac
   3235       case $ac_var in #(
   3236       _ | IFS | as_nl) ;; #(
   3237       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   3238       *) { eval $ac_var=; unset $ac_var;} ;;
   3239       esac ;;
   3240     esac
   3241   done
   3242   (set) 2>&1 |
   3243     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   3244     *${as_nl}ac_space=\ *)
   3245       sed -n \
   3246 	"s/'\''/'\''\\\\'\'''\''/g;
   3247 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   3248       ;; #(
   3249     *)
   3250       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   3251       ;;
   3252     esac |
   3253     sort
   3254 )
   3255     echo
   3256 
   3257     $as_echo "## ----------------- ##
   3258 ## Output variables. ##
   3259 ## ----------------- ##"
   3260     echo
   3261     for ac_var in $ac_subst_vars
   3262     do
   3263       eval ac_val=\$$ac_var
   3264       case $ac_val in
   3265       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   3266       esac
   3267       $as_echo "$ac_var='\''$ac_val'\''"
   3268     done | sort
   3269     echo
   3270 
   3271     if test -n "$ac_subst_files"; then
   3272       $as_echo "## ------------------- ##
   3273 ## File substitutions. ##
   3274 ## ------------------- ##"
   3275       echo
   3276       for ac_var in $ac_subst_files
   3277       do
   3278 	eval ac_val=\$$ac_var
   3279 	case $ac_val in
   3280 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   3281 	esac
   3282 	$as_echo "$ac_var='\''$ac_val'\''"
   3283       done | sort
   3284       echo
   3285     fi
   3286 
   3287     if test -s confdefs.h; then
   3288       $as_echo "## ----------- ##
   3289 ## confdefs.h. ##
   3290 ## ----------- ##"
   3291       echo
   3292       cat confdefs.h
   3293       echo
   3294     fi
   3295     test "$ac_signal" != 0 &&
   3296       $as_echo "$as_me: caught signal $ac_signal"
   3297     $as_echo "$as_me: exit $exit_status"
   3298   } >&5
   3299   rm -f core *.core core.conftest.* &&
   3300     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   3301     exit $exit_status
   3302 ' 0
   3303 for ac_signal in 1 2 13 15; do
   3304   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   3305 done
   3306 ac_signal=0
   3307 
   3308 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   3309 rm -f -r conftest* confdefs.h
   3310 
   3311 $as_echo "/* confdefs.h */" > confdefs.h
   3312 
   3313 # Predefined preprocessor variables.
   3314 
   3315 cat >>confdefs.h <<_ACEOF
   3316 #define PACKAGE_NAME "$PACKAGE_NAME"
   3317 _ACEOF
   3318 
   3319 cat >>confdefs.h <<_ACEOF
   3320 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   3321 _ACEOF
   3322 
   3323 cat >>confdefs.h <<_ACEOF
   3324 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   3325 _ACEOF
   3326 
   3327 cat >>confdefs.h <<_ACEOF
   3328 #define PACKAGE_STRING "$PACKAGE_STRING"
   3329 _ACEOF
   3330 
   3331 cat >>confdefs.h <<_ACEOF
   3332 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   3333 _ACEOF
   3334 
   3335 cat >>confdefs.h <<_ACEOF
   3336 #define PACKAGE_URL "$PACKAGE_URL"
   3337 _ACEOF
   3338 
   3339 
   3340 # Let the site file select an alternate cache file if it wants to.
   3341 # Prefer an explicitly selected file to automatically selected ones.
   3342 ac_site_file1=NONE
   3343 ac_site_file2=NONE
   3344 if test -n "$CONFIG_SITE"; then
   3345   # We do not want a PATH search for config.site.
   3346   case $CONFIG_SITE in #((
   3347     -*)  ac_site_file1=./$CONFIG_SITE;;
   3348     */*) ac_site_file1=$CONFIG_SITE;;
   3349     *)   ac_site_file1=./$CONFIG_SITE;;
   3350   esac
   3351 elif test "x$prefix" != xNONE; then
   3352   ac_site_file1=$prefix/share/config.site
   3353   ac_site_file2=$prefix/etc/config.site
   3354 else
   3355   ac_site_file1=$ac_default_prefix/share/config.site
   3356   ac_site_file2=$ac_default_prefix/etc/config.site
   3357 fi
   3358 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   3359 do
   3360   test "x$ac_site_file" = xNONE && continue
   3361   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   3362     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   3363 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   3364     sed 's/^/| /' "$ac_site_file" >&5
   3365     . "$ac_site_file" \
   3366       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3368 as_fn_error $? "failed to load site script $ac_site_file
   3369 See \`config.log' for more details" "$LINENO" 5; }
   3370   fi
   3371 done
   3372 
   3373 if test -r "$cache_file"; then
   3374   # Some versions of bash will fail to source /dev/null (special files
   3375   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   3376   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   3377     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   3378 $as_echo "$as_me: loading cache $cache_file" >&6;}
   3379     case $cache_file in
   3380       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   3381       *)                      . "./$cache_file";;
   3382     esac
   3383   fi
   3384 else
   3385   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   3386 $as_echo "$as_me: creating cache $cache_file" >&6;}
   3387   >$cache_file
   3388 fi
   3389 
   3390 # Check that the precious variables saved in the cache have kept the same
   3391 # value.
   3392 ac_cache_corrupted=false
   3393 for ac_var in $ac_precious_vars; do
   3394   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   3395   eval ac_new_set=\$ac_env_${ac_var}_set
   3396   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   3397   eval ac_new_val=\$ac_env_${ac_var}_value
   3398   case $ac_old_set,$ac_new_set in
   3399     set,)
   3400       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   3401 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   3402       ac_cache_corrupted=: ;;
   3403     ,set)
   3404       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   3405 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   3406       ac_cache_corrupted=: ;;
   3407     ,);;
   3408     *)
   3409       if test "x$ac_old_val" != "x$ac_new_val"; then
   3410 	# differences in whitespace do not lead to failure.
   3411 	ac_old_val_w=`echo x $ac_old_val`
   3412 	ac_new_val_w=`echo x $ac_new_val`
   3413 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   3414 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   3415 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   3416 	  ac_cache_corrupted=:
   3417 	else
   3418 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   3419 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   3420 	  eval $ac_var=\$ac_old_val
   3421 	fi
   3422 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   3423 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   3424 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   3425 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   3426       fi;;
   3427   esac
   3428   # Pass precious variables to config.status.
   3429   if test "$ac_new_set" = set; then
   3430     case $ac_new_val in
   3431     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   3432     *) ac_arg=$ac_var=$ac_new_val ;;
   3433     esac
   3434     case " $ac_configure_args " in
   3435       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   3436       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   3437     esac
   3438   fi
   3439 done
   3440 if $ac_cache_corrupted; then
   3441   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3443   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   3444 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   3445   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   3446 fi
   3447 ## -------------------- ##
   3448 ## Main body of script. ##
   3449 ## -------------------- ##
   3450 
   3451 ac_ext=c
   3452 ac_cpp='$CPP $CPPFLAGS'
   3453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3456 
   3457 
   3458 RELEASE_DATE="2011-07-08"
   3459 
   3460 am__api_version='1.11'
   3461 
   3462 ac_aux_dir=
   3463 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   3464   if test -f "$ac_dir/install-sh"; then
   3465     ac_aux_dir=$ac_dir
   3466     ac_install_sh="$ac_aux_dir/install-sh -c"
   3467     break
   3468   elif test -f "$ac_dir/install.sh"; then
   3469     ac_aux_dir=$ac_dir
   3470     ac_install_sh="$ac_aux_dir/install.sh -c"
   3471     break
   3472   elif test -f "$ac_dir/shtool"; then
   3473     ac_aux_dir=$ac_dir
   3474     ac_install_sh="$ac_aux_dir/shtool install -c"
   3475     break
   3476   fi
   3477 done
   3478 if test -z "$ac_aux_dir"; then
   3479   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   3480 fi
   3481 
   3482 # These three variables are undocumented and unsupported,
   3483 # and are intended to be withdrawn in a future Autoconf release.
   3484 # They can cause serious problems if a builder's source tree is in a directory
   3485 # whose full name contains unusual characters.
   3486 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   3487 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   3488 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   3489 
   3490 
   3491 # Find a good install program.  We prefer a C program (faster),
   3492 # so one script is as good as another.  But avoid the broken or
   3493 # incompatible versions:
   3494 # SysV /etc/install, /usr/sbin/install
   3495 # SunOS /usr/etc/install
   3496 # IRIX /sbin/install
   3497 # AIX /bin/install
   3498 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3499 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3500 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3501 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3502 # OS/2's system install, which has a completely different semantic
   3503 # ./install, which can be erroneously created by make from ./install.sh.
   3504 # Reject install programs that cannot install multiple files.
   3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3506 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3507 if test -z "$INSTALL"; then
   3508 if ${ac_cv_path_install+:} false; then :
   3509   $as_echo_n "(cached) " >&6
   3510 else
   3511   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3512 for as_dir in $PATH
   3513 do
   3514   IFS=$as_save_IFS
   3515   test -z "$as_dir" && as_dir=.
   3516     # Account for people who put trailing slashes in PATH elements.
   3517 case $as_dir/ in #((
   3518   ./ | .// | /[cC]/* | \
   3519   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3520   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3521   /usr/ucb/* ) ;;
   3522   *)
   3523     # OSF1 and SCO ODT 3.0 have their own names for install.
   3524     # Don't use installbsd from OSF since it installs stuff as root
   3525     # by default.
   3526     for ac_prog in ginstall scoinst install; do
   3527       for ac_exec_ext in '' $ac_executable_extensions; do
   3528 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   3529 	  if test $ac_prog = install &&
   3530 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3531 	    # AIX install.  It has an incompatible calling convention.
   3532 	    :
   3533 	  elif test $ac_prog = install &&
   3534 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3535 	    # program-specific install script used by HP pwplus--don't use.
   3536 	    :
   3537 	  else
   3538 	    rm -rf conftest.one conftest.two conftest.dir
   3539 	    echo one > conftest.one
   3540 	    echo two > conftest.two
   3541 	    mkdir conftest.dir
   3542 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3543 	      test -s conftest.one && test -s conftest.two &&
   3544 	      test -s conftest.dir/conftest.one &&
   3545 	      test -s conftest.dir/conftest.two
   3546 	    then
   3547 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3548 	      break 3
   3549 	    fi
   3550 	  fi
   3551 	fi
   3552       done
   3553     done
   3554     ;;
   3555 esac
   3556 
   3557   done
   3558 IFS=$as_save_IFS
   3559 
   3560 rm -rf conftest.one conftest.two conftest.dir
   3561 
   3562 fi
   3563   if test "${ac_cv_path_install+set}" = set; then
   3564     INSTALL=$ac_cv_path_install
   3565   else
   3566     # As a last resort, use the slow shell script.  Don't cache a
   3567     # value for INSTALL within a source directory, because that will
   3568     # break other packages using the cache if that directory is
   3569     # removed, or if the value is a relative name.
   3570     INSTALL=$ac_install_sh
   3571   fi
   3572 fi
   3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3574 $as_echo "$INSTALL" >&6; }
   3575 
   3576 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3577 # It thinks the first close brace ends the variable substitution.
   3578 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3579 
   3580 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3581 
   3582 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3583 
   3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3585 $as_echo_n "checking whether build environment is sane... " >&6; }
   3586 # Just in case
   3587 sleep 1
   3588 echo timestamp > conftest.file
   3589 # Reject unsafe characters in $srcdir or the absolute working directory
   3590 # name.  Accept space and tab only in the latter.
   3591 am_lf='
   3592 '
   3593 case `pwd` in
   3594   *[\\\"\#\$\&\'\`$am_lf]*)
   3595     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3596 esac
   3597 case $srcdir in
   3598   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3599     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   3600 esac
   3601 
   3602 # Do `set' in a subshell so we don't clobber the current shell's
   3603 # arguments.  Must try -L first in case configure is actually a
   3604 # symlink; some systems play weird games with the mod time of symlinks
   3605 # (eg FreeBSD returns the mod time of the symlink's containing
   3606 # directory).
   3607 if (
   3608    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3609    if test "$*" = "X"; then
   3610       # -L didn't work.
   3611       set X `ls -t "$srcdir/configure" conftest.file`
   3612    fi
   3613    rm -f conftest.file
   3614    if test "$*" != "X $srcdir/configure conftest.file" \
   3615       && test "$*" != "X conftest.file $srcdir/configure"; then
   3616 
   3617       # If neither matched, then we have a broken ls.  This can happen
   3618       # if, for instance, CONFIG_SHELL is bash and it inherits a
   3619       # broken ls alias from the environment.  This has actually
   3620       # happened.  Such a system could not be considered "sane".
   3621       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3622 alias in your environment" "$LINENO" 5
   3623    fi
   3624 
   3625    test "$2" = conftest.file
   3626    )
   3627 then
   3628    # Ok.
   3629    :
   3630 else
   3631    as_fn_error $? "newly created file is older than distributed files!
   3632 Check your system clock" "$LINENO" 5
   3633 fi
   3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3635 $as_echo "yes" >&6; }
   3636 test "$program_prefix" != NONE &&
   3637   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3638 # Use a double $ so make ignores it.
   3639 test "$program_suffix" != NONE &&
   3640   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3641 # Double any \ or $.
   3642 # By default was `s,x,x', remove it if useless.
   3643 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3644 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3645 
   3646 # expand $ac_aux_dir to an absolute path
   3647 am_aux_dir=`cd $ac_aux_dir && pwd`
   3648 
   3649 if test x"${MISSING+set}" != xset; then
   3650   case $am_aux_dir in
   3651   *\ * | *\	*)
   3652     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3653   *)
   3654     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3655   esac
   3656 fi
   3657 # Use eval to expand $SHELL
   3658 if eval "$MISSING --run true"; then
   3659   am_missing_run="$MISSING --run "
   3660 else
   3661   am_missing_run=
   3662   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   3663 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   3664 fi
   3665 
   3666 if test x"${install_sh}" != xset; then
   3667   case $am_aux_dir in
   3668   *\ * | *\	*)
   3669     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3670   *)
   3671     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3672   esac
   3673 fi
   3674 
   3675 # Installed binaries are usually stripped using `strip' when the user
   3676 # run `make install-strip'.  However `strip' might not be the right
   3677 # tool to use in cross-compilation environments, therefore Automake
   3678 # will honor the `STRIP' environment variable to overrule this program.
   3679 if test "$cross_compiling" != no; then
   3680   if test -n "$ac_tool_prefix"; then
   3681   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3682 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3684 $as_echo_n "checking for $ac_word... " >&6; }
   3685 if ${ac_cv_prog_STRIP+:} false; then :
   3686   $as_echo_n "(cached) " >&6
   3687 else
   3688   if test -n "$STRIP"; then
   3689   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3690 else
   3691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3692 for as_dir in $PATH
   3693 do
   3694   IFS=$as_save_IFS
   3695   test -z "$as_dir" && as_dir=.
   3696     for ac_exec_ext in '' $ac_executable_extensions; do
   3697   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3698     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3699     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3700     break 2
   3701   fi
   3702 done
   3703   done
   3704 IFS=$as_save_IFS
   3705 
   3706 fi
   3707 fi
   3708 STRIP=$ac_cv_prog_STRIP
   3709 if test -n "$STRIP"; then
   3710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3711 $as_echo "$STRIP" >&6; }
   3712 else
   3713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3714 $as_echo "no" >&6; }
   3715 fi
   3716 
   3717 
   3718 fi
   3719 if test -z "$ac_cv_prog_STRIP"; then
   3720   ac_ct_STRIP=$STRIP
   3721   # Extract the first word of "strip", so it can be a program name with args.
   3722 set dummy strip; ac_word=$2
   3723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3724 $as_echo_n "checking for $ac_word... " >&6; }
   3725 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3726   $as_echo_n "(cached) " >&6
   3727 else
   3728   if test -n "$ac_ct_STRIP"; then
   3729   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3730 else
   3731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3732 for as_dir in $PATH
   3733 do
   3734   IFS=$as_save_IFS
   3735   test -z "$as_dir" && as_dir=.
   3736     for ac_exec_ext in '' $ac_executable_extensions; do
   3737   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3738     ac_cv_prog_ac_ct_STRIP="strip"
   3739     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3740     break 2
   3741   fi
   3742 done
   3743   done
   3744 IFS=$as_save_IFS
   3745 
   3746 fi
   3747 fi
   3748 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3749 if test -n "$ac_ct_STRIP"; then
   3750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3751 $as_echo "$ac_ct_STRIP" >&6; }
   3752 else
   3753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3754 $as_echo "no" >&6; }
   3755 fi
   3756 
   3757   if test "x$ac_ct_STRIP" = x; then
   3758     STRIP=":"
   3759   else
   3760     case $cross_compiling:$ac_tool_warned in
   3761 yes:)
   3762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3764 ac_tool_warned=yes ;;
   3765 esac
   3766     STRIP=$ac_ct_STRIP
   3767   fi
   3768 else
   3769   STRIP="$ac_cv_prog_STRIP"
   3770 fi
   3771 
   3772 fi
   3773 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3774 
   3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3776 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3777 if test -z "$MKDIR_P"; then
   3778   if ${ac_cv_path_mkdir+:} false; then :
   3779   $as_echo_n "(cached) " >&6
   3780 else
   3781   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3782 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3783 do
   3784   IFS=$as_save_IFS
   3785   test -z "$as_dir" && as_dir=.
   3786     for ac_prog in mkdir gmkdir; do
   3787 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3788 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   3789 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3790 	     'mkdir (GNU coreutils) '* | \
   3791 	     'mkdir (coreutils) '* | \
   3792 	     'mkdir (fileutils) '4.1*)
   3793 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3794 	       break 3;;
   3795 	   esac
   3796 	 done
   3797        done
   3798   done
   3799 IFS=$as_save_IFS
   3800 
   3801 fi
   3802 
   3803   test -d ./--version && rmdir ./--version
   3804   if test "${ac_cv_path_mkdir+set}" = set; then
   3805     MKDIR_P="$ac_cv_path_mkdir -p"
   3806   else
   3807     # As a last resort, use the slow shell script.  Don't cache a
   3808     # value for MKDIR_P within a source directory, because that will
   3809     # break other packages using the cache if that directory is
   3810     # removed, or if the value is a relative name.
   3811     MKDIR_P="$ac_install_sh -d"
   3812   fi
   3813 fi
   3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3815 $as_echo "$MKDIR_P" >&6; }
   3816 
   3817 mkdir_p="$MKDIR_P"
   3818 case $mkdir_p in
   3819   [\\/$]* | ?:[\\/]*) ;;
   3820   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   3821 esac
   3822 
   3823 for ac_prog in gawk mawk nawk awk
   3824 do
   3825   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3826 set dummy $ac_prog; ac_word=$2
   3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3828 $as_echo_n "checking for $ac_word... " >&6; }
   3829 if ${ac_cv_prog_AWK+:} false; then :
   3830   $as_echo_n "(cached) " >&6
   3831 else
   3832   if test -n "$AWK"; then
   3833   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3834 else
   3835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3836 for as_dir in $PATH
   3837 do
   3838   IFS=$as_save_IFS
   3839   test -z "$as_dir" && as_dir=.
   3840     for ac_exec_ext in '' $ac_executable_extensions; do
   3841   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3842     ac_cv_prog_AWK="$ac_prog"
   3843     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3844     break 2
   3845   fi
   3846 done
   3847   done
   3848 IFS=$as_save_IFS
   3849 
   3850 fi
   3851 fi
   3852 AWK=$ac_cv_prog_AWK
   3853 if test -n "$AWK"; then
   3854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3855 $as_echo "$AWK" >&6; }
   3856 else
   3857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3858 $as_echo "no" >&6; }
   3859 fi
   3860 
   3861 
   3862   test -n "$AWK" && break
   3863 done
   3864 
   3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3866 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3867 set x ${MAKE-make}
   3868 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3869 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3870   $as_echo_n "(cached) " >&6
   3871 else
   3872   cat >conftest.make <<\_ACEOF
   3873 SHELL = /bin/sh
   3874 all:
   3875 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3876 _ACEOF
   3877 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3878 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3879   *@@@%%%=?*=@@@%%%*)
   3880     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3881   *)
   3882     eval ac_cv_prog_make_${ac_make}_set=no;;
   3883 esac
   3884 rm -f conftest.make
   3885 fi
   3886 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3888 $as_echo "yes" >&6; }
   3889   SET_MAKE=
   3890 else
   3891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3892 $as_echo "no" >&6; }
   3893   SET_MAKE="MAKE=${MAKE-make}"
   3894 fi
   3895 
   3896 rm -rf .tst 2>/dev/null
   3897 mkdir .tst 2>/dev/null
   3898 if test -d .tst; then
   3899   am__leading_dot=.
   3900 else
   3901   am__leading_dot=_
   3902 fi
   3903 rmdir .tst 2>/dev/null
   3904 
   3905 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3906   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3907   # is not polluted with repeated "-I."
   3908   am__isrc=' -I$(srcdir)'
   3909   # test to see if srcdir already configured
   3910   if test -f $srcdir/config.status; then
   3911     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3912   fi
   3913 fi
   3914 
   3915 # test whether we have cygpath
   3916 if test -z "$CYGPATH_W"; then
   3917   if (cygpath --version) >/dev/null 2>/dev/null; then
   3918     CYGPATH_W='cygpath -w'
   3919   else
   3920     CYGPATH_W=echo
   3921   fi
   3922 fi
   3923 
   3924 
   3925 # Define the identity of the package.
   3926  PACKAGE='xorg-server'
   3927  VERSION='1.10.3'
   3928 
   3929 
   3930 cat >>confdefs.h <<_ACEOF
   3931 #define PACKAGE "$PACKAGE"
   3932 _ACEOF
   3933 
   3934 
   3935 cat >>confdefs.h <<_ACEOF
   3936 #define VERSION "$VERSION"
   3937 _ACEOF
   3938 
   3939 # Some tools Automake needs.
   3940 
   3941 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3942 
   3943 
   3944 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3945 
   3946 
   3947 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3948 
   3949 
   3950 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3951 
   3952 
   3953 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3954 
   3955 # We need awk for the "check" target.  The system "awk" is bad on
   3956 # some platforms.
   3957 # Always define AMTAR for backward compatibility.
   3958 
   3959 AMTAR=${AMTAR-"${am_missing_run}tar"}
   3960 
   3961 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   3962 
   3963 
   3964 
   3965 
   3966 
   3967 
   3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   3969 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   3970     # Check whether --enable-maintainer-mode was given.
   3971 if test "${enable_maintainer_mode+set}" = set; then :
   3972   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   3973 else
   3974   USE_MAINTAINER_MODE=no
   3975 fi
   3976 
   3977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   3978 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   3979    if test $USE_MAINTAINER_MODE = yes; then
   3980   MAINTAINER_MODE_TRUE=
   3981   MAINTAINER_MODE_FALSE='#'
   3982 else
   3983   MAINTAINER_MODE_TRUE='#'
   3984   MAINTAINER_MODE_FALSE=
   3985 fi
   3986 
   3987   MAINT=$MAINTAINER_MODE_TRUE
   3988 
   3989 
   3990 
   3991 # Require xorg-macros minimum of 1.10 for XORG_CHECK_SGML_DOCTOOLS
   3992 
   3993 
   3994 
   3995 
   3996 
   3997 
   3998 
   3999 
   4000 
   4001 
   4002 
   4003 DEPDIR="${am__leading_dot}deps"
   4004 
   4005 ac_config_commands="$ac_config_commands depfiles"
   4006 
   4007 
   4008 am_make=${MAKE-make}
   4009 cat > confinc << 'END'
   4010 am__doit:
   4011 	@echo this is the am__doit target
   4012 .PHONY: am__doit
   4013 END
   4014 # If we don't find an include directive, just comment out the code.
   4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4016 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4017 am__include="#"
   4018 am__quote=
   4019 _am_result=none
   4020 # First try GNU make style include.
   4021 echo "include confinc" > confmf
   4022 # Ignore all kinds of additional output from `make'.
   4023 case `$am_make -s -f confmf 2> /dev/null` in #(
   4024 *the\ am__doit\ target*)
   4025   am__include=include
   4026   am__quote=
   4027   _am_result=GNU
   4028   ;;
   4029 esac
   4030 # Now try BSD make style include.
   4031 if test "$am__include" = "#"; then
   4032    echo '.include "confinc"' > confmf
   4033    case `$am_make -s -f confmf 2> /dev/null` in #(
   4034    *the\ am__doit\ target*)
   4035      am__include=.include
   4036      am__quote="\""
   4037      _am_result=BSD
   4038      ;;
   4039    esac
   4040 fi
   4041 
   4042 
   4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4044 $as_echo "$_am_result" >&6; }
   4045 rm -f confinc confmf
   4046 
   4047 # Check whether --enable-dependency-tracking was given.
   4048 if test "${enable_dependency_tracking+set}" = set; then :
   4049   enableval=$enable_dependency_tracking;
   4050 fi
   4051 
   4052 if test "x$enable_dependency_tracking" != xno; then
   4053   am_depcomp="$ac_aux_dir/depcomp"
   4054   AMDEPBACKSLASH='\'
   4055 fi
   4056  if test "x$enable_dependency_tracking" != xno; then
   4057   AMDEP_TRUE=
   4058   AMDEP_FALSE='#'
   4059 else
   4060   AMDEP_TRUE='#'
   4061   AMDEP_FALSE=
   4062 fi
   4063 
   4064 
   4065 ac_ext=c
   4066 ac_cpp='$CPP $CPPFLAGS'
   4067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4070 if test -n "$ac_tool_prefix"; then
   4071   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4072 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4074 $as_echo_n "checking for $ac_word... " >&6; }
   4075 if ${ac_cv_prog_CC+:} false; then :
   4076   $as_echo_n "(cached) " >&6
   4077 else
   4078   if test -n "$CC"; then
   4079   ac_cv_prog_CC="$CC" # Let the user override the test.
   4080 else
   4081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4082 for as_dir in $PATH
   4083 do
   4084   IFS=$as_save_IFS
   4085   test -z "$as_dir" && as_dir=.
   4086     for ac_exec_ext in '' $ac_executable_extensions; do
   4087   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4088     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4089     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4090     break 2
   4091   fi
   4092 done
   4093   done
   4094 IFS=$as_save_IFS
   4095 
   4096 fi
   4097 fi
   4098 CC=$ac_cv_prog_CC
   4099 if test -n "$CC"; then
   4100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4101 $as_echo "$CC" >&6; }
   4102 else
   4103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4104 $as_echo "no" >&6; }
   4105 fi
   4106 
   4107 
   4108 fi
   4109 if test -z "$ac_cv_prog_CC"; then
   4110   ac_ct_CC=$CC
   4111   # Extract the first word of "gcc", so it can be a program name with args.
   4112 set dummy gcc; ac_word=$2
   4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4114 $as_echo_n "checking for $ac_word... " >&6; }
   4115 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4116   $as_echo_n "(cached) " >&6
   4117 else
   4118   if test -n "$ac_ct_CC"; then
   4119   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4120 else
   4121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4122 for as_dir in $PATH
   4123 do
   4124   IFS=$as_save_IFS
   4125   test -z "$as_dir" && as_dir=.
   4126     for ac_exec_ext in '' $ac_executable_extensions; do
   4127   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4128     ac_cv_prog_ac_ct_CC="gcc"
   4129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4130     break 2
   4131   fi
   4132 done
   4133   done
   4134 IFS=$as_save_IFS
   4135 
   4136 fi
   4137 fi
   4138 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4139 if test -n "$ac_ct_CC"; then
   4140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4141 $as_echo "$ac_ct_CC" >&6; }
   4142 else
   4143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4144 $as_echo "no" >&6; }
   4145 fi
   4146 
   4147   if test "x$ac_ct_CC" = x; then
   4148     CC=""
   4149   else
   4150     case $cross_compiling:$ac_tool_warned in
   4151 yes:)
   4152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4154 ac_tool_warned=yes ;;
   4155 esac
   4156     CC=$ac_ct_CC
   4157   fi
   4158 else
   4159   CC="$ac_cv_prog_CC"
   4160 fi
   4161 
   4162 if test -z "$CC"; then
   4163           if test -n "$ac_tool_prefix"; then
   4164     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4165 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4167 $as_echo_n "checking for $ac_word... " >&6; }
   4168 if ${ac_cv_prog_CC+:} false; then :
   4169   $as_echo_n "(cached) " >&6
   4170 else
   4171   if test -n "$CC"; then
   4172   ac_cv_prog_CC="$CC" # Let the user override the test.
   4173 else
   4174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4175 for as_dir in $PATH
   4176 do
   4177   IFS=$as_save_IFS
   4178   test -z "$as_dir" && as_dir=.
   4179     for ac_exec_ext in '' $ac_executable_extensions; do
   4180   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4181     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4182     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4183     break 2
   4184   fi
   4185 done
   4186   done
   4187 IFS=$as_save_IFS
   4188 
   4189 fi
   4190 fi
   4191 CC=$ac_cv_prog_CC
   4192 if test -n "$CC"; then
   4193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4194 $as_echo "$CC" >&6; }
   4195 else
   4196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4197 $as_echo "no" >&6; }
   4198 fi
   4199 
   4200 
   4201   fi
   4202 fi
   4203 if test -z "$CC"; then
   4204   # Extract the first word of "cc", so it can be a program name with args.
   4205 set dummy cc; ac_word=$2
   4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4207 $as_echo_n "checking for $ac_word... " >&6; }
   4208 if ${ac_cv_prog_CC+:} false; then :
   4209   $as_echo_n "(cached) " >&6
   4210 else
   4211   if test -n "$CC"; then
   4212   ac_cv_prog_CC="$CC" # Let the user override the test.
   4213 else
   4214   ac_prog_rejected=no
   4215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4216 for as_dir in $PATH
   4217 do
   4218   IFS=$as_save_IFS
   4219   test -z "$as_dir" && as_dir=.
   4220     for ac_exec_ext in '' $ac_executable_extensions; do
   4221   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4222     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4223        ac_prog_rejected=yes
   4224        continue
   4225      fi
   4226     ac_cv_prog_CC="cc"
   4227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4228     break 2
   4229   fi
   4230 done
   4231   done
   4232 IFS=$as_save_IFS
   4233 
   4234 if test $ac_prog_rejected = yes; then
   4235   # We found a bogon in the path, so make sure we never use it.
   4236   set dummy $ac_cv_prog_CC
   4237   shift
   4238   if test $# != 0; then
   4239     # We chose a different compiler from the bogus one.
   4240     # However, it has the same basename, so the bogon will be chosen
   4241     # first if we set CC to just the basename; use the full file name.
   4242     shift
   4243     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4244   fi
   4245 fi
   4246 fi
   4247 fi
   4248 CC=$ac_cv_prog_CC
   4249 if test -n "$CC"; then
   4250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4251 $as_echo "$CC" >&6; }
   4252 else
   4253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4254 $as_echo "no" >&6; }
   4255 fi
   4256 
   4257 
   4258 fi
   4259 if test -z "$CC"; then
   4260   if test -n "$ac_tool_prefix"; then
   4261   for ac_prog in cl.exe
   4262   do
   4263     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4264 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4266 $as_echo_n "checking for $ac_word... " >&6; }
   4267 if ${ac_cv_prog_CC+:} false; then :
   4268   $as_echo_n "(cached) " >&6
   4269 else
   4270   if test -n "$CC"; then
   4271   ac_cv_prog_CC="$CC" # Let the user override the test.
   4272 else
   4273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4274 for as_dir in $PATH
   4275 do
   4276   IFS=$as_save_IFS
   4277   test -z "$as_dir" && as_dir=.
   4278     for ac_exec_ext in '' $ac_executable_extensions; do
   4279   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4280     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4282     break 2
   4283   fi
   4284 done
   4285   done
   4286 IFS=$as_save_IFS
   4287 
   4288 fi
   4289 fi
   4290 CC=$ac_cv_prog_CC
   4291 if test -n "$CC"; then
   4292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4293 $as_echo "$CC" >&6; }
   4294 else
   4295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4296 $as_echo "no" >&6; }
   4297 fi
   4298 
   4299 
   4300     test -n "$CC" && break
   4301   done
   4302 fi
   4303 if test -z "$CC"; then
   4304   ac_ct_CC=$CC
   4305   for ac_prog in cl.exe
   4306 do
   4307   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4308 set dummy $ac_prog; ac_word=$2
   4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4310 $as_echo_n "checking for $ac_word... " >&6; }
   4311 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4312   $as_echo_n "(cached) " >&6
   4313 else
   4314   if test -n "$ac_ct_CC"; then
   4315   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4316 else
   4317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4318 for as_dir in $PATH
   4319 do
   4320   IFS=$as_save_IFS
   4321   test -z "$as_dir" && as_dir=.
   4322     for ac_exec_ext in '' $ac_executable_extensions; do
   4323   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4324     ac_cv_prog_ac_ct_CC="$ac_prog"
   4325     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4326     break 2
   4327   fi
   4328 done
   4329   done
   4330 IFS=$as_save_IFS
   4331 
   4332 fi
   4333 fi
   4334 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4335 if test -n "$ac_ct_CC"; then
   4336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4337 $as_echo "$ac_ct_CC" >&6; }
   4338 else
   4339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4340 $as_echo "no" >&6; }
   4341 fi
   4342 
   4343 
   4344   test -n "$ac_ct_CC" && break
   4345 done
   4346 
   4347   if test "x$ac_ct_CC" = x; then
   4348     CC=""
   4349   else
   4350     case $cross_compiling:$ac_tool_warned in
   4351 yes:)
   4352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4354 ac_tool_warned=yes ;;
   4355 esac
   4356     CC=$ac_ct_CC
   4357   fi
   4358 fi
   4359 
   4360 fi
   4361 
   4362 
   4363 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4365 as_fn_error $? "no acceptable C compiler found in \$PATH
   4366 See \`config.log' for more details" "$LINENO" 5; }
   4367 
   4368 # Provide some information about the compiler.
   4369 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4370 set X $ac_compile
   4371 ac_compiler=$2
   4372 for ac_option in --version -v -V -qversion; do
   4373   { { ac_try="$ac_compiler $ac_option >&5"
   4374 case "(($ac_try" in
   4375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4376   *) ac_try_echo=$ac_try;;
   4377 esac
   4378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4379 $as_echo "$ac_try_echo"; } >&5
   4380   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4381   ac_status=$?
   4382   if test -s conftest.err; then
   4383     sed '10a\
   4384 ... rest of stderr output deleted ...
   4385          10q' conftest.err >conftest.er1
   4386     cat conftest.er1 >&5
   4387   fi
   4388   rm -f conftest.er1 conftest.err
   4389   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4390   test $ac_status = 0; }
   4391 done
   4392 
   4393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4394 /* end confdefs.h.  */
   4395 
   4396 int
   4397 main ()
   4398 {
   4399 
   4400   ;
   4401   return 0;
   4402 }
   4403 _ACEOF
   4404 ac_clean_files_save=$ac_clean_files
   4405 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4406 # Try to create an executable without -o first, disregard a.out.
   4407 # It will help us diagnose broken compilers, and finding out an intuition
   4408 # of exeext.
   4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4410 $as_echo_n "checking whether the C compiler works... " >&6; }
   4411 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4412 
   4413 # The possible output files:
   4414 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4415 
   4416 ac_rmfiles=
   4417 for ac_file in $ac_files
   4418 do
   4419   case $ac_file in
   4420     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4421     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4422   esac
   4423 done
   4424 rm -f $ac_rmfiles
   4425 
   4426 if { { ac_try="$ac_link_default"
   4427 case "(($ac_try" in
   4428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4429   *) ac_try_echo=$ac_try;;
   4430 esac
   4431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4432 $as_echo "$ac_try_echo"; } >&5
   4433   (eval "$ac_link_default") 2>&5
   4434   ac_status=$?
   4435   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4436   test $ac_status = 0; }; then :
   4437   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4438 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4439 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4440 # so that the user can short-circuit this test for compilers unknown to
   4441 # Autoconf.
   4442 for ac_file in $ac_files ''
   4443 do
   4444   test -f "$ac_file" || continue
   4445   case $ac_file in
   4446     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4447 	;;
   4448     [ab].out )
   4449 	# We found the default executable, but exeext='' is most
   4450 	# certainly right.
   4451 	break;;
   4452     *.* )
   4453 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   4454 	then :; else
   4455 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4456 	fi
   4457 	# We set ac_cv_exeext here because the later test for it is not
   4458 	# safe: cross compilers may not add the suffix if given an `-o'
   4459 	# argument, so we may need to know it at that point already.
   4460 	# Even if this section looks crufty: it has the advantage of
   4461 	# actually working.
   4462 	break;;
   4463     * )
   4464 	break;;
   4465   esac
   4466 done
   4467 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4468 
   4469 else
   4470   ac_file=''
   4471 fi
   4472 if test -z "$ac_file"; then :
   4473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4474 $as_echo "no" >&6; }
   4475 $as_echo "$as_me: failed program was:" >&5
   4476 sed 's/^/| /' conftest.$ac_ext >&5
   4477 
   4478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4480 as_fn_error 77 "C compiler cannot create executables
   4481 See \`config.log' for more details" "$LINENO" 5; }
   4482 else
   4483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4484 $as_echo "yes" >&6; }
   4485 fi
   4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4487 $as_echo_n "checking for C compiler default output file name... " >&6; }
   4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4489 $as_echo "$ac_file" >&6; }
   4490 ac_exeext=$ac_cv_exeext
   4491 
   4492 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4493 ac_clean_files=$ac_clean_files_save
   4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4495 $as_echo_n "checking for suffix of executables... " >&6; }
   4496 if { { ac_try="$ac_link"
   4497 case "(($ac_try" in
   4498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4499   *) ac_try_echo=$ac_try;;
   4500 esac
   4501 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4502 $as_echo "$ac_try_echo"; } >&5
   4503   (eval "$ac_link") 2>&5
   4504   ac_status=$?
   4505   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4506   test $ac_status = 0; }; then :
   4507   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4508 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4509 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4510 # `rm'.
   4511 for ac_file in conftest.exe conftest conftest.*; do
   4512   test -f "$ac_file" || continue
   4513   case $ac_file in
   4514     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4515     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4516 	  break;;
   4517     * ) break;;
   4518   esac
   4519 done
   4520 else
   4521   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4523 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4524 See \`config.log' for more details" "$LINENO" 5; }
   4525 fi
   4526 rm -f conftest conftest$ac_cv_exeext
   4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4528 $as_echo "$ac_cv_exeext" >&6; }
   4529 
   4530 rm -f conftest.$ac_ext
   4531 EXEEXT=$ac_cv_exeext
   4532 ac_exeext=$EXEEXT
   4533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4534 /* end confdefs.h.  */
   4535 #include <stdio.h>
   4536 int
   4537 main ()
   4538 {
   4539 FILE *f = fopen ("conftest.out", "w");
   4540  return ferror (f) || fclose (f) != 0;
   4541 
   4542   ;
   4543   return 0;
   4544 }
   4545 _ACEOF
   4546 ac_clean_files="$ac_clean_files conftest.out"
   4547 # Check that the compiler produces executables we can run.  If not, either
   4548 # the compiler is broken, or we cross compile.
   4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4550 $as_echo_n "checking whether we are cross compiling... " >&6; }
   4551 if test "$cross_compiling" != yes; then
   4552   { { ac_try="$ac_link"
   4553 case "(($ac_try" in
   4554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4555   *) ac_try_echo=$ac_try;;
   4556 esac
   4557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4558 $as_echo "$ac_try_echo"; } >&5
   4559   (eval "$ac_link") 2>&5
   4560   ac_status=$?
   4561   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4562   test $ac_status = 0; }
   4563   if { ac_try='./conftest$ac_cv_exeext'
   4564   { { case "(($ac_try" in
   4565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4566   *) ac_try_echo=$ac_try;;
   4567 esac
   4568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4569 $as_echo "$ac_try_echo"; } >&5
   4570   (eval "$ac_try") 2>&5
   4571   ac_status=$?
   4572   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4573   test $ac_status = 0; }; }; then
   4574     cross_compiling=no
   4575   else
   4576     if test "$cross_compiling" = maybe; then
   4577 	cross_compiling=yes
   4578     else
   4579 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4581 as_fn_error $? "cannot run C compiled programs.
   4582 If you meant to cross compile, use \`--host'.
   4583 See \`config.log' for more details" "$LINENO" 5; }
   4584     fi
   4585   fi
   4586 fi
   4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4588 $as_echo "$cross_compiling" >&6; }
   4589 
   4590 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4591 ac_clean_files=$ac_clean_files_save
   4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4593 $as_echo_n "checking for suffix of object files... " >&6; }
   4594 if ${ac_cv_objext+:} false; then :
   4595   $as_echo_n "(cached) " >&6
   4596 else
   4597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4598 /* end confdefs.h.  */
   4599 
   4600 int
   4601 main ()
   4602 {
   4603 
   4604   ;
   4605   return 0;
   4606 }
   4607 _ACEOF
   4608 rm -f conftest.o conftest.obj
   4609 if { { ac_try="$ac_compile"
   4610 case "(($ac_try" in
   4611   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4612   *) ac_try_echo=$ac_try;;
   4613 esac
   4614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4615 $as_echo "$ac_try_echo"; } >&5
   4616   (eval "$ac_compile") 2>&5
   4617   ac_status=$?
   4618   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4619   test $ac_status = 0; }; then :
   4620   for ac_file in conftest.o conftest.obj conftest.*; do
   4621   test -f "$ac_file" || continue;
   4622   case $ac_file in
   4623     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4624     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4625        break;;
   4626   esac
   4627 done
   4628 else
   4629   $as_echo "$as_me: failed program was:" >&5
   4630 sed 's/^/| /' conftest.$ac_ext >&5
   4631 
   4632 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4634 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4635 See \`config.log' for more details" "$LINENO" 5; }
   4636 fi
   4637 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4638 fi
   4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4640 $as_echo "$ac_cv_objext" >&6; }
   4641 OBJEXT=$ac_cv_objext
   4642 ac_objext=$OBJEXT
   4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4644 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4645 if ${ac_cv_c_compiler_gnu+:} false; then :
   4646   $as_echo_n "(cached) " >&6
   4647 else
   4648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4649 /* end confdefs.h.  */
   4650 
   4651 int
   4652 main ()
   4653 {
   4654 #ifndef __GNUC__
   4655        choke me
   4656 #endif
   4657 
   4658   ;
   4659   return 0;
   4660 }
   4661 _ACEOF
   4662 if ac_fn_c_try_compile "$LINENO"; then :
   4663   ac_compiler_gnu=yes
   4664 else
   4665   ac_compiler_gnu=no
   4666 fi
   4667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4668 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4669 
   4670 fi
   4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4672 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4673 if test $ac_compiler_gnu = yes; then
   4674   GCC=yes
   4675 else
   4676   GCC=
   4677 fi
   4678 ac_test_CFLAGS=${CFLAGS+set}
   4679 ac_save_CFLAGS=$CFLAGS
   4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4681 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4682 if ${ac_cv_prog_cc_g+:} false; then :
   4683   $as_echo_n "(cached) " >&6
   4684 else
   4685   ac_save_c_werror_flag=$ac_c_werror_flag
   4686    ac_c_werror_flag=yes
   4687    ac_cv_prog_cc_g=no
   4688    CFLAGS="-g"
   4689    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4690 /* end confdefs.h.  */
   4691 
   4692 int
   4693 main ()
   4694 {
   4695 
   4696   ;
   4697   return 0;
   4698 }
   4699 _ACEOF
   4700 if ac_fn_c_try_compile "$LINENO"; then :
   4701   ac_cv_prog_cc_g=yes
   4702 else
   4703   CFLAGS=""
   4704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4705 /* end confdefs.h.  */
   4706 
   4707 int
   4708 main ()
   4709 {
   4710 
   4711   ;
   4712   return 0;
   4713 }
   4714 _ACEOF
   4715 if ac_fn_c_try_compile "$LINENO"; then :
   4716 
   4717 else
   4718   ac_c_werror_flag=$ac_save_c_werror_flag
   4719 	 CFLAGS="-g"
   4720 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4721 /* end confdefs.h.  */
   4722 
   4723 int
   4724 main ()
   4725 {
   4726 
   4727   ;
   4728   return 0;
   4729 }
   4730 _ACEOF
   4731 if ac_fn_c_try_compile "$LINENO"; then :
   4732   ac_cv_prog_cc_g=yes
   4733 fi
   4734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4735 fi
   4736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4737 fi
   4738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4739    ac_c_werror_flag=$ac_save_c_werror_flag
   4740 fi
   4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4742 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4743 if test "$ac_test_CFLAGS" = set; then
   4744   CFLAGS=$ac_save_CFLAGS
   4745 elif test $ac_cv_prog_cc_g = yes; then
   4746   if test "$GCC" = yes; then
   4747     CFLAGS="-g -O2"
   4748   else
   4749     CFLAGS="-g"
   4750   fi
   4751 else
   4752   if test "$GCC" = yes; then
   4753     CFLAGS="-O2"
   4754   else
   4755     CFLAGS=
   4756   fi
   4757 fi
   4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4759 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4760 if ${ac_cv_prog_cc_c89+:} false; then :
   4761   $as_echo_n "(cached) " >&6
   4762 else
   4763   ac_cv_prog_cc_c89=no
   4764 ac_save_CC=$CC
   4765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4766 /* end confdefs.h.  */
   4767 #include <stdarg.h>
   4768 #include <stdio.h>
   4769 #include <sys/types.h>
   4770 #include <sys/stat.h>
   4771 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4772 struct buf { int x; };
   4773 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4774 static char *e (p, i)
   4775      char **p;
   4776      int i;
   4777 {
   4778   return p[i];
   4779 }
   4780 static char *f (char * (*g) (char **, int), char **p, ...)
   4781 {
   4782   char *s;
   4783   va_list v;
   4784   va_start (v,p);
   4785   s = g (p, va_arg (v,int));
   4786   va_end (v);
   4787   return s;
   4788 }
   4789 
   4790 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4791    function prototypes and stuff, but not '\xHH' hex character constants.
   4792    These don't provoke an error unfortunately, instead are silently treated
   4793    as 'x'.  The following induces an error, until -std is added to get
   4794    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4795    array size at least.  It's necessary to write '\x00'==0 to get something
   4796    that's true only with -std.  */
   4797 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4798 
   4799 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4800    inside strings and character constants.  */
   4801 #define FOO(x) 'x'
   4802 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4803 
   4804 int test (int i, double x);
   4805 struct s1 {int (*f) (int a);};
   4806 struct s2 {int (*f) (double a);};
   4807 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4808 int argc;
   4809 char **argv;
   4810 int
   4811 main ()
   4812 {
   4813 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4814   ;
   4815   return 0;
   4816 }
   4817 _ACEOF
   4818 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4819 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4820 do
   4821   CC="$ac_save_CC $ac_arg"
   4822   if ac_fn_c_try_compile "$LINENO"; then :
   4823   ac_cv_prog_cc_c89=$ac_arg
   4824 fi
   4825 rm -f core conftest.err conftest.$ac_objext
   4826   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4827 done
   4828 rm -f conftest.$ac_ext
   4829 CC=$ac_save_CC
   4830 
   4831 fi
   4832 # AC_CACHE_VAL
   4833 case "x$ac_cv_prog_cc_c89" in
   4834   x)
   4835     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4836 $as_echo "none needed" >&6; } ;;
   4837   xno)
   4838     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4839 $as_echo "unsupported" >&6; } ;;
   4840   *)
   4841     CC="$CC $ac_cv_prog_cc_c89"
   4842     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4843 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4844 esac
   4845 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4846 
   4847 fi
   4848 
   4849 ac_ext=c
   4850 ac_cpp='$CPP $CPPFLAGS'
   4851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4854 
   4855 depcc="$CC"   am_compiler_list=
   4856 
   4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4858 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4859 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4860   $as_echo_n "(cached) " >&6
   4861 else
   4862   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4863   # We make a subdir and do the tests there.  Otherwise we can end up
   4864   # making bogus files that we don't know about and never remove.  For
   4865   # instance it was reported that on HP-UX the gcc test will end up
   4866   # making a dummy file named `D' -- because `-MD' means `put the output
   4867   # in D'.
   4868   mkdir conftest.dir
   4869   # Copy depcomp to subdir because otherwise we won't find it if we're
   4870   # using a relative directory.
   4871   cp "$am_depcomp" conftest.dir
   4872   cd conftest.dir
   4873   # We will build objects and dependencies in a subdirectory because
   4874   # it helps to detect inapplicable dependency modes.  For instance
   4875   # both Tru64's cc and ICC support -MD to output dependencies as a
   4876   # side effect of compilation, but ICC will put the dependencies in
   4877   # the current directory while Tru64 will put them in the object
   4878   # directory.
   4879   mkdir sub
   4880 
   4881   am_cv_CC_dependencies_compiler_type=none
   4882   if test "$am_compiler_list" = ""; then
   4883      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4884   fi
   4885   am__universal=false
   4886   case " $depcc " in #(
   4887      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4888      esac
   4889 
   4890   for depmode in $am_compiler_list; do
   4891     # Setup a source with many dependencies, because some compilers
   4892     # like to wrap large dependency lists on column 80 (with \), and
   4893     # we should not choose a depcomp mode which is confused by this.
   4894     #
   4895     # We need to recreate these files for each test, as the compiler may
   4896     # overwrite some of them when testing with obscure command lines.
   4897     # This happens at least with the AIX C compiler.
   4898     : > sub/conftest.c
   4899     for i in 1 2 3 4 5 6; do
   4900       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4901       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4902       # Solaris 8's {/usr,}/bin/sh.
   4903       touch sub/conftst$i.h
   4904     done
   4905     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4906 
   4907     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4908     # mode.  It turns out that the SunPro C++ compiler does not properly
   4909     # handle `-M -o', and we need to detect this.  Also, some Intel
   4910     # versions had trouble with output in subdirs
   4911     am__obj=sub/conftest.${OBJEXT-o}
   4912     am__minus_obj="-o $am__obj"
   4913     case $depmode in
   4914     gcc)
   4915       # This depmode causes a compiler race in universal mode.
   4916       test "$am__universal" = false || continue
   4917       ;;
   4918     nosideeffect)
   4919       # after this tag, mechanisms are not by side-effect, so they'll
   4920       # only be used when explicitly requested
   4921       if test "x$enable_dependency_tracking" = xyes; then
   4922 	continue
   4923       else
   4924 	break
   4925       fi
   4926       ;;
   4927     msvisualcpp | msvcmsys)
   4928       # This compiler won't grok `-c -o', but also, the minuso test has
   4929       # not run yet.  These depmodes are late enough in the game, and
   4930       # so weak that their functioning should not be impacted.
   4931       am__obj=conftest.${OBJEXT-o}
   4932       am__minus_obj=
   4933       ;;
   4934     none) break ;;
   4935     esac
   4936     if depmode=$depmode \
   4937        source=sub/conftest.c object=$am__obj \
   4938        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4939        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4940          >/dev/null 2>conftest.err &&
   4941        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4942        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4943        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4944        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4945       # icc doesn't choke on unknown options, it will just issue warnings
   4946       # or remarks (even with -Werror).  So we grep stderr for any message
   4947       # that says an option was ignored or not supported.
   4948       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4949       #   icc: Command line warning: ignoring option '-M'; no argument required
   4950       # The diagnosis changed in icc 8.0:
   4951       #   icc: Command line remark: option '-MP' not supported
   4952       if (grep 'ignoring option' conftest.err ||
   4953           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4954         am_cv_CC_dependencies_compiler_type=$depmode
   4955         break
   4956       fi
   4957     fi
   4958   done
   4959 
   4960   cd ..
   4961   rm -rf conftest.dir
   4962 else
   4963   am_cv_CC_dependencies_compiler_type=none
   4964 fi
   4965 
   4966 fi
   4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4968 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4969 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4970 
   4971  if
   4972   test "x$enable_dependency_tracking" != xno \
   4973   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4974   am__fastdepCC_TRUE=
   4975   am__fastdepCC_FALSE='#'
   4976 else
   4977   am__fastdepCC_TRUE='#'
   4978   am__fastdepCC_FALSE=
   4979 fi
   4980 
   4981 
   4982    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4983 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4984 if ${ac_cv_prog_cc_c99+:} false; then :
   4985   $as_echo_n "(cached) " >&6
   4986 else
   4987   ac_cv_prog_cc_c99=no
   4988 ac_save_CC=$CC
   4989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4990 /* end confdefs.h.  */
   4991 #include <stdarg.h>
   4992 #include <stdbool.h>
   4993 #include <stdlib.h>
   4994 #include <wchar.h>
   4995 #include <stdio.h>
   4996 
   4997 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4998 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4999 #define showlist(...) puts (#__VA_ARGS__)
   5000 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   5001 static void
   5002 test_varargs_macros (void)
   5003 {
   5004   int x = 1234;
   5005   int y = 5678;
   5006   debug ("Flag");
   5007   debug ("X = %d\n", x);
   5008   showlist (The first, second, and third items.);
   5009   report (x>y, "x is %d but y is %d", x, y);
   5010 }
   5011 
   5012 // Check long long types.
   5013 #define BIG64 18446744073709551615ull
   5014 #define BIG32 4294967295ul
   5015 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   5016 #if !BIG_OK
   5017   your preprocessor is broken;
   5018 #endif
   5019 #if BIG_OK
   5020 #else
   5021   your preprocessor is broken;
   5022 #endif
   5023 static long long int bignum = -9223372036854775807LL;
   5024 static unsigned long long int ubignum = BIG64;
   5025 
   5026 struct incomplete_array
   5027 {
   5028   int datasize;
   5029   double data[];
   5030 };
   5031 
   5032 struct named_init {
   5033   int number;
   5034   const wchar_t *name;
   5035   double average;
   5036 };
   5037 
   5038 typedef const char *ccp;
   5039 
   5040 static inline int
   5041 test_restrict (ccp restrict text)
   5042 {
   5043   // See if C++-style comments work.
   5044   // Iterate through items via the restricted pointer.
   5045   // Also check for declarations in for loops.
   5046   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   5047     continue;
   5048   return 0;
   5049 }
   5050 
   5051 // Check varargs and va_copy.
   5052 static void
   5053 test_varargs (const char *format, ...)
   5054 {
   5055   va_list args;
   5056   va_start (args, format);
   5057   va_list args_copy;
   5058   va_copy (args_copy, args);
   5059 
   5060   const char *str;
   5061   int number;
   5062   float fnumber;
   5063 
   5064   while (*format)
   5065     {
   5066       switch (*format++)
   5067 	{
   5068 	case 's': // string
   5069 	  str = va_arg (args_copy, const char *);
   5070 	  break;
   5071 	case 'd': // int
   5072 	  number = va_arg (args_copy, int);
   5073 	  break;
   5074 	case 'f': // float
   5075 	  fnumber = va_arg (args_copy, double);
   5076 	  break;
   5077 	default:
   5078 	  break;
   5079 	}
   5080     }
   5081   va_end (args_copy);
   5082   va_end (args);
   5083 }
   5084 
   5085 int
   5086 main ()
   5087 {
   5088 
   5089   // Check bool.
   5090   _Bool success = false;
   5091 
   5092   // Check restrict.
   5093   if (test_restrict ("String literal") == 0)
   5094     success = true;
   5095   char *restrict newvar = "Another string";
   5096 
   5097   // Check varargs.
   5098   test_varargs ("s, d' f .", "string", 65, 34.234);
   5099   test_varargs_macros ();
   5100 
   5101   // Check flexible array members.
   5102   struct incomplete_array *ia =
   5103     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   5104   ia->datasize = 10;
   5105   for (int i = 0; i < ia->datasize; ++i)
   5106     ia->data[i] = i * 1.234;
   5107 
   5108   // Check named initializers.
   5109   struct named_init ni = {
   5110     .number = 34,
   5111     .name = L"Test wide string",
   5112     .average = 543.34343,
   5113   };
   5114 
   5115   ni.number = 58;
   5116 
   5117   int dynamic_array[ni.number];
   5118   dynamic_array[ni.number - 1] = 543;
   5119 
   5120   // work around unused variable warnings
   5121   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   5122 	  || dynamic_array[ni.number - 1] != 543);
   5123 
   5124   ;
   5125   return 0;
   5126 }
   5127 _ACEOF
   5128 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   5129 do
   5130   CC="$ac_save_CC $ac_arg"
   5131   if ac_fn_c_try_compile "$LINENO"; then :
   5132   ac_cv_prog_cc_c99=$ac_arg
   5133 fi
   5134 rm -f core conftest.err conftest.$ac_objext
   5135   test "x$ac_cv_prog_cc_c99" != "xno" && break
   5136 done
   5137 rm -f conftest.$ac_ext
   5138 CC=$ac_save_CC
   5139 
   5140 fi
   5141 # AC_CACHE_VAL
   5142 case "x$ac_cv_prog_cc_c99" in
   5143   x)
   5144     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5145 $as_echo "none needed" >&6; } ;;
   5146   xno)
   5147     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5148 $as_echo "unsupported" >&6; } ;;
   5149   *)
   5150     CC="$CC $ac_cv_prog_cc_c99"
   5151     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   5152 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   5153 esac
   5154 if test "x$ac_cv_prog_cc_c99" != xno; then :
   5155 
   5156 fi
   5157 
   5158 
   5159 
   5160 ac_ext=c
   5161 ac_cpp='$CPP $CPPFLAGS'
   5162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   5166 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   5167 # On Suns, sometimes $CPP names a directory.
   5168 if test -n "$CPP" && test -d "$CPP"; then
   5169   CPP=
   5170 fi
   5171 if test -z "$CPP"; then
   5172   if ${ac_cv_prog_CPP+:} false; then :
   5173   $as_echo_n "(cached) " >&6
   5174 else
   5175       # Double quotes because CPP needs to be expanded
   5176     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   5177     do
   5178       ac_preproc_ok=false
   5179 for ac_c_preproc_warn_flag in '' yes
   5180 do
   5181   # Use a header file that comes with gcc, so configuring glibc
   5182   # with a fresh cross-compiler works.
   5183   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5184   # <limits.h> exists even on freestanding compilers.
   5185   # On the NeXT, cc -E runs the code through the compiler's parser,
   5186   # not just through cpp. "Syntax error" is here to catch this case.
   5187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5188 /* end confdefs.h.  */
   5189 #ifdef __STDC__
   5190 # include <limits.h>
   5191 #else
   5192 # include <assert.h>
   5193 #endif
   5194 		     Syntax error
   5195 _ACEOF
   5196 if ac_fn_c_try_cpp "$LINENO"; then :
   5197 
   5198 else
   5199   # Broken: fails on valid input.
   5200 continue
   5201 fi
   5202 rm -f conftest.err conftest.i conftest.$ac_ext
   5203 
   5204   # OK, works on sane cases.  Now check whether nonexistent headers
   5205   # can be detected and how.
   5206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5207 /* end confdefs.h.  */
   5208 #include <ac_nonexistent.h>
   5209 _ACEOF
   5210 if ac_fn_c_try_cpp "$LINENO"; then :
   5211   # Broken: success on invalid input.
   5212 continue
   5213 else
   5214   # Passes both tests.
   5215 ac_preproc_ok=:
   5216 break
   5217 fi
   5218 rm -f conftest.err conftest.i conftest.$ac_ext
   5219 
   5220 done
   5221 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5222 rm -f conftest.i conftest.err conftest.$ac_ext
   5223 if $ac_preproc_ok; then :
   5224   break
   5225 fi
   5226 
   5227     done
   5228     ac_cv_prog_CPP=$CPP
   5229 
   5230 fi
   5231   CPP=$ac_cv_prog_CPP
   5232 else
   5233   ac_cv_prog_CPP=$CPP
   5234 fi
   5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   5236 $as_echo "$CPP" >&6; }
   5237 ac_preproc_ok=false
   5238 for ac_c_preproc_warn_flag in '' yes
   5239 do
   5240   # Use a header file that comes with gcc, so configuring glibc
   5241   # with a fresh cross-compiler works.
   5242   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5243   # <limits.h> exists even on freestanding compilers.
   5244   # On the NeXT, cc -E runs the code through the compiler's parser,
   5245   # not just through cpp. "Syntax error" is here to catch this case.
   5246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5247 /* end confdefs.h.  */
   5248 #ifdef __STDC__
   5249 # include <limits.h>
   5250 #else
   5251 # include <assert.h>
   5252 #endif
   5253 		     Syntax error
   5254 _ACEOF
   5255 if ac_fn_c_try_cpp "$LINENO"; then :
   5256 
   5257 else
   5258   # Broken: fails on valid input.
   5259 continue
   5260 fi
   5261 rm -f conftest.err conftest.i conftest.$ac_ext
   5262 
   5263   # OK, works on sane cases.  Now check whether nonexistent headers
   5264   # can be detected and how.
   5265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5266 /* end confdefs.h.  */
   5267 #include <ac_nonexistent.h>
   5268 _ACEOF
   5269 if ac_fn_c_try_cpp "$LINENO"; then :
   5270   # Broken: success on invalid input.
   5271 continue
   5272 else
   5273   # Passes both tests.
   5274 ac_preproc_ok=:
   5275 break
   5276 fi
   5277 rm -f conftest.err conftest.i conftest.$ac_ext
   5278 
   5279 done
   5280 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5281 rm -f conftest.i conftest.err conftest.$ac_ext
   5282 if $ac_preproc_ok; then :
   5283 
   5284 else
   5285   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   5286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5287 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   5288 See \`config.log' for more details" "$LINENO" 5; }
   5289 fi
   5290 
   5291 ac_ext=c
   5292 ac_cpp='$CPP $CPPFLAGS'
   5293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5296 
   5297 
   5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5299 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   5300 if ${ac_cv_path_GREP+:} false; then :
   5301   $as_echo_n "(cached) " >&6
   5302 else
   5303   if test -z "$GREP"; then
   5304   ac_path_GREP_found=false
   5305   # Loop through the user's path and test for each of PROGNAME-LIST
   5306   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5307 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5308 do
   5309   IFS=$as_save_IFS
   5310   test -z "$as_dir" && as_dir=.
   5311     for ac_prog in grep ggrep; do
   5312     for ac_exec_ext in '' $ac_executable_extensions; do
   5313       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   5314       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   5315 # Check for GNU ac_path_GREP and select it if it is found.
   5316   # Check for GNU $ac_path_GREP
   5317 case `"$ac_path_GREP" --version 2>&1` in
   5318 *GNU*)
   5319   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5320 *)
   5321   ac_count=0
   5322   $as_echo_n 0123456789 >"conftest.in"
   5323   while :
   5324   do
   5325     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5326     mv "conftest.tmp" "conftest.in"
   5327     cp "conftest.in" "conftest.nl"
   5328     $as_echo 'GREP' >> "conftest.nl"
   5329     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5330     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5331     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5332     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5333       # Best one so far, save it but keep looking for a better one
   5334       ac_cv_path_GREP="$ac_path_GREP"
   5335       ac_path_GREP_max=$ac_count
   5336     fi
   5337     # 10*(2^10) chars as input seems more than enough
   5338     test $ac_count -gt 10 && break
   5339   done
   5340   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5341 esac
   5342 
   5343       $ac_path_GREP_found && break 3
   5344     done
   5345   done
   5346   done
   5347 IFS=$as_save_IFS
   5348   if test -z "$ac_cv_path_GREP"; then
   5349     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5350   fi
   5351 else
   5352   ac_cv_path_GREP=$GREP
   5353 fi
   5354 
   5355 fi
   5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5357 $as_echo "$ac_cv_path_GREP" >&6; }
   5358  GREP="$ac_cv_path_GREP"
   5359 
   5360 
   5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5362 $as_echo_n "checking for egrep... " >&6; }
   5363 if ${ac_cv_path_EGREP+:} false; then :
   5364   $as_echo_n "(cached) " >&6
   5365 else
   5366   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5367    then ac_cv_path_EGREP="$GREP -E"
   5368    else
   5369      if test -z "$EGREP"; then
   5370   ac_path_EGREP_found=false
   5371   # Loop through the user's path and test for each of PROGNAME-LIST
   5372   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5373 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5374 do
   5375   IFS=$as_save_IFS
   5376   test -z "$as_dir" && as_dir=.
   5377     for ac_prog in egrep; do
   5378     for ac_exec_ext in '' $ac_executable_extensions; do
   5379       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   5380       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   5381 # Check for GNU ac_path_EGREP and select it if it is found.
   5382   # Check for GNU $ac_path_EGREP
   5383 case `"$ac_path_EGREP" --version 2>&1` in
   5384 *GNU*)
   5385   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5386 *)
   5387   ac_count=0
   5388   $as_echo_n 0123456789 >"conftest.in"
   5389   while :
   5390   do
   5391     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5392     mv "conftest.tmp" "conftest.in"
   5393     cp "conftest.in" "conftest.nl"
   5394     $as_echo 'EGREP' >> "conftest.nl"
   5395     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5396     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5397     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5398     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5399       # Best one so far, save it but keep looking for a better one
   5400       ac_cv_path_EGREP="$ac_path_EGREP"
   5401       ac_path_EGREP_max=$ac_count
   5402     fi
   5403     # 10*(2^10) chars as input seems more than enough
   5404     test $ac_count -gt 10 && break
   5405   done
   5406   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5407 esac
   5408 
   5409       $ac_path_EGREP_found && break 3
   5410     done
   5411   done
   5412   done
   5413 IFS=$as_save_IFS
   5414   if test -z "$ac_cv_path_EGREP"; then
   5415     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5416   fi
   5417 else
   5418   ac_cv_path_EGREP=$EGREP
   5419 fi
   5420 
   5421    fi
   5422 fi
   5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5424 $as_echo "$ac_cv_path_EGREP" >&6; }
   5425  EGREP="$ac_cv_path_EGREP"
   5426 
   5427 
   5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   5429 $as_echo_n "checking for ANSI C header files... " >&6; }
   5430 if ${ac_cv_header_stdc+:} false; then :
   5431   $as_echo_n "(cached) " >&6
   5432 else
   5433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5434 /* end confdefs.h.  */
   5435 #include <stdlib.h>
   5436 #include <stdarg.h>
   5437 #include <string.h>
   5438 #include <float.h>
   5439 
   5440 int
   5441 main ()
   5442 {
   5443 
   5444   ;
   5445   return 0;
   5446 }
   5447 _ACEOF
   5448 if ac_fn_c_try_compile "$LINENO"; then :
   5449   ac_cv_header_stdc=yes
   5450 else
   5451   ac_cv_header_stdc=no
   5452 fi
   5453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5454 
   5455 if test $ac_cv_header_stdc = yes; then
   5456   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5458 /* end confdefs.h.  */
   5459 #include <string.h>
   5460 
   5461 _ACEOF
   5462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5463   $EGREP "memchr" >/dev/null 2>&1; then :
   5464 
   5465 else
   5466   ac_cv_header_stdc=no
   5467 fi
   5468 rm -f conftest*
   5469 
   5470 fi
   5471 
   5472 if test $ac_cv_header_stdc = yes; then
   5473   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5475 /* end confdefs.h.  */
   5476 #include <stdlib.h>
   5477 
   5478 _ACEOF
   5479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5480   $EGREP "free" >/dev/null 2>&1; then :
   5481 
   5482 else
   5483   ac_cv_header_stdc=no
   5484 fi
   5485 rm -f conftest*
   5486 
   5487 fi
   5488 
   5489 if test $ac_cv_header_stdc = yes; then
   5490   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5491   if test "$cross_compiling" = yes; then :
   5492   :
   5493 else
   5494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5495 /* end confdefs.h.  */
   5496 #include <ctype.h>
   5497 #include <stdlib.h>
   5498 #if ((' ' & 0x0FF) == 0x020)
   5499 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5500 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5501 #else
   5502 # define ISLOWER(c) \
   5503 		   (('a' <= (c) && (c) <= 'i') \
   5504 		     || ('j' <= (c) && (c) <= 'r') \
   5505 		     || ('s' <= (c) && (c) <= 'z'))
   5506 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5507 #endif
   5508 
   5509 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5510 int
   5511 main ()
   5512 {
   5513   int i;
   5514   for (i = 0; i < 256; i++)
   5515     if (XOR (islower (i), ISLOWER (i))
   5516 	|| toupper (i) != TOUPPER (i))
   5517       return 2;
   5518   return 0;
   5519 }
   5520 _ACEOF
   5521 if ac_fn_c_try_run "$LINENO"; then :
   5522 
   5523 else
   5524   ac_cv_header_stdc=no
   5525 fi
   5526 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   5527   conftest.$ac_objext conftest.beam conftest.$ac_ext
   5528 fi
   5529 
   5530 fi
   5531 fi
   5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   5533 $as_echo "$ac_cv_header_stdc" >&6; }
   5534 if test $ac_cv_header_stdc = yes; then
   5535 
   5536 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   5537 
   5538 fi
   5539 
   5540 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5541 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5542 		  inttypes.h stdint.h unistd.h
   5543 do :
   5544   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5545 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   5546 "
   5547 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   5548   cat >>confdefs.h <<_ACEOF
   5549 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5550 _ACEOF
   5551 
   5552 fi
   5553 
   5554 done
   5555 
   5556 
   5557 
   5558 
   5559 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   5560 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   5561   CLANGCC="yes"
   5562 else
   5563   CLANGCC="no"
   5564 fi
   5565 
   5566 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   5567 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   5568   INTELCC="yes"
   5569 else
   5570   INTELCC="no"
   5571 fi
   5572 
   5573 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   5574 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   5575   SUNCC="yes"
   5576 else
   5577   SUNCC="no"
   5578 fi
   5579 
   5580 
   5581 
   5582 
   5583 
   5584 
   5585 
   5586 
   5587 
   5588 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   5589 	if test -n "$ac_tool_prefix"; then
   5590   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   5591 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5593 $as_echo_n "checking for $ac_word... " >&6; }
   5594 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   5595   $as_echo_n "(cached) " >&6
   5596 else
   5597   case $PKG_CONFIG in
   5598   [\\/]* | ?:[\\/]*)
   5599   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5600   ;;
   5601   *)
   5602   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5603 for as_dir in $PATH
   5604 do
   5605   IFS=$as_save_IFS
   5606   test -z "$as_dir" && as_dir=.
   5607     for ac_exec_ext in '' $ac_executable_extensions; do
   5608   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5609     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5611     break 2
   5612   fi
   5613 done
   5614   done
   5615 IFS=$as_save_IFS
   5616 
   5617   ;;
   5618 esac
   5619 fi
   5620 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5621 if test -n "$PKG_CONFIG"; then
   5622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   5623 $as_echo "$PKG_CONFIG" >&6; }
   5624 else
   5625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5626 $as_echo "no" >&6; }
   5627 fi
   5628 
   5629 
   5630 fi
   5631 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5632   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5633   # Extract the first word of "pkg-config", so it can be a program name with args.
   5634 set dummy pkg-config; ac_word=$2
   5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5636 $as_echo_n "checking for $ac_word... " >&6; }
   5637 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   5638   $as_echo_n "(cached) " >&6
   5639 else
   5640   case $ac_pt_PKG_CONFIG in
   5641   [\\/]* | ?:[\\/]*)
   5642   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5643   ;;
   5644   *)
   5645   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5646 for as_dir in $PATH
   5647 do
   5648   IFS=$as_save_IFS
   5649   test -z "$as_dir" && as_dir=.
   5650     for ac_exec_ext in '' $ac_executable_extensions; do
   5651   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5652     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5653     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5654     break 2
   5655   fi
   5656 done
   5657   done
   5658 IFS=$as_save_IFS
   5659 
   5660   ;;
   5661 esac
   5662 fi
   5663 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5664 if test -n "$ac_pt_PKG_CONFIG"; then
   5665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5666 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   5667 else
   5668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5669 $as_echo "no" >&6; }
   5670 fi
   5671 
   5672   if test "x$ac_pt_PKG_CONFIG" = x; then
   5673     PKG_CONFIG=""
   5674   else
   5675     case $cross_compiling:$ac_tool_warned in
   5676 yes:)
   5677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5679 ac_tool_warned=yes ;;
   5680 esac
   5681     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5682   fi
   5683 else
   5684   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5685 fi
   5686 
   5687 fi
   5688 if test -n "$PKG_CONFIG"; then
   5689 	_pkg_min_version=0.9.0
   5690 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5691 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5692 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5693 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5694 $as_echo "yes" >&6; }
   5695 	else
   5696 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5697 $as_echo "no" >&6; }
   5698 		PKG_CONFIG=""
   5699 	fi
   5700 fi
   5701 # Make sure we can run config.sub.
   5702 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   5703   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   5704 
   5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5706 $as_echo_n "checking build system type... " >&6; }
   5707 if ${ac_cv_build+:} false; then :
   5708   $as_echo_n "(cached) " >&6
   5709 else
   5710   ac_build_alias=$build_alias
   5711 test "x$ac_build_alias" = x &&
   5712   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   5713 test "x$ac_build_alias" = x &&
   5714   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5715 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   5716   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   5717 
   5718 fi
   5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5720 $as_echo "$ac_cv_build" >&6; }
   5721 case $ac_cv_build in
   5722 *-*-*) ;;
   5723 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5724 esac
   5725 build=$ac_cv_build
   5726 ac_save_IFS=$IFS; IFS='-'
   5727 set x $ac_cv_build
   5728 shift
   5729 build_cpu=$1
   5730 build_vendor=$2
   5731 shift; shift
   5732 # Remember, the first character of IFS is used to create $*,
   5733 # except with old shells:
   5734 build_os=$*
   5735 IFS=$ac_save_IFS
   5736 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5737 
   5738 
   5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5740 $as_echo_n "checking host system type... " >&6; }
   5741 if ${ac_cv_host+:} false; then :
   5742   $as_echo_n "(cached) " >&6
   5743 else
   5744   if test "x$host_alias" = x; then
   5745   ac_cv_host=$ac_cv_build
   5746 else
   5747   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   5748     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   5749 fi
   5750 
   5751 fi
   5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5753 $as_echo "$ac_cv_host" >&6; }
   5754 case $ac_cv_host in
   5755 *-*-*) ;;
   5756 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5757 esac
   5758 host=$ac_cv_host
   5759 ac_save_IFS=$IFS; IFS='-'
   5760 set x $ac_cv_host
   5761 shift
   5762 host_cpu=$1
   5763 host_vendor=$2
   5764 shift; shift
   5765 # Remember, the first character of IFS is used to create $*,
   5766 # except with old shells:
   5767 host_os=$*
   5768 IFS=$ac_save_IFS
   5769 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5770 
   5771 
   5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5773 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5774 if ${ac_cv_path_SED+:} false; then :
   5775   $as_echo_n "(cached) " >&6
   5776 else
   5777             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5778      for ac_i in 1 2 3 4 5 6 7; do
   5779        ac_script="$ac_script$as_nl$ac_script"
   5780      done
   5781      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5782      { ac_script=; unset ac_script;}
   5783      if test -z "$SED"; then
   5784   ac_path_SED_found=false
   5785   # Loop through the user's path and test for each of PROGNAME-LIST
   5786   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5787 for as_dir in $PATH
   5788 do
   5789   IFS=$as_save_IFS
   5790   test -z "$as_dir" && as_dir=.
   5791     for ac_prog in sed gsed; do
   5792     for ac_exec_ext in '' $ac_executable_extensions; do
   5793       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5794       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   5795 # Check for GNU ac_path_SED and select it if it is found.
   5796   # Check for GNU $ac_path_SED
   5797 case `"$ac_path_SED" --version 2>&1` in
   5798 *GNU*)
   5799   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5800 *)
   5801   ac_count=0
   5802   $as_echo_n 0123456789 >"conftest.in"
   5803   while :
   5804   do
   5805     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5806     mv "conftest.tmp" "conftest.in"
   5807     cp "conftest.in" "conftest.nl"
   5808     $as_echo '' >> "conftest.nl"
   5809     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5810     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5811     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5812     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5813       # Best one so far, save it but keep looking for a better one
   5814       ac_cv_path_SED="$ac_path_SED"
   5815       ac_path_SED_max=$ac_count
   5816     fi
   5817     # 10*(2^10) chars as input seems more than enough
   5818     test $ac_count -gt 10 && break
   5819   done
   5820   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5821 esac
   5822 
   5823       $ac_path_SED_found && break 3
   5824     done
   5825   done
   5826   done
   5827 IFS=$as_save_IFS
   5828   if test -z "$ac_cv_path_SED"; then
   5829     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5830   fi
   5831 else
   5832   ac_cv_path_SED=$SED
   5833 fi
   5834 
   5835 fi
   5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5837 $as_echo "$ac_cv_path_SED" >&6; }
   5838  SED="$ac_cv_path_SED"
   5839   rm -f conftest.sed
   5840 
   5841 
   5842 
   5843 
   5844 
   5845 
   5846 if  test "x$GCC" = xyes ; then
   5847     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   5848 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   5849 -Wbad-function-cast -Wformat=2"
   5850     case `$CC -dumpversion` in
   5851     3.4.* | 4.*)
   5852 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   5853 	;;
   5854     esac
   5855 else
   5856     if test "x$SUNCC" = "xyes"; then
   5857 	CWARNFLAGS="-v"
   5858     fi
   5859 fi
   5860 
   5861 
   5862 
   5863 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
   5864 
   5865 
   5866 
   5867 
   5868 # Check whether --enable-strict-compilation was given.
   5869 if test "${enable_strict_compilation+set}" = set; then :
   5870   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   5871 else
   5872   STRICT_COMPILE=no
   5873 fi
   5874 
   5875 if test "x$GCC" = xyes ; then
   5876     STRICT_CFLAGS="-pedantic -Werror"
   5877     # Add -Werror=attributes if supported (gcc 4.2 & later)
   5878     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   5879 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   5880     save_CFLAGS="$CFLAGS"
   5881     CFLAGS="$CFLAGS $STRICT_CFLAGS -Werror=attributes"
   5882     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5883 /* end confdefs.h.  */
   5884 return 0;
   5885 _ACEOF
   5886 if ac_fn_c_try_compile "$LINENO"; then :
   5887   STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   5888 		       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5889 $as_echo "yes" >&6; }
   5890 else
   5891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5892 $as_echo "no" >&6; }
   5893 fi
   5894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5895     CFLAGS="$save_CFLAGS"
   5896 elif test "x$SUNCC" = "xyes"; then
   5897     STRICT_CFLAGS="-errwarn"
   5898 elif test "x$INTELCC" = "xyes"; then
   5899     STRICT_CFLAGS="-Werror"
   5900 fi
   5901 if test "x$STRICT_COMPILE" = "xyes"; then
   5902     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   5903 fi
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 cat >>confdefs.h <<_ACEOF
   5910 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   5911 _ACEOF
   5912 
   5913 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   5914 	if test "x$PVM" = "x"; then
   5915 		PVM="0"
   5916 	fi
   5917 
   5918 cat >>confdefs.h <<_ACEOF
   5919 #define PACKAGE_VERSION_MINOR $PVM
   5920 _ACEOF
   5921 
   5922 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   5923 	if test "x$PVP" = "x"; then
   5924 		PVP="0"
   5925 	fi
   5926 
   5927 cat >>confdefs.h <<_ACEOF
   5928 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   5929 _ACEOF
   5930 
   5931 
   5932 
   5933 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   5934 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   5935 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   5936 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   5937 
   5938 
   5939 
   5940 
   5941 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   5942 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   5943 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   5944 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   5945 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 if test x$APP_MAN_SUFFIX = x    ; then
   5953     APP_MAN_SUFFIX=1
   5954 fi
   5955 if test x$APP_MAN_DIR = x    ; then
   5956     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   5957 fi
   5958 
   5959 if test x$LIB_MAN_SUFFIX = x    ; then
   5960     LIB_MAN_SUFFIX=3
   5961 fi
   5962 if test x$LIB_MAN_DIR = x    ; then
   5963     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   5964 fi
   5965 
   5966 if test x$FILE_MAN_SUFFIX = x    ; then
   5967     case $host_os in
   5968 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   5969 	*)		FILE_MAN_SUFFIX=5  ;;
   5970     esac
   5971 fi
   5972 if test x$FILE_MAN_DIR = x    ; then
   5973     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   5974 fi
   5975 
   5976 if test x$MISC_MAN_SUFFIX = x    ; then
   5977     case $host_os in
   5978 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   5979 	*)		MISC_MAN_SUFFIX=7  ;;
   5980     esac
   5981 fi
   5982 if test x$MISC_MAN_DIR = x    ; then
   5983     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   5984 fi
   5985 
   5986 if test x$DRIVER_MAN_SUFFIX = x    ; then
   5987     case $host_os in
   5988 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   5989 	*)		DRIVER_MAN_SUFFIX=4  ;;
   5990     esac
   5991 fi
   5992 if test x$DRIVER_MAN_DIR = x    ; then
   5993     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   5994 fi
   5995 
   5996 if test x$ADMIN_MAN_SUFFIX = x    ; then
   5997     case $host_os in
   5998 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   5999 	*)		ADMIN_MAN_SUFFIX=8  ;;
   6000     esac
   6001 fi
   6002 if test x$ADMIN_MAN_DIR = x    ; then
   6003     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   6004 fi
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 XORG_MAN_PAGE="X Version 11"
   6021 
   6022 MAN_SUBSTS="\
   6023 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   6024 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   6025 	-e 's|__xservername__|Xorg|g' \
   6026 	-e 's|__xconfigfile__|xorg.conf|g' \
   6027 	-e 's|__projectroot__|\$(prefix)|g' \
   6028 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   6029 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   6030 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   6031 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   6032 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   6033 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   6034 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   6035 
   6036 
   6037 
   6038 # Check whether --enable-silent-rules was given.
   6039 if test "${enable_silent_rules+set}" = set; then :
   6040   enableval=$enable_silent_rules;
   6041 fi
   6042 
   6043 case $enable_silent_rules in
   6044 yes) AM_DEFAULT_VERBOSITY=0;;
   6045 no)  AM_DEFAULT_VERBOSITY=1;;
   6046 *)   AM_DEFAULT_VERBOSITY=0;;
   6047 esac
   6048 AM_BACKSLASH='\'
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 # Check whether --with-doxygen was given.
   6056 if test "${with_doxygen+set}" = set; then :
   6057   withval=$with_doxygen; use_doxygen=$withval
   6058 else
   6059   use_doxygen=auto
   6060 fi
   6061 
   6062 
   6063 
   6064 if test "x$use_doxygen" = x"auto"; then
   6065    # Extract the first word of "doxygen", so it can be a program name with args.
   6066 set dummy doxygen; ac_word=$2
   6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6068 $as_echo_n "checking for $ac_word... " >&6; }
   6069 if ${ac_cv_path_DOXYGEN+:} false; then :
   6070   $as_echo_n "(cached) " >&6
   6071 else
   6072   case $DOXYGEN in
   6073   [\\/]* | ?:[\\/]*)
   6074   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
   6075   ;;
   6076   *)
   6077   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6078 for as_dir in $PATH
   6079 do
   6080   IFS=$as_save_IFS
   6081   test -z "$as_dir" && as_dir=.
   6082     for ac_exec_ext in '' $ac_executable_extensions; do
   6083   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6084     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
   6085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6086     break 2
   6087   fi
   6088 done
   6089   done
   6090 IFS=$as_save_IFS
   6091 
   6092   ;;
   6093 esac
   6094 fi
   6095 DOXYGEN=$ac_cv_path_DOXYGEN
   6096 if test -n "$DOXYGEN"; then
   6097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
   6098 $as_echo "$DOXYGEN" >&6; }
   6099 else
   6100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6101 $as_echo "no" >&6; }
   6102 fi
   6103 
   6104 
   6105    if test "x$DOXYGEN" = "x"; then
   6106         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - documentation targets will be skipped" >&5
   6107 $as_echo "$as_me: WARNING: doxygen not found - documentation targets will be skipped" >&2;}
   6108 	have_doxygen=no
   6109    else
   6110         have_doxygen=yes
   6111    fi
   6112 elif test "x$use_doxygen" = x"yes" ; then
   6113    # Extract the first word of "doxygen", so it can be a program name with args.
   6114 set dummy doxygen; ac_word=$2
   6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6116 $as_echo_n "checking for $ac_word... " >&6; }
   6117 if ${ac_cv_path_DOXYGEN+:} false; then :
   6118   $as_echo_n "(cached) " >&6
   6119 else
   6120   case $DOXYGEN in
   6121   [\\/]* | ?:[\\/]*)
   6122   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
   6123   ;;
   6124   *)
   6125   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6126 for as_dir in $PATH
   6127 do
   6128   IFS=$as_save_IFS
   6129   test -z "$as_dir" && as_dir=.
   6130     for ac_exec_ext in '' $ac_executable_extensions; do
   6131   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6132     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
   6133     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6134     break 2
   6135   fi
   6136 done
   6137   done
   6138 IFS=$as_save_IFS
   6139 
   6140   ;;
   6141 esac
   6142 fi
   6143 DOXYGEN=$ac_cv_path_DOXYGEN
   6144 if test -n "$DOXYGEN"; then
   6145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
   6146 $as_echo "$DOXYGEN" >&6; }
   6147 else
   6148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6149 $as_echo "no" >&6; }
   6150 fi
   6151 
   6152 
   6153    if test "x$DOXYGEN" = "x"; then
   6154         as_fn_error $? "--with-doxygen=yes specified but doxygen not found in PATH" "$LINENO" 5
   6155    fi
   6156    have_doxygen=yes
   6157 elif test "x$use_doxygen" = x"no" ; then
   6158    if test "x$DOXYGEN" != "x"; then
   6159       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring DOXYGEN environment variable since --with-doxygen=no was specified" >&5
   6160 $as_echo "$as_me: WARNING: ignoring DOXYGEN environment variable since --with-doxygen=no was specified" >&2;}
   6161    fi
   6162    have_doxygen=no
   6163 else
   6164    as_fn_error $? "--with-doxygen expects 'yes' or 'no'" "$LINENO" 5
   6165 fi
   6166 if test "$have_doxygen" = yes; then
   6167     # scrape the doxygen version
   6168     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the doxygen version" >&5
   6169 $as_echo_n "checking the doxygen version... " >&6; }
   6170     doxygen_version=`$DOXYGEN --version 2>/dev/null`
   6171     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $doxygen_version" >&5
   6172 $as_echo "$doxygen_version" >&6; }
   6173     as_arg_v1=$doxygen_version
   6174 as_arg_v2=1.6.1
   6175 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   6176 case $? in #(
   6177   1) :
   6178     if test "x$use_doxygen" = xauto; then
   6179             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen version $doxygen_version found, but 1.6.1 needed" >&5
   6180 $as_echo "$as_me: WARNING: doxygen version $doxygen_version found, but 1.6.1 needed" >&2;}
   6181             have_doxygen=no
   6182         else
   6183             as_fn_error $? "doxygen version $doxygen_version found, but 1.6.1 needed" "$LINENO" 5
   6184         fi ;; #(
   6185   0) :
   6186      ;; #(
   6187   2) :
   6188      ;; #(
   6189   *) :
   6190      ;;
   6191 esac
   6192 fi
   6193  if test "$have_doxygen" = yes; then
   6194   HAVE_DOXYGEN_TRUE=
   6195   HAVE_DOXYGEN_FALSE='#'
   6196 else
   6197   HAVE_DOXYGEN_TRUE='#'
   6198   HAVE_DOXYGEN_FALSE=
   6199 fi
   6200 
   6201 
   6202 
   6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.5" >&5
   6204 $as_echo_n "checking for X.Org SGML entities >= 1.5... " >&6; }
   6205 XORG_SGML_PATH=
   6206 if test -n "$PKG_CONFIG" && \
   6207     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.5\""; } >&5
   6208   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.5") 2>&5
   6209   ac_status=$?
   6210   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6211   test $ac_status = 0; }; then
   6212   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   6213 else
   6214   :
   6215 
   6216 fi
   6217 
   6218 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   6219 # the path and the name of the doc stylesheet
   6220 if test "x$XORG_SGML_PATH" != "x" ; then
   6221    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   6222 $as_echo "$XORG_SGML_PATH" >&6; }
   6223    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   6224    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   6225 else
   6226    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6227 $as_echo "no" >&6; }
   6228 fi
   6229 
   6230 
   6231 
   6232 
   6233  if test "x$XSL_STYLESHEET" != "x"; then
   6234   HAVE_STYLESHEETS_TRUE=
   6235   HAVE_STYLESHEETS_FALSE='#'
   6236 else
   6237   HAVE_STYLESHEETS_TRUE='#'
   6238   HAVE_STYLESHEETS_FALSE=
   6239 fi
   6240 
   6241 
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 
   6248 
   6249 
   6250 
   6251 
   6252 
   6253 
   6254 
   6255 ac_config_headers="$ac_config_headers include/do-not-use-config.h"
   6256 
   6257 ac_config_headers="$ac_config_headers include/xorg-server.h"
   6258 
   6259 ac_config_headers="$ac_config_headers include/dix-config.h"
   6260 
   6261 ac_config_headers="$ac_config_headers include/xorg-config.h"
   6262 
   6263 ac_config_headers="$ac_config_headers include/xkb-config.h"
   6264 
   6265 ac_config_headers="$ac_config_headers include/xwin-config.h"
   6266 
   6267 ac_config_headers="$ac_config_headers include/kdrive-config.h"
   6268 
   6269 ac_config_headers="$ac_config_headers include/version-config.h"
   6270 
   6271 
   6272 # By default we simply use the C compiler to build assembly code.
   6273 
   6274 test "${CCAS+set}" = set || CCAS=$CC
   6275 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
   6276 
   6277 
   6278 
   6279 depcc="$CCAS"   am_compiler_list=
   6280 
   6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   6282 $as_echo_n "checking dependency style of $depcc... " >&6; }
   6283 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
   6284   $as_echo_n "(cached) " >&6
   6285 else
   6286   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   6287   # We make a subdir and do the tests there.  Otherwise we can end up
   6288   # making bogus files that we don't know about and never remove.  For
   6289   # instance it was reported that on HP-UX the gcc test will end up
   6290   # making a dummy file named `D' -- because `-MD' means `put the output
   6291   # in D'.
   6292   mkdir conftest.dir
   6293   # Copy depcomp to subdir because otherwise we won't find it if we're
   6294   # using a relative directory.
   6295   cp "$am_depcomp" conftest.dir
   6296   cd conftest.dir
   6297   # We will build objects and dependencies in a subdirectory because
   6298   # it helps to detect inapplicable dependency modes.  For instance
   6299   # both Tru64's cc and ICC support -MD to output dependencies as a
   6300   # side effect of compilation, but ICC will put the dependencies in
   6301   # the current directory while Tru64 will put them in the object
   6302   # directory.
   6303   mkdir sub
   6304 
   6305   am_cv_CCAS_dependencies_compiler_type=none
   6306   if test "$am_compiler_list" = ""; then
   6307      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   6308   fi
   6309   am__universal=false
   6310 
   6311 
   6312   for depmode in $am_compiler_list; do
   6313     # Setup a source with many dependencies, because some compilers
   6314     # like to wrap large dependency lists on column 80 (with \), and
   6315     # we should not choose a depcomp mode which is confused by this.
   6316     #
   6317     # We need to recreate these files for each test, as the compiler may
   6318     # overwrite some of them when testing with obscure command lines.
   6319     # This happens at least with the AIX C compiler.
   6320     : > sub/conftest.c
   6321     for i in 1 2 3 4 5 6; do
   6322       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   6323       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   6324       # Solaris 8's {/usr,}/bin/sh.
   6325       touch sub/conftst$i.h
   6326     done
   6327     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   6328 
   6329     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   6330     # mode.  It turns out that the SunPro C++ compiler does not properly
   6331     # handle `-M -o', and we need to detect this.  Also, some Intel
   6332     # versions had trouble with output in subdirs
   6333     am__obj=sub/conftest.${OBJEXT-o}
   6334     am__minus_obj="-o $am__obj"
   6335     case $depmode in
   6336     gcc)
   6337       # This depmode causes a compiler race in universal mode.
   6338       test "$am__universal" = false || continue
   6339       ;;
   6340     nosideeffect)
   6341       # after this tag, mechanisms are not by side-effect, so they'll
   6342       # only be used when explicitly requested
   6343       if test "x$enable_dependency_tracking" = xyes; then
   6344 	continue
   6345       else
   6346 	break
   6347       fi
   6348       ;;
   6349     msvisualcpp | msvcmsys)
   6350       # This compiler won't grok `-c -o', but also, the minuso test has
   6351       # not run yet.  These depmodes are late enough in the game, and
   6352       # so weak that their functioning should not be impacted.
   6353       am__obj=conftest.${OBJEXT-o}
   6354       am__minus_obj=
   6355       ;;
   6356     none) break ;;
   6357     esac
   6358     if depmode=$depmode \
   6359        source=sub/conftest.c object=$am__obj \
   6360        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   6361        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   6362          >/dev/null 2>conftest.err &&
   6363        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   6364        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   6365        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   6366        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   6367       # icc doesn't choke on unknown options, it will just issue warnings
   6368       # or remarks (even with -Werror).  So we grep stderr for any message
   6369       # that says an option was ignored or not supported.
   6370       # When given -MP, icc 7.0 and 7.1 complain thusly:
   6371       #   icc: Command line warning: ignoring option '-M'; no argument required
   6372       # The diagnosis changed in icc 8.0:
   6373       #   icc: Command line remark: option '-MP' not supported
   6374       if (grep 'ignoring option' conftest.err ||
   6375           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   6376         am_cv_CCAS_dependencies_compiler_type=$depmode
   6377         break
   6378       fi
   6379     fi
   6380   done
   6381 
   6382   cd ..
   6383   rm -rf conftest.dir
   6384 else
   6385   am_cv_CCAS_dependencies_compiler_type=none
   6386 fi
   6387 
   6388 fi
   6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
   6390 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
   6391 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
   6392 
   6393  if
   6394   test "x$enable_dependency_tracking" != xno \
   6395   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
   6396   am__fastdepCCAS_TRUE=
   6397   am__fastdepCCAS_FALSE='#'
   6398 else
   6399   am__fastdepCCAS_TRUE='#'
   6400   am__fastdepCCAS_FALSE=
   6401 fi
   6402 
   6403 
   6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6405 $as_echo_n "checking whether ln -s works... " >&6; }
   6406 LN_S=$as_ln_s
   6407 if test "$LN_S" = "ln -s"; then
   6408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6409 $as_echo "yes" >&6; }
   6410 else
   6411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6412 $as_echo "no, using $LN_S" >&6; }
   6413 fi
   6414 
   6415 enable_win32_dll=yes
   6416 
   6417 case $host in
   6418 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   6419   if test -n "$ac_tool_prefix"; then
   6420   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   6421 set dummy ${ac_tool_prefix}as; ac_word=$2
   6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6423 $as_echo_n "checking for $ac_word... " >&6; }
   6424 if ${ac_cv_prog_AS+:} false; then :
   6425   $as_echo_n "(cached) " >&6
   6426 else
   6427   if test -n "$AS"; then
   6428   ac_cv_prog_AS="$AS" # Let the user override the test.
   6429 else
   6430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6431 for as_dir in $PATH
   6432 do
   6433   IFS=$as_save_IFS
   6434   test -z "$as_dir" && as_dir=.
   6435     for ac_exec_ext in '' $ac_executable_extensions; do
   6436   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6437     ac_cv_prog_AS="${ac_tool_prefix}as"
   6438     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6439     break 2
   6440   fi
   6441 done
   6442   done
   6443 IFS=$as_save_IFS
   6444 
   6445 fi
   6446 fi
   6447 AS=$ac_cv_prog_AS
   6448 if test -n "$AS"; then
   6449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   6450 $as_echo "$AS" >&6; }
   6451 else
   6452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6453 $as_echo "no" >&6; }
   6454 fi
   6455 
   6456 
   6457 fi
   6458 if test -z "$ac_cv_prog_AS"; then
   6459   ac_ct_AS=$AS
   6460   # Extract the first word of "as", so it can be a program name with args.
   6461 set dummy as; ac_word=$2
   6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6463 $as_echo_n "checking for $ac_word... " >&6; }
   6464 if ${ac_cv_prog_ac_ct_AS+:} false; then :
   6465   $as_echo_n "(cached) " >&6
   6466 else
   6467   if test -n "$ac_ct_AS"; then
   6468   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   6469 else
   6470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6471 for as_dir in $PATH
   6472 do
   6473   IFS=$as_save_IFS
   6474   test -z "$as_dir" && as_dir=.
   6475     for ac_exec_ext in '' $ac_executable_extensions; do
   6476   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6477     ac_cv_prog_ac_ct_AS="as"
   6478     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6479     break 2
   6480   fi
   6481 done
   6482   done
   6483 IFS=$as_save_IFS
   6484 
   6485 fi
   6486 fi
   6487 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   6488 if test -n "$ac_ct_AS"; then
   6489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   6490 $as_echo "$ac_ct_AS" >&6; }
   6491 else
   6492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6493 $as_echo "no" >&6; }
   6494 fi
   6495 
   6496   if test "x$ac_ct_AS" = x; then
   6497     AS="false"
   6498   else
   6499     case $cross_compiling:$ac_tool_warned in
   6500 yes:)
   6501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6503 ac_tool_warned=yes ;;
   6504 esac
   6505     AS=$ac_ct_AS
   6506   fi
   6507 else
   6508   AS="$ac_cv_prog_AS"
   6509 fi
   6510 
   6511   if test -n "$ac_tool_prefix"; then
   6512   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6513 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6515 $as_echo_n "checking for $ac_word... " >&6; }
   6516 if ${ac_cv_prog_DLLTOOL+:} false; then :
   6517   $as_echo_n "(cached) " >&6
   6518 else
   6519   if test -n "$DLLTOOL"; then
   6520   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6521 else
   6522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6523 for as_dir in $PATH
   6524 do
   6525   IFS=$as_save_IFS
   6526   test -z "$as_dir" && as_dir=.
   6527     for ac_exec_ext in '' $ac_executable_extensions; do
   6528   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6529     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6530     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6531     break 2
   6532   fi
   6533 done
   6534   done
   6535 IFS=$as_save_IFS
   6536 
   6537 fi
   6538 fi
   6539 DLLTOOL=$ac_cv_prog_DLLTOOL
   6540 if test -n "$DLLTOOL"; then
   6541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6542 $as_echo "$DLLTOOL" >&6; }
   6543 else
   6544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6545 $as_echo "no" >&6; }
   6546 fi
   6547 
   6548 
   6549 fi
   6550 if test -z "$ac_cv_prog_DLLTOOL"; then
   6551   ac_ct_DLLTOOL=$DLLTOOL
   6552   # Extract the first word of "dlltool", so it can be a program name with args.
   6553 set dummy dlltool; ac_word=$2
   6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6555 $as_echo_n "checking for $ac_word... " >&6; }
   6556 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   6557   $as_echo_n "(cached) " >&6
   6558 else
   6559   if test -n "$ac_ct_DLLTOOL"; then
   6560   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6561 else
   6562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6563 for as_dir in $PATH
   6564 do
   6565   IFS=$as_save_IFS
   6566   test -z "$as_dir" && as_dir=.
   6567     for ac_exec_ext in '' $ac_executable_extensions; do
   6568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6569     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6570     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6571     break 2
   6572   fi
   6573 done
   6574   done
   6575 IFS=$as_save_IFS
   6576 
   6577 fi
   6578 fi
   6579 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6580 if test -n "$ac_ct_DLLTOOL"; then
   6581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6582 $as_echo "$ac_ct_DLLTOOL" >&6; }
   6583 else
   6584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6585 $as_echo "no" >&6; }
   6586 fi
   6587 
   6588   if test "x$ac_ct_DLLTOOL" = x; then
   6589     DLLTOOL="false"
   6590   else
   6591     case $cross_compiling:$ac_tool_warned in
   6592 yes:)
   6593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6595 ac_tool_warned=yes ;;
   6596 esac
   6597     DLLTOOL=$ac_ct_DLLTOOL
   6598   fi
   6599 else
   6600   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6601 fi
   6602 
   6603   if test -n "$ac_tool_prefix"; then
   6604   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6605 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6607 $as_echo_n "checking for $ac_word... " >&6; }
   6608 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6609   $as_echo_n "(cached) " >&6
   6610 else
   6611   if test -n "$OBJDUMP"; then
   6612   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6613 else
   6614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6615 for as_dir in $PATH
   6616 do
   6617   IFS=$as_save_IFS
   6618   test -z "$as_dir" && as_dir=.
   6619     for ac_exec_ext in '' $ac_executable_extensions; do
   6620   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6621     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6622     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6623     break 2
   6624   fi
   6625 done
   6626   done
   6627 IFS=$as_save_IFS
   6628 
   6629 fi
   6630 fi
   6631 OBJDUMP=$ac_cv_prog_OBJDUMP
   6632 if test -n "$OBJDUMP"; then
   6633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6634 $as_echo "$OBJDUMP" >&6; }
   6635 else
   6636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6637 $as_echo "no" >&6; }
   6638 fi
   6639 
   6640 
   6641 fi
   6642 if test -z "$ac_cv_prog_OBJDUMP"; then
   6643   ac_ct_OBJDUMP=$OBJDUMP
   6644   # Extract the first word of "objdump", so it can be a program name with args.
   6645 set dummy objdump; ac_word=$2
   6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6647 $as_echo_n "checking for $ac_word... " >&6; }
   6648 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   6649   $as_echo_n "(cached) " >&6
   6650 else
   6651   if test -n "$ac_ct_OBJDUMP"; then
   6652   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6653 else
   6654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6655 for as_dir in $PATH
   6656 do
   6657   IFS=$as_save_IFS
   6658   test -z "$as_dir" && as_dir=.
   6659     for ac_exec_ext in '' $ac_executable_extensions; do
   6660   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6661     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6663     break 2
   6664   fi
   6665 done
   6666   done
   6667 IFS=$as_save_IFS
   6668 
   6669 fi
   6670 fi
   6671 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6672 if test -n "$ac_ct_OBJDUMP"; then
   6673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6674 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6675 else
   6676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6677 $as_echo "no" >&6; }
   6678 fi
   6679 
   6680   if test "x$ac_ct_OBJDUMP" = x; then
   6681     OBJDUMP="false"
   6682   else
   6683     case $cross_compiling:$ac_tool_warned in
   6684 yes:)
   6685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6687 ac_tool_warned=yes ;;
   6688 esac
   6689     OBJDUMP=$ac_ct_OBJDUMP
   6690   fi
   6691 else
   6692   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6693 fi
   6694 
   6695   ;;
   6696 esac
   6697 
   6698 test -z "$AS" && AS=as
   6699 
   6700 
   6701 
   6702 
   6703 
   6704 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 test -z "$OBJDUMP" && OBJDUMP=objdump
   6711 
   6712 
   6713 
   6714 
   6715 
   6716 
   6717 
   6718 # Check whether --enable-static was given.
   6719 if test "${enable_static+set}" = set; then :
   6720   enableval=$enable_static; p=${PACKAGE-default}
   6721     case $enableval in
   6722     yes) enable_static=yes ;;
   6723     no) enable_static=no ;;
   6724     *)
   6725      enable_static=no
   6726       # Look at the argument we got.  We use all the common list separators.
   6727       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   6728       for pkg in $enableval; do
   6729 	IFS="$lt_save_ifs"
   6730 	if test "X$pkg" = "X$p"; then
   6731 	  enable_static=yes
   6732 	fi
   6733       done
   6734       IFS="$lt_save_ifs"
   6735       ;;
   6736     esac
   6737 else
   6738   enable_static=no
   6739 fi
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 
   6746 
   6747 
   6748 
   6749 case `pwd` in
   6750   *\ * | *\	*)
   6751     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   6752 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   6753 esac
   6754 
   6755 
   6756 
   6757 macro_version='2.4'
   6758 macro_revision='1.3293'
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 ltmain="$ac_aux_dir/ltmain.sh"
   6773 
   6774 # Backslashify metacharacters that are still active within
   6775 # double-quoted strings.
   6776 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   6777 
   6778 # Same as above, but do not quote variable references.
   6779 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   6780 
   6781 # Sed substitution to delay expansion of an escaped shell variable in a
   6782 # double_quote_subst'ed string.
   6783 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6784 
   6785 # Sed substitution to delay expansion of an escaped single quote.
   6786 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   6787 
   6788 # Sed substitution to avoid accidental globbing in evaled expressions
   6789 no_glob_subst='s/\*/\\\*/g'
   6790 
   6791 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   6792 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   6793 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   6794 
   6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   6796 $as_echo_n "checking how to print strings... " >&6; }
   6797 # Test print first, because it will be a builtin if present.
   6798 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   6799    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   6800   ECHO='print -r --'
   6801 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   6802   ECHO='printf %s\n'
   6803 else
   6804   # Use this function as a fallback that always works.
   6805   func_fallback_echo ()
   6806   {
   6807     eval 'cat <<_LTECHO_EOF
   6808 $1
   6809 _LTECHO_EOF'
   6810   }
   6811   ECHO='func_fallback_echo'
   6812 fi
   6813 
   6814 # func_echo_all arg...
   6815 # Invoke $ECHO with all args, space-separated.
   6816 func_echo_all ()
   6817 {
   6818     $ECHO ""
   6819 }
   6820 
   6821 case "$ECHO" in
   6822   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   6823 $as_echo "printf" >&6; } ;;
   6824   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   6825 $as_echo "print -r" >&6; } ;;
   6826   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   6827 $as_echo "cat" >&6; } ;;
   6828 esac
   6829 
   6830 
   6831 
   6832 
   6833 
   6834 
   6835 
   6836 
   6837 
   6838 
   6839 
   6840 
   6841 
   6842 
   6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   6844 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   6845 if ${ac_cv_path_SED+:} false; then :
   6846   $as_echo_n "(cached) " >&6
   6847 else
   6848             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   6849      for ac_i in 1 2 3 4 5 6 7; do
   6850        ac_script="$ac_script$as_nl$ac_script"
   6851      done
   6852      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   6853      { ac_script=; unset ac_script;}
   6854      if test -z "$SED"; then
   6855   ac_path_SED_found=false
   6856   # Loop through the user's path and test for each of PROGNAME-LIST
   6857   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6858 for as_dir in $PATH
   6859 do
   6860   IFS=$as_save_IFS
   6861   test -z "$as_dir" && as_dir=.
   6862     for ac_prog in sed gsed; do
   6863     for ac_exec_ext in '' $ac_executable_extensions; do
   6864       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   6865       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   6866 # Check for GNU ac_path_SED and select it if it is found.
   6867   # Check for GNU $ac_path_SED
   6868 case `"$ac_path_SED" --version 2>&1` in
   6869 *GNU*)
   6870   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   6871 *)
   6872   ac_count=0
   6873   $as_echo_n 0123456789 >"conftest.in"
   6874   while :
   6875   do
   6876     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6877     mv "conftest.tmp" "conftest.in"
   6878     cp "conftest.in" "conftest.nl"
   6879     $as_echo '' >> "conftest.nl"
   6880     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6881     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6882     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6883     if test $ac_count -gt ${ac_path_SED_max-0}; then
   6884       # Best one so far, save it but keep looking for a better one
   6885       ac_cv_path_SED="$ac_path_SED"
   6886       ac_path_SED_max=$ac_count
   6887     fi
   6888     # 10*(2^10) chars as input seems more than enough
   6889     test $ac_count -gt 10 && break
   6890   done
   6891   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6892 esac
   6893 
   6894       $ac_path_SED_found && break 3
   6895     done
   6896   done
   6897   done
   6898 IFS=$as_save_IFS
   6899   if test -z "$ac_cv_path_SED"; then
   6900     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   6901   fi
   6902 else
   6903   ac_cv_path_SED=$SED
   6904 fi
   6905 
   6906 fi
   6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   6908 $as_echo "$ac_cv_path_SED" >&6; }
   6909  SED="$ac_cv_path_SED"
   6910   rm -f conftest.sed
   6911 
   6912 test -z "$SED" && SED=sed
   6913 Xsed="$SED -e 1s/^X//"
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   6926 $as_echo_n "checking for fgrep... " >&6; }
   6927 if ${ac_cv_path_FGREP+:} false; then :
   6928   $as_echo_n "(cached) " >&6
   6929 else
   6930   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   6931    then ac_cv_path_FGREP="$GREP -F"
   6932    else
   6933      if test -z "$FGREP"; then
   6934   ac_path_FGREP_found=false
   6935   # Loop through the user's path and test for each of PROGNAME-LIST
   6936   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6937 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6938 do
   6939   IFS=$as_save_IFS
   6940   test -z "$as_dir" && as_dir=.
   6941     for ac_prog in fgrep; do
   6942     for ac_exec_ext in '' $ac_executable_extensions; do
   6943       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   6944       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   6945 # Check for GNU ac_path_FGREP and select it if it is found.
   6946   # Check for GNU $ac_path_FGREP
   6947 case `"$ac_path_FGREP" --version 2>&1` in
   6948 *GNU*)
   6949   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   6950 *)
   6951   ac_count=0
   6952   $as_echo_n 0123456789 >"conftest.in"
   6953   while :
   6954   do
   6955     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6956     mv "conftest.tmp" "conftest.in"
   6957     cp "conftest.in" "conftest.nl"
   6958     $as_echo 'FGREP' >> "conftest.nl"
   6959     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6960     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6961     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6962     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   6963       # Best one so far, save it but keep looking for a better one
   6964       ac_cv_path_FGREP="$ac_path_FGREP"
   6965       ac_path_FGREP_max=$ac_count
   6966     fi
   6967     # 10*(2^10) chars as input seems more than enough
   6968     test $ac_count -gt 10 && break
   6969   done
   6970   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6971 esac
   6972 
   6973       $ac_path_FGREP_found && break 3
   6974     done
   6975   done
   6976   done
   6977 IFS=$as_save_IFS
   6978   if test -z "$ac_cv_path_FGREP"; then
   6979     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6980   fi
   6981 else
   6982   ac_cv_path_FGREP=$FGREP
   6983 fi
   6984 
   6985    fi
   6986 fi
   6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   6988 $as_echo "$ac_cv_path_FGREP" >&6; }
   6989  FGREP="$ac_cv_path_FGREP"
   6990 
   6991 
   6992 test -z "$GREP" && GREP=grep
   6993 
   6994 
   6995 
   6996 
   6997 
   6998 
   6999 
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 # Check whether --with-gnu-ld was given.
   7013 if test "${with_gnu_ld+set}" = set; then :
   7014   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   7015 else
   7016   with_gnu_ld=no
   7017 fi
   7018 
   7019 ac_prog=ld
   7020 if test "$GCC" = yes; then
   7021   # Check if gcc -print-prog-name=ld gives a path.
   7022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   7023 $as_echo_n "checking for ld used by $CC... " >&6; }
   7024   case $host in
   7025   *-*-mingw*)
   7026     # gcc leaves a trailing carriage return which upsets mingw
   7027     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   7028   *)
   7029     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   7030   esac
   7031   case $ac_prog in
   7032     # Accept absolute paths.
   7033     [\\/]* | ?:[\\/]*)
   7034       re_direlt='/[^/][^/]*/\.\./'
   7035       # Canonicalize the pathname of ld
   7036       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   7037       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   7038 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   7039       done
   7040       test -z "$LD" && LD="$ac_prog"
   7041       ;;
   7042   "")
   7043     # If it fails, then pretend we aren't using GCC.
   7044     ac_prog=ld
   7045     ;;
   7046   *)
   7047     # If it is relative, then search for the first ld in PATH.
   7048     with_gnu_ld=unknown
   7049     ;;
   7050   esac
   7051 elif test "$with_gnu_ld" = yes; then
   7052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   7053 $as_echo_n "checking for GNU ld... " >&6; }
   7054 else
   7055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   7056 $as_echo_n "checking for non-GNU ld... " >&6; }
   7057 fi
   7058 if ${lt_cv_path_LD+:} false; then :
   7059   $as_echo_n "(cached) " >&6
   7060 else
   7061   if test -z "$LD"; then
   7062   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7063   for ac_dir in $PATH; do
   7064     IFS="$lt_save_ifs"
   7065     test -z "$ac_dir" && ac_dir=.
   7066     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   7067       lt_cv_path_LD="$ac_dir/$ac_prog"
   7068       # Check to see if the program is GNU ld.  I'd rather use --version,
   7069       # but apparently some variants of GNU ld only accept -v.
   7070       # Break only if it was the GNU/non-GNU ld that we prefer.
   7071       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   7072       *GNU* | *'with BFD'*)
   7073 	test "$with_gnu_ld" != no && break
   7074 	;;
   7075       *)
   7076 	test "$with_gnu_ld" != yes && break
   7077 	;;
   7078       esac
   7079     fi
   7080   done
   7081   IFS="$lt_save_ifs"
   7082 else
   7083   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   7084 fi
   7085 fi
   7086 
   7087 LD="$lt_cv_path_LD"
   7088 if test -n "$LD"; then
   7089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   7090 $as_echo "$LD" >&6; }
   7091 else
   7092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7093 $as_echo "no" >&6; }
   7094 fi
   7095 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   7097 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   7098 if ${lt_cv_prog_gnu_ld+:} false; then :
   7099   $as_echo_n "(cached) " >&6
   7100 else
   7101   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   7102 case `$LD -v 2>&1 </dev/null` in
   7103 *GNU* | *'with BFD'*)
   7104   lt_cv_prog_gnu_ld=yes
   7105   ;;
   7106 *)
   7107   lt_cv_prog_gnu_ld=no
   7108   ;;
   7109 esac
   7110 fi
   7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   7112 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   7113 with_gnu_ld=$lt_cv_prog_gnu_ld
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   7124 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   7125 if ${lt_cv_path_NM+:} false; then :
   7126   $as_echo_n "(cached) " >&6
   7127 else
   7128   if test -n "$NM"; then
   7129   # Let the user override the test.
   7130   lt_cv_path_NM="$NM"
   7131 else
   7132   lt_nm_to_check="${ac_tool_prefix}nm"
   7133   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   7134     lt_nm_to_check="$lt_nm_to_check nm"
   7135   fi
   7136   for lt_tmp_nm in $lt_nm_to_check; do
   7137     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7138     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   7139       IFS="$lt_save_ifs"
   7140       test -z "$ac_dir" && ac_dir=.
   7141       tmp_nm="$ac_dir/$lt_tmp_nm"
   7142       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   7143 	# Check to see if the nm accepts a BSD-compat flag.
   7144 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   7145 	#   nm: unknown option "B" ignored
   7146 	# Tru64's nm complains that /dev/null is an invalid object file
   7147 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   7148 	*/dev/null* | *'Invalid file or object type'*)
   7149 	  lt_cv_path_NM="$tmp_nm -B"
   7150 	  break
   7151 	  ;;
   7152 	*)
   7153 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   7154 	  */dev/null*)
   7155 	    lt_cv_path_NM="$tmp_nm -p"
   7156 	    break
   7157 	    ;;
   7158 	  *)
   7159 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   7160 	    continue # so that we can try to find one that supports BSD flags
   7161 	    ;;
   7162 	  esac
   7163 	  ;;
   7164 	esac
   7165       fi
   7166     done
   7167     IFS="$lt_save_ifs"
   7168   done
   7169   : ${lt_cv_path_NM=no}
   7170 fi
   7171 fi
   7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   7173 $as_echo "$lt_cv_path_NM" >&6; }
   7174 if test "$lt_cv_path_NM" != "no"; then
   7175   NM="$lt_cv_path_NM"
   7176 else
   7177   # Didn't find any BSD compatible name lister, look for dumpbin.
   7178   if test -n "$DUMPBIN"; then :
   7179     # Let the user override the test.
   7180   else
   7181     if test -n "$ac_tool_prefix"; then
   7182   for ac_prog in dumpbin "link -dump"
   7183   do
   7184     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7185 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7187 $as_echo_n "checking for $ac_word... " >&6; }
   7188 if ${ac_cv_prog_DUMPBIN+:} false; then :
   7189   $as_echo_n "(cached) " >&6
   7190 else
   7191   if test -n "$DUMPBIN"; then
   7192   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   7193 else
   7194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7195 for as_dir in $PATH
   7196 do
   7197   IFS=$as_save_IFS
   7198   test -z "$as_dir" && as_dir=.
   7199     for ac_exec_ext in '' $ac_executable_extensions; do
   7200   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7201     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   7202     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7203     break 2
   7204   fi
   7205 done
   7206   done
   7207 IFS=$as_save_IFS
   7208 
   7209 fi
   7210 fi
   7211 DUMPBIN=$ac_cv_prog_DUMPBIN
   7212 if test -n "$DUMPBIN"; then
   7213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   7214 $as_echo "$DUMPBIN" >&6; }
   7215 else
   7216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7217 $as_echo "no" >&6; }
   7218 fi
   7219 
   7220 
   7221     test -n "$DUMPBIN" && break
   7222   done
   7223 fi
   7224 if test -z "$DUMPBIN"; then
   7225   ac_ct_DUMPBIN=$DUMPBIN
   7226   for ac_prog in dumpbin "link -dump"
   7227 do
   7228   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7229 set dummy $ac_prog; ac_word=$2
   7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7231 $as_echo_n "checking for $ac_word... " >&6; }
   7232 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   7233   $as_echo_n "(cached) " >&6
   7234 else
   7235   if test -n "$ac_ct_DUMPBIN"; then
   7236   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   7237 else
   7238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7239 for as_dir in $PATH
   7240 do
   7241   IFS=$as_save_IFS
   7242   test -z "$as_dir" && as_dir=.
   7243     for ac_exec_ext in '' $ac_executable_extensions; do
   7244   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7245     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   7246     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7247     break 2
   7248   fi
   7249 done
   7250   done
   7251 IFS=$as_save_IFS
   7252 
   7253 fi
   7254 fi
   7255 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   7256 if test -n "$ac_ct_DUMPBIN"; then
   7257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   7258 $as_echo "$ac_ct_DUMPBIN" >&6; }
   7259 else
   7260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7261 $as_echo "no" >&6; }
   7262 fi
   7263 
   7264 
   7265   test -n "$ac_ct_DUMPBIN" && break
   7266 done
   7267 
   7268   if test "x$ac_ct_DUMPBIN" = x; then
   7269     DUMPBIN=":"
   7270   else
   7271     case $cross_compiling:$ac_tool_warned in
   7272 yes:)
   7273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7275 ac_tool_warned=yes ;;
   7276 esac
   7277     DUMPBIN=$ac_ct_DUMPBIN
   7278   fi
   7279 fi
   7280 
   7281     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   7282     *COFF*)
   7283       DUMPBIN="$DUMPBIN -symbols"
   7284       ;;
   7285     *)
   7286       DUMPBIN=:
   7287       ;;
   7288     esac
   7289   fi
   7290 
   7291   if test "$DUMPBIN" != ":"; then
   7292     NM="$DUMPBIN"
   7293   fi
   7294 fi
   7295 test -z "$NM" && NM=nm
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   7303 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   7304 if ${lt_cv_nm_interface+:} false; then :
   7305   $as_echo_n "(cached) " >&6
   7306 else
   7307   lt_cv_nm_interface="BSD nm"
   7308   echo "int some_variable = 0;" > conftest.$ac_ext
   7309   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   7310   (eval "$ac_compile" 2>conftest.err)
   7311   cat conftest.err >&5
   7312   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   7313   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   7314   cat conftest.err >&5
   7315   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   7316   cat conftest.out >&5
   7317   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   7318     lt_cv_nm_interface="MS dumpbin"
   7319   fi
   7320   rm -f conftest*
   7321 fi
   7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   7323 $as_echo "$lt_cv_nm_interface" >&6; }
   7324 
   7325 # find the maximum length of command line arguments
   7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   7327 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   7328 if ${lt_cv_sys_max_cmd_len+:} false; then :
   7329   $as_echo_n "(cached) " >&6
   7330 else
   7331     i=0
   7332   teststring="ABCD"
   7333 
   7334   case $build_os in
   7335   msdosdjgpp*)
   7336     # On DJGPP, this test can blow up pretty badly due to problems in libc
   7337     # (any single argument exceeding 2000 bytes causes a buffer overrun
   7338     # during glob expansion).  Even if it were fixed, the result of this
   7339     # check would be larger than it should be.
   7340     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   7341     ;;
   7342 
   7343   gnu*)
   7344     # Under GNU Hurd, this test is not required because there is
   7345     # no limit to the length of command line arguments.
   7346     # Libtool will interpret -1 as no limit whatsoever
   7347     lt_cv_sys_max_cmd_len=-1;
   7348     ;;
   7349 
   7350   cygwin* | mingw* | cegcc*)
   7351     # On Win9x/ME, this test blows up -- it succeeds, but takes
   7352     # about 5 minutes as the teststring grows exponentially.
   7353     # Worse, since 9x/ME are not pre-emptively multitasking,
   7354     # you end up with a "frozen" computer, even though with patience
   7355     # the test eventually succeeds (with a max line length of 256k).
   7356     # Instead, let's just punt: use the minimum linelength reported by
   7357     # all of the supported platforms: 8192 (on NT/2K/XP).
   7358     lt_cv_sys_max_cmd_len=8192;
   7359     ;;
   7360 
   7361   mint*)
   7362     # On MiNT this can take a long time and run out of memory.
   7363     lt_cv_sys_max_cmd_len=8192;
   7364     ;;
   7365 
   7366   amigaos*)
   7367     # On AmigaOS with pdksh, this test takes hours, literally.
   7368     # So we just punt and use a minimum line length of 8192.
   7369     lt_cv_sys_max_cmd_len=8192;
   7370     ;;
   7371 
   7372   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   7373     # This has been around since 386BSD, at least.  Likely further.
   7374     if test -x /sbin/sysctl; then
   7375       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   7376     elif test -x /usr/sbin/sysctl; then
   7377       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   7378     else
   7379       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   7380     fi
   7381     # And add a safety zone
   7382     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   7383     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   7384     ;;
   7385 
   7386   interix*)
   7387     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   7388     lt_cv_sys_max_cmd_len=196608
   7389     ;;
   7390 
   7391   osf*)
   7392     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   7393     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   7394     # nice to cause kernel panics so lets avoid the loop below.
   7395     # First set a reasonable default.
   7396     lt_cv_sys_max_cmd_len=16384
   7397     #
   7398     if test -x /sbin/sysconfig; then
   7399       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   7400         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   7401       esac
   7402     fi
   7403     ;;
   7404   sco3.2v5*)
   7405     lt_cv_sys_max_cmd_len=102400
   7406     ;;
   7407   sysv5* | sco5v6* | sysv4.2uw2*)
   7408     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   7409     if test -n "$kargmax"; then
   7410       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   7411     else
   7412       lt_cv_sys_max_cmd_len=32768
   7413     fi
   7414     ;;
   7415   *)
   7416     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   7417     if test -n "$lt_cv_sys_max_cmd_len"; then
   7418       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   7419       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   7420     else
   7421       # Make teststring a little bigger before we do anything with it.
   7422       # a 1K string should be a reasonable start.
   7423       for i in 1 2 3 4 5 6 7 8 ; do
   7424         teststring=$teststring$teststring
   7425       done
   7426       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   7427       # If test is not a shell built-in, we'll probably end up computing a
   7428       # maximum length that is only half of the actual maximum length, but
   7429       # we can't tell.
   7430       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   7431 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   7432 	      test $i != 17 # 1/2 MB should be enough
   7433       do
   7434         i=`expr $i + 1`
   7435         teststring=$teststring$teststring
   7436       done
   7437       # Only check the string length outside the loop.
   7438       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   7439       teststring=
   7440       # Add a significant safety factor because C++ compilers can tack on
   7441       # massive amounts of additional arguments before passing them to the
   7442       # linker.  It appears as though 1/2 is a usable value.
   7443       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   7444     fi
   7445     ;;
   7446   esac
   7447 
   7448 fi
   7449 
   7450 if test -n $lt_cv_sys_max_cmd_len ; then
   7451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   7452 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   7453 else
   7454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   7455 $as_echo "none" >&6; }
   7456 fi
   7457 max_cmd_len=$lt_cv_sys_max_cmd_len
   7458 
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 : ${CP="cp -f"}
   7465 : ${MV="mv -f"}
   7466 : ${RM="rm -f"}
   7467 
   7468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   7469 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   7470 # Try some XSI features
   7471 xsi_shell=no
   7472 ( _lt_dummy="a/b/c"
   7473   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   7474       = c,a/b,b/c, \
   7475     && eval 'test $(( 1 + 1 )) -eq 2 \
   7476     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   7477   && xsi_shell=yes
   7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   7479 $as_echo "$xsi_shell" >&6; }
   7480 
   7481 
   7482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   7483 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   7484 lt_shell_append=no
   7485 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   7486     >/dev/null 2>&1 \
   7487   && lt_shell_append=yes
   7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   7489 $as_echo "$lt_shell_append" >&6; }
   7490 
   7491 
   7492 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   7493   lt_unset=unset
   7494 else
   7495   lt_unset=false
   7496 fi
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 # test EBCDIC or ASCII
   7503 case `echo X|tr X '\101'` in
   7504  A) # ASCII based system
   7505     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   7506   lt_SP2NL='tr \040 \012'
   7507   lt_NL2SP='tr \015\012 \040\040'
   7508   ;;
   7509  *) # EBCDIC based system
   7510   lt_SP2NL='tr \100 \n'
   7511   lt_NL2SP='tr \r\n \100\100'
   7512   ;;
   7513 esac
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   7524 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   7525 if ${lt_cv_to_host_file_cmd+:} false; then :
   7526   $as_echo_n "(cached) " >&6
   7527 else
   7528   case $host in
   7529   *-*-mingw* )
   7530     case $build in
   7531       *-*-mingw* ) # actually msys
   7532         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   7533         ;;
   7534       *-*-cygwin* )
   7535         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   7536         ;;
   7537       * ) # otherwise, assume *nix
   7538         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   7539         ;;
   7540     esac
   7541     ;;
   7542   *-*-cygwin* )
   7543     case $build in
   7544       *-*-mingw* ) # actually msys
   7545         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   7546         ;;
   7547       *-*-cygwin* )
   7548         lt_cv_to_host_file_cmd=func_convert_file_noop
   7549         ;;
   7550       * ) # otherwise, assume *nix
   7551         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   7552         ;;
   7553     esac
   7554     ;;
   7555   * ) # unhandled hosts (and "normal" native builds)
   7556     lt_cv_to_host_file_cmd=func_convert_file_noop
   7557     ;;
   7558 esac
   7559 
   7560 fi
   7561 
   7562 to_host_file_cmd=$lt_cv_to_host_file_cmd
   7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   7564 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   7571 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   7572 if ${lt_cv_to_tool_file_cmd+:} false; then :
   7573   $as_echo_n "(cached) " >&6
   7574 else
   7575   #assume ordinary cross tools, or native build.
   7576 lt_cv_to_tool_file_cmd=func_convert_file_noop
   7577 case $host in
   7578   *-*-mingw* )
   7579     case $build in
   7580       *-*-mingw* ) # actually msys
   7581         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   7582         ;;
   7583     esac
   7584     ;;
   7585 esac
   7586 
   7587 fi
   7588 
   7589 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   7591 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   7598 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   7599 if ${lt_cv_ld_reload_flag+:} false; then :
   7600   $as_echo_n "(cached) " >&6
   7601 else
   7602   lt_cv_ld_reload_flag='-r'
   7603 fi
   7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   7605 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   7606 reload_flag=$lt_cv_ld_reload_flag
   7607 case $reload_flag in
   7608 "" | " "*) ;;
   7609 *) reload_flag=" $reload_flag" ;;
   7610 esac
   7611 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   7612 case $host_os in
   7613   cygwin* | mingw* | pw32* | cegcc*)
   7614     if test "$GCC" != yes; then
   7615       reload_cmds=false
   7616     fi
   7617     ;;
   7618   darwin*)
   7619     if test "$GCC" = yes; then
   7620       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   7621     else
   7622       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   7623     fi
   7624     ;;
   7625 esac
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 if test -n "$ac_tool_prefix"; then
   7636   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   7637 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7639 $as_echo_n "checking for $ac_word... " >&6; }
   7640 if ${ac_cv_prog_OBJDUMP+:} false; then :
   7641   $as_echo_n "(cached) " >&6
   7642 else
   7643   if test -n "$OBJDUMP"; then
   7644   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   7645 else
   7646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7647 for as_dir in $PATH
   7648 do
   7649   IFS=$as_save_IFS
   7650   test -z "$as_dir" && as_dir=.
   7651     for ac_exec_ext in '' $ac_executable_extensions; do
   7652   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7653     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   7654     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7655     break 2
   7656   fi
   7657 done
   7658   done
   7659 IFS=$as_save_IFS
   7660 
   7661 fi
   7662 fi
   7663 OBJDUMP=$ac_cv_prog_OBJDUMP
   7664 if test -n "$OBJDUMP"; then
   7665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   7666 $as_echo "$OBJDUMP" >&6; }
   7667 else
   7668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7669 $as_echo "no" >&6; }
   7670 fi
   7671 
   7672 
   7673 fi
   7674 if test -z "$ac_cv_prog_OBJDUMP"; then
   7675   ac_ct_OBJDUMP=$OBJDUMP
   7676   # Extract the first word of "objdump", so it can be a program name with args.
   7677 set dummy objdump; ac_word=$2
   7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7679 $as_echo_n "checking for $ac_word... " >&6; }
   7680 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   7681   $as_echo_n "(cached) " >&6
   7682 else
   7683   if test -n "$ac_ct_OBJDUMP"; then
   7684   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   7685 else
   7686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7687 for as_dir in $PATH
   7688 do
   7689   IFS=$as_save_IFS
   7690   test -z "$as_dir" && as_dir=.
   7691     for ac_exec_ext in '' $ac_executable_extensions; do
   7692   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7693     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   7694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7695     break 2
   7696   fi
   7697 done
   7698   done
   7699 IFS=$as_save_IFS
   7700 
   7701 fi
   7702 fi
   7703 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   7704 if test -n "$ac_ct_OBJDUMP"; then
   7705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   7706 $as_echo "$ac_ct_OBJDUMP" >&6; }
   7707 else
   7708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7709 $as_echo "no" >&6; }
   7710 fi
   7711 
   7712   if test "x$ac_ct_OBJDUMP" = x; then
   7713     OBJDUMP="false"
   7714   else
   7715     case $cross_compiling:$ac_tool_warned in
   7716 yes:)
   7717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7719 ac_tool_warned=yes ;;
   7720 esac
   7721     OBJDUMP=$ac_ct_OBJDUMP
   7722   fi
   7723 else
   7724   OBJDUMP="$ac_cv_prog_OBJDUMP"
   7725 fi
   7726 
   7727 test -z "$OBJDUMP" && OBJDUMP=objdump
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   7735 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   7736 if ${lt_cv_deplibs_check_method+:} false; then :
   7737   $as_echo_n "(cached) " >&6
   7738 else
   7739   lt_cv_file_magic_cmd='$MAGIC_CMD'
   7740 lt_cv_file_magic_test_file=
   7741 lt_cv_deplibs_check_method='unknown'
   7742 # Need to set the preceding variable on all platforms that support
   7743 # interlibrary dependencies.
   7744 # 'none' -- dependencies not supported.
   7745 # `unknown' -- same as none, but documents that we really don't know.
   7746 # 'pass_all' -- all dependencies passed with no checks.
   7747 # 'test_compile' -- check by making test program.
   7748 # 'file_magic [[regex]]' -- check by looking for files in library path
   7749 # which responds to the $file_magic_cmd with a given extended regex.
   7750 # If you have `file' or equivalent on your system and you're not sure
   7751 # whether `pass_all' will *always* work, you probably want this one.
   7752 
   7753 case $host_os in
   7754 aix[4-9]*)
   7755   lt_cv_deplibs_check_method=pass_all
   7756   ;;
   7757 
   7758 beos*)
   7759   lt_cv_deplibs_check_method=pass_all
   7760   ;;
   7761 
   7762 bsdi[45]*)
   7763   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   7764   lt_cv_file_magic_cmd='/usr/bin/file -L'
   7765   lt_cv_file_magic_test_file=/shlib/libc.so
   7766   ;;
   7767 
   7768 cygwin*)
   7769   # func_win32_libid is a shell function defined in ltmain.sh
   7770   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7771   lt_cv_file_magic_cmd='func_win32_libid'
   7772   ;;
   7773 
   7774 mingw* | pw32*)
   7775   # Base MSYS/MinGW do not provide the 'file' command needed by
   7776   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   7777   # unless we find 'file', for example because we are cross-compiling.
   7778   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   7779   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   7780     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7781     lt_cv_file_magic_cmd='func_win32_libid'
   7782   else
   7783     # Keep this pattern in sync with the one in func_win32_libid.
   7784     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   7785     lt_cv_file_magic_cmd='$OBJDUMP -f'
   7786   fi
   7787   ;;
   7788 
   7789 cegcc*)
   7790   # use the weaker test based on 'objdump'. See mingw*.
   7791   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   7792   lt_cv_file_magic_cmd='$OBJDUMP -f'
   7793   ;;
   7794 
   7795 darwin* | rhapsody*)
   7796   lt_cv_deplibs_check_method=pass_all
   7797   ;;
   7798 
   7799 freebsd* | dragonfly*)
   7800   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7801     case $host_cpu in
   7802     i*86 )
   7803       # Not sure whether the presence of OpenBSD here was a mistake.
   7804       # Let's accept both of them until this is cleared up.
   7805       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   7806       lt_cv_file_magic_cmd=/usr/bin/file
   7807       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   7808       ;;
   7809     esac
   7810   else
   7811     lt_cv_deplibs_check_method=pass_all
   7812   fi
   7813   ;;
   7814 
   7815 gnu*)
   7816   lt_cv_deplibs_check_method=pass_all
   7817   ;;
   7818 
   7819 haiku*)
   7820   lt_cv_deplibs_check_method=pass_all
   7821   ;;
   7822 
   7823 hpux10.20* | hpux11*)
   7824   lt_cv_file_magic_cmd=/usr/bin/file
   7825   case $host_cpu in
   7826   ia64*)
   7827     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   7828     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   7829     ;;
   7830   hppa*64*)
   7831     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
   7832     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   7833     ;;
   7834   *)
   7835     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   7836     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   7837     ;;
   7838   esac
   7839   ;;
   7840 
   7841 interix[3-9]*)
   7842   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   7843   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   7844   ;;
   7845 
   7846 irix5* | irix6* | nonstopux*)
   7847   case $LD in
   7848   *-32|*"-32 ") libmagic=32-bit;;
   7849   *-n32|*"-n32 ") libmagic=N32;;
   7850   *-64|*"-64 ") libmagic=64-bit;;
   7851   *) libmagic=never-match;;
   7852   esac
   7853   lt_cv_deplibs_check_method=pass_all
   7854   ;;
   7855 
   7856 # This must be Linux ELF.
   7857 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   7858   lt_cv_deplibs_check_method=pass_all
   7859   ;;
   7860 
   7861 netbsd*)
   7862   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7863     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7864   else
   7865     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   7866   fi
   7867   ;;
   7868 
   7869 newos6*)
   7870   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   7871   lt_cv_file_magic_cmd=/usr/bin/file
   7872   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   7873   ;;
   7874 
   7875 *nto* | *qnx*)
   7876   lt_cv_deplibs_check_method=pass_all
   7877   ;;
   7878 
   7879 openbsd*)
   7880   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   7881     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   7882   else
   7883     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7884   fi
   7885   ;;
   7886 
   7887 osf3* | osf4* | osf5*)
   7888   lt_cv_deplibs_check_method=pass_all
   7889   ;;
   7890 
   7891 rdos*)
   7892   lt_cv_deplibs_check_method=pass_all
   7893   ;;
   7894 
   7895 solaris*)
   7896   lt_cv_deplibs_check_method=pass_all
   7897   ;;
   7898 
   7899 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   7900   lt_cv_deplibs_check_method=pass_all
   7901   ;;
   7902 
   7903 sysv4 | sysv4.3*)
   7904   case $host_vendor in
   7905   motorola)
   7906     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
   7907     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   7908     ;;
   7909   ncr)
   7910     lt_cv_deplibs_check_method=pass_all
   7911     ;;
   7912   sequent)
   7913     lt_cv_file_magic_cmd='/bin/file'
   7914     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   7915     ;;
   7916   sni)
   7917     lt_cv_file_magic_cmd='/bin/file'
   7918     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   7919     lt_cv_file_magic_test_file=/lib/libc.so
   7920     ;;
   7921   siemens)
   7922     lt_cv_deplibs_check_method=pass_all
   7923     ;;
   7924   pc)
   7925     lt_cv_deplibs_check_method=pass_all
   7926     ;;
   7927   esac
   7928   ;;
   7929 
   7930 tpf*)
   7931   lt_cv_deplibs_check_method=pass_all
   7932   ;;
   7933 esac
   7934 
   7935 fi
   7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   7937 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   7938 
   7939 file_magic_glob=
   7940 want_nocaseglob=no
   7941 if test "$build" = "$host"; then
   7942   case $host_os in
   7943   mingw* | pw32*)
   7944     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   7945       want_nocaseglob=yes
   7946     else
   7947       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   7948     fi
   7949     ;;
   7950   esac
   7951 fi
   7952 
   7953 file_magic_cmd=$lt_cv_file_magic_cmd
   7954 deplibs_check_method=$lt_cv_deplibs_check_method
   7955 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 
   7967 
   7968 
   7969 
   7970 
   7971 
   7972 
   7973 
   7974 
   7975 
   7976 
   7977 
   7978 if test -n "$ac_tool_prefix"; then
   7979   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   7980 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7982 $as_echo_n "checking for $ac_word... " >&6; }
   7983 if ${ac_cv_prog_DLLTOOL+:} false; then :
   7984   $as_echo_n "(cached) " >&6
   7985 else
   7986   if test -n "$DLLTOOL"; then
   7987   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   7988 else
   7989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7990 for as_dir in $PATH
   7991 do
   7992   IFS=$as_save_IFS
   7993   test -z "$as_dir" && as_dir=.
   7994     for ac_exec_ext in '' $ac_executable_extensions; do
   7995   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7996     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   7997     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7998     break 2
   7999   fi
   8000 done
   8001   done
   8002 IFS=$as_save_IFS
   8003 
   8004 fi
   8005 fi
   8006 DLLTOOL=$ac_cv_prog_DLLTOOL
   8007 if test -n "$DLLTOOL"; then
   8008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   8009 $as_echo "$DLLTOOL" >&6; }
   8010 else
   8011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8012 $as_echo "no" >&6; }
   8013 fi
   8014 
   8015 
   8016 fi
   8017 if test -z "$ac_cv_prog_DLLTOOL"; then
   8018   ac_ct_DLLTOOL=$DLLTOOL
   8019   # Extract the first word of "dlltool", so it can be a program name with args.
   8020 set dummy dlltool; ac_word=$2
   8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8022 $as_echo_n "checking for $ac_word... " >&6; }
   8023 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   8024   $as_echo_n "(cached) " >&6
   8025 else
   8026   if test -n "$ac_ct_DLLTOOL"; then
   8027   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   8028 else
   8029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8030 for as_dir in $PATH
   8031 do
   8032   IFS=$as_save_IFS
   8033   test -z "$as_dir" && as_dir=.
   8034     for ac_exec_ext in '' $ac_executable_extensions; do
   8035   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8036     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   8037     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8038     break 2
   8039   fi
   8040 done
   8041   done
   8042 IFS=$as_save_IFS
   8043 
   8044 fi
   8045 fi
   8046 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   8047 if test -n "$ac_ct_DLLTOOL"; then
   8048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   8049 $as_echo "$ac_ct_DLLTOOL" >&6; }
   8050 else
   8051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8052 $as_echo "no" >&6; }
   8053 fi
   8054 
   8055   if test "x$ac_ct_DLLTOOL" = x; then
   8056     DLLTOOL="false"
   8057   else
   8058     case $cross_compiling:$ac_tool_warned in
   8059 yes:)
   8060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8062 ac_tool_warned=yes ;;
   8063 esac
   8064     DLLTOOL=$ac_ct_DLLTOOL
   8065   fi
   8066 else
   8067   DLLTOOL="$ac_cv_prog_DLLTOOL"
   8068 fi
   8069 
   8070 test -z "$DLLTOOL" && DLLTOOL=dlltool
   8071 
   8072 
   8073 
   8074 
   8075 
   8076 
   8077 
   8078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   8079 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   8080 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   8081   $as_echo_n "(cached) " >&6
   8082 else
   8083   lt_cv_sharedlib_from_linklib_cmd='unknown'
   8084 
   8085 case $host_os in
   8086 cygwin* | mingw* | pw32* | cegcc*)
   8087   # two different shell functions defined in ltmain.sh
   8088   # decide which to use based on capabilities of $DLLTOOL
   8089   case `$DLLTOOL --help 2>&1` in
   8090   *--identify-strict*)
   8091     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   8092     ;;
   8093   *)
   8094     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   8095     ;;
   8096   esac
   8097   ;;
   8098 *)
   8099   # fallback: assume linklib IS sharedlib
   8100   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   8101   ;;
   8102 esac
   8103 
   8104 fi
   8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   8106 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   8107 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   8108 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   8109 
   8110 
   8111 
   8112 
   8113 
   8114 
   8115 
   8116 if test -n "$ac_tool_prefix"; then
   8117   for ac_prog in ar
   8118   do
   8119     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   8120 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   8121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8122 $as_echo_n "checking for $ac_word... " >&6; }
   8123 if ${ac_cv_prog_AR+:} false; then :
   8124   $as_echo_n "(cached) " >&6
   8125 else
   8126   if test -n "$AR"; then
   8127   ac_cv_prog_AR="$AR" # Let the user override the test.
   8128 else
   8129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8130 for as_dir in $PATH
   8131 do
   8132   IFS=$as_save_IFS
   8133   test -z "$as_dir" && as_dir=.
   8134     for ac_exec_ext in '' $ac_executable_extensions; do
   8135   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8136     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   8137     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8138     break 2
   8139   fi
   8140 done
   8141   done
   8142 IFS=$as_save_IFS
   8143 
   8144 fi
   8145 fi
   8146 AR=$ac_cv_prog_AR
   8147 if test -n "$AR"; then
   8148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   8149 $as_echo "$AR" >&6; }
   8150 else
   8151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8152 $as_echo "no" >&6; }
   8153 fi
   8154 
   8155 
   8156     test -n "$AR" && break
   8157   done
   8158 fi
   8159 if test -z "$AR"; then
   8160   ac_ct_AR=$AR
   8161   for ac_prog in ar
   8162 do
   8163   # Extract the first word of "$ac_prog", so it can be a program name with args.
   8164 set dummy $ac_prog; ac_word=$2
   8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8166 $as_echo_n "checking for $ac_word... " >&6; }
   8167 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   8168   $as_echo_n "(cached) " >&6
   8169 else
   8170   if test -n "$ac_ct_AR"; then
   8171   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   8172 else
   8173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8174 for as_dir in $PATH
   8175 do
   8176   IFS=$as_save_IFS
   8177   test -z "$as_dir" && as_dir=.
   8178     for ac_exec_ext in '' $ac_executable_extensions; do
   8179   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8180     ac_cv_prog_ac_ct_AR="$ac_prog"
   8181     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8182     break 2
   8183   fi
   8184 done
   8185   done
   8186 IFS=$as_save_IFS
   8187 
   8188 fi
   8189 fi
   8190 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   8191 if test -n "$ac_ct_AR"; then
   8192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   8193 $as_echo "$ac_ct_AR" >&6; }
   8194 else
   8195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8196 $as_echo "no" >&6; }
   8197 fi
   8198 
   8199 
   8200   test -n "$ac_ct_AR" && break
   8201 done
   8202 
   8203   if test "x$ac_ct_AR" = x; then
   8204     AR="false"
   8205   else
   8206     case $cross_compiling:$ac_tool_warned in
   8207 yes:)
   8208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8210 ac_tool_warned=yes ;;
   8211 esac
   8212     AR=$ac_ct_AR
   8213   fi
   8214 fi
   8215 
   8216 : ${AR=ar}
   8217 : ${AR_FLAGS=cru}
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 
   8224 
   8225 
   8226 
   8227 
   8228 
   8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   8230 $as_echo_n "checking for archiver @FILE support... " >&6; }
   8231 if ${lt_cv_ar_at_file+:} false; then :
   8232   $as_echo_n "(cached) " >&6
   8233 else
   8234   lt_cv_ar_at_file=no
   8235    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8236 /* end confdefs.h.  */
   8237 
   8238 int
   8239 main ()
   8240 {
   8241 
   8242   ;
   8243   return 0;
   8244 }
   8245 _ACEOF
   8246 if ac_fn_c_try_compile "$LINENO"; then :
   8247   echo conftest.$ac_objext > conftest.lst
   8248       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   8249       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   8250   (eval $lt_ar_try) 2>&5
   8251   ac_status=$?
   8252   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8253   test $ac_status = 0; }
   8254       if test "$ac_status" -eq 0; then
   8255 	# Ensure the archiver fails upon bogus file names.
   8256 	rm -f conftest.$ac_objext libconftest.a
   8257 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   8258   (eval $lt_ar_try) 2>&5
   8259   ac_status=$?
   8260   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8261   test $ac_status = 0; }
   8262 	if test "$ac_status" -ne 0; then
   8263           lt_cv_ar_at_file=@
   8264         fi
   8265       fi
   8266       rm -f conftest.* libconftest.a
   8267 
   8268 fi
   8269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8270 
   8271 fi
   8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   8273 $as_echo "$lt_cv_ar_at_file" >&6; }
   8274 
   8275 if test "x$lt_cv_ar_at_file" = xno; then
   8276   archiver_list_spec=
   8277 else
   8278   archiver_list_spec=$lt_cv_ar_at_file
   8279 fi
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 if test -n "$ac_tool_prefix"; then
   8288   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   8289 set dummy ${ac_tool_prefix}strip; ac_word=$2
   8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8291 $as_echo_n "checking for $ac_word... " >&6; }
   8292 if ${ac_cv_prog_STRIP+:} false; then :
   8293   $as_echo_n "(cached) " >&6
   8294 else
   8295   if test -n "$STRIP"; then
   8296   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   8297 else
   8298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8299 for as_dir in $PATH
   8300 do
   8301   IFS=$as_save_IFS
   8302   test -z "$as_dir" && as_dir=.
   8303     for ac_exec_ext in '' $ac_executable_extensions; do
   8304   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8305     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   8306     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8307     break 2
   8308   fi
   8309 done
   8310   done
   8311 IFS=$as_save_IFS
   8312 
   8313 fi
   8314 fi
   8315 STRIP=$ac_cv_prog_STRIP
   8316 if test -n "$STRIP"; then
   8317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   8318 $as_echo "$STRIP" >&6; }
   8319 else
   8320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8321 $as_echo "no" >&6; }
   8322 fi
   8323 
   8324 
   8325 fi
   8326 if test -z "$ac_cv_prog_STRIP"; then
   8327   ac_ct_STRIP=$STRIP
   8328   # Extract the first word of "strip", so it can be a program name with args.
   8329 set dummy strip; ac_word=$2
   8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8331 $as_echo_n "checking for $ac_word... " >&6; }
   8332 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   8333   $as_echo_n "(cached) " >&6
   8334 else
   8335   if test -n "$ac_ct_STRIP"; then
   8336   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   8337 else
   8338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8339 for as_dir in $PATH
   8340 do
   8341   IFS=$as_save_IFS
   8342   test -z "$as_dir" && as_dir=.
   8343     for ac_exec_ext in '' $ac_executable_extensions; do
   8344   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8345     ac_cv_prog_ac_ct_STRIP="strip"
   8346     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8347     break 2
   8348   fi
   8349 done
   8350   done
   8351 IFS=$as_save_IFS
   8352 
   8353 fi
   8354 fi
   8355 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   8356 if test -n "$ac_ct_STRIP"; then
   8357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   8358 $as_echo "$ac_ct_STRIP" >&6; }
   8359 else
   8360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8361 $as_echo "no" >&6; }
   8362 fi
   8363 
   8364   if test "x$ac_ct_STRIP" = x; then
   8365     STRIP=":"
   8366   else
   8367     case $cross_compiling:$ac_tool_warned in
   8368 yes:)
   8369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8370 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8371 ac_tool_warned=yes ;;
   8372 esac
   8373     STRIP=$ac_ct_STRIP
   8374   fi
   8375 else
   8376   STRIP="$ac_cv_prog_STRIP"
   8377 fi
   8378 
   8379 test -z "$STRIP" && STRIP=:
   8380 
   8381 
   8382 
   8383 
   8384 
   8385 
   8386 if test -n "$ac_tool_prefix"; then
   8387   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   8388 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8390 $as_echo_n "checking for $ac_word... " >&6; }
   8391 if ${ac_cv_prog_RANLIB+:} false; then :
   8392   $as_echo_n "(cached) " >&6
   8393 else
   8394   if test -n "$RANLIB"; then
   8395   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   8396 else
   8397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8398 for as_dir in $PATH
   8399 do
   8400   IFS=$as_save_IFS
   8401   test -z "$as_dir" && as_dir=.
   8402     for ac_exec_ext in '' $ac_executable_extensions; do
   8403   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8404     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   8405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8406     break 2
   8407   fi
   8408 done
   8409   done
   8410 IFS=$as_save_IFS
   8411 
   8412 fi
   8413 fi
   8414 RANLIB=$ac_cv_prog_RANLIB
   8415 if test -n "$RANLIB"; then
   8416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   8417 $as_echo "$RANLIB" >&6; }
   8418 else
   8419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8420 $as_echo "no" >&6; }
   8421 fi
   8422 
   8423 
   8424 fi
   8425 if test -z "$ac_cv_prog_RANLIB"; then
   8426   ac_ct_RANLIB=$RANLIB
   8427   # Extract the first word of "ranlib", so it can be a program name with args.
   8428 set dummy ranlib; ac_word=$2
   8429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8430 $as_echo_n "checking for $ac_word... " >&6; }
   8431 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   8432   $as_echo_n "(cached) " >&6
   8433 else
   8434   if test -n "$ac_ct_RANLIB"; then
   8435   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   8436 else
   8437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8438 for as_dir in $PATH
   8439 do
   8440   IFS=$as_save_IFS
   8441   test -z "$as_dir" && as_dir=.
   8442     for ac_exec_ext in '' $ac_executable_extensions; do
   8443   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8444     ac_cv_prog_ac_ct_RANLIB="ranlib"
   8445     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8446     break 2
   8447   fi
   8448 done
   8449   done
   8450 IFS=$as_save_IFS
   8451 
   8452 fi
   8453 fi
   8454 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   8455 if test -n "$ac_ct_RANLIB"; then
   8456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   8457 $as_echo "$ac_ct_RANLIB" >&6; }
   8458 else
   8459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8460 $as_echo "no" >&6; }
   8461 fi
   8462 
   8463   if test "x$ac_ct_RANLIB" = x; then
   8464     RANLIB=":"
   8465   else
   8466     case $cross_compiling:$ac_tool_warned in
   8467 yes:)
   8468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8470 ac_tool_warned=yes ;;
   8471 esac
   8472     RANLIB=$ac_ct_RANLIB
   8473   fi
   8474 else
   8475   RANLIB="$ac_cv_prog_RANLIB"
   8476 fi
   8477 
   8478 test -z "$RANLIB" && RANLIB=:
   8479 
   8480 
   8481 
   8482 
   8483 
   8484 
   8485 # Determine commands to create old-style static archives.
   8486 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   8487 old_postinstall_cmds='chmod 644 $oldlib'
   8488 old_postuninstall_cmds=
   8489 
   8490 if test -n "$RANLIB"; then
   8491   case $host_os in
   8492   openbsd*)
   8493     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   8494     ;;
   8495   *)
   8496     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   8497     ;;
   8498   esac
   8499   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   8500 fi
   8501 
   8502 case $host_os in
   8503   darwin*)
   8504     lock_old_archive_extraction=yes ;;
   8505   *)
   8506     lock_old_archive_extraction=no ;;
   8507 esac
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 
   8514 
   8515 
   8516 
   8517 
   8518 
   8519 
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539 
   8540 
   8541 
   8542 
   8543 
   8544 
   8545 
   8546 
   8547 # If no C compiler was specified, use CC.
   8548 LTCC=${LTCC-"$CC"}
   8549 
   8550 # If no C compiler flags were specified, use CFLAGS.
   8551 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8552 
   8553 # Allow CC to be a program name with arguments.
   8554 compiler=$CC
   8555 
   8556 
   8557 # Check for command to grab the raw symbol name followed by C symbol from nm.
   8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   8559 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   8560 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   8561   $as_echo_n "(cached) " >&6
   8562 else
   8563 
   8564 # These are sane defaults that work on at least a few old systems.
   8565 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   8566 
   8567 # Character class describing NM global symbol codes.
   8568 symcode='[BCDEGRST]'
   8569 
   8570 # Regexp to match symbols that can be accessed directly from C.
   8571 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   8572 
   8573 # Define system-specific variables.
   8574 case $host_os in
   8575 aix*)
   8576   symcode='[BCDT]'
   8577   ;;
   8578 cygwin* | mingw* | pw32* | cegcc*)
   8579   symcode='[ABCDGISTW]'
   8580   ;;
   8581 hpux*)
   8582   if test "$host_cpu" = ia64; then
   8583     symcode='[ABCDEGRST]'
   8584   fi
   8585   ;;
   8586 irix* | nonstopux*)
   8587   symcode='[BCDEGRST]'
   8588   ;;
   8589 osf*)
   8590   symcode='[BCDEGQRST]'
   8591   ;;
   8592 solaris*)
   8593   symcode='[BDRT]'
   8594   ;;
   8595 sco3.2v5*)
   8596   symcode='[DT]'
   8597   ;;
   8598 sysv4.2uw2*)
   8599   symcode='[DT]'
   8600   ;;
   8601 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   8602   symcode='[ABDT]'
   8603   ;;
   8604 sysv4)
   8605   symcode='[DFNSTU]'
   8606   ;;
   8607 esac
   8608 
   8609 # If we're using GNU nm, then use its standard symbol codes.
   8610 case `$NM -V 2>&1` in
   8611 *GNU* | *'with BFD'*)
   8612   symcode='[ABCDGIRSTW]' ;;
   8613 esac
   8614 
   8615 # Transform an extracted symbol line into a proper C declaration.
   8616 # Some systems (esp. on ia64) link data and code symbols differently,
   8617 # so use this general approach.
   8618 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   8619 
   8620 # Transform an extracted symbol line into symbol name and symbol address
   8621 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   8622 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   8623 
   8624 # Handle CRLF in mingw tool chain
   8625 opt_cr=
   8626 case $build_os in
   8627 mingw*)
   8628   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   8629   ;;
   8630 esac
   8631 
   8632 # Try without a prefix underscore, then with it.
   8633 for ac_symprfx in "" "_"; do
   8634 
   8635   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   8636   symxfrm="\\1 $ac_symprfx\\2 \\2"
   8637 
   8638   # Write the raw and C identifiers.
   8639   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8640     # Fake it for dumpbin and say T for any non-static function
   8641     # and D for any global variable.
   8642     # Also find C++ and __fastcall symbols from MSVC++,
   8643     # which start with @ or ?.
   8644     lt_cv_sys_global_symbol_pipe="$AWK '"\
   8645 "     {last_section=section; section=\$ 3};"\
   8646 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   8647 "     \$ 0!~/External *\|/{next};"\
   8648 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   8649 "     {if(hide[section]) next};"\
   8650 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   8651 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   8652 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   8653 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   8654 "     ' prfx=^$ac_symprfx"
   8655   else
   8656     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   8657   fi
   8658   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   8659 
   8660   # Check to see that the pipe works correctly.
   8661   pipe_works=no
   8662 
   8663   rm -f conftest*
   8664   cat > conftest.$ac_ext <<_LT_EOF
   8665 #ifdef __cplusplus
   8666 extern "C" {
   8667 #endif
   8668 char nm_test_var;
   8669 void nm_test_func(void);
   8670 void nm_test_func(void){}
   8671 #ifdef __cplusplus
   8672 }
   8673 #endif
   8674 int main(){nm_test_var='a';nm_test_func();return(0);}
   8675 _LT_EOF
   8676 
   8677   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8678   (eval $ac_compile) 2>&5
   8679   ac_status=$?
   8680   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8681   test $ac_status = 0; }; then
   8682     # Now try to grab the symbols.
   8683     nlist=conftest.nm
   8684     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   8685   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   8686   ac_status=$?
   8687   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8688   test $ac_status = 0; } && test -s "$nlist"; then
   8689       # Try sorting and uniquifying the output.
   8690       if sort "$nlist" | uniq > "$nlist"T; then
   8691 	mv -f "$nlist"T "$nlist"
   8692       else
   8693 	rm -f "$nlist"T
   8694       fi
   8695 
   8696       # Make sure that we snagged all the symbols we need.
   8697       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   8698 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   8699 	  cat <<_LT_EOF > conftest.$ac_ext
   8700 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   8701 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   8702 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   8703    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   8704 # define LT_DLSYM_CONST
   8705 #elif defined(__osf__)
   8706 /* This system does not cope well with relocations in const data.  */
   8707 # define LT_DLSYM_CONST
   8708 #else
   8709 # define LT_DLSYM_CONST const
   8710 #endif
   8711 
   8712 #ifdef __cplusplus
   8713 extern "C" {
   8714 #endif
   8715 
   8716 _LT_EOF
   8717 	  # Now generate the symbol file.
   8718 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   8719 
   8720 	  cat <<_LT_EOF >> conftest.$ac_ext
   8721 
   8722 /* The mapping between symbol names and symbols.  */
   8723 LT_DLSYM_CONST struct {
   8724   const char *name;
   8725   void       *address;
   8726 }
   8727 lt__PROGRAM__LTX_preloaded_symbols[] =
   8728 {
   8729   { "@PROGRAM@", (void *) 0 },
   8730 _LT_EOF
   8731 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   8732 	  cat <<\_LT_EOF >> conftest.$ac_ext
   8733   {0, (void *) 0}
   8734 };
   8735 
   8736 /* This works around a problem in FreeBSD linker */
   8737 #ifdef FREEBSD_WORKAROUND
   8738 static const void *lt_preloaded_setup() {
   8739   return lt__PROGRAM__LTX_preloaded_symbols;
   8740 }
   8741 #endif
   8742 
   8743 #ifdef __cplusplus
   8744 }
   8745 #endif
   8746 _LT_EOF
   8747 	  # Now try linking the two files.
   8748 	  mv conftest.$ac_objext conftstm.$ac_objext
   8749 	  lt_globsym_save_LIBS=$LIBS
   8750 	  lt_globsym_save_CFLAGS=$CFLAGS
   8751 	  LIBS="conftstm.$ac_objext"
   8752 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   8753 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   8754   (eval $ac_link) 2>&5
   8755   ac_status=$?
   8756   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8757   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   8758 	    pipe_works=yes
   8759 	  fi
   8760 	  LIBS=$lt_globsym_save_LIBS
   8761 	  CFLAGS=$lt_globsym_save_CFLAGS
   8762 	else
   8763 	  echo "cannot find nm_test_func in $nlist" >&5
   8764 	fi
   8765       else
   8766 	echo "cannot find nm_test_var in $nlist" >&5
   8767       fi
   8768     else
   8769       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   8770     fi
   8771   else
   8772     echo "$progname: failed program was:" >&5
   8773     cat conftest.$ac_ext >&5
   8774   fi
   8775   rm -rf conftest* conftst*
   8776 
   8777   # Do not use the global_symbol_pipe unless it works.
   8778   if test "$pipe_works" = yes; then
   8779     break
   8780   else
   8781     lt_cv_sys_global_symbol_pipe=
   8782   fi
   8783 done
   8784 
   8785 fi
   8786 
   8787 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   8788   lt_cv_sys_global_symbol_to_cdecl=
   8789 fi
   8790 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   8791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   8792 $as_echo "failed" >&6; }
   8793 else
   8794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   8795 $as_echo "ok" >&6; }
   8796 fi
   8797 
   8798 # Response file support.
   8799 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8800   nm_file_list_spec='@'
   8801 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   8802   nm_file_list_spec='@'
   8803 fi
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 
   8819 
   8820 
   8821 
   8822 
   8823 
   8824 
   8825 
   8826 
   8827 
   8828 
   8829 
   8830 
   8831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   8832 $as_echo_n "checking for sysroot... " >&6; }
   8833 
   8834 # Check whether --with-sysroot was given.
   8835 if test "${with_sysroot+set}" = set; then :
   8836   withval=$with_sysroot;
   8837 else
   8838   with_sysroot=no
   8839 fi
   8840 
   8841 
   8842 lt_sysroot=
   8843 case ${with_sysroot} in #(
   8844  yes)
   8845    if test "$GCC" = yes; then
   8846      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   8847    fi
   8848    ;; #(
   8849  /*)
   8850    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   8851    ;; #(
   8852  no|'')
   8853    ;; #(
   8854  *)
   8855    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   8856 $as_echo "${with_sysroot}" >&6; }
   8857    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   8858    ;;
   8859 esac
   8860 
   8861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   8862 $as_echo "${lt_sysroot:-no}" >&6; }
   8863 
   8864 
   8865 
   8866 
   8867 
   8868 # Check whether --enable-libtool-lock was given.
   8869 if test "${enable_libtool_lock+set}" = set; then :
   8870   enableval=$enable_libtool_lock;
   8871 fi
   8872 
   8873 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   8874 
   8875 # Some flags need to be propagated to the compiler or linker for good
   8876 # libtool support.
   8877 case $host in
   8878 ia64-*-hpux*)
   8879   # Find out which ABI we are using.
   8880   echo 'int i;' > conftest.$ac_ext
   8881   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8882   (eval $ac_compile) 2>&5
   8883   ac_status=$?
   8884   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8885   test $ac_status = 0; }; then
   8886     case `/usr/bin/file conftest.$ac_objext` in
   8887       *ELF-32*)
   8888 	HPUX_IA64_MODE="32"
   8889 	;;
   8890       *ELF-64*)
   8891 	HPUX_IA64_MODE="64"
   8892 	;;
   8893     esac
   8894   fi
   8895   rm -rf conftest*
   8896   ;;
   8897 *-*-irix6*)
   8898   # Find out which ABI we are using.
   8899   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8900   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8901   (eval $ac_compile) 2>&5
   8902   ac_status=$?
   8903   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8904   test $ac_status = 0; }; then
   8905     if test "$lt_cv_prog_gnu_ld" = yes; then
   8906       case `/usr/bin/file conftest.$ac_objext` in
   8907 	*32-bit*)
   8908 	  LD="${LD-ld} -melf32bsmip"
   8909 	  ;;
   8910 	*N32*)
   8911 	  LD="${LD-ld} -melf32bmipn32"
   8912 	  ;;
   8913 	*64-bit*)
   8914 	  LD="${LD-ld} -melf64bmip"
   8915 	;;
   8916       esac
   8917     else
   8918       case `/usr/bin/file conftest.$ac_objext` in
   8919 	*32-bit*)
   8920 	  LD="${LD-ld} -32"
   8921 	  ;;
   8922 	*N32*)
   8923 	  LD="${LD-ld} -n32"
   8924 	  ;;
   8925 	*64-bit*)
   8926 	  LD="${LD-ld} -64"
   8927 	  ;;
   8928       esac
   8929     fi
   8930   fi
   8931   rm -rf conftest*
   8932   ;;
   8933 
   8934 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   8935 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   8936   # Find out which ABI we are using.
   8937   echo 'int i;' > conftest.$ac_ext
   8938   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8939   (eval $ac_compile) 2>&5
   8940   ac_status=$?
   8941   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8942   test $ac_status = 0; }; then
   8943     case `/usr/bin/file conftest.o` in
   8944       *32-bit*)
   8945 	case $host in
   8946 	  x86_64-*kfreebsd*-gnu)
   8947 	    LD="${LD-ld} -m elf_i386_fbsd"
   8948 	    ;;
   8949 	  x86_64-*linux*)
   8950 	    LD="${LD-ld} -m elf_i386"
   8951 	    ;;
   8952 	  ppc64-*linux*|powerpc64-*linux*)
   8953 	    LD="${LD-ld} -m elf32ppclinux"
   8954 	    ;;
   8955 	  s390x-*linux*)
   8956 	    LD="${LD-ld} -m elf_s390"
   8957 	    ;;
   8958 	  sparc64-*linux*)
   8959 	    LD="${LD-ld} -m elf32_sparc"
   8960 	    ;;
   8961 	esac
   8962 	;;
   8963       *64-bit*)
   8964 	case $host in
   8965 	  x86_64-*kfreebsd*-gnu)
   8966 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8967 	    ;;
   8968 	  x86_64-*linux*)
   8969 	    LD="${LD-ld} -m elf_x86_64"
   8970 	    ;;
   8971 	  ppc*-*linux*|powerpc*-*linux*)
   8972 	    LD="${LD-ld} -m elf64ppc"
   8973 	    ;;
   8974 	  s390*-*linux*|s390*-*tpf*)
   8975 	    LD="${LD-ld} -m elf64_s390"
   8976 	    ;;
   8977 	  sparc*-*linux*)
   8978 	    LD="${LD-ld} -m elf64_sparc"
   8979 	    ;;
   8980 	esac
   8981 	;;
   8982     esac
   8983   fi
   8984   rm -rf conftest*
   8985   ;;
   8986 
   8987 *-*-sco3.2v5*)
   8988   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8989   SAVE_CFLAGS="$CFLAGS"
   8990   CFLAGS="$CFLAGS -belf"
   8991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   8992 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   8993 if ${lt_cv_cc_needs_belf+:} false; then :
   8994   $as_echo_n "(cached) " >&6
   8995 else
   8996   ac_ext=c
   8997 ac_cpp='$CPP $CPPFLAGS'
   8998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9001 
   9002      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9003 /* end confdefs.h.  */
   9004 
   9005 int
   9006 main ()
   9007 {
   9008 
   9009   ;
   9010   return 0;
   9011 }
   9012 _ACEOF
   9013 if ac_fn_c_try_link "$LINENO"; then :
   9014   lt_cv_cc_needs_belf=yes
   9015 else
   9016   lt_cv_cc_needs_belf=no
   9017 fi
   9018 rm -f core conftest.err conftest.$ac_objext \
   9019     conftest$ac_exeext conftest.$ac_ext
   9020      ac_ext=c
   9021 ac_cpp='$CPP $CPPFLAGS'
   9022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9025 
   9026 fi
   9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   9028 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   9029   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   9030     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   9031     CFLAGS="$SAVE_CFLAGS"
   9032   fi
   9033   ;;
   9034 sparc*-*solaris*)
   9035   # Find out which ABI we are using.
   9036   echo 'int i;' > conftest.$ac_ext
   9037   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9038   (eval $ac_compile) 2>&5
   9039   ac_status=$?
   9040   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9041   test $ac_status = 0; }; then
   9042     case `/usr/bin/file conftest.o` in
   9043     *64-bit*)
   9044       case $lt_cv_prog_gnu_ld in
   9045       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   9046       *)
   9047 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   9048 	  LD="${LD-ld} -64"
   9049 	fi
   9050 	;;
   9051       esac
   9052       ;;
   9053     esac
   9054   fi
   9055   rm -rf conftest*
   9056   ;;
   9057 esac
   9058 
   9059 need_locks="$enable_libtool_lock"
   9060 
   9061 if test -n "$ac_tool_prefix"; then
   9062   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   9063 set dummy ${ac_tool_prefix}mt; ac_word=$2
   9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9065 $as_echo_n "checking for $ac_word... " >&6; }
   9066 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   9067   $as_echo_n "(cached) " >&6
   9068 else
   9069   if test -n "$MANIFEST_TOOL"; then
   9070   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   9071 else
   9072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9073 for as_dir in $PATH
   9074 do
   9075   IFS=$as_save_IFS
   9076   test -z "$as_dir" && as_dir=.
   9077     for ac_exec_ext in '' $ac_executable_extensions; do
   9078   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9079     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   9080     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9081     break 2
   9082   fi
   9083 done
   9084   done
   9085 IFS=$as_save_IFS
   9086 
   9087 fi
   9088 fi
   9089 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   9090 if test -n "$MANIFEST_TOOL"; then
   9091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   9092 $as_echo "$MANIFEST_TOOL" >&6; }
   9093 else
   9094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9095 $as_echo "no" >&6; }
   9096 fi
   9097 
   9098 
   9099 fi
   9100 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   9101   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   9102   # Extract the first word of "mt", so it can be a program name with args.
   9103 set dummy mt; ac_word=$2
   9104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9105 $as_echo_n "checking for $ac_word... " >&6; }
   9106 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   9107   $as_echo_n "(cached) " >&6
   9108 else
   9109   if test -n "$ac_ct_MANIFEST_TOOL"; then
   9110   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   9111 else
   9112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9113 for as_dir in $PATH
   9114 do
   9115   IFS=$as_save_IFS
   9116   test -z "$as_dir" && as_dir=.
   9117     for ac_exec_ext in '' $ac_executable_extensions; do
   9118   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9119     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   9120     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9121     break 2
   9122   fi
   9123 done
   9124   done
   9125 IFS=$as_save_IFS
   9126 
   9127 fi
   9128 fi
   9129 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   9130 if test -n "$ac_ct_MANIFEST_TOOL"; then
   9131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   9132 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   9133 else
   9134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9135 $as_echo "no" >&6; }
   9136 fi
   9137 
   9138   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   9139     MANIFEST_TOOL=":"
   9140   else
   9141     case $cross_compiling:$ac_tool_warned in
   9142 yes:)
   9143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9145 ac_tool_warned=yes ;;
   9146 esac
   9147     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   9148   fi
   9149 else
   9150   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   9151 fi
   9152 
   9153 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   9154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   9155 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   9156 if ${lt_cv_path_mainfest_tool+:} false; then :
   9157   $as_echo_n "(cached) " >&6
   9158 else
   9159   lt_cv_path_mainfest_tool=no
   9160   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   9161   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   9162   cat conftest.err >&5
   9163   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   9164     lt_cv_path_mainfest_tool=yes
   9165   fi
   9166   rm -f conftest*
   9167 fi
   9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   9169 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   9170 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   9171   MANIFEST_TOOL=:
   9172 fi
   9173 
   9174 
   9175 
   9176 
   9177 
   9178 
   9179   case $host_os in
   9180     rhapsody* | darwin*)
   9181     if test -n "$ac_tool_prefix"; then
   9182   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   9183 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   9184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9185 $as_echo_n "checking for $ac_word... " >&6; }
   9186 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   9187   $as_echo_n "(cached) " >&6
   9188 else
   9189   if test -n "$DSYMUTIL"; then
   9190   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   9191 else
   9192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9193 for as_dir in $PATH
   9194 do
   9195   IFS=$as_save_IFS
   9196   test -z "$as_dir" && as_dir=.
   9197     for ac_exec_ext in '' $ac_executable_extensions; do
   9198   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9199     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   9200     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9201     break 2
   9202   fi
   9203 done
   9204   done
   9205 IFS=$as_save_IFS
   9206 
   9207 fi
   9208 fi
   9209 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   9210 if test -n "$DSYMUTIL"; then
   9211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   9212 $as_echo "$DSYMUTIL" >&6; }
   9213 else
   9214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9215 $as_echo "no" >&6; }
   9216 fi
   9217 
   9218 
   9219 fi
   9220 if test -z "$ac_cv_prog_DSYMUTIL"; then
   9221   ac_ct_DSYMUTIL=$DSYMUTIL
   9222   # Extract the first word of "dsymutil", so it can be a program name with args.
   9223 set dummy dsymutil; ac_word=$2
   9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9225 $as_echo_n "checking for $ac_word... " >&6; }
   9226 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   9227   $as_echo_n "(cached) " >&6
   9228 else
   9229   if test -n "$ac_ct_DSYMUTIL"; then
   9230   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   9231 else
   9232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9233 for as_dir in $PATH
   9234 do
   9235   IFS=$as_save_IFS
   9236   test -z "$as_dir" && as_dir=.
   9237     for ac_exec_ext in '' $ac_executable_extensions; do
   9238   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9239     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   9240     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9241     break 2
   9242   fi
   9243 done
   9244   done
   9245 IFS=$as_save_IFS
   9246 
   9247 fi
   9248 fi
   9249 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   9250 if test -n "$ac_ct_DSYMUTIL"; then
   9251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   9252 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   9253 else
   9254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9255 $as_echo "no" >&6; }
   9256 fi
   9257 
   9258   if test "x$ac_ct_DSYMUTIL" = x; then
   9259     DSYMUTIL=":"
   9260   else
   9261     case $cross_compiling:$ac_tool_warned in
   9262 yes:)
   9263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9265 ac_tool_warned=yes ;;
   9266 esac
   9267     DSYMUTIL=$ac_ct_DSYMUTIL
   9268   fi
   9269 else
   9270   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   9271 fi
   9272 
   9273     if test -n "$ac_tool_prefix"; then
   9274   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   9275 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   9276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9277 $as_echo_n "checking for $ac_word... " >&6; }
   9278 if ${ac_cv_prog_NMEDIT+:} false; then :
   9279   $as_echo_n "(cached) " >&6
   9280 else
   9281   if test -n "$NMEDIT"; then
   9282   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   9283 else
   9284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9285 for as_dir in $PATH
   9286 do
   9287   IFS=$as_save_IFS
   9288   test -z "$as_dir" && as_dir=.
   9289     for ac_exec_ext in '' $ac_executable_extensions; do
   9290   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9291     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   9292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9293     break 2
   9294   fi
   9295 done
   9296   done
   9297 IFS=$as_save_IFS
   9298 
   9299 fi
   9300 fi
   9301 NMEDIT=$ac_cv_prog_NMEDIT
   9302 if test -n "$NMEDIT"; then
   9303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   9304 $as_echo "$NMEDIT" >&6; }
   9305 else
   9306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9307 $as_echo "no" >&6; }
   9308 fi
   9309 
   9310 
   9311 fi
   9312 if test -z "$ac_cv_prog_NMEDIT"; then
   9313   ac_ct_NMEDIT=$NMEDIT
   9314   # Extract the first word of "nmedit", so it can be a program name with args.
   9315 set dummy nmedit; ac_word=$2
   9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9317 $as_echo_n "checking for $ac_word... " >&6; }
   9318 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   9319   $as_echo_n "(cached) " >&6
   9320 else
   9321   if test -n "$ac_ct_NMEDIT"; then
   9322   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   9323 else
   9324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9325 for as_dir in $PATH
   9326 do
   9327   IFS=$as_save_IFS
   9328   test -z "$as_dir" && as_dir=.
   9329     for ac_exec_ext in '' $ac_executable_extensions; do
   9330   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9331     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   9332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9333     break 2
   9334   fi
   9335 done
   9336   done
   9337 IFS=$as_save_IFS
   9338 
   9339 fi
   9340 fi
   9341 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   9342 if test -n "$ac_ct_NMEDIT"; then
   9343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   9344 $as_echo "$ac_ct_NMEDIT" >&6; }
   9345 else
   9346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9347 $as_echo "no" >&6; }
   9348 fi
   9349 
   9350   if test "x$ac_ct_NMEDIT" = x; then
   9351     NMEDIT=":"
   9352   else
   9353     case $cross_compiling:$ac_tool_warned in
   9354 yes:)
   9355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9357 ac_tool_warned=yes ;;
   9358 esac
   9359     NMEDIT=$ac_ct_NMEDIT
   9360   fi
   9361 else
   9362   NMEDIT="$ac_cv_prog_NMEDIT"
   9363 fi
   9364 
   9365     if test -n "$ac_tool_prefix"; then
   9366   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   9367 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   9368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9369 $as_echo_n "checking for $ac_word... " >&6; }
   9370 if ${ac_cv_prog_LIPO+:} false; then :
   9371   $as_echo_n "(cached) " >&6
   9372 else
   9373   if test -n "$LIPO"; then
   9374   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   9375 else
   9376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9377 for as_dir in $PATH
   9378 do
   9379   IFS=$as_save_IFS
   9380   test -z "$as_dir" && as_dir=.
   9381     for ac_exec_ext in '' $ac_executable_extensions; do
   9382   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9383     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   9384     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9385     break 2
   9386   fi
   9387 done
   9388   done
   9389 IFS=$as_save_IFS
   9390 
   9391 fi
   9392 fi
   9393 LIPO=$ac_cv_prog_LIPO
   9394 if test -n "$LIPO"; then
   9395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   9396 $as_echo "$LIPO" >&6; }
   9397 else
   9398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9399 $as_echo "no" >&6; }
   9400 fi
   9401 
   9402 
   9403 fi
   9404 if test -z "$ac_cv_prog_LIPO"; then
   9405   ac_ct_LIPO=$LIPO
   9406   # Extract the first word of "lipo", so it can be a program name with args.
   9407 set dummy lipo; ac_word=$2
   9408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9409 $as_echo_n "checking for $ac_word... " >&6; }
   9410 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   9411   $as_echo_n "(cached) " >&6
   9412 else
   9413   if test -n "$ac_ct_LIPO"; then
   9414   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   9415 else
   9416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9417 for as_dir in $PATH
   9418 do
   9419   IFS=$as_save_IFS
   9420   test -z "$as_dir" && as_dir=.
   9421     for ac_exec_ext in '' $ac_executable_extensions; do
   9422   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9423     ac_cv_prog_ac_ct_LIPO="lipo"
   9424     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9425     break 2
   9426   fi
   9427 done
   9428   done
   9429 IFS=$as_save_IFS
   9430 
   9431 fi
   9432 fi
   9433 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   9434 if test -n "$ac_ct_LIPO"; then
   9435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   9436 $as_echo "$ac_ct_LIPO" >&6; }
   9437 else
   9438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9439 $as_echo "no" >&6; }
   9440 fi
   9441 
   9442   if test "x$ac_ct_LIPO" = x; then
   9443     LIPO=":"
   9444   else
   9445     case $cross_compiling:$ac_tool_warned in
   9446 yes:)
   9447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9449 ac_tool_warned=yes ;;
   9450 esac
   9451     LIPO=$ac_ct_LIPO
   9452   fi
   9453 else
   9454   LIPO="$ac_cv_prog_LIPO"
   9455 fi
   9456 
   9457     if test -n "$ac_tool_prefix"; then
   9458   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   9459 set dummy ${ac_tool_prefix}otool; ac_word=$2
   9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9461 $as_echo_n "checking for $ac_word... " >&6; }
   9462 if ${ac_cv_prog_OTOOL+:} false; then :
   9463   $as_echo_n "(cached) " >&6
   9464 else
   9465   if test -n "$OTOOL"; then
   9466   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   9467 else
   9468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9469 for as_dir in $PATH
   9470 do
   9471   IFS=$as_save_IFS
   9472   test -z "$as_dir" && as_dir=.
   9473     for ac_exec_ext in '' $ac_executable_extensions; do
   9474   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9475     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   9476     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9477     break 2
   9478   fi
   9479 done
   9480   done
   9481 IFS=$as_save_IFS
   9482 
   9483 fi
   9484 fi
   9485 OTOOL=$ac_cv_prog_OTOOL
   9486 if test -n "$OTOOL"; then
   9487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   9488 $as_echo "$OTOOL" >&6; }
   9489 else
   9490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9491 $as_echo "no" >&6; }
   9492 fi
   9493 
   9494 
   9495 fi
   9496 if test -z "$ac_cv_prog_OTOOL"; then
   9497   ac_ct_OTOOL=$OTOOL
   9498   # Extract the first word of "otool", so it can be a program name with args.
   9499 set dummy otool; ac_word=$2
   9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9501 $as_echo_n "checking for $ac_word... " >&6; }
   9502 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   9503   $as_echo_n "(cached) " >&6
   9504 else
   9505   if test -n "$ac_ct_OTOOL"; then
   9506   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   9507 else
   9508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9509 for as_dir in $PATH
   9510 do
   9511   IFS=$as_save_IFS
   9512   test -z "$as_dir" && as_dir=.
   9513     for ac_exec_ext in '' $ac_executable_extensions; do
   9514   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9515     ac_cv_prog_ac_ct_OTOOL="otool"
   9516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9517     break 2
   9518   fi
   9519 done
   9520   done
   9521 IFS=$as_save_IFS
   9522 
   9523 fi
   9524 fi
   9525 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   9526 if test -n "$ac_ct_OTOOL"; then
   9527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   9528 $as_echo "$ac_ct_OTOOL" >&6; }
   9529 else
   9530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9531 $as_echo "no" >&6; }
   9532 fi
   9533 
   9534   if test "x$ac_ct_OTOOL" = x; then
   9535     OTOOL=":"
   9536   else
   9537     case $cross_compiling:$ac_tool_warned in
   9538 yes:)
   9539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9541 ac_tool_warned=yes ;;
   9542 esac
   9543     OTOOL=$ac_ct_OTOOL
   9544   fi
   9545 else
   9546   OTOOL="$ac_cv_prog_OTOOL"
   9547 fi
   9548 
   9549     if test -n "$ac_tool_prefix"; then
   9550   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   9551 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   9552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9553 $as_echo_n "checking for $ac_word... " >&6; }
   9554 if ${ac_cv_prog_OTOOL64+:} false; then :
   9555   $as_echo_n "(cached) " >&6
   9556 else
   9557   if test -n "$OTOOL64"; then
   9558   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   9559 else
   9560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9561 for as_dir in $PATH
   9562 do
   9563   IFS=$as_save_IFS
   9564   test -z "$as_dir" && as_dir=.
   9565     for ac_exec_ext in '' $ac_executable_extensions; do
   9566   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9567     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   9568     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9569     break 2
   9570   fi
   9571 done
   9572   done
   9573 IFS=$as_save_IFS
   9574 
   9575 fi
   9576 fi
   9577 OTOOL64=$ac_cv_prog_OTOOL64
   9578 if test -n "$OTOOL64"; then
   9579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   9580 $as_echo "$OTOOL64" >&6; }
   9581 else
   9582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9583 $as_echo "no" >&6; }
   9584 fi
   9585 
   9586 
   9587 fi
   9588 if test -z "$ac_cv_prog_OTOOL64"; then
   9589   ac_ct_OTOOL64=$OTOOL64
   9590   # Extract the first word of "otool64", so it can be a program name with args.
   9591 set dummy otool64; ac_word=$2
   9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9593 $as_echo_n "checking for $ac_word... " >&6; }
   9594 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   9595   $as_echo_n "(cached) " >&6
   9596 else
   9597   if test -n "$ac_ct_OTOOL64"; then
   9598   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   9599 else
   9600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9601 for as_dir in $PATH
   9602 do
   9603   IFS=$as_save_IFS
   9604   test -z "$as_dir" && as_dir=.
   9605     for ac_exec_ext in '' $ac_executable_extensions; do
   9606   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9607     ac_cv_prog_ac_ct_OTOOL64="otool64"
   9608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9609     break 2
   9610   fi
   9611 done
   9612   done
   9613 IFS=$as_save_IFS
   9614 
   9615 fi
   9616 fi
   9617 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   9618 if test -n "$ac_ct_OTOOL64"; then
   9619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   9620 $as_echo "$ac_ct_OTOOL64" >&6; }
   9621 else
   9622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9623 $as_echo "no" >&6; }
   9624 fi
   9625 
   9626   if test "x$ac_ct_OTOOL64" = x; then
   9627     OTOOL64=":"
   9628   else
   9629     case $cross_compiling:$ac_tool_warned in
   9630 yes:)
   9631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9633 ac_tool_warned=yes ;;
   9634 esac
   9635     OTOOL64=$ac_ct_OTOOL64
   9636   fi
   9637 else
   9638   OTOOL64="$ac_cv_prog_OTOOL64"
   9639 fi
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 
   9648 
   9649 
   9650 
   9651 
   9652 
   9653 
   9654 
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   9668 $as_echo_n "checking for -single_module linker flag... " >&6; }
   9669 if ${lt_cv_apple_cc_single_mod+:} false; then :
   9670   $as_echo_n "(cached) " >&6
   9671 else
   9672   lt_cv_apple_cc_single_mod=no
   9673       if test -z "${LT_MULTI_MODULE}"; then
   9674 	# By default we will add the -single_module flag. You can override
   9675 	# by either setting the environment variable LT_MULTI_MODULE
   9676 	# non-empty at configure time, or by adding -multi_module to the
   9677 	# link flags.
   9678 	rm -rf libconftest.dylib*
   9679 	echo "int foo(void){return 1;}" > conftest.c
   9680 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9681 -dynamiclib -Wl,-single_module conftest.c" >&5
   9682 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9683 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   9684         _lt_result=$?
   9685 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   9686 	  lt_cv_apple_cc_single_mod=yes
   9687 	else
   9688 	  cat conftest.err >&5
   9689 	fi
   9690 	rm -rf libconftest.dylib*
   9691 	rm -f conftest.*
   9692       fi
   9693 fi
   9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   9695 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   9696     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   9697 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   9698 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   9699   $as_echo_n "(cached) " >&6
   9700 else
   9701   lt_cv_ld_exported_symbols_list=no
   9702       save_LDFLAGS=$LDFLAGS
   9703       echo "_main" > conftest.sym
   9704       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   9705       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9706 /* end confdefs.h.  */
   9707 
   9708 int
   9709 main ()
   9710 {
   9711 
   9712   ;
   9713   return 0;
   9714 }
   9715 _ACEOF
   9716 if ac_fn_c_try_link "$LINENO"; then :
   9717   lt_cv_ld_exported_symbols_list=yes
   9718 else
   9719   lt_cv_ld_exported_symbols_list=no
   9720 fi
   9721 rm -f core conftest.err conftest.$ac_objext \
   9722     conftest$ac_exeext conftest.$ac_ext
   9723 	LDFLAGS="$save_LDFLAGS"
   9724 
   9725 fi
   9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   9727 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   9728     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   9729 $as_echo_n "checking for -force_load linker flag... " >&6; }
   9730 if ${lt_cv_ld_force_load+:} false; then :
   9731   $as_echo_n "(cached) " >&6
   9732 else
   9733   lt_cv_ld_force_load=no
   9734       cat > conftest.c << _LT_EOF
   9735 int forced_loaded() { return 2;}
   9736 _LT_EOF
   9737       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   9738       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   9739       echo "$AR cru libconftest.a conftest.o" >&5
   9740       $AR cru libconftest.a conftest.o 2>&5
   9741       echo "$RANLIB libconftest.a" >&5
   9742       $RANLIB libconftest.a 2>&5
   9743       cat > conftest.c << _LT_EOF
   9744 int main() { return 0;}
   9745 _LT_EOF
   9746       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   9747       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   9748       _lt_result=$?
   9749       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   9750 	lt_cv_ld_force_load=yes
   9751       else
   9752 	cat conftest.err >&5
   9753       fi
   9754         rm -f conftest.err libconftest.a conftest conftest.c
   9755         rm -rf conftest.dSYM
   9756 
   9757 fi
   9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   9759 $as_echo "$lt_cv_ld_force_load" >&6; }
   9760     case $host_os in
   9761     rhapsody* | darwin1.[012])
   9762       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   9763     darwin1.*)
   9764       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   9765     darwin*) # darwin 5.x on
   9766       # if running on 10.5 or later, the deployment target defaults
   9767       # to the OS version, if on x86, and 10.4, the deployment
   9768       # target defaults to 10.4. Don't you love it?
   9769       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   9770 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   9771 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   9772 	10.[012]*)
   9773 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   9774 	10.*)
   9775 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   9776       esac
   9777     ;;
   9778   esac
   9779     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   9780       _lt_dar_single_mod='$single_module'
   9781     fi
   9782     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   9783       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   9784     else
   9785       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   9786     fi
   9787     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   9788       _lt_dsymutil='~$DSYMUTIL $lib || :'
   9789     else
   9790       _lt_dsymutil=
   9791     fi
   9792     ;;
   9793   esac
   9794 
   9795 for ac_header in dlfcn.h
   9796 do :
   9797   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   9798 "
   9799 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   9800   cat >>confdefs.h <<_ACEOF
   9801 #define HAVE_DLFCN_H 1
   9802 _ACEOF
   9803 
   9804 fi
   9805 
   9806 done
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 # Set options
   9813 
   9814 
   9815 
   9816         enable_dlopen=no
   9817 
   9818 
   9819 
   9820             # Check whether --enable-shared was given.
   9821 if test "${enable_shared+set}" = set; then :
   9822   enableval=$enable_shared; p=${PACKAGE-default}
   9823     case $enableval in
   9824     yes) enable_shared=yes ;;
   9825     no) enable_shared=no ;;
   9826     *)
   9827       enable_shared=no
   9828       # Look at the argument we got.  We use all the common list separators.
   9829       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   9830       for pkg in $enableval; do
   9831 	IFS="$lt_save_ifs"
   9832 	if test "X$pkg" = "X$p"; then
   9833 	  enable_shared=yes
   9834 	fi
   9835       done
   9836       IFS="$lt_save_ifs"
   9837       ;;
   9838     esac
   9839 else
   9840   enable_shared=yes
   9841 fi
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 # Check whether --with-pic was given.
   9854 if test "${with_pic+set}" = set; then :
   9855   withval=$with_pic; pic_mode="$withval"
   9856 else
   9857   pic_mode=default
   9858 fi
   9859 
   9860 
   9861 test -z "$pic_mode" && pic_mode=default
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869   # Check whether --enable-fast-install was given.
   9870 if test "${enable_fast_install+set}" = set; then :
   9871   enableval=$enable_fast_install; p=${PACKAGE-default}
   9872     case $enableval in
   9873     yes) enable_fast_install=yes ;;
   9874     no) enable_fast_install=no ;;
   9875     *)
   9876       enable_fast_install=no
   9877       # Look at the argument we got.  We use all the common list separators.
   9878       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   9879       for pkg in $enableval; do
   9880 	IFS="$lt_save_ifs"
   9881 	if test "X$pkg" = "X$p"; then
   9882 	  enable_fast_install=yes
   9883 	fi
   9884       done
   9885       IFS="$lt_save_ifs"
   9886       ;;
   9887     esac
   9888 else
   9889   enable_fast_install=yes
   9890 fi
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 # This can be used to rebuild libtool when needed
   9903 LIBTOOL_DEPS="$ltmain"
   9904 
   9905 # Always use our own libtool.
   9906 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 test -z "$LN_S" && LN_S="ln -s"
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 if test -n "${ZSH_VERSION+set}" ; then
   9949    setopt NO_GLOB_SUBST
   9950 fi
   9951 
   9952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9953 $as_echo_n "checking for objdir... " >&6; }
   9954 if ${lt_cv_objdir+:} false; then :
   9955   $as_echo_n "(cached) " >&6
   9956 else
   9957   rm -f .libs 2>/dev/null
   9958 mkdir .libs 2>/dev/null
   9959 if test -d .libs; then
   9960   lt_cv_objdir=.libs
   9961 else
   9962   # MS-DOS does not allow filenames that begin with a dot.
   9963   lt_cv_objdir=_libs
   9964 fi
   9965 rmdir .libs 2>/dev/null
   9966 fi
   9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9968 $as_echo "$lt_cv_objdir" >&6; }
   9969 objdir=$lt_cv_objdir
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 cat >>confdefs.h <<_ACEOF
   9976 #define LT_OBJDIR "$lt_cv_objdir/"
   9977 _ACEOF
   9978 
   9979 
   9980 
   9981 
   9982 case $host_os in
   9983 aix3*)
   9984   # AIX sometimes has problems with the GCC collect2 program.  For some
   9985   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9986   # vanish in a puff of smoke.
   9987   if test "X${COLLECT_NAMES+set}" != Xset; then
   9988     COLLECT_NAMES=
   9989     export COLLECT_NAMES
   9990   fi
   9991   ;;
   9992 esac
   9993 
   9994 # Global variables:
   9995 ofile=libtool
   9996 can_build_shared=yes
   9997 
   9998 # All known linkers require a `.a' archive for static linking (except MSVC,
   9999 # which needs '.lib').
   10000 libext=a
   10001 
   10002 with_gnu_ld="$lt_cv_prog_gnu_ld"
   10003 
   10004 old_CC="$CC"
   10005 old_CFLAGS="$CFLAGS"
   10006 
   10007 # Set sane defaults for various variables
   10008 test -z "$CC" && CC=cc
   10009 test -z "$LTCC" && LTCC=$CC
   10010 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   10011 test -z "$LD" && LD=ld
   10012 test -z "$ac_objext" && ac_objext=o
   10013 
   10014 for cc_temp in $compiler""; do
   10015   case $cc_temp in
   10016     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   10017     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   10018     \-*) ;;
   10019     *) break;;
   10020   esac
   10021 done
   10022 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   10023 
   10024 
   10025 # Only perform the check for file, if the check method requires it
   10026 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   10027 case $deplibs_check_method in
   10028 file_magic*)
   10029   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   10030     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   10031 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   10032 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   10033   $as_echo_n "(cached) " >&6
   10034 else
   10035   case $MAGIC_CMD in
   10036 [\\/*] |  ?:[\\/]*)
   10037   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   10038   ;;
   10039 *)
   10040   lt_save_MAGIC_CMD="$MAGIC_CMD"
   10041   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10042   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   10043   for ac_dir in $ac_dummy; do
   10044     IFS="$lt_save_ifs"
   10045     test -z "$ac_dir" && ac_dir=.
   10046     if test -f $ac_dir/${ac_tool_prefix}file; then
   10047       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   10048       if test -n "$file_magic_test_file"; then
   10049 	case $deplibs_check_method in
   10050 	"file_magic "*)
   10051 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   10052 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   10053 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   10054 	    $EGREP "$file_magic_regex" > /dev/null; then
   10055 	    :
   10056 	  else
   10057 	    cat <<_LT_EOF 1>&2
   10058 
   10059 *** Warning: the command libtool uses to detect shared libraries,
   10060 *** $file_magic_cmd, produces output that libtool cannot recognize.
   10061 *** The result is that libtool may fail to recognize shared libraries
   10062 *** as such.  This will affect the creation of libtool libraries that
   10063 *** depend on shared libraries, but programs linked with such libtool
   10064 *** libraries will work regardless of this problem.  Nevertheless, you
   10065 *** may want to report the problem to your system manager and/or to
   10066 *** bug-libtool@gnu.org
   10067 
   10068 _LT_EOF
   10069 	  fi ;;
   10070 	esac
   10071       fi
   10072       break
   10073     fi
   10074   done
   10075   IFS="$lt_save_ifs"
   10076   MAGIC_CMD="$lt_save_MAGIC_CMD"
   10077   ;;
   10078 esac
   10079 fi
   10080 
   10081 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   10082 if test -n "$MAGIC_CMD"; then
   10083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   10084 $as_echo "$MAGIC_CMD" >&6; }
   10085 else
   10086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10087 $as_echo "no" >&6; }
   10088 fi
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 if test -z "$lt_cv_path_MAGIC_CMD"; then
   10095   if test -n "$ac_tool_prefix"; then
   10096     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   10097 $as_echo_n "checking for file... " >&6; }
   10098 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   10099   $as_echo_n "(cached) " >&6
   10100 else
   10101   case $MAGIC_CMD in
   10102 [\\/*] |  ?:[\\/]*)
   10103   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   10104   ;;
   10105 *)
   10106   lt_save_MAGIC_CMD="$MAGIC_CMD"
   10107   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10108   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   10109   for ac_dir in $ac_dummy; do
   10110     IFS="$lt_save_ifs"
   10111     test -z "$ac_dir" && ac_dir=.
   10112     if test -f $ac_dir/file; then
   10113       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   10114       if test -n "$file_magic_test_file"; then
   10115 	case $deplibs_check_method in
   10116 	"file_magic "*)
   10117 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   10118 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   10119 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   10120 	    $EGREP "$file_magic_regex" > /dev/null; then
   10121 	    :
   10122 	  else
   10123 	    cat <<_LT_EOF 1>&2
   10124 
   10125 *** Warning: the command libtool uses to detect shared libraries,
   10126 *** $file_magic_cmd, produces output that libtool cannot recognize.
   10127 *** The result is that libtool may fail to recognize shared libraries
   10128 *** as such.  This will affect the creation of libtool libraries that
   10129 *** depend on shared libraries, but programs linked with such libtool
   10130 *** libraries will work regardless of this problem.  Nevertheless, you
   10131 *** may want to report the problem to your system manager and/or to
   10132 *** bug-libtool@gnu.org
   10133 
   10134 _LT_EOF
   10135 	  fi ;;
   10136 	esac
   10137       fi
   10138       break
   10139     fi
   10140   done
   10141   IFS="$lt_save_ifs"
   10142   MAGIC_CMD="$lt_save_MAGIC_CMD"
   10143   ;;
   10144 esac
   10145 fi
   10146 
   10147 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   10148 if test -n "$MAGIC_CMD"; then
   10149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   10150 $as_echo "$MAGIC_CMD" >&6; }
   10151 else
   10152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10153 $as_echo "no" >&6; }
   10154 fi
   10155 
   10156 
   10157   else
   10158     MAGIC_CMD=:
   10159   fi
   10160 fi
   10161 
   10162   fi
   10163   ;;
   10164 esac
   10165 
   10166 # Use C for the default configuration in the libtool script
   10167 
   10168 lt_save_CC="$CC"
   10169 ac_ext=c
   10170 ac_cpp='$CPP $CPPFLAGS'
   10171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10174 
   10175 
   10176 # Source file extension for C test sources.
   10177 ac_ext=c
   10178 
   10179 # Object file extension for compiled C test sources.
   10180 objext=o
   10181 objext=$objext
   10182 
   10183 # Code to be used in simple compile tests
   10184 lt_simple_compile_test_code="int some_variable = 0;"
   10185 
   10186 # Code to be used in simple link tests
   10187 lt_simple_link_test_code='int main(){return(0);}'
   10188 
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 # If no C compiler was specified, use CC.
   10196 LTCC=${LTCC-"$CC"}
   10197 
   10198 # If no C compiler flags were specified, use CFLAGS.
   10199 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10200 
   10201 # Allow CC to be a program name with arguments.
   10202 compiler=$CC
   10203 
   10204 # Save the default compiler, since it gets overwritten when the other
   10205 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   10206 compiler_DEFAULT=$CC
   10207 
   10208 # save warnings/boilerplate of simple test code
   10209 ac_outfile=conftest.$ac_objext
   10210 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   10211 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10212 _lt_compiler_boilerplate=`cat conftest.err`
   10213 $RM conftest*
   10214 
   10215 ac_outfile=conftest.$ac_objext
   10216 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   10217 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10218 _lt_linker_boilerplate=`cat conftest.err`
   10219 $RM -r conftest*
   10220 
   10221 
   10222 if test -n "$compiler"; then
   10223 
   10224 lt_prog_compiler_no_builtin_flag=
   10225 
   10226 if test "$GCC" = yes; then
   10227   case $cc_basename in
   10228   nvcc*)
   10229     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   10230   *)
   10231     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   10232   esac
   10233 
   10234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   10235 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   10236 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   10237   $as_echo_n "(cached) " >&6
   10238 else
   10239   lt_cv_prog_compiler_rtti_exceptions=no
   10240    ac_outfile=conftest.$ac_objext
   10241    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10242    lt_compiler_flag="-fno-rtti -fno-exceptions"
   10243    # Insert the option either (1) after the last *FLAGS variable, or
   10244    # (2) before a word containing "conftest.", or (3) at the end.
   10245    # Note that $ac_compile itself does not contain backslashes and begins
   10246    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10247    # The option is referenced via a variable to avoid confusing sed.
   10248    lt_compile=`echo "$ac_compile" | $SED \
   10249    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10250    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10251    -e 's:$: $lt_compiler_flag:'`
   10252    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10253    (eval "$lt_compile" 2>conftest.err)
   10254    ac_status=$?
   10255    cat conftest.err >&5
   10256    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10257    if (exit $ac_status) && test -s "$ac_outfile"; then
   10258      # The compiler can only warn and ignore the option if not recognized
   10259      # So say no if there are warnings other than the usual output.
   10260      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   10261      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10262      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   10263        lt_cv_prog_compiler_rtti_exceptions=yes
   10264      fi
   10265    fi
   10266    $RM conftest*
   10267 
   10268 fi
   10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   10270 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   10271 
   10272 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   10273     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   10274 else
   10275     :
   10276 fi
   10277 
   10278 fi
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285   lt_prog_compiler_wl=
   10286 lt_prog_compiler_pic=
   10287 lt_prog_compiler_static=
   10288 
   10289 
   10290   if test "$GCC" = yes; then
   10291     lt_prog_compiler_wl='-Wl,'
   10292     lt_prog_compiler_static='-static'
   10293 
   10294     case $host_os in
   10295       aix*)
   10296       # All AIX code is PIC.
   10297       if test "$host_cpu" = ia64; then
   10298 	# AIX 5 now supports IA64 processor
   10299 	lt_prog_compiler_static='-Bstatic'
   10300       fi
   10301       ;;
   10302 
   10303     amigaos*)
   10304       case $host_cpu in
   10305       powerpc)
   10306             # see comment about AmigaOS4 .so support
   10307             lt_prog_compiler_pic='-fPIC'
   10308         ;;
   10309       m68k)
   10310             # FIXME: we need at least 68020 code to build shared libraries, but
   10311             # adding the `-m68020' flag to GCC prevents building anything better,
   10312             # like `-m68040'.
   10313             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   10314         ;;
   10315       esac
   10316       ;;
   10317 
   10318     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   10319       # PIC is the default for these OSes.
   10320       ;;
   10321 
   10322     mingw* | cygwin* | pw32* | os2* | cegcc*)
   10323       # This hack is so that the source file can tell whether it is being
   10324       # built for inclusion in a dll (and should export symbols for example).
   10325       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   10326       # (--disable-auto-import) libraries
   10327       lt_prog_compiler_pic='-DDLL_EXPORT'
   10328       ;;
   10329 
   10330     darwin* | rhapsody*)
   10331       # PIC is the default on this platform
   10332       # Common symbols not allowed in MH_DYLIB files
   10333       lt_prog_compiler_pic='-fno-common'
   10334       ;;
   10335 
   10336     haiku*)
   10337       # PIC is the default for Haiku.
   10338       # The "-static" flag exists, but is broken.
   10339       lt_prog_compiler_static=
   10340       ;;
   10341 
   10342     hpux*)
   10343       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   10344       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   10345       # sets the default TLS model and affects inlining.
   10346       case $host_cpu in
   10347       hppa*64*)
   10348 	# +Z the default
   10349 	;;
   10350       *)
   10351 	lt_prog_compiler_pic='-fPIC'
   10352 	;;
   10353       esac
   10354       ;;
   10355 
   10356     interix[3-9]*)
   10357       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   10358       # Instead, we relocate shared libraries at runtime.
   10359       ;;
   10360 
   10361     msdosdjgpp*)
   10362       # Just because we use GCC doesn't mean we suddenly get shared libraries
   10363       # on systems that don't support them.
   10364       lt_prog_compiler_can_build_shared=no
   10365       enable_shared=no
   10366       ;;
   10367 
   10368     *nto* | *qnx*)
   10369       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10370       # it will coredump.
   10371       lt_prog_compiler_pic='-fPIC -shared'
   10372       ;;
   10373 
   10374     sysv4*MP*)
   10375       if test -d /usr/nec; then
   10376 	lt_prog_compiler_pic=-Kconform_pic
   10377       fi
   10378       ;;
   10379 
   10380     *)
   10381       lt_prog_compiler_pic='-fPIC'
   10382       ;;
   10383     esac
   10384 
   10385     case $cc_basename in
   10386     nvcc*) # Cuda Compiler Driver 2.2
   10387       lt_prog_compiler_wl='-Xlinker '
   10388       lt_prog_compiler_pic='-Xcompiler -fPIC'
   10389       ;;
   10390     esac
   10391   else
   10392     # PORTME Check for flag to pass linker flags through the system compiler.
   10393     case $host_os in
   10394     aix*)
   10395       lt_prog_compiler_wl='-Wl,'
   10396       if test "$host_cpu" = ia64; then
   10397 	# AIX 5 now supports IA64 processor
   10398 	lt_prog_compiler_static='-Bstatic'
   10399       else
   10400 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   10401       fi
   10402       ;;
   10403 
   10404     mingw* | cygwin* | pw32* | os2* | cegcc*)
   10405       # This hack is so that the source file can tell whether it is being
   10406       # built for inclusion in a dll (and should export symbols for example).
   10407       lt_prog_compiler_pic='-DDLL_EXPORT'
   10408       ;;
   10409 
   10410     hpux9* | hpux10* | hpux11*)
   10411       lt_prog_compiler_wl='-Wl,'
   10412       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   10413       # not for PA HP-UX.
   10414       case $host_cpu in
   10415       hppa*64*|ia64*)
   10416 	# +Z the default
   10417 	;;
   10418       *)
   10419 	lt_prog_compiler_pic='+Z'
   10420 	;;
   10421       esac
   10422       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   10423       lt_prog_compiler_static='${wl}-a ${wl}archive'
   10424       ;;
   10425 
   10426     irix5* | irix6* | nonstopux*)
   10427       lt_prog_compiler_wl='-Wl,'
   10428       # PIC (with -KPIC) is the default.
   10429       lt_prog_compiler_static='-non_shared'
   10430       ;;
   10431 
   10432     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10433       case $cc_basename in
   10434       # old Intel for x86_64 which still supported -KPIC.
   10435       ecc*)
   10436 	lt_prog_compiler_wl='-Wl,'
   10437 	lt_prog_compiler_pic='-KPIC'
   10438 	lt_prog_compiler_static='-static'
   10439         ;;
   10440       # icc used to be incompatible with GCC.
   10441       # ICC 10 doesn't accept -KPIC any more.
   10442       icc* | ifort*)
   10443 	lt_prog_compiler_wl='-Wl,'
   10444 	lt_prog_compiler_pic='-fPIC'
   10445 	lt_prog_compiler_static='-static'
   10446         ;;
   10447       # Lahey Fortran 8.1.
   10448       lf95*)
   10449 	lt_prog_compiler_wl='-Wl,'
   10450 	lt_prog_compiler_pic='--shared'
   10451 	lt_prog_compiler_static='--static'
   10452 	;;
   10453       nagfor*)
   10454 	# NAG Fortran compiler
   10455 	lt_prog_compiler_wl='-Wl,-Wl,,'
   10456 	lt_prog_compiler_pic='-PIC'
   10457 	lt_prog_compiler_static='-Bstatic'
   10458 	;;
   10459       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   10460         # Portland Group compilers (*not* the Pentium gcc compiler,
   10461 	# which looks to be a dead project)
   10462 	lt_prog_compiler_wl='-Wl,'
   10463 	lt_prog_compiler_pic='-fpic'
   10464 	lt_prog_compiler_static='-Bstatic'
   10465         ;;
   10466       ccc*)
   10467         lt_prog_compiler_wl='-Wl,'
   10468         # All Alpha code is PIC.
   10469         lt_prog_compiler_static='-non_shared'
   10470         ;;
   10471       xl* | bgxl* | bgf* | mpixl*)
   10472 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   10473 	lt_prog_compiler_wl='-Wl,'
   10474 	lt_prog_compiler_pic='-qpic'
   10475 	lt_prog_compiler_static='-qstaticlink'
   10476 	;;
   10477       *)
   10478 	case `$CC -V 2>&1 | sed 5q` in
   10479 	*Sun\ F* | *Sun*Fortran*)
   10480 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   10481 	  lt_prog_compiler_pic='-KPIC'
   10482 	  lt_prog_compiler_static='-Bstatic'
   10483 	  lt_prog_compiler_wl=''
   10484 	  ;;
   10485 	*Sun\ C*)
   10486 	  # Sun C 5.9
   10487 	  lt_prog_compiler_pic='-KPIC'
   10488 	  lt_prog_compiler_static='-Bstatic'
   10489 	  lt_prog_compiler_wl='-Wl,'
   10490 	  ;;
   10491 	esac
   10492 	;;
   10493       esac
   10494       ;;
   10495 
   10496     newsos6)
   10497       lt_prog_compiler_pic='-KPIC'
   10498       lt_prog_compiler_static='-Bstatic'
   10499       ;;
   10500 
   10501     *nto* | *qnx*)
   10502       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10503       # it will coredump.
   10504       lt_prog_compiler_pic='-fPIC -shared'
   10505       ;;
   10506 
   10507     osf3* | osf4* | osf5*)
   10508       lt_prog_compiler_wl='-Wl,'
   10509       # All OSF/1 code is PIC.
   10510       lt_prog_compiler_static='-non_shared'
   10511       ;;
   10512 
   10513     rdos*)
   10514       lt_prog_compiler_static='-non_shared'
   10515       ;;
   10516 
   10517     solaris*)
   10518       lt_prog_compiler_pic='-KPIC'
   10519       lt_prog_compiler_static='-Bstatic'
   10520       case $cc_basename in
   10521       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   10522 	lt_prog_compiler_wl='-Qoption ld ';;
   10523       *)
   10524 	lt_prog_compiler_wl='-Wl,';;
   10525       esac
   10526       ;;
   10527 
   10528     sunos4*)
   10529       lt_prog_compiler_wl='-Qoption ld '
   10530       lt_prog_compiler_pic='-PIC'
   10531       lt_prog_compiler_static='-Bstatic'
   10532       ;;
   10533 
   10534     sysv4 | sysv4.2uw2* | sysv4.3*)
   10535       lt_prog_compiler_wl='-Wl,'
   10536       lt_prog_compiler_pic='-KPIC'
   10537       lt_prog_compiler_static='-Bstatic'
   10538       ;;
   10539 
   10540     sysv4*MP*)
   10541       if test -d /usr/nec ;then
   10542 	lt_prog_compiler_pic='-Kconform_pic'
   10543 	lt_prog_compiler_static='-Bstatic'
   10544       fi
   10545       ;;
   10546 
   10547     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   10548       lt_prog_compiler_wl='-Wl,'
   10549       lt_prog_compiler_pic='-KPIC'
   10550       lt_prog_compiler_static='-Bstatic'
   10551       ;;
   10552 
   10553     unicos*)
   10554       lt_prog_compiler_wl='-Wl,'
   10555       lt_prog_compiler_can_build_shared=no
   10556       ;;
   10557 
   10558     uts4*)
   10559       lt_prog_compiler_pic='-pic'
   10560       lt_prog_compiler_static='-Bstatic'
   10561       ;;
   10562 
   10563     *)
   10564       lt_prog_compiler_can_build_shared=no
   10565       ;;
   10566     esac
   10567   fi
   10568 
   10569 case $host_os in
   10570   # For platforms which do not support PIC, -DPIC is meaningless:
   10571   *djgpp*)
   10572     lt_prog_compiler_pic=
   10573     ;;
   10574   *)
   10575     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   10576     ;;
   10577 esac
   10578 
   10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   10580 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   10581 if ${lt_cv_prog_compiler_pic+:} false; then :
   10582   $as_echo_n "(cached) " >&6
   10583 else
   10584   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   10585 fi
   10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   10587 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   10588 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   10589 
   10590 #
   10591 # Check to make sure the PIC flag actually works.
   10592 #
   10593 if test -n "$lt_prog_compiler_pic"; then
   10594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   10595 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   10596 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   10597   $as_echo_n "(cached) " >&6
   10598 else
   10599   lt_cv_prog_compiler_pic_works=no
   10600    ac_outfile=conftest.$ac_objext
   10601    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10602    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   10603    # Insert the option either (1) after the last *FLAGS variable, or
   10604    # (2) before a word containing "conftest.", or (3) at the end.
   10605    # Note that $ac_compile itself does not contain backslashes and begins
   10606    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10607    # The option is referenced via a variable to avoid confusing sed.
   10608    lt_compile=`echo "$ac_compile" | $SED \
   10609    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10610    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10611    -e 's:$: $lt_compiler_flag:'`
   10612    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10613    (eval "$lt_compile" 2>conftest.err)
   10614    ac_status=$?
   10615    cat conftest.err >&5
   10616    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10617    if (exit $ac_status) && test -s "$ac_outfile"; then
   10618      # The compiler can only warn and ignore the option if not recognized
   10619      # So say no if there are warnings other than the usual output.
   10620      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   10621      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10622      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   10623        lt_cv_prog_compiler_pic_works=yes
   10624      fi
   10625    fi
   10626    $RM conftest*
   10627 
   10628 fi
   10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   10630 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   10631 
   10632 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   10633     case $lt_prog_compiler_pic in
   10634      "" | " "*) ;;
   10635      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   10636      esac
   10637 else
   10638     lt_prog_compiler_pic=
   10639      lt_prog_compiler_can_build_shared=no
   10640 fi
   10641 
   10642 fi
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 #
   10655 # Check to make sure the static flag actually works.
   10656 #
   10657 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   10659 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   10660 if ${lt_cv_prog_compiler_static_works+:} false; then :
   10661   $as_echo_n "(cached) " >&6
   10662 else
   10663   lt_cv_prog_compiler_static_works=no
   10664    save_LDFLAGS="$LDFLAGS"
   10665    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   10666    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10667    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10668      # The linker can only warn and ignore the option if not recognized
   10669      # So say no if there are warnings
   10670      if test -s conftest.err; then
   10671        # Append any errors to the config.log.
   10672        cat conftest.err 1>&5
   10673        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10674        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10675        if diff conftest.exp conftest.er2 >/dev/null; then
   10676          lt_cv_prog_compiler_static_works=yes
   10677        fi
   10678      else
   10679        lt_cv_prog_compiler_static_works=yes
   10680      fi
   10681    fi
   10682    $RM -r conftest*
   10683    LDFLAGS="$save_LDFLAGS"
   10684 
   10685 fi
   10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   10687 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   10688 
   10689 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   10690     :
   10691 else
   10692     lt_prog_compiler_static=
   10693 fi
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 
   10701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10702 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10703 if ${lt_cv_prog_compiler_c_o+:} false; then :
   10704   $as_echo_n "(cached) " >&6
   10705 else
   10706   lt_cv_prog_compiler_c_o=no
   10707    $RM -r conftest 2>/dev/null
   10708    mkdir conftest
   10709    cd conftest
   10710    mkdir out
   10711    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10712 
   10713    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10714    # Insert the option either (1) after the last *FLAGS variable, or
   10715    # (2) before a word containing "conftest.", or (3) at the end.
   10716    # Note that $ac_compile itself does not contain backslashes and begins
   10717    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10718    lt_compile=`echo "$ac_compile" | $SED \
   10719    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10720    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10721    -e 's:$: $lt_compiler_flag:'`
   10722    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10723    (eval "$lt_compile" 2>out/conftest.err)
   10724    ac_status=$?
   10725    cat out/conftest.err >&5
   10726    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10727    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10728    then
   10729      # The compiler can only warn and ignore the option if not recognized
   10730      # So say no if there are warnings
   10731      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10732      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10733      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10734        lt_cv_prog_compiler_c_o=yes
   10735      fi
   10736    fi
   10737    chmod u+w . 2>&5
   10738    $RM conftest*
   10739    # SGI C++ compiler will create directory out/ii_files/ for
   10740    # template instantiation
   10741    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10742    $RM out/* && rmdir out
   10743    cd ..
   10744    $RM -r conftest
   10745    $RM conftest*
   10746 
   10747 fi
   10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10749 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10757 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10758 if ${lt_cv_prog_compiler_c_o+:} false; then :
   10759   $as_echo_n "(cached) " >&6
   10760 else
   10761   lt_cv_prog_compiler_c_o=no
   10762    $RM -r conftest 2>/dev/null
   10763    mkdir conftest
   10764    cd conftest
   10765    mkdir out
   10766    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10767 
   10768    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10769    # Insert the option either (1) after the last *FLAGS variable, or
   10770    # (2) before a word containing "conftest.", or (3) at the end.
   10771    # Note that $ac_compile itself does not contain backslashes and begins
   10772    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10773    lt_compile=`echo "$ac_compile" | $SED \
   10774    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10775    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10776    -e 's:$: $lt_compiler_flag:'`
   10777    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10778    (eval "$lt_compile" 2>out/conftest.err)
   10779    ac_status=$?
   10780    cat out/conftest.err >&5
   10781    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10782    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10783    then
   10784      # The compiler can only warn and ignore the option if not recognized
   10785      # So say no if there are warnings
   10786      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10787      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10788      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10789        lt_cv_prog_compiler_c_o=yes
   10790      fi
   10791    fi
   10792    chmod u+w . 2>&5
   10793    $RM conftest*
   10794    # SGI C++ compiler will create directory out/ii_files/ for
   10795    # template instantiation
   10796    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10797    $RM out/* && rmdir out
   10798    cd ..
   10799    $RM -r conftest
   10800    $RM conftest*
   10801 
   10802 fi
   10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10804 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   10805 
   10806 
   10807 
   10808 
   10809 hard_links="nottested"
   10810 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   10811   # do not overwrite the value of need_locks provided by the user
   10812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10813 $as_echo_n "checking if we can lock with hard links... " >&6; }
   10814   hard_links=yes
   10815   $RM conftest*
   10816   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10817   touch conftest.a
   10818   ln conftest.a conftest.b 2>&5 || hard_links=no
   10819   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10821 $as_echo "$hard_links" >&6; }
   10822   if test "$hard_links" = no; then
   10823     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   10824 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   10825     need_locks=warn
   10826   fi
   10827 else
   10828   need_locks=no
   10829 fi
   10830 
   10831 
   10832 
   10833 
   10834 
   10835 
   10836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10837 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10838 
   10839   runpath_var=
   10840   allow_undefined_flag=
   10841   always_export_symbols=no
   10842   archive_cmds=
   10843   archive_expsym_cmds=
   10844   compiler_needs_object=no
   10845   enable_shared_with_static_runtimes=no
   10846   export_dynamic_flag_spec=
   10847   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10848   hardcode_automatic=no
   10849   hardcode_direct=no
   10850   hardcode_direct_absolute=no
   10851   hardcode_libdir_flag_spec=
   10852   hardcode_libdir_flag_spec_ld=
   10853   hardcode_libdir_separator=
   10854   hardcode_minus_L=no
   10855   hardcode_shlibpath_var=unsupported
   10856   inherit_rpath=no
   10857   link_all_deplibs=unknown
   10858   module_cmds=
   10859   module_expsym_cmds=
   10860   old_archive_from_new_cmds=
   10861   old_archive_from_expsyms_cmds=
   10862   thread_safe_flag_spec=
   10863   whole_archive_flag_spec=
   10864   # include_expsyms should be a list of space-separated symbols to be *always*
   10865   # included in the symbol list
   10866   include_expsyms=
   10867   # exclude_expsyms can be an extended regexp of symbols to exclude
   10868   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   10869   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   10870   # as well as any symbol that contains `d'.
   10871   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10872   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10873   # platforms (ab)use it in PIC code, but their linkers get confused if
   10874   # the symbol is explicitly referenced.  Since portable code cannot
   10875   # rely on this symbol name, it's probably fine to never include it in
   10876   # preloaded symbol tables.
   10877   # Exclude shared library initialization/finalization symbols.
   10878   extract_expsyms_cmds=
   10879 
   10880   case $host_os in
   10881   cygwin* | mingw* | pw32* | cegcc*)
   10882     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   10883     # When not using gcc, we currently assume that we are using
   10884     # Microsoft Visual C++.
   10885     if test "$GCC" != yes; then
   10886       with_gnu_ld=no
   10887     fi
   10888     ;;
   10889   interix*)
   10890     # we just hope/assume this is gcc and not c89 (= MSVC++)
   10891     with_gnu_ld=yes
   10892     ;;
   10893   openbsd*)
   10894     with_gnu_ld=no
   10895     ;;
   10896   esac
   10897 
   10898   ld_shlibs=yes
   10899 
   10900   # On some targets, GNU ld is compatible enough with the native linker
   10901   # that we're better off using the native interface for both.
   10902   lt_use_gnu_ld_interface=no
   10903   if test "$with_gnu_ld" = yes; then
   10904     case $host_os in
   10905       aix*)
   10906 	# The AIX port of GNU ld has always aspired to compatibility
   10907 	# with the native linker.  However, as the warning in the GNU ld
   10908 	# block says, versions before 2.19.5* couldn't really create working
   10909 	# shared libraries, regardless of the interface used.
   10910 	case `$LD -v 2>&1` in
   10911 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10912 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10913 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10914 	  *)
   10915 	    lt_use_gnu_ld_interface=yes
   10916 	    ;;
   10917 	esac
   10918 	;;
   10919       *)
   10920 	lt_use_gnu_ld_interface=yes
   10921 	;;
   10922     esac
   10923   fi
   10924 
   10925   if test "$lt_use_gnu_ld_interface" = yes; then
   10926     # If archive_cmds runs LD, not CC, wlarc should be empty
   10927     wlarc='${wl}'
   10928 
   10929     # Set some defaults for GNU ld with shared library support. These
   10930     # are reset later if shared libraries are not supported. Putting them
   10931     # here allows them to be overridden if necessary.
   10932     runpath_var=LD_RUN_PATH
   10933     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10934     export_dynamic_flag_spec='${wl}--export-dynamic'
   10935     # ancient GNU ld didn't support --whole-archive et. al.
   10936     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10937       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10938     else
   10939       whole_archive_flag_spec=
   10940     fi
   10941     supports_anon_versioning=no
   10942     case `$LD -v 2>&1` in
   10943       *GNU\ gold*) supports_anon_versioning=yes ;;
   10944       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10945       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10946       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10947       *\ 2.11.*) ;; # other 2.11 versions
   10948       *) supports_anon_versioning=yes ;;
   10949     esac
   10950 
   10951     # See if GNU ld supports shared libraries.
   10952     case $host_os in
   10953     aix[3-9]*)
   10954       # On AIX/PPC, the GNU linker is very broken
   10955       if test "$host_cpu" != ia64; then
   10956 	ld_shlibs=no
   10957 	cat <<_LT_EOF 1>&2
   10958 
   10959 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10960 *** to be unable to reliably create shared libraries on AIX.
   10961 *** Therefore, libtool is disabling shared libraries support.  If you
   10962 *** really care for shared libraries, you may want to install binutils
   10963 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10964 *** You will then need to restart the configuration process.
   10965 
   10966 _LT_EOF
   10967       fi
   10968       ;;
   10969 
   10970     amigaos*)
   10971       case $host_cpu in
   10972       powerpc)
   10973             # see comment about AmigaOS4 .so support
   10974             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10975             archive_expsym_cmds=''
   10976         ;;
   10977       m68k)
   10978             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   10979             hardcode_libdir_flag_spec='-L$libdir'
   10980             hardcode_minus_L=yes
   10981         ;;
   10982       esac
   10983       ;;
   10984 
   10985     beos*)
   10986       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10987 	allow_undefined_flag=unsupported
   10988 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10989 	# support --undefined.  This deserves some investigation.  FIXME
   10990 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10991       else
   10992 	ld_shlibs=no
   10993       fi
   10994       ;;
   10995 
   10996     cygwin* | mingw* | pw32* | cegcc*)
   10997       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10998       # as there is no search path for DLLs.
   10999       hardcode_libdir_flag_spec='-L$libdir'
   11000       export_dynamic_flag_spec='${wl}--export-all-symbols'
   11001       allow_undefined_flag=unsupported
   11002       always_export_symbols=no
   11003       enable_shared_with_static_runtimes=yes
   11004       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   11005       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   11006 
   11007       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   11008         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   11009 	# If the export-symbols file already is a .def file (1st line
   11010 	# is EXPORTS), use it as is; otherwise, prepend...
   11011 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11012 	  cp $export_symbols $output_objdir/$soname.def;
   11013 	else
   11014 	  echo EXPORTS > $output_objdir/$soname.def;
   11015 	  cat $export_symbols >> $output_objdir/$soname.def;
   11016 	fi~
   11017 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   11018       else
   11019 	ld_shlibs=no
   11020       fi
   11021       ;;
   11022 
   11023     haiku*)
   11024       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11025       link_all_deplibs=yes
   11026       ;;
   11027 
   11028     interix[3-9]*)
   11029       hardcode_direct=no
   11030       hardcode_shlibpath_var=no
   11031       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   11032       export_dynamic_flag_spec='${wl}-E'
   11033       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11034       # Instead, shared libraries are loaded at an image base (0x10000000 by
   11035       # default) and relocated if they conflict, which is a slow very memory
   11036       # consuming and fragmenting process.  To avoid this, we pick a random,
   11037       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11038       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11039       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   11040       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   11041       ;;
   11042 
   11043     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   11044       tmp_diet=no
   11045       if test "$host_os" = linux-dietlibc; then
   11046 	case $cc_basename in
   11047 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   11048 	esac
   11049       fi
   11050       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   11051 	 && test "$tmp_diet" = no
   11052       then
   11053 	tmp_addflag=' $pic_flag'
   11054 	tmp_sharedflag='-shared'
   11055 	case $cc_basename,$host_cpu in
   11056         pgcc*)				# Portland Group C compiler
   11057 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   11058 	  tmp_addflag=' $pic_flag'
   11059 	  ;;
   11060 	pgf77* | pgf90* | pgf95* | pgfortran*)
   11061 					# Portland Group f77 and f90 compilers
   11062 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   11063 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   11064 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   11065 	  tmp_addflag=' -i_dynamic' ;;
   11066 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   11067 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   11068 	ifc* | ifort*)			# Intel Fortran compiler
   11069 	  tmp_addflag=' -nofor_main' ;;
   11070 	lf95*)				# Lahey Fortran 8.1
   11071 	  whole_archive_flag_spec=
   11072 	  tmp_sharedflag='--shared' ;;
   11073 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   11074 	  tmp_sharedflag='-qmkshrobj'
   11075 	  tmp_addflag= ;;
   11076 	nvcc*)	# Cuda Compiler Driver 2.2
   11077 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   11078 	  compiler_needs_object=yes
   11079 	  ;;
   11080 	esac
   11081 	case `$CC -V 2>&1 | sed 5q` in
   11082 	*Sun\ C*)			# Sun C 5.9
   11083 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   11084 	  compiler_needs_object=yes
   11085 	  tmp_sharedflag='-G' ;;
   11086 	*Sun\ F*)			# Sun Fortran 8.3
   11087 	  tmp_sharedflag='-G' ;;
   11088 	esac
   11089 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11090 
   11091         if test "x$supports_anon_versioning" = xyes; then
   11092           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   11093 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   11094 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   11095 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   11096         fi
   11097 
   11098 	case $cc_basename in
   11099 	xlf* | bgf* | bgxlf* | mpixlf*)
   11100 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   11101 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   11102 	  hardcode_libdir_flag_spec=
   11103 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   11104 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   11105 	  if test "x$supports_anon_versioning" = xyes; then
   11106 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   11107 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   11108 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   11109 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   11110 	  fi
   11111 	  ;;
   11112 	esac
   11113       else
   11114         ld_shlibs=no
   11115       fi
   11116       ;;
   11117 
   11118     netbsd*)
   11119       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11120 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   11121 	wlarc=
   11122       else
   11123 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11124 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   11125       fi
   11126       ;;
   11127 
   11128     solaris*)
   11129       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   11130 	ld_shlibs=no
   11131 	cat <<_LT_EOF 1>&2
   11132 
   11133 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   11134 *** create shared libraries on Solaris systems.  Therefore, libtool
   11135 *** is disabling shared libraries support.  We urge you to upgrade GNU
   11136 *** binutils to release 2.9.1 or newer.  Another option is to modify
   11137 *** your PATH or compiler configuration so that the native linker is
   11138 *** used, and then restart.
   11139 
   11140 _LT_EOF
   11141       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11142 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11143 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   11144       else
   11145 	ld_shlibs=no
   11146       fi
   11147       ;;
   11148 
   11149     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   11150       case `$LD -v 2>&1` in
   11151         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   11152 	ld_shlibs=no
   11153 	cat <<_LT_EOF 1>&2
   11154 
   11155 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   11156 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   11157 *** is disabling shared libraries support.  We urge you to upgrade GNU
   11158 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   11159 *** your PATH or compiler configuration so that the native linker is
   11160 *** used, and then restart.
   11161 
   11162 _LT_EOF
   11163 	;;
   11164 	*)
   11165 	  # For security reasons, it is highly recommended that you always
   11166 	  # use absolute paths for naming shared libraries, and exclude the
   11167 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   11168 	  # requires that you compile everything twice, which is a pain.
   11169 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11170 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   11171 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11172 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   11173 	  else
   11174 	    ld_shlibs=no
   11175 	  fi
   11176 	;;
   11177       esac
   11178       ;;
   11179 
   11180     sunos4*)
   11181       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11182       wlarc=
   11183       hardcode_direct=yes
   11184       hardcode_shlibpath_var=no
   11185       ;;
   11186 
   11187     *)
   11188       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11189 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11190 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   11191       else
   11192 	ld_shlibs=no
   11193       fi
   11194       ;;
   11195     esac
   11196 
   11197     if test "$ld_shlibs" = no; then
   11198       runpath_var=
   11199       hardcode_libdir_flag_spec=
   11200       export_dynamic_flag_spec=
   11201       whole_archive_flag_spec=
   11202     fi
   11203   else
   11204     # PORTME fill in a description of your system's linker (not GNU ld)
   11205     case $host_os in
   11206     aix3*)
   11207       allow_undefined_flag=unsupported
   11208       always_export_symbols=yes
   11209       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   11210       # Note: this linker hardcodes the directories in LIBPATH if there
   11211       # are no directories specified by -L.
   11212       hardcode_minus_L=yes
   11213       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   11214 	# Neither direct hardcoding nor static linking is supported with a
   11215 	# broken collect2.
   11216 	hardcode_direct=unsupported
   11217       fi
   11218       ;;
   11219 
   11220     aix[4-9]*)
   11221       if test "$host_cpu" = ia64; then
   11222 	# On IA64, the linker does run time linking by default, so we don't
   11223 	# have to do anything special.
   11224 	aix_use_runtimelinking=no
   11225 	exp_sym_flag='-Bexport'
   11226 	no_entry_flag=""
   11227       else
   11228 	# If we're using GNU nm, then we don't want the "-C" option.
   11229 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   11230 	# Also, AIX nm treats weak defined symbols like other global
   11231 	# defined symbols, whereas GNU nm marks them as "W".
   11232 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   11233 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   11234 	else
   11235 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   11236 	fi
   11237 	aix_use_runtimelinking=no
   11238 
   11239 	# Test if we are trying to use run time linking or normal
   11240 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11241 	# need to do runtime linking.
   11242 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11243 	  for ld_flag in $LDFLAGS; do
   11244 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   11245 	    aix_use_runtimelinking=yes
   11246 	    break
   11247 	  fi
   11248 	  done
   11249 	  ;;
   11250 	esac
   11251 
   11252 	exp_sym_flag='-bexport'
   11253 	no_entry_flag='-bnoentry'
   11254       fi
   11255 
   11256       # When large executables or shared objects are built, AIX ld can
   11257       # have problems creating the table of contents.  If linking a library
   11258       # or program results in "error TOC overflow" add -mminimal-toc to
   11259       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11260       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11261 
   11262       archive_cmds=''
   11263       hardcode_direct=yes
   11264       hardcode_direct_absolute=yes
   11265       hardcode_libdir_separator=':'
   11266       link_all_deplibs=yes
   11267       file_list_spec='${wl}-f,'
   11268 
   11269       if test "$GCC" = yes; then
   11270 	case $host_os in aix4.[012]|aix4.[012].*)
   11271 	# We only want to do this on AIX 4.2 and lower, the check
   11272 	# below for broken collect2 doesn't work under 4.3+
   11273 	  collect2name=`${CC} -print-prog-name=collect2`
   11274 	  if test -f "$collect2name" &&
   11275 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   11276 	  then
   11277 	  # We have reworked collect2
   11278 	  :
   11279 	  else
   11280 	  # We have old collect2
   11281 	  hardcode_direct=unsupported
   11282 	  # It fails to find uninstalled libraries when the uninstalled
   11283 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11284 	  # to unsupported forces relinking
   11285 	  hardcode_minus_L=yes
   11286 	  hardcode_libdir_flag_spec='-L$libdir'
   11287 	  hardcode_libdir_separator=
   11288 	  fi
   11289 	  ;;
   11290 	esac
   11291 	shared_flag='-shared'
   11292 	if test "$aix_use_runtimelinking" = yes; then
   11293 	  shared_flag="$shared_flag "'${wl}-G'
   11294 	fi
   11295       else
   11296 	# not using gcc
   11297 	if test "$host_cpu" = ia64; then
   11298 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11299 	# chokes on -Wl,-G. The following line is correct:
   11300 	  shared_flag='-G'
   11301 	else
   11302 	  if test "$aix_use_runtimelinking" = yes; then
   11303 	    shared_flag='${wl}-G'
   11304 	  else
   11305 	    shared_flag='${wl}-bM:SRE'
   11306 	  fi
   11307 	fi
   11308       fi
   11309 
   11310       export_dynamic_flag_spec='${wl}-bexpall'
   11311       # It seems that -bexpall does not export symbols beginning with
   11312       # underscore (_), so it is better to generate a list of symbols to export.
   11313       always_export_symbols=yes
   11314       if test "$aix_use_runtimelinking" = yes; then
   11315 	# Warning - without using the other runtime loading flags (-brtl),
   11316 	# -berok will link without error, but may produce a broken library.
   11317 	allow_undefined_flag='-berok'
   11318         # Determine the default libpath from the value encoded in an
   11319         # empty executable.
   11320         if test "${lt_cv_aix_libpath+set}" = set; then
   11321   aix_libpath=$lt_cv_aix_libpath
   11322 else
   11323   if ${lt_cv_aix_libpath_+:} false; then :
   11324   $as_echo_n "(cached) " >&6
   11325 else
   11326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11327 /* end confdefs.h.  */
   11328 
   11329 int
   11330 main ()
   11331 {
   11332 
   11333   ;
   11334   return 0;
   11335 }
   11336 _ACEOF
   11337 if ac_fn_c_try_link "$LINENO"; then :
   11338 
   11339   lt_aix_libpath_sed='
   11340       /Import File Strings/,/^$/ {
   11341 	  /^0/ {
   11342 	      s/^0  *\([^ ]*\) *$/\1/
   11343 	      p
   11344 	  }
   11345       }'
   11346   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11347   # Check for a 64-bit object if we didn't find anything.
   11348   if test -z "$lt_cv_aix_libpath_"; then
   11349     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11350   fi
   11351 fi
   11352 rm -f core conftest.err conftest.$ac_objext \
   11353     conftest$ac_exeext conftest.$ac_ext
   11354   if test -z "$lt_cv_aix_libpath_"; then
   11355     lt_cv_aix_libpath_="/usr/lib:/lib"
   11356   fi
   11357 
   11358 fi
   11359 
   11360   aix_libpath=$lt_cv_aix_libpath_
   11361 fi
   11362 
   11363         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   11364         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   11365       else
   11366 	if test "$host_cpu" = ia64; then
   11367 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   11368 	  allow_undefined_flag="-z nodefs"
   11369 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
   11370 	else
   11371 	 # Determine the default libpath from the value encoded in an
   11372 	 # empty executable.
   11373 	 if test "${lt_cv_aix_libpath+set}" = set; then
   11374   aix_libpath=$lt_cv_aix_libpath
   11375 else
   11376   if ${lt_cv_aix_libpath_+:} false; then :
   11377   $as_echo_n "(cached) " >&6
   11378 else
   11379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11380 /* end confdefs.h.  */
   11381 
   11382 int
   11383 main ()
   11384 {
   11385 
   11386   ;
   11387   return 0;
   11388 }
   11389 _ACEOF
   11390 if ac_fn_c_try_link "$LINENO"; then :
   11391 
   11392   lt_aix_libpath_sed='
   11393       /Import File Strings/,/^$/ {
   11394 	  /^0/ {
   11395 	      s/^0  *\([^ ]*\) *$/\1/
   11396 	      p
   11397 	  }
   11398       }'
   11399   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11400   # Check for a 64-bit object if we didn't find anything.
   11401   if test -z "$lt_cv_aix_libpath_"; then
   11402     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11403   fi
   11404 fi
   11405 rm -f core conftest.err conftest.$ac_objext \
   11406     conftest$ac_exeext conftest.$ac_ext
   11407   if test -z "$lt_cv_aix_libpath_"; then
   11408     lt_cv_aix_libpath_="/usr/lib:/lib"
   11409   fi
   11410 
   11411 fi
   11412 
   11413   aix_libpath=$lt_cv_aix_libpath_
   11414 fi
   11415 
   11416 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   11417 	  # Warning - without using the other run time loading flags,
   11418 	  # -berok will link without error, but may produce a broken library.
   11419 	  no_undefined_flag=' ${wl}-bernotok'
   11420 	  allow_undefined_flag=' ${wl}-berok'
   11421 	  if test "$with_gnu_ld" = yes; then
   11422 	    # We only use this code for GNU lds that support --whole-archive.
   11423 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11424 	  else
   11425 	    # Exported symbols can be pulled into shared objects from archives
   11426 	    whole_archive_flag_spec='$convenience'
   11427 	  fi
   11428 	  archive_cmds_need_lc=yes
   11429 	  # This is similar to how AIX traditionally builds its shared libraries.
   11430 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   11431 	fi
   11432       fi
   11433       ;;
   11434 
   11435     amigaos*)
   11436       case $host_cpu in
   11437       powerpc)
   11438             # see comment about AmigaOS4 .so support
   11439             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11440             archive_expsym_cmds=''
   11441         ;;
   11442       m68k)
   11443             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   11444             hardcode_libdir_flag_spec='-L$libdir'
   11445             hardcode_minus_L=yes
   11446         ;;
   11447       esac
   11448       ;;
   11449 
   11450     bsdi[45]*)
   11451       export_dynamic_flag_spec=-rdynamic
   11452       ;;
   11453 
   11454     cygwin* | mingw* | pw32* | cegcc*)
   11455       # When not using gcc, we currently assume that we are using
   11456       # Microsoft Visual C++.
   11457       # hardcode_libdir_flag_spec is actually meaningless, as there is
   11458       # no search path for DLLs.
   11459       case $cc_basename in
   11460       cl*)
   11461 	# Native MSVC
   11462 	hardcode_libdir_flag_spec=' '
   11463 	allow_undefined_flag=unsupported
   11464 	always_export_symbols=yes
   11465 	file_list_spec='@'
   11466 	# Tell ltmain to make .lib files, not .a files.
   11467 	libext=lib
   11468 	# Tell ltmain to make .dll files, not .so files.
   11469 	shrext_cmds=".dll"
   11470 	# FIXME: Setting linknames here is a bad hack.
   11471 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   11472 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11473 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   11474 	  else
   11475 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   11476 	  fi~
   11477 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   11478 	  linknames='
   11479 	# The linker will not automatically build a static lib if we build a DLL.
   11480 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   11481 	enable_shared_with_static_runtimes=yes
   11482 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   11483 	# Don't use ranlib
   11484 	old_postinstall_cmds='chmod 644 $oldlib'
   11485 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   11486 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   11487 	  case $lt_outputfile in
   11488 	    *.exe|*.EXE) ;;
   11489 	    *)
   11490 	      lt_outputfile="$lt_outputfile.exe"
   11491 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   11492 	      ;;
   11493 	  esac~
   11494 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   11495 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   11496 	    $RM "$lt_outputfile.manifest";
   11497 	  fi'
   11498 	;;
   11499       *)
   11500 	# Assume MSVC wrapper
   11501 	hardcode_libdir_flag_spec=' '
   11502 	allow_undefined_flag=unsupported
   11503 	# Tell ltmain to make .lib files, not .a files.
   11504 	libext=lib
   11505 	# Tell ltmain to make .dll files, not .so files.
   11506 	shrext_cmds=".dll"
   11507 	# FIXME: Setting linknames here is a bad hack.
   11508 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   11509 	# The linker will automatically build a .lib file if we build a DLL.
   11510 	old_archive_from_new_cmds='true'
   11511 	# FIXME: Should let the user specify the lib program.
   11512 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   11513 	enable_shared_with_static_runtimes=yes
   11514 	;;
   11515       esac
   11516       ;;
   11517 
   11518     darwin* | rhapsody*)
   11519 
   11520 
   11521   archive_cmds_need_lc=no
   11522   hardcode_direct=no
   11523   hardcode_automatic=yes
   11524   hardcode_shlibpath_var=unsupported
   11525   if test "$lt_cv_ld_force_load" = "yes"; then
   11526     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   11527   else
   11528     whole_archive_flag_spec=''
   11529   fi
   11530   link_all_deplibs=yes
   11531   allow_undefined_flag="$_lt_dar_allow_undefined"
   11532   case $cc_basename in
   11533      ifort*) _lt_dar_can_shared=yes ;;
   11534      *) _lt_dar_can_shared=$GCC ;;
   11535   esac
   11536   if test "$_lt_dar_can_shared" = "yes"; then
   11537     output_verbose_link_cmd=func_echo_all
   11538     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   11539     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11540     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   11541     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   11542 
   11543   else
   11544   ld_shlibs=no
   11545   fi
   11546 
   11547       ;;
   11548 
   11549     dgux*)
   11550       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11551       hardcode_libdir_flag_spec='-L$libdir'
   11552       hardcode_shlibpath_var=no
   11553       ;;
   11554 
   11555     freebsd1*)
   11556       ld_shlibs=no
   11557       ;;
   11558 
   11559     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   11560     # support.  Future versions do this automatically, but an explicit c++rt0.o
   11561     # does not break anything, and helps significantly (at the cost of a little
   11562     # extra space).
   11563     freebsd2.2*)
   11564       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   11565       hardcode_libdir_flag_spec='-R$libdir'
   11566       hardcode_direct=yes
   11567       hardcode_shlibpath_var=no
   11568       ;;
   11569 
   11570     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   11571     freebsd2*)
   11572       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11573       hardcode_direct=yes
   11574       hardcode_minus_L=yes
   11575       hardcode_shlibpath_var=no
   11576       ;;
   11577 
   11578     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   11579     freebsd* | dragonfly*)
   11580       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11581       hardcode_libdir_flag_spec='-R$libdir'
   11582       hardcode_direct=yes
   11583       hardcode_shlibpath_var=no
   11584       ;;
   11585 
   11586     hpux9*)
   11587       if test "$GCC" = yes; then
   11588 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   11589       else
   11590 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   11591       fi
   11592       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   11593       hardcode_libdir_separator=:
   11594       hardcode_direct=yes
   11595 
   11596       # hardcode_minus_L: Not really in the search PATH,
   11597       # but as the default location of the library.
   11598       hardcode_minus_L=yes
   11599       export_dynamic_flag_spec='${wl}-E'
   11600       ;;
   11601 
   11602     hpux10*)
   11603       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   11604 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11605       else
   11606 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11607       fi
   11608       if test "$with_gnu_ld" = no; then
   11609 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   11610 	hardcode_libdir_flag_spec_ld='+b $libdir'
   11611 	hardcode_libdir_separator=:
   11612 	hardcode_direct=yes
   11613 	hardcode_direct_absolute=yes
   11614 	export_dynamic_flag_spec='${wl}-E'
   11615 	# hardcode_minus_L: Not really in the search PATH,
   11616 	# but as the default location of the library.
   11617 	hardcode_minus_L=yes
   11618       fi
   11619       ;;
   11620 
   11621     hpux11*)
   11622       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   11623 	case $host_cpu in
   11624 	hppa*64*)
   11625 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11626 	  ;;
   11627 	ia64*)
   11628 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11629 	  ;;
   11630 	*)
   11631 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11632 	  ;;
   11633 	esac
   11634       else
   11635 	case $host_cpu in
   11636 	hppa*64*)
   11637 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11638 	  ;;
   11639 	ia64*)
   11640 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11641 	  ;;
   11642 	*)
   11643 
   11644 	  # Older versions of the 11.00 compiler do not understand -b yet
   11645 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   11646 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   11647 $as_echo_n "checking if $CC understands -b... " >&6; }
   11648 if ${lt_cv_prog_compiler__b+:} false; then :
   11649   $as_echo_n "(cached) " >&6
   11650 else
   11651   lt_cv_prog_compiler__b=no
   11652    save_LDFLAGS="$LDFLAGS"
   11653    LDFLAGS="$LDFLAGS -b"
   11654    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11655    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11656      # The linker can only warn and ignore the option if not recognized
   11657      # So say no if there are warnings
   11658      if test -s conftest.err; then
   11659        # Append any errors to the config.log.
   11660        cat conftest.err 1>&5
   11661        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   11662        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11663        if diff conftest.exp conftest.er2 >/dev/null; then
   11664          lt_cv_prog_compiler__b=yes
   11665        fi
   11666      else
   11667        lt_cv_prog_compiler__b=yes
   11668      fi
   11669    fi
   11670    $RM -r conftest*
   11671    LDFLAGS="$save_LDFLAGS"
   11672 
   11673 fi
   11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   11675 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   11676 
   11677 if test x"$lt_cv_prog_compiler__b" = xyes; then
   11678     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11679 else
   11680     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11681 fi
   11682 
   11683 	  ;;
   11684 	esac
   11685       fi
   11686       if test "$with_gnu_ld" = no; then
   11687 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   11688 	hardcode_libdir_separator=:
   11689 
   11690 	case $host_cpu in
   11691 	hppa*64*|ia64*)
   11692 	  hardcode_direct=no
   11693 	  hardcode_shlibpath_var=no
   11694 	  ;;
   11695 	*)
   11696 	  hardcode_direct=yes
   11697 	  hardcode_direct_absolute=yes
   11698 	  export_dynamic_flag_spec='${wl}-E'
   11699 
   11700 	  # hardcode_minus_L: Not really in the search PATH,
   11701 	  # but as the default location of the library.
   11702 	  hardcode_minus_L=yes
   11703 	  ;;
   11704 	esac
   11705       fi
   11706       ;;
   11707 
   11708     irix5* | irix6* | nonstopux*)
   11709       if test "$GCC" = yes; then
   11710 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   11711 	# Try to use the -exported_symbol ld option, if it does not
   11712 	# work, assume that -exports_file does not work either and
   11713 	# implicitly export all symbols.
   11714 	# This should be the same for all languages, so no per-tag cache variable.
   11715 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   11716 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   11717 if ${lt_cv_irix_exported_symbol+:} false; then :
   11718   $as_echo_n "(cached) " >&6
   11719 else
   11720   save_LDFLAGS="$LDFLAGS"
   11721 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   11722 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11723 /* end confdefs.h.  */
   11724 int foo (void) { return 0; }
   11725 _ACEOF
   11726 if ac_fn_c_try_link "$LINENO"; then :
   11727   lt_cv_irix_exported_symbol=yes
   11728 else
   11729   lt_cv_irix_exported_symbol=no
   11730 fi
   11731 rm -f core conftest.err conftest.$ac_objext \
   11732     conftest$ac_exeext conftest.$ac_ext
   11733            LDFLAGS="$save_LDFLAGS"
   11734 fi
   11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   11736 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   11737 	if test "$lt_cv_irix_exported_symbol" = yes; then
   11738           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   11739 	fi
   11740       else
   11741 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   11742 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   11743       fi
   11744       archive_cmds_need_lc='no'
   11745       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   11746       hardcode_libdir_separator=:
   11747       inherit_rpath=yes
   11748       link_all_deplibs=yes
   11749       ;;
   11750 
   11751     netbsd*)
   11752       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11753 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11754       else
   11755 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11756       fi
   11757       hardcode_libdir_flag_spec='-R$libdir'
   11758       hardcode_direct=yes
   11759       hardcode_shlibpath_var=no
   11760       ;;
   11761 
   11762     newsos6)
   11763       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11764       hardcode_direct=yes
   11765       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   11766       hardcode_libdir_separator=:
   11767       hardcode_shlibpath_var=no
   11768       ;;
   11769 
   11770     *nto* | *qnx*)
   11771       ;;
   11772 
   11773     openbsd*)
   11774       if test -f /usr/libexec/ld.so; then
   11775 	hardcode_direct=yes
   11776 	hardcode_shlibpath_var=no
   11777 	hardcode_direct_absolute=yes
   11778 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11779 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11780 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   11781 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   11782 	  export_dynamic_flag_spec='${wl}-E'
   11783 	else
   11784 	  case $host_os in
   11785 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   11786 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11787 	     hardcode_libdir_flag_spec='-R$libdir'
   11788 	     ;;
   11789 	   *)
   11790 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11791 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   11792 	     ;;
   11793 	  esac
   11794 	fi
   11795       else
   11796 	ld_shlibs=no
   11797       fi
   11798       ;;
   11799 
   11800     os2*)
   11801       hardcode_libdir_flag_spec='-L$libdir'
   11802       hardcode_minus_L=yes
   11803       allow_undefined_flag=unsupported
   11804       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   11805       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   11806       ;;
   11807 
   11808     osf3*)
   11809       if test "$GCC" = yes; then
   11810 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   11811 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   11812       else
   11813 	allow_undefined_flag=' -expect_unresolved \*'
   11814 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   11815       fi
   11816       archive_cmds_need_lc='no'
   11817       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   11818       hardcode_libdir_separator=:
   11819       ;;
   11820 
   11821     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11822       if test "$GCC" = yes; then
   11823 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   11824 	archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   11825 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   11826       else
   11827 	allow_undefined_flag=' -expect_unresolved \*'
   11828 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   11829 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
   11830 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   11831 
   11832 	# Both c and cxx compiler support -rpath directly
   11833 	hardcode_libdir_flag_spec='-rpath $libdir'
   11834       fi
   11835       archive_cmds_need_lc='no'
   11836       hardcode_libdir_separator=:
   11837       ;;
   11838 
   11839     solaris*)
   11840       no_undefined_flag=' -z defs'
   11841       if test "$GCC" = yes; then
   11842 	wlarc='${wl}'
   11843 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11844 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11845 	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11846       else
   11847 	case `$CC -V 2>&1` in
   11848 	*"Compilers 5.0"*)
   11849 	  wlarc=''
   11850 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11851 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11852 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11853 	  ;;
   11854 	*)
   11855 	  wlarc='${wl}'
   11856 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11857 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11858 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11859 	  ;;
   11860 	esac
   11861       fi
   11862       hardcode_libdir_flag_spec='-R$libdir'
   11863       hardcode_shlibpath_var=no
   11864       case $host_os in
   11865       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11866       *)
   11867 	# The compiler driver will combine and reorder linker options,
   11868 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   11869 	# but is careful enough not to reorder.
   11870 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11871 	if test "$GCC" = yes; then
   11872 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   11873 	else
   11874 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11875 	fi
   11876 	;;
   11877       esac
   11878       link_all_deplibs=yes
   11879       ;;
   11880 
   11881     sunos4*)
   11882       if test "x$host_vendor" = xsequent; then
   11883 	# Use $CC to link under sequent, because it throws in some extra .o
   11884 	# files that make .init and .fini sections work.
   11885 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11886       else
   11887 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11888       fi
   11889       hardcode_libdir_flag_spec='-L$libdir'
   11890       hardcode_direct=yes
   11891       hardcode_minus_L=yes
   11892       hardcode_shlibpath_var=no
   11893       ;;
   11894 
   11895     sysv4)
   11896       case $host_vendor in
   11897 	sni)
   11898 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11899 	  hardcode_direct=yes # is this really true???
   11900 	;;
   11901 	siemens)
   11902 	  ## LD is ld it makes a PLAMLIB
   11903 	  ## CC just makes a GrossModule.
   11904 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11905 	  reload_cmds='$CC -r -o $output$reload_objs'
   11906 	  hardcode_direct=no
   11907         ;;
   11908 	motorola)
   11909 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11910 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11911 	;;
   11912       esac
   11913       runpath_var='LD_RUN_PATH'
   11914       hardcode_shlibpath_var=no
   11915       ;;
   11916 
   11917     sysv4.3*)
   11918       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11919       hardcode_shlibpath_var=no
   11920       export_dynamic_flag_spec='-Bexport'
   11921       ;;
   11922 
   11923     sysv4*MP*)
   11924       if test -d /usr/nec; then
   11925 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11926 	hardcode_shlibpath_var=no
   11927 	runpath_var=LD_RUN_PATH
   11928 	hardcode_runpath_var=yes
   11929 	ld_shlibs=yes
   11930       fi
   11931       ;;
   11932 
   11933     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11934       no_undefined_flag='${wl}-z,text'
   11935       archive_cmds_need_lc=no
   11936       hardcode_shlibpath_var=no
   11937       runpath_var='LD_RUN_PATH'
   11938 
   11939       if test "$GCC" = yes; then
   11940 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11941 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11942       else
   11943 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11944 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11945       fi
   11946       ;;
   11947 
   11948     sysv5* | sco3.2v5* | sco5v6*)
   11949       # Note: We can NOT use -z defs as we might desire, because we do not
   11950       # link with -lc, and that would cause any symbols used from libc to
   11951       # always be unresolved, which means just about no library would
   11952       # ever link correctly.  If we're not using GNU ld we use -z text
   11953       # though, which does catch some bad symbols but isn't as heavy-handed
   11954       # as -z defs.
   11955       no_undefined_flag='${wl}-z,text'
   11956       allow_undefined_flag='${wl}-z,nodefs'
   11957       archive_cmds_need_lc=no
   11958       hardcode_shlibpath_var=no
   11959       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   11960       hardcode_libdir_separator=':'
   11961       link_all_deplibs=yes
   11962       export_dynamic_flag_spec='${wl}-Bexport'
   11963       runpath_var='LD_RUN_PATH'
   11964 
   11965       if test "$GCC" = yes; then
   11966 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11967 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11968       else
   11969 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11970 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11971       fi
   11972       ;;
   11973 
   11974     uts4*)
   11975       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11976       hardcode_libdir_flag_spec='-L$libdir'
   11977       hardcode_shlibpath_var=no
   11978       ;;
   11979 
   11980     *)
   11981       ld_shlibs=no
   11982       ;;
   11983     esac
   11984 
   11985     if test x$host_vendor = xsni; then
   11986       case $host in
   11987       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11988 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   11989 	;;
   11990       esac
   11991     fi
   11992   fi
   11993 
   11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11995 $as_echo "$ld_shlibs" >&6; }
   11996 test "$ld_shlibs" = no && can_build_shared=no
   11997 
   11998 with_gnu_ld=$with_gnu_ld
   11999 
   12000 
   12001 
   12002 
   12003 
   12004 
   12005 
   12006 
   12007 
   12008 
   12009 
   12010 
   12011 
   12012 
   12013 
   12014 #
   12015 # Do we need to explicitly link libc?
   12016 #
   12017 case "x$archive_cmds_need_lc" in
   12018 x|xyes)
   12019   # Assume -lc should be added
   12020   archive_cmds_need_lc=yes
   12021 
   12022   if test "$enable_shared" = yes && test "$GCC" = yes; then
   12023     case $archive_cmds in
   12024     *'~'*)
   12025       # FIXME: we may have to deal with multi-command sequences.
   12026       ;;
   12027     '$CC '*)
   12028       # Test whether the compiler implicitly links with -lc since on some
   12029       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12030       # to ld, don't add -lc before -lgcc.
   12031       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   12032 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   12033 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   12034   $as_echo_n "(cached) " >&6
   12035 else
   12036   $RM conftest*
   12037 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12038 
   12039 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12040   (eval $ac_compile) 2>&5
   12041   ac_status=$?
   12042   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12043   test $ac_status = 0; } 2>conftest.err; then
   12044 	  soname=conftest
   12045 	  lib=conftest
   12046 	  libobjs=conftest.$ac_objext
   12047 	  deplibs=
   12048 	  wl=$lt_prog_compiler_wl
   12049 	  pic_flag=$lt_prog_compiler_pic
   12050 	  compiler_flags=-v
   12051 	  linker_flags=-v
   12052 	  verstring=
   12053 	  output_objdir=.
   12054 	  libname=conftest
   12055 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   12056 	  allow_undefined_flag=
   12057 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   12058   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12059   ac_status=$?
   12060   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12061   test $ac_status = 0; }
   12062 	  then
   12063 	    lt_cv_archive_cmds_need_lc=no
   12064 	  else
   12065 	    lt_cv_archive_cmds_need_lc=yes
   12066 	  fi
   12067 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   12068 	else
   12069 	  cat conftest.err 1>&5
   12070 	fi
   12071 	$RM conftest*
   12072 
   12073 fi
   12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   12075 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   12076       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   12077       ;;
   12078     esac
   12079   fi
   12080   ;;
   12081 esac
   12082 
   12083 
   12084 
   12085 
   12086 
   12087 
   12088 
   12089 
   12090 
   12091 
   12092 
   12093 
   12094 
   12095 
   12096 
   12097 
   12098 
   12099 
   12100 
   12101 
   12102 
   12103 
   12104 
   12105 
   12106 
   12107 
   12108 
   12109 
   12110 
   12111 
   12112 
   12113 
   12114 
   12115 
   12116 
   12117 
   12118 
   12119 
   12120 
   12121 
   12122 
   12123 
   12124 
   12125 
   12126 
   12127 
   12128 
   12129 
   12130 
   12131 
   12132 
   12133 
   12134 
   12135 
   12136 
   12137 
   12138 
   12139 
   12140 
   12141 
   12142 
   12143 
   12144 
   12145 
   12146 
   12147 
   12148 
   12149 
   12150 
   12151 
   12152 
   12153 
   12154 
   12155 
   12156 
   12157 
   12158 
   12159 
   12160 
   12161 
   12162 
   12163 
   12164 
   12165 
   12166 
   12167 
   12168 
   12169 
   12170 
   12171 
   12172 
   12173 
   12174 
   12175 
   12176 
   12177 
   12178 
   12179 
   12180 
   12181 
   12182 
   12183 
   12184 
   12185 
   12186 
   12187 
   12188 
   12189 
   12190 
   12191 
   12192 
   12193 
   12194 
   12195 
   12196 
   12197 
   12198 
   12199 
   12200 
   12201 
   12202 
   12203 
   12204 
   12205 
   12206 
   12207 
   12208 
   12209 
   12210 
   12211 
   12212 
   12213 
   12214 
   12215 
   12216 
   12217 
   12218 
   12219 
   12220 
   12221 
   12222 
   12223 
   12224 
   12225 
   12226 
   12227 
   12228 
   12229 
   12230 
   12231 
   12232 
   12233 
   12234 
   12235 
   12236 
   12237 
   12238 
   12239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   12240 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   12241 
   12242 if test "$GCC" = yes; then
   12243   case $host_os in
   12244     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   12245     *) lt_awk_arg="/^libraries:/" ;;
   12246   esac
   12247   case $host_os in
   12248     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   12249     *) lt_sed_strip_eq="s,=/,/,g" ;;
   12250   esac
   12251   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   12252   case $lt_search_path_spec in
   12253   *\;*)
   12254     # if the path contains ";" then we assume it to be the separator
   12255     # otherwise default to the standard path separator (i.e. ":") - it is
   12256     # assumed that no part of a normal pathname contains ";" but that should
   12257     # okay in the real world where ";" in dirpaths is itself problematic.
   12258     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   12259     ;;
   12260   *)
   12261     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   12262     ;;
   12263   esac
   12264   # Ok, now we have the path, separated by spaces, we can step through it
   12265   # and add multilib dir if necessary.
   12266   lt_tmp_lt_search_path_spec=
   12267   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   12268   for lt_sys_path in $lt_search_path_spec; do
   12269     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   12270       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   12271     else
   12272       test -d "$lt_sys_path" && \
   12273 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   12274     fi
   12275   done
   12276   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   12277 BEGIN {RS=" "; FS="/|\n";} {
   12278   lt_foo="";
   12279   lt_count=0;
   12280   for (lt_i = NF; lt_i > 0; lt_i--) {
   12281     if ($lt_i != "" && $lt_i != ".") {
   12282       if ($lt_i == "..") {
   12283         lt_count++;
   12284       } else {
   12285         if (lt_count == 0) {
   12286           lt_foo="/" $lt_i lt_foo;
   12287         } else {
   12288           lt_count--;
   12289         }
   12290       }
   12291     }
   12292   }
   12293   if (lt_foo != "") { lt_freq[lt_foo]++; }
   12294   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   12295 }'`
   12296   # AWK program above erroneously prepends '/' to C:/dos/paths
   12297   # for these hosts.
   12298   case $host_os in
   12299     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   12300       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   12301   esac
   12302   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   12303 else
   12304   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12305 fi
   12306 library_names_spec=
   12307 libname_spec='lib$name'
   12308 soname_spec=
   12309 shrext_cmds=".so"
   12310 postinstall_cmds=
   12311 postuninstall_cmds=
   12312 finish_cmds=
   12313 finish_eval=
   12314 shlibpath_var=
   12315 shlibpath_overrides_runpath=unknown
   12316 version_type=none
   12317 dynamic_linker="$host_os ld.so"
   12318 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12319 need_lib_prefix=unknown
   12320 hardcode_into_libs=no
   12321 
   12322 # when you set need_version to no, make sure it does not cause -set_version
   12323 # flags to be left without arguments
   12324 need_version=unknown
   12325 
   12326 case $host_os in
   12327 aix3*)
   12328   version_type=linux
   12329   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   12330   shlibpath_var=LIBPATH
   12331 
   12332   # AIX 3 has no versioning support, so we append a major version to the name.
   12333   soname_spec='${libname}${release}${shared_ext}$major'
   12334   ;;
   12335 
   12336 aix[4-9]*)
   12337   version_type=linux
   12338   need_lib_prefix=no
   12339   need_version=no
   12340   hardcode_into_libs=yes
   12341   if test "$host_cpu" = ia64; then
   12342     # AIX 5 supports IA64
   12343     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   12344     shlibpath_var=LD_LIBRARY_PATH
   12345   else
   12346     # With GCC up to 2.95.x, collect2 would create an import file
   12347     # for dependence libraries.  The import file would start with
   12348     # the line `#! .'.  This would cause the generated library to
   12349     # depend on `.', always an invalid library.  This was fixed in
   12350     # development snapshots of GCC prior to 3.0.
   12351     case $host_os in
   12352       aix4 | aix4.[01] | aix4.[01].*)
   12353       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12354 	   echo ' yes '
   12355 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   12356 	:
   12357       else
   12358 	can_build_shared=no
   12359       fi
   12360       ;;
   12361     esac
   12362     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   12363     # soname into executable. Probably we can add versioning support to
   12364     # collect2, so additional links can be useful in future.
   12365     if test "$aix_use_runtimelinking" = yes; then
   12366       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12367       # instead of lib<name>.a to let people know that these are not
   12368       # typical AIX shared libraries.
   12369       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12370     else
   12371       # We preserve .a as extension for shared libraries through AIX4.2
   12372       # and later when we are not doing run time linking.
   12373       library_names_spec='${libname}${release}.a $libname.a'
   12374       soname_spec='${libname}${release}${shared_ext}$major'
   12375     fi
   12376     shlibpath_var=LIBPATH
   12377   fi
   12378   ;;
   12379 
   12380 amigaos*)
   12381   case $host_cpu in
   12382   powerpc)
   12383     # Since July 2007 AmigaOS4 officially supports .so libraries.
   12384     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   12385     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12386     ;;
   12387   m68k)
   12388     library_names_spec='$libname.ixlibrary $libname.a'
   12389     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12390     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   12391     ;;
   12392   esac
   12393   ;;
   12394 
   12395 beos*)
   12396   library_names_spec='${libname}${shared_ext}'
   12397   dynamic_linker="$host_os ld.so"
   12398   shlibpath_var=LIBRARY_PATH
   12399   ;;
   12400 
   12401 bsdi[45]*)
   12402   version_type=linux
   12403   need_version=no
   12404   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12405   soname_spec='${libname}${release}${shared_ext}$major'
   12406   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12407   shlibpath_var=LD_LIBRARY_PATH
   12408   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12409   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12410   # the default ld.so.conf also contains /usr/contrib/lib and
   12411   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12412   # libtool to hard-code these into programs
   12413   ;;
   12414 
   12415 cygwin* | mingw* | pw32* | cegcc*)
   12416   version_type=windows
   12417   shrext_cmds=".dll"
   12418   need_version=no
   12419   need_lib_prefix=no
   12420 
   12421   case $GCC,$cc_basename in
   12422   yes,*)
   12423     # gcc
   12424     library_names_spec='$libname.dll.a'
   12425     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12426     postinstall_cmds='base_file=`basename \${file}`~
   12427       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   12428       dldir=$destdir/`dirname \$dlpath`~
   12429       test -d \$dldir || mkdir -p \$dldir~
   12430       $install_prog $dir/$dlname \$dldir/$dlname~
   12431       chmod a+x \$dldir/$dlname~
   12432       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12433         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12434       fi'
   12435     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12436       dlpath=$dir/\$dldll~
   12437        $RM \$dlpath'
   12438     shlibpath_overrides_runpath=yes
   12439 
   12440     case $host_os in
   12441     cygwin*)
   12442       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12443       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12444 
   12445       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   12446       ;;
   12447     mingw* | cegcc*)
   12448       # MinGW DLLs use traditional 'lib' prefix
   12449       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12450       ;;
   12451     pw32*)
   12452       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12453       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12454       ;;
   12455     esac
   12456     dynamic_linker='Win32 ld.exe'
   12457     ;;
   12458 
   12459   *,cl*)
   12460     # Native MSVC
   12461     libname_spec='$name'
   12462     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12463     library_names_spec='${libname}.dll.lib'
   12464 
   12465     case $build_os in
   12466     mingw*)
   12467       sys_lib_search_path_spec=
   12468       lt_save_ifs=$IFS
   12469       IFS=';'
   12470       for lt_path in $LIB
   12471       do
   12472         IFS=$lt_save_ifs
   12473         # Let DOS variable expansion print the short 8.3 style file name.
   12474         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   12475         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   12476       done
   12477       IFS=$lt_save_ifs
   12478       # Convert to MSYS style.
   12479       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   12480       ;;
   12481     cygwin*)
   12482       # Convert to unix form, then to dos form, then back to unix form
   12483       # but this time dos style (no spaces!) so that the unix form looks
   12484       # like /cygdrive/c/PROGRA~1:/cygdr...
   12485       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   12486       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   12487       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12488       ;;
   12489     *)
   12490       sys_lib_search_path_spec="$LIB"
   12491       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   12492         # It is most probably a Windows format PATH.
   12493         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12494       else
   12495         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12496       fi
   12497       # FIXME: find the short name or the path components, as spaces are
   12498       # common. (e.g. "Program Files" -> "PROGRA~1")
   12499       ;;
   12500     esac
   12501 
   12502     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12503     postinstall_cmds='base_file=`basename \${file}`~
   12504       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   12505       dldir=$destdir/`dirname \$dlpath`~
   12506       test -d \$dldir || mkdir -p \$dldir~
   12507       $install_prog $dir/$dlname \$dldir/$dlname'
   12508     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12509       dlpath=$dir/\$dldll~
   12510        $RM \$dlpath'
   12511     shlibpath_overrides_runpath=yes
   12512     dynamic_linker='Win32 link.exe'
   12513     ;;
   12514 
   12515   *)
   12516     # Assume MSVC wrapper
   12517     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   12518     dynamic_linker='Win32 ld.exe'
   12519     ;;
   12520   esac
   12521   # FIXME: first we should search . and the directory the executable is in
   12522   shlibpath_var=PATH
   12523   ;;
   12524 
   12525 darwin* | rhapsody*)
   12526   dynamic_linker="$host_os dyld"
   12527   version_type=darwin
   12528   need_lib_prefix=no
   12529   need_version=no
   12530   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   12531   soname_spec='${libname}${release}${major}$shared_ext'
   12532   shlibpath_overrides_runpath=yes
   12533   shlibpath_var=DYLD_LIBRARY_PATH
   12534   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12535 
   12536   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   12537   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12538   ;;
   12539 
   12540 dgux*)
   12541   version_type=linux
   12542   need_lib_prefix=no
   12543   need_version=no
   12544   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   12545   soname_spec='${libname}${release}${shared_ext}$major'
   12546   shlibpath_var=LD_LIBRARY_PATH
   12547   ;;
   12548 
   12549 freebsd1*)
   12550   dynamic_linker=no
   12551   ;;
   12552 
   12553 freebsd* | dragonfly*)
   12554   # DragonFly does not have aout.  When/if they implement a new
   12555   # versioning mechanism, adjust this.
   12556   if test -x /usr/bin/objformat; then
   12557     objformat=`/usr/bin/objformat`
   12558   else
   12559     case $host_os in
   12560     freebsd[123]*) objformat=aout ;;
   12561     *) objformat=elf ;;
   12562     esac
   12563   fi
   12564   version_type=freebsd-$objformat
   12565   case $version_type in
   12566     freebsd-elf*)
   12567       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12568       need_version=no
   12569       need_lib_prefix=no
   12570       ;;
   12571     freebsd-*)
   12572       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   12573       need_version=yes
   12574       ;;
   12575   esac
   12576   shlibpath_var=LD_LIBRARY_PATH
   12577   case $host_os in
   12578   freebsd2*)
   12579     shlibpath_overrides_runpath=yes
   12580     ;;
   12581   freebsd3.[01]* | freebsdelf3.[01]*)
   12582     shlibpath_overrides_runpath=yes
   12583     hardcode_into_libs=yes
   12584     ;;
   12585   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12586   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12587     shlibpath_overrides_runpath=no
   12588     hardcode_into_libs=yes
   12589     ;;
   12590   *) # from 4.6 on, and DragonFly
   12591     shlibpath_overrides_runpath=yes
   12592     hardcode_into_libs=yes
   12593     ;;
   12594   esac
   12595   ;;
   12596 
   12597 gnu*)
   12598   version_type=linux
   12599   need_lib_prefix=no
   12600   need_version=no
   12601   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   12602   soname_spec='${libname}${release}${shared_ext}$major'
   12603   shlibpath_var=LD_LIBRARY_PATH
   12604   hardcode_into_libs=yes
   12605   ;;
   12606 
   12607 haiku*)
   12608   version_type=linux
   12609   need_lib_prefix=no
   12610   need_version=no
   12611   dynamic_linker="$host_os runtime_loader"
   12612   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   12613   soname_spec='${libname}${release}${shared_ext}$major'
   12614   shlibpath_var=LIBRARY_PATH
   12615   shlibpath_overrides_runpath=yes
   12616   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   12617   hardcode_into_libs=yes
   12618   ;;
   12619 
   12620 hpux9* | hpux10* | hpux11*)
   12621   # Give a soname corresponding to the major version so that dld.sl refuses to
   12622   # link against other versions.
   12623   version_type=sunos
   12624   need_lib_prefix=no
   12625   need_version=no
   12626   case $host_cpu in
   12627   ia64*)
   12628     shrext_cmds='.so'
   12629     hardcode_into_libs=yes
   12630     dynamic_linker="$host_os dld.so"
   12631     shlibpath_var=LD_LIBRARY_PATH
   12632     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12633     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12634     soname_spec='${libname}${release}${shared_ext}$major'
   12635     if test "X$HPUX_IA64_MODE" = X32; then
   12636       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12637     else
   12638       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12639     fi
   12640     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12641     ;;
   12642   hppa*64*)
   12643     shrext_cmds='.sl'
   12644     hardcode_into_libs=yes
   12645     dynamic_linker="$host_os dld.sl"
   12646     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12647     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12648     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12649     soname_spec='${libname}${release}${shared_ext}$major'
   12650     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12651     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12652     ;;
   12653   *)
   12654     shrext_cmds='.sl'
   12655     dynamic_linker="$host_os dld.sl"
   12656     shlibpath_var=SHLIB_PATH
   12657     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12658     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12659     soname_spec='${libname}${release}${shared_ext}$major'
   12660     ;;
   12661   esac
   12662   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12663   postinstall_cmds='chmod 555 $lib'
   12664   # or fails outright, so override atomically:
   12665   install_override_mode=555
   12666   ;;
   12667 
   12668 interix[3-9]*)
   12669   version_type=linux
   12670   need_lib_prefix=no
   12671   need_version=no
   12672   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12673   soname_spec='${libname}${release}${shared_ext}$major'
   12674   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12675   shlibpath_var=LD_LIBRARY_PATH
   12676   shlibpath_overrides_runpath=no
   12677   hardcode_into_libs=yes
   12678   ;;
   12679 
   12680 irix5* | irix6* | nonstopux*)
   12681   case $host_os in
   12682     nonstopux*) version_type=nonstopux ;;
   12683     *)
   12684 	if test "$lt_cv_prog_gnu_ld" = yes; then
   12685 		version_type=linux
   12686 	else
   12687 		version_type=irix
   12688 	fi ;;
   12689   esac
   12690   need_lib_prefix=no
   12691   need_version=no
   12692   soname_spec='${libname}${release}${shared_ext}$major'
   12693   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   12694   case $host_os in
   12695   irix5* | nonstopux*)
   12696     libsuff= shlibsuff=
   12697     ;;
   12698   *)
   12699     case $LD in # libtool.m4 will add one of these switches to LD
   12700     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12701       libsuff= shlibsuff= libmagic=32-bit;;
   12702     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12703       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12704     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12705       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12706     *) libsuff= shlibsuff= libmagic=never-match;;
   12707     esac
   12708     ;;
   12709   esac
   12710   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12711   shlibpath_overrides_runpath=no
   12712   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   12713   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   12714   hardcode_into_libs=yes
   12715   ;;
   12716 
   12717 # No shared lib support for Linux oldld, aout, or coff.
   12718 linux*oldld* | linux*aout* | linux*coff*)
   12719   dynamic_linker=no
   12720   ;;
   12721 
   12722 # This must be Linux ELF.
   12723 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   12724   version_type=linux
   12725   need_lib_prefix=no
   12726   need_version=no
   12727   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12728   soname_spec='${libname}${release}${shared_ext}$major'
   12729   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12730   shlibpath_var=LD_LIBRARY_PATH
   12731   shlibpath_overrides_runpath=no
   12732 
   12733   # Some binutils ld are patched to set DT_RUNPATH
   12734   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   12735   $as_echo_n "(cached) " >&6
   12736 else
   12737   lt_cv_shlibpath_overrides_runpath=no
   12738     save_LDFLAGS=$LDFLAGS
   12739     save_libdir=$libdir
   12740     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12741 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12742     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12743 /* end confdefs.h.  */
   12744 
   12745 int
   12746 main ()
   12747 {
   12748 
   12749   ;
   12750   return 0;
   12751 }
   12752 _ACEOF
   12753 if ac_fn_c_try_link "$LINENO"; then :
   12754   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   12755   lt_cv_shlibpath_overrides_runpath=yes
   12756 fi
   12757 fi
   12758 rm -f core conftest.err conftest.$ac_objext \
   12759     conftest$ac_exeext conftest.$ac_ext
   12760     LDFLAGS=$save_LDFLAGS
   12761     libdir=$save_libdir
   12762 
   12763 fi
   12764 
   12765   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12766 
   12767   # This implies no fast_install, which is unacceptable.
   12768   # Some rework will be needed to allow for fast_install
   12769   # before this can be enabled.
   12770   hardcode_into_libs=yes
   12771 
   12772   # Append ld.so.conf contents to the search path
   12773   if test -f /etc/ld.so.conf; then
   12774     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
   12775     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12776   fi
   12777 
   12778   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12779   # powerpc, because MkLinux only supported shared libraries with the
   12780   # GNU dynamic linker.  Since this was broken with cross compilers,
   12781   # most powerpc-linux boxes support dynamic linking these days and
   12782   # people can always --disable-shared, the test was removed, and we
   12783   # assume the GNU/Linux dynamic linker is in use.
   12784   dynamic_linker='GNU/Linux ld.so'
   12785   ;;
   12786 
   12787 netbsd*)
   12788   version_type=sunos
   12789   need_lib_prefix=no
   12790   need_version=no
   12791   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12792     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12793     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12794     dynamic_linker='NetBSD (a.out) ld.so'
   12795   else
   12796     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12797     soname_spec='${libname}${release}${shared_ext}$major'
   12798     dynamic_linker='NetBSD ld.elf_so'
   12799   fi
   12800   shlibpath_var=LD_LIBRARY_PATH
   12801   shlibpath_overrides_runpath=yes
   12802   hardcode_into_libs=yes
   12803   ;;
   12804 
   12805 newsos6)
   12806   version_type=linux
   12807   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12808   shlibpath_var=LD_LIBRARY_PATH
   12809   shlibpath_overrides_runpath=yes
   12810   ;;
   12811 
   12812 *nto* | *qnx*)
   12813   version_type=qnx
   12814   need_lib_prefix=no
   12815   need_version=no
   12816   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12817   soname_spec='${libname}${release}${shared_ext}$major'
   12818   shlibpath_var=LD_LIBRARY_PATH
   12819   shlibpath_overrides_runpath=no
   12820   hardcode_into_libs=yes
   12821   dynamic_linker='ldqnx.so'
   12822   ;;
   12823 
   12824 openbsd*)
   12825   version_type=sunos
   12826   sys_lib_dlsearch_path_spec="/usr/lib"
   12827   need_lib_prefix=no
   12828   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   12829   case $host_os in
   12830     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   12831     *)				need_version=no  ;;
   12832   esac
   12833   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12834   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12835   shlibpath_var=LD_LIBRARY_PATH
   12836   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12837     case $host_os in
   12838       openbsd2.[89] | openbsd2.[89].*)
   12839 	shlibpath_overrides_runpath=no
   12840 	;;
   12841       *)
   12842 	shlibpath_overrides_runpath=yes
   12843 	;;
   12844       esac
   12845   else
   12846     shlibpath_overrides_runpath=yes
   12847   fi
   12848   ;;
   12849 
   12850 os2*)
   12851   libname_spec='$name'
   12852   shrext_cmds=".dll"
   12853   need_lib_prefix=no
   12854   library_names_spec='$libname${shared_ext} $libname.a'
   12855   dynamic_linker='OS/2 ld.exe'
   12856   shlibpath_var=LIBPATH
   12857   ;;
   12858 
   12859 osf3* | osf4* | osf5*)
   12860   version_type=osf
   12861   need_lib_prefix=no
   12862   need_version=no
   12863   soname_spec='${libname}${release}${shared_ext}$major'
   12864   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12865   shlibpath_var=LD_LIBRARY_PATH
   12866   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12867   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   12868   ;;
   12869 
   12870 rdos*)
   12871   dynamic_linker=no
   12872   ;;
   12873 
   12874 solaris*)
   12875   version_type=linux
   12876   need_lib_prefix=no
   12877   need_version=no
   12878   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12879   soname_spec='${libname}${release}${shared_ext}$major'
   12880   shlibpath_var=LD_LIBRARY_PATH
   12881   shlibpath_overrides_runpath=yes
   12882   hardcode_into_libs=yes
   12883   # ldd complains unless libraries are executable
   12884   postinstall_cmds='chmod +x $lib'
   12885   ;;
   12886 
   12887 sunos4*)
   12888   version_type=sunos
   12889   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12890   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12891   shlibpath_var=LD_LIBRARY_PATH
   12892   shlibpath_overrides_runpath=yes
   12893   if test "$with_gnu_ld" = yes; then
   12894     need_lib_prefix=no
   12895   fi
   12896   need_version=yes
   12897   ;;
   12898 
   12899 sysv4 | sysv4.3*)
   12900   version_type=linux
   12901   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12902   soname_spec='${libname}${release}${shared_ext}$major'
   12903   shlibpath_var=LD_LIBRARY_PATH
   12904   case $host_vendor in
   12905     sni)
   12906       shlibpath_overrides_runpath=no
   12907       need_lib_prefix=no
   12908       runpath_var=LD_RUN_PATH
   12909       ;;
   12910     siemens)
   12911       need_lib_prefix=no
   12912       ;;
   12913     motorola)
   12914       need_lib_prefix=no
   12915       need_version=no
   12916       shlibpath_overrides_runpath=no
   12917       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12918       ;;
   12919   esac
   12920   ;;
   12921 
   12922 sysv4*MP*)
   12923   if test -d /usr/nec ;then
   12924     version_type=linux
   12925     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   12926     soname_spec='$libname${shared_ext}.$major'
   12927     shlibpath_var=LD_LIBRARY_PATH
   12928   fi
   12929   ;;
   12930 
   12931 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12932   version_type=freebsd-elf
   12933   need_lib_prefix=no
   12934   need_version=no
   12935   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12936   soname_spec='${libname}${release}${shared_ext}$major'
   12937   shlibpath_var=LD_LIBRARY_PATH
   12938   shlibpath_overrides_runpath=yes
   12939   hardcode_into_libs=yes
   12940   if test "$with_gnu_ld" = yes; then
   12941     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12942   else
   12943     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12944     case $host_os in
   12945       sco3.2v5*)
   12946         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12947 	;;
   12948     esac
   12949   fi
   12950   sys_lib_dlsearch_path_spec='/usr/lib'
   12951   ;;
   12952 
   12953 tpf*)
   12954   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12955   version_type=linux
   12956   need_lib_prefix=no
   12957   need_version=no
   12958   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12959   shlibpath_var=LD_LIBRARY_PATH
   12960   shlibpath_overrides_runpath=no
   12961   hardcode_into_libs=yes
   12962   ;;
   12963 
   12964 uts4*)
   12965   version_type=linux
   12966   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12967   soname_spec='${libname}${release}${shared_ext}$major'
   12968   shlibpath_var=LD_LIBRARY_PATH
   12969   ;;
   12970 
   12971 *)
   12972   dynamic_linker=no
   12973   ;;
   12974 esac
   12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12976 $as_echo "$dynamic_linker" >&6; }
   12977 test "$dynamic_linker" = no && can_build_shared=no
   12978 
   12979 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12980 if test "$GCC" = yes; then
   12981   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12982 fi
   12983 
   12984 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   12985   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   12986 fi
   12987 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   12988   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   12989 fi
   12990 
   12991 
   12992 
   12993 
   12994 
   12995 
   12996 
   12997 
   12998 
   12999 
   13000 
   13001 
   13002 
   13003 
   13004 
   13005 
   13006 
   13007 
   13008 
   13009 
   13010 
   13011 
   13012 
   13013 
   13014 
   13015 
   13016 
   13017 
   13018 
   13019 
   13020 
   13021 
   13022 
   13023 
   13024 
   13025 
   13026 
   13027 
   13028 
   13029 
   13030 
   13031 
   13032 
   13033 
   13034 
   13035 
   13036 
   13037 
   13038 
   13039 
   13040 
   13041 
   13042 
   13043 
   13044 
   13045 
   13046 
   13047 
   13048 
   13049 
   13050 
   13051 
   13052 
   13053 
   13054 
   13055 
   13056 
   13057 
   13058 
   13059 
   13060 
   13061 
   13062 
   13063 
   13064 
   13065 
   13066 
   13067 
   13068 
   13069 
   13070 
   13071 
   13072 
   13073 
   13074 
   13075 
   13076 
   13077 
   13078 
   13079 
   13080 
   13081 
   13082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   13083 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13084 hardcode_action=
   13085 if test -n "$hardcode_libdir_flag_spec" ||
   13086    test -n "$runpath_var" ||
   13087    test "X$hardcode_automatic" = "Xyes" ; then
   13088 
   13089   # We can hardcode non-existent directories.
   13090   if test "$hardcode_direct" != no &&
   13091      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13092      # have to relink, otherwise we might link with an installed library
   13093      # when we should be linking with a yet-to-be-installed one
   13094      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   13095      test "$hardcode_minus_L" != no; then
   13096     # Linking always hardcodes the temporary library directory.
   13097     hardcode_action=relink
   13098   else
   13099     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13100     hardcode_action=immediate
   13101   fi
   13102 else
   13103   # We cannot hardcode anything, or else we can only hardcode existing
   13104   # directories.
   13105   hardcode_action=unsupported
   13106 fi
   13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   13108 $as_echo "$hardcode_action" >&6; }
   13109 
   13110 if test "$hardcode_action" = relink ||
   13111    test "$inherit_rpath" = yes; then
   13112   # Fast installation is not supported
   13113   enable_fast_install=no
   13114 elif test "$shlibpath_overrides_runpath" = yes ||
   13115      test "$enable_shared" = no; then
   13116   # Fast installation is not necessary
   13117   enable_fast_install=needless
   13118 fi
   13119 
   13120 
   13121 
   13122 
   13123 
   13124 
   13125   if test "x$enable_dlopen" != xyes; then
   13126   enable_dlopen=unknown
   13127   enable_dlopen_self=unknown
   13128   enable_dlopen_self_static=unknown
   13129 else
   13130   lt_cv_dlopen=no
   13131   lt_cv_dlopen_libs=
   13132 
   13133   case $host_os in
   13134   beos*)
   13135     lt_cv_dlopen="load_add_on"
   13136     lt_cv_dlopen_libs=
   13137     lt_cv_dlopen_self=yes
   13138     ;;
   13139 
   13140   mingw* | pw32* | cegcc*)
   13141     lt_cv_dlopen="LoadLibrary"
   13142     lt_cv_dlopen_libs=
   13143     ;;
   13144 
   13145   cygwin*)
   13146     lt_cv_dlopen="dlopen"
   13147     lt_cv_dlopen_libs=
   13148     ;;
   13149 
   13150   darwin*)
   13151   # if libdl is installed we need to link against it
   13152     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13153 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   13154 if ${ac_cv_lib_dl_dlopen+:} false; then :
   13155   $as_echo_n "(cached) " >&6
   13156 else
   13157   ac_check_lib_save_LIBS=$LIBS
   13158 LIBS="-ldl  $LIBS"
   13159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13160 /* end confdefs.h.  */
   13161 
   13162 /* Override any GCC internal prototype to avoid an error.
   13163    Use char because int might match the return type of a GCC
   13164    builtin and then its argument prototype would still apply.  */
   13165 #ifdef __cplusplus
   13166 extern "C"
   13167 #endif
   13168 char dlopen ();
   13169 int
   13170 main ()
   13171 {
   13172 return dlopen ();
   13173   ;
   13174   return 0;
   13175 }
   13176 _ACEOF
   13177 if ac_fn_c_try_link "$LINENO"; then :
   13178   ac_cv_lib_dl_dlopen=yes
   13179 else
   13180   ac_cv_lib_dl_dlopen=no
   13181 fi
   13182 rm -f core conftest.err conftest.$ac_objext \
   13183     conftest$ac_exeext conftest.$ac_ext
   13184 LIBS=$ac_check_lib_save_LIBS
   13185 fi
   13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13187 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   13188 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   13189   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   13190 else
   13191 
   13192     lt_cv_dlopen="dyld"
   13193     lt_cv_dlopen_libs=
   13194     lt_cv_dlopen_self=yes
   13195 
   13196 fi
   13197 
   13198     ;;
   13199 
   13200   *)
   13201     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   13202 if test "x$ac_cv_func_shl_load" = xyes; then :
   13203   lt_cv_dlopen="shl_load"
   13204 else
   13205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   13206 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   13207 if ${ac_cv_lib_dld_shl_load+:} false; then :
   13208   $as_echo_n "(cached) " >&6
   13209 else
   13210   ac_check_lib_save_LIBS=$LIBS
   13211 LIBS="-ldld  $LIBS"
   13212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13213 /* end confdefs.h.  */
   13214 
   13215 /* Override any GCC internal prototype to avoid an error.
   13216    Use char because int might match the return type of a GCC
   13217    builtin and then its argument prototype would still apply.  */
   13218 #ifdef __cplusplus
   13219 extern "C"
   13220 #endif
   13221 char shl_load ();
   13222 int
   13223 main ()
   13224 {
   13225 return shl_load ();
   13226   ;
   13227   return 0;
   13228 }
   13229 _ACEOF
   13230 if ac_fn_c_try_link "$LINENO"; then :
   13231   ac_cv_lib_dld_shl_load=yes
   13232 else
   13233   ac_cv_lib_dld_shl_load=no
   13234 fi
   13235 rm -f core conftest.err conftest.$ac_objext \
   13236     conftest$ac_exeext conftest.$ac_ext
   13237 LIBS=$ac_check_lib_save_LIBS
   13238 fi
   13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   13240 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   13241 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   13242   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   13243 else
   13244   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   13245 if test "x$ac_cv_func_dlopen" = xyes; then :
   13246   lt_cv_dlopen="dlopen"
   13247 else
   13248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13249 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   13250 if ${ac_cv_lib_dl_dlopen+:} false; then :
   13251   $as_echo_n "(cached) " >&6
   13252 else
   13253   ac_check_lib_save_LIBS=$LIBS
   13254 LIBS="-ldl  $LIBS"
   13255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13256 /* end confdefs.h.  */
   13257 
   13258 /* Override any GCC internal prototype to avoid an error.
   13259    Use char because int might match the return type of a GCC
   13260    builtin and then its argument prototype would still apply.  */
   13261 #ifdef __cplusplus
   13262 extern "C"
   13263 #endif
   13264 char dlopen ();
   13265 int
   13266 main ()
   13267 {
   13268 return dlopen ();
   13269   ;
   13270   return 0;
   13271 }
   13272 _ACEOF
   13273 if ac_fn_c_try_link "$LINENO"; then :
   13274   ac_cv_lib_dl_dlopen=yes
   13275 else
   13276   ac_cv_lib_dl_dlopen=no
   13277 fi
   13278 rm -f core conftest.err conftest.$ac_objext \
   13279     conftest$ac_exeext conftest.$ac_ext
   13280 LIBS=$ac_check_lib_save_LIBS
   13281 fi
   13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13283 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   13284 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   13285   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   13286 else
   13287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   13288 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   13289 if ${ac_cv_lib_svld_dlopen+:} false; then :
   13290   $as_echo_n "(cached) " >&6
   13291 else
   13292   ac_check_lib_save_LIBS=$LIBS
   13293 LIBS="-lsvld  $LIBS"
   13294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13295 /* end confdefs.h.  */
   13296 
   13297 /* Override any GCC internal prototype to avoid an error.
   13298    Use char because int might match the return type of a GCC
   13299    builtin and then its argument prototype would still apply.  */
   13300 #ifdef __cplusplus
   13301 extern "C"
   13302 #endif
   13303 char dlopen ();
   13304 int
   13305 main ()
   13306 {
   13307 return dlopen ();
   13308   ;
   13309   return 0;
   13310 }
   13311 _ACEOF
   13312 if ac_fn_c_try_link "$LINENO"; then :
   13313   ac_cv_lib_svld_dlopen=yes
   13314 else
   13315   ac_cv_lib_svld_dlopen=no
   13316 fi
   13317 rm -f core conftest.err conftest.$ac_objext \
   13318     conftest$ac_exeext conftest.$ac_ext
   13319 LIBS=$ac_check_lib_save_LIBS
   13320 fi
   13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   13322 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   13323 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   13324   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   13325 else
   13326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   13327 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   13328 if ${ac_cv_lib_dld_dld_link+:} false; then :
   13329   $as_echo_n "(cached) " >&6
   13330 else
   13331   ac_check_lib_save_LIBS=$LIBS
   13332 LIBS="-ldld  $LIBS"
   13333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13334 /* end confdefs.h.  */
   13335 
   13336 /* Override any GCC internal prototype to avoid an error.
   13337    Use char because int might match the return type of a GCC
   13338    builtin and then its argument prototype would still apply.  */
   13339 #ifdef __cplusplus
   13340 extern "C"
   13341 #endif
   13342 char dld_link ();
   13343 int
   13344 main ()
   13345 {
   13346 return dld_link ();
   13347   ;
   13348   return 0;
   13349 }
   13350 _ACEOF
   13351 if ac_fn_c_try_link "$LINENO"; then :
   13352   ac_cv_lib_dld_dld_link=yes
   13353 else
   13354   ac_cv_lib_dld_dld_link=no
   13355 fi
   13356 rm -f core conftest.err conftest.$ac_objext \
   13357     conftest$ac_exeext conftest.$ac_ext
   13358 LIBS=$ac_check_lib_save_LIBS
   13359 fi
   13360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   13361 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   13362 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   13363   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   13364 fi
   13365 
   13366 
   13367 fi
   13368 
   13369 
   13370 fi
   13371 
   13372 
   13373 fi
   13374 
   13375 
   13376 fi
   13377 
   13378 
   13379 fi
   13380 
   13381     ;;
   13382   esac
   13383 
   13384   if test "x$lt_cv_dlopen" != xno; then
   13385     enable_dlopen=yes
   13386   else
   13387     enable_dlopen=no
   13388   fi
   13389 
   13390   case $lt_cv_dlopen in
   13391   dlopen)
   13392     save_CPPFLAGS="$CPPFLAGS"
   13393     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   13394 
   13395     save_LDFLAGS="$LDFLAGS"
   13396     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   13397 
   13398     save_LIBS="$LIBS"
   13399     LIBS="$lt_cv_dlopen_libs $LIBS"
   13400 
   13401     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   13402 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   13403 if ${lt_cv_dlopen_self+:} false; then :
   13404   $as_echo_n "(cached) " >&6
   13405 else
   13406   	  if test "$cross_compiling" = yes; then :
   13407   lt_cv_dlopen_self=cross
   13408 else
   13409   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13410   lt_status=$lt_dlunknown
   13411   cat > conftest.$ac_ext <<_LT_EOF
   13412 #line $LINENO "configure"
   13413 #include "confdefs.h"
   13414 
   13415 #if HAVE_DLFCN_H
   13416 #include <dlfcn.h>
   13417 #endif
   13418 
   13419 #include <stdio.h>
   13420 
   13421 #ifdef RTLD_GLOBAL
   13422 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13423 #else
   13424 #  ifdef DL_GLOBAL
   13425 #    define LT_DLGLOBAL		DL_GLOBAL
   13426 #  else
   13427 #    define LT_DLGLOBAL		0
   13428 #  endif
   13429 #endif
   13430 
   13431 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13432    find out it does not work in some platform. */
   13433 #ifndef LT_DLLAZY_OR_NOW
   13434 #  ifdef RTLD_LAZY
   13435 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13436 #  else
   13437 #    ifdef DL_LAZY
   13438 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13439 #    else
   13440 #      ifdef RTLD_NOW
   13441 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13442 #      else
   13443 #        ifdef DL_NOW
   13444 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13445 #        else
   13446 #          define LT_DLLAZY_OR_NOW	0
   13447 #        endif
   13448 #      endif
   13449 #    endif
   13450 #  endif
   13451 #endif
   13452 
   13453 /* When -fvisbility=hidden is used, assume the code has been annotated
   13454    correspondingly for the symbols needed.  */
   13455 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13456 int fnord () __attribute__((visibility("default")));
   13457 #endif
   13458 
   13459 int fnord () { return 42; }
   13460 int main ()
   13461 {
   13462   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13463   int status = $lt_dlunknown;
   13464 
   13465   if (self)
   13466     {
   13467       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13468       else
   13469         {
   13470 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13471           else puts (dlerror ());
   13472 	}
   13473       /* dlclose (self); */
   13474     }
   13475   else
   13476     puts (dlerror ());
   13477 
   13478   return status;
   13479 }
   13480 _LT_EOF
   13481   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13482   (eval $ac_link) 2>&5
   13483   ac_status=$?
   13484   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13485   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   13486     (./conftest; exit; ) >&5 2>/dev/null
   13487     lt_status=$?
   13488     case x$lt_status in
   13489       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   13490       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   13491       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   13492     esac
   13493   else :
   13494     # compilation failed
   13495     lt_cv_dlopen_self=no
   13496   fi
   13497 fi
   13498 rm -fr conftest*
   13499 
   13500 
   13501 fi
   13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   13503 $as_echo "$lt_cv_dlopen_self" >&6; }
   13504 
   13505     if test "x$lt_cv_dlopen_self" = xyes; then
   13506       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   13507       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   13508 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   13509 if ${lt_cv_dlopen_self_static+:} false; then :
   13510   $as_echo_n "(cached) " >&6
   13511 else
   13512   	  if test "$cross_compiling" = yes; then :
   13513   lt_cv_dlopen_self_static=cross
   13514 else
   13515   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13516   lt_status=$lt_dlunknown
   13517   cat > conftest.$ac_ext <<_LT_EOF
   13518 #line $LINENO "configure"
   13519 #include "confdefs.h"
   13520 
   13521 #if HAVE_DLFCN_H
   13522 #include <dlfcn.h>
   13523 #endif
   13524 
   13525 #include <stdio.h>
   13526 
   13527 #ifdef RTLD_GLOBAL
   13528 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13529 #else
   13530 #  ifdef DL_GLOBAL
   13531 #    define LT_DLGLOBAL		DL_GLOBAL
   13532 #  else
   13533 #    define LT_DLGLOBAL		0
   13534 #  endif
   13535 #endif
   13536 
   13537 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13538    find out it does not work in some platform. */
   13539 #ifndef LT_DLLAZY_OR_NOW
   13540 #  ifdef RTLD_LAZY
   13541 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13542 #  else
   13543 #    ifdef DL_LAZY
   13544 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13545 #    else
   13546 #      ifdef RTLD_NOW
   13547 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13548 #      else
   13549 #        ifdef DL_NOW
   13550 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13551 #        else
   13552 #          define LT_DLLAZY_OR_NOW	0
   13553 #        endif
   13554 #      endif
   13555 #    endif
   13556 #  endif
   13557 #endif
   13558 
   13559 /* When -fvisbility=hidden is used, assume the code has been annotated
   13560    correspondingly for the symbols needed.  */
   13561 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13562 int fnord () __attribute__((visibility("default")));
   13563 #endif
   13564 
   13565 int fnord () { return 42; }
   13566 int main ()
   13567 {
   13568   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13569   int status = $lt_dlunknown;
   13570 
   13571   if (self)
   13572     {
   13573       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13574       else
   13575         {
   13576 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13577           else puts (dlerror ());
   13578 	}
   13579       /* dlclose (self); */
   13580     }
   13581   else
   13582     puts (dlerror ());
   13583 
   13584   return status;
   13585 }
   13586 _LT_EOF
   13587   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13588   (eval $ac_link) 2>&5
   13589   ac_status=$?
   13590   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13591   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   13592     (./conftest; exit; ) >&5 2>/dev/null
   13593     lt_status=$?
   13594     case x$lt_status in
   13595       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   13596       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   13597       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   13598     esac
   13599   else :
   13600     # compilation failed
   13601     lt_cv_dlopen_self_static=no
   13602   fi
   13603 fi
   13604 rm -fr conftest*
   13605 
   13606 
   13607 fi
   13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   13609 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   13610     fi
   13611 
   13612     CPPFLAGS="$save_CPPFLAGS"
   13613     LDFLAGS="$save_LDFLAGS"
   13614     LIBS="$save_LIBS"
   13615     ;;
   13616   esac
   13617 
   13618   case $lt_cv_dlopen_self in
   13619   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   13620   *) enable_dlopen_self=unknown ;;
   13621   esac
   13622 
   13623   case $lt_cv_dlopen_self_static in
   13624   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   13625   *) enable_dlopen_self_static=unknown ;;
   13626   esac
   13627 fi
   13628 
   13629 
   13630 
   13631 
   13632 
   13633 
   13634 
   13635 
   13636 
   13637 
   13638 
   13639 
   13640 
   13641 
   13642 
   13643 
   13644 
   13645 striplib=
   13646 old_striplib=
   13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13648 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   13649 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13650   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   13651   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   13652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13653 $as_echo "yes" >&6; }
   13654 else
   13655 # FIXME - insert some real tests, host_os isn't really good enough
   13656   case $host_os in
   13657   darwin*)
   13658     if test -n "$STRIP" ; then
   13659       striplib="$STRIP -x"
   13660       old_striplib="$STRIP -S"
   13661       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13662 $as_echo "yes" >&6; }
   13663     else
   13664       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13665 $as_echo "no" >&6; }
   13666     fi
   13667     ;;
   13668   *)
   13669     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13670 $as_echo "no" >&6; }
   13671     ;;
   13672   esac
   13673 fi
   13674 
   13675 
   13676 
   13677 
   13678 
   13679 
   13680 
   13681 
   13682 
   13683 
   13684 
   13685 
   13686   # Report which library types will actually be built
   13687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   13688 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   13689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   13690 $as_echo "$can_build_shared" >&6; }
   13691 
   13692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   13693 $as_echo_n "checking whether to build shared libraries... " >&6; }
   13694   test "$can_build_shared" = "no" && enable_shared=no
   13695 
   13696   # On AIX, shared libraries and static libraries use the same namespace, and
   13697   # are all built from PIC.
   13698   case $host_os in
   13699   aix3*)
   13700     test "$enable_shared" = yes && enable_static=no
   13701     if test -n "$RANLIB"; then
   13702       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13703       postinstall_cmds='$RANLIB $lib'
   13704     fi
   13705     ;;
   13706 
   13707   aix[4-9]*)
   13708     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   13709       test "$enable_shared" = yes && enable_static=no
   13710     fi
   13711     ;;
   13712   esac
   13713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   13714 $as_echo "$enable_shared" >&6; }
   13715 
   13716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   13717 $as_echo_n "checking whether to build static libraries... " >&6; }
   13718   # Make sure either enable_shared or enable_static is yes.
   13719   test "$enable_shared" = yes || enable_static=yes
   13720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   13721 $as_echo "$enable_static" >&6; }
   13722 
   13723 
   13724 
   13725 
   13726 fi
   13727 ac_ext=c
   13728 ac_cpp='$CPP $CPPFLAGS'
   13729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13732 
   13733 CC="$lt_save_CC"
   13734 
   13735 
   13736 
   13737 
   13738 
   13739 
   13740 
   13741 
   13742 
   13743 
   13744 
   13745 
   13746 
   13747         ac_config_commands="$ac_config_commands libtool"
   13748 
   13749 
   13750 
   13751 
   13752 # Only expand once:
   13753 
   13754 
   13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   13756 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   13757 set x ${MAKE-make}
   13758 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   13759 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   13760   $as_echo_n "(cached) " >&6
   13761 else
   13762   cat >conftest.make <<\_ACEOF
   13763 SHELL = /bin/sh
   13764 all:
   13765 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   13766 _ACEOF
   13767 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   13768 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   13769   *@@@%%%=?*=@@@%%%*)
   13770     eval ac_cv_prog_make_${ac_make}_set=yes;;
   13771   *)
   13772     eval ac_cv_prog_make_${ac_make}_set=no;;
   13773 esac
   13774 rm -f conftest.make
   13775 fi
   13776 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   13777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13778 $as_echo "yes" >&6; }
   13779   SET_MAKE=
   13780 else
   13781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13782 $as_echo "no" >&6; }
   13783   SET_MAKE="MAKE=${MAKE-make}"
   13784 fi
   13785 
   13786 
   13787 
   13788 
   13789 
   13790 
   13791 
   13792 
   13793 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   13794 	if test -n "$ac_tool_prefix"; then
   13795   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   13796 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   13797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13798 $as_echo_n "checking for $ac_word... " >&6; }
   13799 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   13800   $as_echo_n "(cached) " >&6
   13801 else
   13802   case $PKG_CONFIG in
   13803   [\\/]* | ?:[\\/]*)
   13804   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   13805   ;;
   13806   *)
   13807   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13808 for as_dir in $PATH
   13809 do
   13810   IFS=$as_save_IFS
   13811   test -z "$as_dir" && as_dir=.
   13812     for ac_exec_ext in '' $ac_executable_extensions; do
   13813   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13814     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   13815     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13816     break 2
   13817   fi
   13818 done
   13819   done
   13820 IFS=$as_save_IFS
   13821 
   13822   ;;
   13823 esac
   13824 fi
   13825 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   13826 if test -n "$PKG_CONFIG"; then
   13827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   13828 $as_echo "$PKG_CONFIG" >&6; }
   13829 else
   13830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13831 $as_echo "no" >&6; }
   13832 fi
   13833 
   13834 
   13835 fi
   13836 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13837   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13838   # Extract the first word of "pkg-config", so it can be a program name with args.
   13839 set dummy pkg-config; ac_word=$2
   13840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13841 $as_echo_n "checking for $ac_word... " >&6; }
   13842 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   13843   $as_echo_n "(cached) " >&6
   13844 else
   13845   case $ac_pt_PKG_CONFIG in
   13846   [\\/]* | ?:[\\/]*)
   13847   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13848   ;;
   13849   *)
   13850   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13851 for as_dir in $PATH
   13852 do
   13853   IFS=$as_save_IFS
   13854   test -z "$as_dir" && as_dir=.
   13855     for ac_exec_ext in '' $ac_executable_extensions; do
   13856   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13857     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   13858     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13859     break 2
   13860   fi
   13861 done
   13862   done
   13863 IFS=$as_save_IFS
   13864 
   13865   ;;
   13866 esac
   13867 fi
   13868 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13869 if test -n "$ac_pt_PKG_CONFIG"; then
   13870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13871 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   13872 else
   13873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13874 $as_echo "no" >&6; }
   13875 fi
   13876 
   13877   if test "x$ac_pt_PKG_CONFIG" = x; then
   13878     PKG_CONFIG=""
   13879   else
   13880     case $cross_compiling:$ac_tool_warned in
   13881 yes:)
   13882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13884 ac_tool_warned=yes ;;
   13885 esac
   13886     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13887   fi
   13888 else
   13889   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13890 fi
   13891 
   13892 fi
   13893 if test -n "$PKG_CONFIG"; then
   13894 	_pkg_min_version=0.9.0
   13895 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13896 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13897 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13898 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13899 $as_echo "yes" >&6; }
   13900 	else
   13901 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13902 $as_echo "no" >&6; }
   13903 		PKG_CONFIG=""
   13904 	fi
   13905 fi
   13906 for ac_prog in flex lex
   13907 do
   13908   # Extract the first word of "$ac_prog", so it can be a program name with args.
   13909 set dummy $ac_prog; ac_word=$2
   13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13911 $as_echo_n "checking for $ac_word... " >&6; }
   13912 if ${ac_cv_prog_LEX+:} false; then :
   13913   $as_echo_n "(cached) " >&6
   13914 else
   13915   if test -n "$LEX"; then
   13916   ac_cv_prog_LEX="$LEX" # Let the user override the test.
   13917 else
   13918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13919 for as_dir in $PATH
   13920 do
   13921   IFS=$as_save_IFS
   13922   test -z "$as_dir" && as_dir=.
   13923     for ac_exec_ext in '' $ac_executable_extensions; do
   13924   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13925     ac_cv_prog_LEX="$ac_prog"
   13926     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13927     break 2
   13928   fi
   13929 done
   13930   done
   13931 IFS=$as_save_IFS
   13932 
   13933 fi
   13934 fi
   13935 LEX=$ac_cv_prog_LEX
   13936 if test -n "$LEX"; then
   13937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
   13938 $as_echo "$LEX" >&6; }
   13939 else
   13940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13941 $as_echo "no" >&6; }
   13942 fi
   13943 
   13944 
   13945   test -n "$LEX" && break
   13946 done
   13947 test -n "$LEX" || LEX=":"
   13948 
   13949 if test "x$LEX" != "x:"; then
   13950   cat >conftest.l <<_ACEOF
   13951 %%
   13952 a { ECHO; }
   13953 b { REJECT; }
   13954 c { yymore (); }
   13955 d { yyless (1); }
   13956 e { yyless (input () != 0); }
   13957 f { unput (yytext[0]); }
   13958 . { BEGIN INITIAL; }
   13959 %%
   13960 #ifdef YYTEXT_POINTER
   13961 extern char *yytext;
   13962 #endif
   13963 int
   13964 main (void)
   13965 {
   13966   return ! yylex () + ! yywrap ();
   13967 }
   13968 _ACEOF
   13969 { { ac_try="$LEX conftest.l"
   13970 case "(($ac_try" in
   13971   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   13972   *) ac_try_echo=$ac_try;;
   13973 esac
   13974 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   13975 $as_echo "$ac_try_echo"; } >&5
   13976   (eval "$LEX conftest.l") 2>&5
   13977   ac_status=$?
   13978   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13979   test $ac_status = 0; }
   13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
   13981 $as_echo_n "checking lex output file root... " >&6; }
   13982 if ${ac_cv_prog_lex_root+:} false; then :
   13983   $as_echo_n "(cached) " >&6
   13984 else
   13985 
   13986 if test -f lex.yy.c; then
   13987   ac_cv_prog_lex_root=lex.yy
   13988 elif test -f lexyy.c; then
   13989   ac_cv_prog_lex_root=lexyy
   13990 else
   13991   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
   13992 fi
   13993 fi
   13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
   13995 $as_echo "$ac_cv_prog_lex_root" >&6; }
   13996 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
   13997 
   13998 if test -z "${LEXLIB+set}"; then
   13999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
   14000 $as_echo_n "checking lex library... " >&6; }
   14001 if ${ac_cv_lib_lex+:} false; then :
   14002   $as_echo_n "(cached) " >&6
   14003 else
   14004 
   14005     ac_save_LIBS=$LIBS
   14006     ac_cv_lib_lex='none needed'
   14007     for ac_lib in '' -lfl -ll; do
   14008       LIBS="$ac_lib $ac_save_LIBS"
   14009       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14010 /* end confdefs.h.  */
   14011 `cat $LEX_OUTPUT_ROOT.c`
   14012 _ACEOF
   14013 if ac_fn_c_try_link "$LINENO"; then :
   14014   ac_cv_lib_lex=$ac_lib
   14015 fi
   14016 rm -f core conftest.err conftest.$ac_objext \
   14017     conftest$ac_exeext conftest.$ac_ext
   14018       test "$ac_cv_lib_lex" != 'none needed' && break
   14019     done
   14020     LIBS=$ac_save_LIBS
   14021 
   14022 fi
   14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
   14024 $as_echo "$ac_cv_lib_lex" >&6; }
   14025   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
   14026 fi
   14027 
   14028 
   14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
   14030 $as_echo_n "checking whether yytext is a pointer... " >&6; }
   14031 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
   14032   $as_echo_n "(cached) " >&6
   14033 else
   14034   # POSIX says lex can declare yytext either as a pointer or an array; the
   14035 # default is implementation-dependent.  Figure out which it is, since
   14036 # not all implementations provide the %pointer and %array declarations.
   14037 ac_cv_prog_lex_yytext_pointer=no
   14038 ac_save_LIBS=$LIBS
   14039 LIBS="$LEXLIB $ac_save_LIBS"
   14040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14041 /* end confdefs.h.  */
   14042 
   14043   #define YYTEXT_POINTER 1
   14044 `cat $LEX_OUTPUT_ROOT.c`
   14045 _ACEOF
   14046 if ac_fn_c_try_link "$LINENO"; then :
   14047   ac_cv_prog_lex_yytext_pointer=yes
   14048 fi
   14049 rm -f core conftest.err conftest.$ac_objext \
   14050     conftest$ac_exeext conftest.$ac_ext
   14051 LIBS=$ac_save_LIBS
   14052 
   14053 fi
   14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
   14055 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
   14056 if test $ac_cv_prog_lex_yytext_pointer = yes; then
   14057 
   14058 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
   14059 
   14060 fi
   14061 rm -f conftest.l $LEX_OUTPUT_ROOT.c
   14062 
   14063 fi
   14064 for ac_prog in 'bison -y' byacc
   14065 do
   14066   # Extract the first word of "$ac_prog", so it can be a program name with args.
   14067 set dummy $ac_prog; ac_word=$2
   14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14069 $as_echo_n "checking for $ac_word... " >&6; }
   14070 if ${ac_cv_prog_YACC+:} false; then :
   14071   $as_echo_n "(cached) " >&6
   14072 else
   14073   if test -n "$YACC"; then
   14074   ac_cv_prog_YACC="$YACC" # Let the user override the test.
   14075 else
   14076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14077 for as_dir in $PATH
   14078 do
   14079   IFS=$as_save_IFS
   14080   test -z "$as_dir" && as_dir=.
   14081     for ac_exec_ext in '' $ac_executable_extensions; do
   14082   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   14083     ac_cv_prog_YACC="$ac_prog"
   14084     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14085     break 2
   14086   fi
   14087 done
   14088   done
   14089 IFS=$as_save_IFS
   14090 
   14091 fi
   14092 fi
   14093 YACC=$ac_cv_prog_YACC
   14094 if test -n "$YACC"; then
   14095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
   14096 $as_echo "$YACC" >&6; }
   14097 else
   14098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14099 $as_echo "no" >&6; }
   14100 fi
   14101 
   14102 
   14103   test -n "$YACC" && break
   14104 done
   14105 test -n "$YACC" || YACC="yacc"
   14106 
   14107 # Check whether --enable-largefile was given.
   14108 if test "${enable_largefile+set}" = set; then :
   14109   enableval=$enable_largefile;
   14110 fi
   14111 
   14112 if test "$enable_largefile" != no; then
   14113 
   14114   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   14115 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   14116 if ${ac_cv_sys_largefile_CC+:} false; then :
   14117   $as_echo_n "(cached) " >&6
   14118 else
   14119   ac_cv_sys_largefile_CC=no
   14120      if test "$GCC" != yes; then
   14121        ac_save_CC=$CC
   14122        while :; do
   14123 	 # IRIX 6.2 and later do not support large files by default,
   14124 	 # so use the C compiler's -n32 option if that helps.
   14125 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14126 /* end confdefs.h.  */
   14127 #include <sys/types.h>
   14128  /* Check that off_t can represent 2**63 - 1 correctly.
   14129     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   14130     since some C++ compilers masquerading as C compilers
   14131     incorrectly reject 9223372036854775807.  */
   14132 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   14133   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   14134 		       && LARGE_OFF_T % 2147483647 == 1)
   14135 		      ? 1 : -1];
   14136 int
   14137 main ()
   14138 {
   14139 
   14140   ;
   14141   return 0;
   14142 }
   14143 _ACEOF
   14144 	 if ac_fn_c_try_compile "$LINENO"; then :
   14145   break
   14146 fi
   14147 rm -f core conftest.err conftest.$ac_objext
   14148 	 CC="$CC -n32"
   14149 	 if ac_fn_c_try_compile "$LINENO"; then :
   14150   ac_cv_sys_largefile_CC=' -n32'; break
   14151 fi
   14152 rm -f core conftest.err conftest.$ac_objext
   14153 	 break
   14154        done
   14155        CC=$ac_save_CC
   14156        rm -f conftest.$ac_ext
   14157     fi
   14158 fi
   14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   14160 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   14161   if test "$ac_cv_sys_largefile_CC" != no; then
   14162     CC=$CC$ac_cv_sys_largefile_CC
   14163   fi
   14164 
   14165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   14166 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   14167 if ${ac_cv_sys_file_offset_bits+:} false; then :
   14168   $as_echo_n "(cached) " >&6
   14169 else
   14170   while :; do
   14171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14172 /* end confdefs.h.  */
   14173 #include <sys/types.h>
   14174  /* Check that off_t can represent 2**63 - 1 correctly.
   14175     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   14176     since some C++ compilers masquerading as C compilers
   14177     incorrectly reject 9223372036854775807.  */
   14178 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   14179   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   14180 		       && LARGE_OFF_T % 2147483647 == 1)
   14181 		      ? 1 : -1];
   14182 int
   14183 main ()
   14184 {
   14185 
   14186   ;
   14187   return 0;
   14188 }
   14189 _ACEOF
   14190 if ac_fn_c_try_compile "$LINENO"; then :
   14191   ac_cv_sys_file_offset_bits=no; break
   14192 fi
   14193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14195 /* end confdefs.h.  */
   14196 #define _FILE_OFFSET_BITS 64
   14197 #include <sys/types.h>
   14198  /* Check that off_t can represent 2**63 - 1 correctly.
   14199     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   14200     since some C++ compilers masquerading as C compilers
   14201     incorrectly reject 9223372036854775807.  */
   14202 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   14203   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   14204 		       && LARGE_OFF_T % 2147483647 == 1)
   14205 		      ? 1 : -1];
   14206 int
   14207 main ()
   14208 {
   14209 
   14210   ;
   14211   return 0;
   14212 }
   14213 _ACEOF
   14214 if ac_fn_c_try_compile "$LINENO"; then :
   14215   ac_cv_sys_file_offset_bits=64; break
   14216 fi
   14217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14218   ac_cv_sys_file_offset_bits=unknown
   14219   break
   14220 done
   14221 fi
   14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   14223 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   14224 case $ac_cv_sys_file_offset_bits in #(
   14225   no | unknown) ;;
   14226   *)
   14227 cat >>confdefs.h <<_ACEOF
   14228 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   14229 _ACEOF
   14230 ;;
   14231 esac
   14232 rm -rf conftest*
   14233   if test $ac_cv_sys_file_offset_bits = unknown; then
   14234     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   14235 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   14236 if ${ac_cv_sys_large_files+:} false; then :
   14237   $as_echo_n "(cached) " >&6
   14238 else
   14239   while :; do
   14240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14241 /* end confdefs.h.  */
   14242 #include <sys/types.h>
   14243  /* Check that off_t can represent 2**63 - 1 correctly.
   14244     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   14245     since some C++ compilers masquerading as C compilers
   14246     incorrectly reject 9223372036854775807.  */
   14247 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   14248   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   14249 		       && LARGE_OFF_T % 2147483647 == 1)
   14250 		      ? 1 : -1];
   14251 int
   14252 main ()
   14253 {
   14254 
   14255   ;
   14256   return 0;
   14257 }
   14258 _ACEOF
   14259 if ac_fn_c_try_compile "$LINENO"; then :
   14260   ac_cv_sys_large_files=no; break
   14261 fi
   14262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14264 /* end confdefs.h.  */
   14265 #define _LARGE_FILES 1
   14266 #include <sys/types.h>
   14267  /* Check that off_t can represent 2**63 - 1 correctly.
   14268     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   14269     since some C++ compilers masquerading as C compilers
   14270     incorrectly reject 9223372036854775807.  */
   14271 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   14272   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   14273 		       && LARGE_OFF_T % 2147483647 == 1)
   14274 		      ? 1 : -1];
   14275 int
   14276 main ()
   14277 {
   14278 
   14279   ;
   14280   return 0;
   14281 }
   14282 _ACEOF
   14283 if ac_fn_c_try_compile "$LINENO"; then :
   14284   ac_cv_sys_large_files=1; break
   14285 fi
   14286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14287   ac_cv_sys_large_files=unknown
   14288   break
   14289 done
   14290 fi
   14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   14292 $as_echo "$ac_cv_sys_large_files" >&6; }
   14293 case $ac_cv_sys_large_files in #(
   14294   no | unknown) ;;
   14295   *)
   14296 cat >>confdefs.h <<_ACEOF
   14297 #define _LARGE_FILES $ac_cv_sys_large_files
   14298 _ACEOF
   14299 ;;
   14300 esac
   14301 rm -rf conftest*
   14302   fi
   14303 fi
   14304 
   14305 
   14306 
   14307 for ac_prog in cpp
   14308 do
   14309   # Extract the first word of "$ac_prog", so it can be a program name with args.
   14310 set dummy $ac_prog; ac_word=$2
   14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14312 $as_echo_n "checking for $ac_word... " >&6; }
   14313 if ${ac_cv_path_RAWCPP+:} false; then :
   14314   $as_echo_n "(cached) " >&6
   14315 else
   14316   case $RAWCPP in
   14317   [\\/]* | ?:[\\/]*)
   14318   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   14319   ;;
   14320   *)
   14321   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14322 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   14323 for as_dir in $as_dummy
   14324 do
   14325   IFS=$as_save_IFS
   14326   test -z "$as_dir" && as_dir=.
   14327     for ac_exec_ext in '' $ac_executable_extensions; do
   14328   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   14329     ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
   14330     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14331     break 2
   14332   fi
   14333 done
   14334   done
   14335 IFS=$as_save_IFS
   14336 
   14337   ;;
   14338 esac
   14339 fi
   14340 RAWCPP=$ac_cv_path_RAWCPP
   14341 if test -n "$RAWCPP"; then
   14342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
   14343 $as_echo "$RAWCPP" >&6; }
   14344 else
   14345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14346 $as_echo "no" >&6; }
   14347 fi
   14348 
   14349 
   14350   test -n "$RAWCPP" && break
   14351 done
   14352 test -n "$RAWCPP" || RAWCPP="${CPP}"
   14353 
   14354 
   14355 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   14356 # which is not the best choice for supporting other OS'es, but covers most
   14357 # of the ones we need for now.
   14358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
   14359 $as_echo_n "checking if $RAWCPP requires -undef... " >&6; }
   14360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14361 /* end confdefs.h.  */
   14362 Does cpp redefine unix ?
   14363 
   14364 _ACEOF
   14365 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   14366 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14367 $as_echo "no" >&6; }
   14368 else
   14369 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   14370 		RAWCPPFLAGS=-undef
   14371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14372 $as_echo "yes" >&6; }
   14373 	# under Cygwin unix is still defined even with -undef
   14374 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   14375 		RAWCPPFLAGS="-undef -ansi"
   14376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
   14377 $as_echo "yes, with -ansi" >&6; }
   14378 	else
   14379 		as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
   14380 	fi
   14381 fi
   14382 rm -f conftest.$ac_ext
   14383 
   14384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
   14385 $as_echo_n "checking if $RAWCPP requires -traditional... " >&6; }
   14386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14387 /* end confdefs.h.  */
   14388 Does cpp preserve   "whitespace"?
   14389 
   14390 _ACEOF
   14391 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   14392 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14393 $as_echo "no" >&6; }
   14394 else
   14395 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   14396 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   14397 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14398 $as_echo "yes" >&6; }
   14399 	else
   14400 		as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
   14401 	fi
   14402 fi
   14403 rm -f conftest.$ac_ext
   14404 
   14405 
   14406 
   14407 # Quoted so that make will expand $(CWARNFLAGS) in makefiles to allow
   14408 # easier overrides at build time.
   14409 XSERVER_CFLAGS='$(CWARNFLAGS)'
   14410 
   14411 
   14412 # Check whether --with-dtrace was given.
   14413 if test "${with_dtrace+set}" = set; then :
   14414   withval=$with_dtrace; WDTRACE=$withval
   14415 else
   14416   WDTRACE=auto
   14417 fi
   14418 
   14419 if test "x$WDTRACE" = "xyes" -o "x$WDTRACE" = "xauto" ; then
   14420 	# Extract the first word of "dtrace", so it can be a program name with args.
   14421 set dummy dtrace; ac_word=$2
   14422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14423 $as_echo_n "checking for $ac_word... " >&6; }
   14424 if ${ac_cv_path_DTRACE+:} false; then :
   14425   $as_echo_n "(cached) " >&6
   14426 else
   14427   case $DTRACE in
   14428   [\\/]* | ?:[\\/]*)
   14429   ac_cv_path_DTRACE="$DTRACE" # Let the user override the test with a path.
   14430   ;;
   14431   *)
   14432   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14433 as_dummy="$PATH:/usr/sbin"
   14434 for as_dir in $as_dummy
   14435 do
   14436   IFS=$as_save_IFS
   14437   test -z "$as_dir" && as_dir=.
   14438     for ac_exec_ext in '' $ac_executable_extensions; do
   14439   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   14440     ac_cv_path_DTRACE="$as_dir/$ac_word$ac_exec_ext"
   14441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14442     break 2
   14443   fi
   14444 done
   14445   done
   14446 IFS=$as_save_IFS
   14447 
   14448   test -z "$ac_cv_path_DTRACE" && ac_cv_path_DTRACE="not_found"
   14449   ;;
   14450 esac
   14451 fi
   14452 DTRACE=$ac_cv_path_DTRACE
   14453 if test -n "$DTRACE"; then
   14454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5
   14455 $as_echo "$DTRACE" >&6; }
   14456 else
   14457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14458 $as_echo "no" >&6; }
   14459 fi
   14460 
   14461 
   14462 	if test "x$DTRACE" = "xnot_found" ; then
   14463 		if test "x$WDTRACE" = "xyes" ; then
   14464 			{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   14465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   14466 as_fn_error $? "dtrace requested but not found
   14467 See \`config.log' for more details" "$LINENO" 5; }
   14468 		fi
   14469 		WDTRACE="no"
   14470 	else
   14471 		ac_fn_c_check_header_mongrel "$LINENO" "sys/sdt.h" "ac_cv_header_sys_sdt_h" "$ac_includes_default"
   14472 if test "x$ac_cv_header_sys_sdt_h" = xyes; then :
   14473   HAS_SDT_H="yes"
   14474 else
   14475   HAS_SDT_H="no"
   14476 fi
   14477 
   14478 
   14479 		if test "x$WDTRACE" = "xauto" -a "x$HAS_SDT_H" = "xno" ; then
   14480 			WDTRACE="no"
   14481 		fi
   14482 	fi
   14483 fi
   14484 if test "x$WDTRACE" != "xno" ; then
   14485 
   14486 $as_echo "#define XSERVER_DTRACE 1" >>confdefs.h
   14487 
   14488 
   14489 # Solaris/OpenSolaris require dtrace -G to build dtrace probe information into
   14490 # object files, and require linking with those as relocatable objects, not .a
   14491 # archives. MacOS X handles all this in the normal compiler toolchain, and on
   14492 # some releases (like Tiger), will error out on dtrace -G.  For now, other
   14493 # platforms with Dtrace ports are assumed to support -G (the FreeBSD and Linux
   14494 # ports appear to, based on my web searches, but have not yet been tested).
   14495 	case $host_os in
   14496 		darwin*)	SPECIAL_DTRACE_OBJECTS=no ;;
   14497 		*)		SPECIAL_DTRACE_OBJECTS=yes ;;
   14498 	esac
   14499 fi
   14500  if test "x$WDTRACE" != "xno"; then
   14501   XSERVER_DTRACE_TRUE=
   14502   XSERVER_DTRACE_FALSE='#'
   14503 else
   14504   XSERVER_DTRACE_TRUE='#'
   14505   XSERVER_DTRACE_FALSE=
   14506 fi
   14507 
   14508  if test "x$SPECIAL_DTRACE_OBJECTS" = "xyes"; then
   14509   SPECIAL_DTRACE_OBJECTS_TRUE=
   14510   SPECIAL_DTRACE_OBJECTS_FALSE='#'
   14511 else
   14512   SPECIAL_DTRACE_OBJECTS_TRUE='#'
   14513   SPECIAL_DTRACE_OBJECTS_FALSE=
   14514 fi
   14515 
   14516 
   14517 ac_header_dirent=no
   14518 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
   14519   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
   14520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
   14521 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
   14522 if eval \${$as_ac_Header+:} false; then :
   14523   $as_echo_n "(cached) " >&6
   14524 else
   14525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14526 /* end confdefs.h.  */
   14527 #include <sys/types.h>
   14528 #include <$ac_hdr>
   14529 
   14530 int
   14531 main ()
   14532 {
   14533 if ((DIR *) 0)
   14534 return 0;
   14535   ;
   14536   return 0;
   14537 }
   14538 _ACEOF
   14539 if ac_fn_c_try_compile "$LINENO"; then :
   14540   eval "$as_ac_Header=yes"
   14541 else
   14542   eval "$as_ac_Header=no"
   14543 fi
   14544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14545 fi
   14546 eval ac_res=\$$as_ac_Header
   14547 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   14548 $as_echo "$ac_res" >&6; }
   14549 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   14550   cat >>confdefs.h <<_ACEOF
   14551 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
   14552 _ACEOF
   14553 
   14554 ac_header_dirent=$ac_hdr; break
   14555 fi
   14556 
   14557 done
   14558 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
   14559 if test $ac_header_dirent = dirent.h; then
   14560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   14561 $as_echo_n "checking for library containing opendir... " >&6; }
   14562 if ${ac_cv_search_opendir+:} false; then :
   14563   $as_echo_n "(cached) " >&6
   14564 else
   14565   ac_func_search_save_LIBS=$LIBS
   14566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14567 /* end confdefs.h.  */
   14568 
   14569 /* Override any GCC internal prototype to avoid an error.
   14570    Use char because int might match the return type of a GCC
   14571    builtin and then its argument prototype would still apply.  */
   14572 #ifdef __cplusplus
   14573 extern "C"
   14574 #endif
   14575 char opendir ();
   14576 int
   14577 main ()
   14578 {
   14579 return opendir ();
   14580   ;
   14581   return 0;
   14582 }
   14583 _ACEOF
   14584 for ac_lib in '' dir; do
   14585   if test -z "$ac_lib"; then
   14586     ac_res="none required"
   14587   else
   14588     ac_res=-l$ac_lib
   14589     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   14590   fi
   14591   if ac_fn_c_try_link "$LINENO"; then :
   14592   ac_cv_search_opendir=$ac_res
   14593 fi
   14594 rm -f core conftest.err conftest.$ac_objext \
   14595     conftest$ac_exeext
   14596   if ${ac_cv_search_opendir+:} false; then :
   14597   break
   14598 fi
   14599 done
   14600 if ${ac_cv_search_opendir+:} false; then :
   14601 
   14602 else
   14603   ac_cv_search_opendir=no
   14604 fi
   14605 rm conftest.$ac_ext
   14606 LIBS=$ac_func_search_save_LIBS
   14607 fi
   14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   14609 $as_echo "$ac_cv_search_opendir" >&6; }
   14610 ac_res=$ac_cv_search_opendir
   14611 if test "$ac_res" != no; then :
   14612   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   14613 
   14614 fi
   14615 
   14616 else
   14617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   14618 $as_echo_n "checking for library containing opendir... " >&6; }
   14619 if ${ac_cv_search_opendir+:} false; then :
   14620   $as_echo_n "(cached) " >&6
   14621 else
   14622   ac_func_search_save_LIBS=$LIBS
   14623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14624 /* end confdefs.h.  */
   14625 
   14626 /* Override any GCC internal prototype to avoid an error.
   14627    Use char because int might match the return type of a GCC
   14628    builtin and then its argument prototype would still apply.  */
   14629 #ifdef __cplusplus
   14630 extern "C"
   14631 #endif
   14632 char opendir ();
   14633 int
   14634 main ()
   14635 {
   14636 return opendir ();
   14637   ;
   14638   return 0;
   14639 }
   14640 _ACEOF
   14641 for ac_lib in '' x; do
   14642   if test -z "$ac_lib"; then
   14643     ac_res="none required"
   14644   else
   14645     ac_res=-l$ac_lib
   14646     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   14647   fi
   14648   if ac_fn_c_try_link "$LINENO"; then :
   14649   ac_cv_search_opendir=$ac_res
   14650 fi
   14651 rm -f core conftest.err conftest.$ac_objext \
   14652     conftest$ac_exeext
   14653   if ${ac_cv_search_opendir+:} false; then :
   14654   break
   14655 fi
   14656 done
   14657 if ${ac_cv_search_opendir+:} false; then :
   14658 
   14659 else
   14660   ac_cv_search_opendir=no
   14661 fi
   14662 rm conftest.$ac_ext
   14663 LIBS=$ac_func_search_save_LIBS
   14664 fi
   14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   14666 $as_echo "$ac_cv_search_opendir" >&6; }
   14667 ac_res=$ac_cv_search_opendir
   14668 if test "$ac_res" != no; then :
   14669   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   14670 
   14671 fi
   14672 
   14673 fi
   14674 
   14675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   14676 $as_echo_n "checking for ANSI C header files... " >&6; }
   14677 if ${ac_cv_header_stdc+:} false; then :
   14678   $as_echo_n "(cached) " >&6
   14679 else
   14680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14681 /* end confdefs.h.  */
   14682 #include <stdlib.h>
   14683 #include <stdarg.h>
   14684 #include <string.h>
   14685 #include <float.h>
   14686 
   14687 int
   14688 main ()
   14689 {
   14690 
   14691   ;
   14692   return 0;
   14693 }
   14694 _ACEOF
   14695 if ac_fn_c_try_compile "$LINENO"; then :
   14696   ac_cv_header_stdc=yes
   14697 else
   14698   ac_cv_header_stdc=no
   14699 fi
   14700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14701 
   14702 if test $ac_cv_header_stdc = yes; then
   14703   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   14704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14705 /* end confdefs.h.  */
   14706 #include <string.h>
   14707 
   14708 _ACEOF
   14709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   14710   $EGREP "memchr" >/dev/null 2>&1; then :
   14711 
   14712 else
   14713   ac_cv_header_stdc=no
   14714 fi
   14715 rm -f conftest*
   14716 
   14717 fi
   14718 
   14719 if test $ac_cv_header_stdc = yes; then
   14720   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   14721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14722 /* end confdefs.h.  */
   14723 #include <stdlib.h>
   14724 
   14725 _ACEOF
   14726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   14727   $EGREP "free" >/dev/null 2>&1; then :
   14728 
   14729 else
   14730   ac_cv_header_stdc=no
   14731 fi
   14732 rm -f conftest*
   14733 
   14734 fi
   14735 
   14736 if test $ac_cv_header_stdc = yes; then
   14737   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   14738   if test "$cross_compiling" = yes; then :
   14739   :
   14740 else
   14741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14742 /* end confdefs.h.  */
   14743 #include <ctype.h>
   14744 #include <stdlib.h>
   14745 #if ((' ' & 0x0FF) == 0x020)
   14746 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   14747 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   14748 #else
   14749 # define ISLOWER(c) \
   14750 		   (('a' <= (c) && (c) <= 'i') \
   14751 		     || ('j' <= (c) && (c) <= 'r') \
   14752 		     || ('s' <= (c) && (c) <= 'z'))
   14753 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   14754 #endif
   14755 
   14756 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   14757 int
   14758 main ()
   14759 {
   14760   int i;
   14761   for (i = 0; i < 256; i++)
   14762     if (XOR (islower (i), ISLOWER (i))
   14763 	|| toupper (i) != TOUPPER (i))
   14764       return 2;
   14765   return 0;
   14766 }
   14767 _ACEOF
   14768 if ac_fn_c_try_run "$LINENO"; then :
   14769 
   14770 else
   14771   ac_cv_header_stdc=no
   14772 fi
   14773 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   14774   conftest.$ac_objext conftest.beam conftest.$ac_ext
   14775 fi
   14776 
   14777 fi
   14778 fi
   14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   14780 $as_echo "$ac_cv_header_stdc" >&6; }
   14781 if test $ac_cv_header_stdc = yes; then
   14782 
   14783 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   14784 
   14785 fi
   14786 
   14787 for ac_header in fcntl.h stdlib.h string.h unistd.h dlfcn.h stropts.h fnmatch.h sys/utsname.h
   14788 do :
   14789   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   14790 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   14791 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   14792   cat >>confdefs.h <<_ACEOF
   14793 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   14794 _ACEOF
   14795 
   14796 fi
   14797 
   14798 done
   14799 
   14800 
   14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   14802 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
   14803 if ${ac_cv_c_const+:} false; then :
   14804   $as_echo_n "(cached) " >&6
   14805 else
   14806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14807 /* end confdefs.h.  */
   14808 
   14809 int
   14810 main ()
   14811 {
   14812 /* FIXME: Include the comments suggested by Paul. */
   14813 #ifndef __cplusplus
   14814   /* Ultrix mips cc rejects this.  */
   14815   typedef int charset[2];
   14816   const charset cs;
   14817   /* SunOS 4.1.1 cc rejects this.  */
   14818   char const *const *pcpcc;
   14819   char **ppc;
   14820   /* NEC SVR4.0.2 mips cc rejects this.  */
   14821   struct point {int x, y;};
   14822   static struct point const zero = {0,0};
   14823   /* AIX XL C 1.02.0.0 rejects this.
   14824      It does not let you subtract one const X* pointer from another in
   14825      an arm of an if-expression whose if-part is not a constant
   14826      expression */
   14827   const char *g = "string";
   14828   pcpcc = &g + (g ? g-g : 0);
   14829   /* HPUX 7.0 cc rejects these. */
   14830   ++pcpcc;
   14831   ppc = (char**) pcpcc;
   14832   pcpcc = (char const *const *) ppc;
   14833   { /* SCO 3.2v4 cc rejects this.  */
   14834     char *t;
   14835     char const *s = 0 ? (char *) 0 : (char const *) 0;
   14836 
   14837     *t++ = 0;
   14838     if (s) return 0;
   14839   }
   14840   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   14841     int x[] = {25, 17};
   14842     const int *foo = &x[0];
   14843     ++foo;
   14844   }
   14845   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   14846     typedef const int *iptr;
   14847     iptr p = 0;
   14848     ++p;
   14849   }
   14850   { /* AIX XL C 1.02.0.0 rejects this saying
   14851        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   14852     struct s { int j; const int *ap[3]; };
   14853     struct s *b; b->j = 5;
   14854   }
   14855   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   14856     const int foo = 10;
   14857     if (!foo) return 0;
   14858   }
   14859   return !cs[0] && !zero.x;
   14860 #endif
   14861 
   14862   ;
   14863   return 0;
   14864 }
   14865 _ACEOF
   14866 if ac_fn_c_try_compile "$LINENO"; then :
   14867   ac_cv_c_const=yes
   14868 else
   14869   ac_cv_c_const=no
   14870 fi
   14871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14872 fi
   14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   14874 $as_echo "$ac_cv_c_const" >&6; }
   14875 if test $ac_cv_c_const = no; then
   14876 
   14877 $as_echo "#define const /**/" >>confdefs.h
   14878 
   14879 fi
   14880 
   14881  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   14882 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   14883 if ${ac_cv_c_bigendian+:} false; then :
   14884   $as_echo_n "(cached) " >&6
   14885 else
   14886   ac_cv_c_bigendian=unknown
   14887     # See if we're dealing with a universal compiler.
   14888     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14889 /* end confdefs.h.  */
   14890 #ifndef __APPLE_CC__
   14891 	       not a universal capable compiler
   14892 	     #endif
   14893 	     typedef int dummy;
   14894 
   14895 _ACEOF
   14896 if ac_fn_c_try_compile "$LINENO"; then :
   14897 
   14898 	# Check for potential -arch flags.  It is not universal unless
   14899 	# there are at least two -arch flags with different values.
   14900 	ac_arch=
   14901 	ac_prev=
   14902 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   14903 	 if test -n "$ac_prev"; then
   14904 	   case $ac_word in
   14905 	     i?86 | x86_64 | ppc | ppc64)
   14906 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   14907 		 ac_arch=$ac_word
   14908 	       else
   14909 		 ac_cv_c_bigendian=universal
   14910 		 break
   14911 	       fi
   14912 	       ;;
   14913 	   esac
   14914 	   ac_prev=
   14915 	 elif test "x$ac_word" = "x-arch"; then
   14916 	   ac_prev=arch
   14917 	 fi
   14918        done
   14919 fi
   14920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14921     if test $ac_cv_c_bigendian = unknown; then
   14922       # See if sys/param.h defines the BYTE_ORDER macro.
   14923       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14924 /* end confdefs.h.  */
   14925 #include <sys/types.h>
   14926 	     #include <sys/param.h>
   14927 
   14928 int
   14929 main ()
   14930 {
   14931 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   14932 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   14933 		     && LITTLE_ENDIAN)
   14934 	      bogus endian macros
   14935 	     #endif
   14936 
   14937   ;
   14938   return 0;
   14939 }
   14940 _ACEOF
   14941 if ac_fn_c_try_compile "$LINENO"; then :
   14942   # It does; now see whether it defined to BIG_ENDIAN or not.
   14943 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14944 /* end confdefs.h.  */
   14945 #include <sys/types.h>
   14946 		#include <sys/param.h>
   14947 
   14948 int
   14949 main ()
   14950 {
   14951 #if BYTE_ORDER != BIG_ENDIAN
   14952 		 not big endian
   14953 		#endif
   14954 
   14955   ;
   14956   return 0;
   14957 }
   14958 _ACEOF
   14959 if ac_fn_c_try_compile "$LINENO"; then :
   14960   ac_cv_c_bigendian=yes
   14961 else
   14962   ac_cv_c_bigendian=no
   14963 fi
   14964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14965 fi
   14966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14967     fi
   14968     if test $ac_cv_c_bigendian = unknown; then
   14969       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   14970       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14971 /* end confdefs.h.  */
   14972 #include <limits.h>
   14973 
   14974 int
   14975 main ()
   14976 {
   14977 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   14978 	      bogus endian macros
   14979 	     #endif
   14980 
   14981   ;
   14982   return 0;
   14983 }
   14984 _ACEOF
   14985 if ac_fn_c_try_compile "$LINENO"; then :
   14986   # It does; now see whether it defined to _BIG_ENDIAN or not.
   14987 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14988 /* end confdefs.h.  */
   14989 #include <limits.h>
   14990 
   14991 int
   14992 main ()
   14993 {
   14994 #ifndef _BIG_ENDIAN
   14995 		 not big endian
   14996 		#endif
   14997 
   14998   ;
   14999   return 0;
   15000 }
   15001 _ACEOF
   15002 if ac_fn_c_try_compile "$LINENO"; then :
   15003   ac_cv_c_bigendian=yes
   15004 else
   15005   ac_cv_c_bigendian=no
   15006 fi
   15007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15008 fi
   15009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15010     fi
   15011     if test $ac_cv_c_bigendian = unknown; then
   15012       # Compile a test program.
   15013       if test "$cross_compiling" = yes; then :
   15014   # Try to guess by grepping values from an object file.
   15015 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15016 /* end confdefs.h.  */
   15017 short int ascii_mm[] =
   15018 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   15019 		short int ascii_ii[] =
   15020 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   15021 		int use_ascii (int i) {
   15022 		  return ascii_mm[i] + ascii_ii[i];
   15023 		}
   15024 		short int ebcdic_ii[] =
   15025 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   15026 		short int ebcdic_mm[] =
   15027 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   15028 		int use_ebcdic (int i) {
   15029 		  return ebcdic_mm[i] + ebcdic_ii[i];
   15030 		}
   15031 		extern int foo;
   15032 
   15033 int
   15034 main ()
   15035 {
   15036 return use_ascii (foo) == use_ebcdic (foo);
   15037   ;
   15038   return 0;
   15039 }
   15040 _ACEOF
   15041 if ac_fn_c_try_compile "$LINENO"; then :
   15042   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   15043 	      ac_cv_c_bigendian=yes
   15044 	    fi
   15045 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   15046 	      if test "$ac_cv_c_bigendian" = unknown; then
   15047 		ac_cv_c_bigendian=no
   15048 	      else
   15049 		# finding both strings is unlikely to happen, but who knows?
   15050 		ac_cv_c_bigendian=unknown
   15051 	      fi
   15052 	    fi
   15053 fi
   15054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15055 else
   15056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15057 /* end confdefs.h.  */
   15058 $ac_includes_default
   15059 int
   15060 main ()
   15061 {
   15062 
   15063 	     /* Are we little or big endian?  From Harbison&Steele.  */
   15064 	     union
   15065 	     {
   15066 	       long int l;
   15067 	       char c[sizeof (long int)];
   15068 	     } u;
   15069 	     u.l = 1;
   15070 	     return u.c[sizeof (long int) - 1] == 1;
   15071 
   15072   ;
   15073   return 0;
   15074 }
   15075 _ACEOF
   15076 if ac_fn_c_try_run "$LINENO"; then :
   15077   ac_cv_c_bigendian=no
   15078 else
   15079   ac_cv_c_bigendian=yes
   15080 fi
   15081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   15082   conftest.$ac_objext conftest.beam conftest.$ac_ext
   15083 fi
   15084 
   15085     fi
   15086 fi
   15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   15088 $as_echo "$ac_cv_c_bigendian" >&6; }
   15089  case $ac_cv_c_bigendian in #(
   15090    yes)
   15091      ENDIAN="X_BIG_ENDIAN";; #(
   15092    no)
   15093      ENDIAN="X_LITTLE_ENDIAN" ;; #(
   15094    universal)
   15095 
   15096 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   15097 
   15098      ;; #(
   15099    *)
   15100      as_fn_error $? "unknown endianness
   15101  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   15102  esac
   15103 
   15104 
   15105 # The cast to long int works around a bug in the HP C Compiler
   15106 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   15107 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   15108 # This bug is HP SR number 8606223364.
   15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
   15110 $as_echo_n "checking size of unsigned long... " >&6; }
   15111 if ${ac_cv_sizeof_unsigned_long+:} false; then :
   15112   $as_echo_n "(cached) " >&6
   15113 else
   15114   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long"        "$ac_includes_default"; then :
   15115 
   15116 else
   15117   if test "$ac_cv_type_unsigned_long" = yes; then
   15118      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   15119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   15120 as_fn_error 77 "cannot compute sizeof (unsigned long)
   15121 See \`config.log' for more details" "$LINENO" 5; }
   15122    else
   15123      ac_cv_sizeof_unsigned_long=0
   15124    fi
   15125 fi
   15126 
   15127 fi
   15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
   15129 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
   15130 
   15131 
   15132 
   15133 cat >>confdefs.h <<_ACEOF
   15134 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
   15135 _ACEOF
   15136 
   15137 
   15138 if test "$ac_cv_sizeof_unsigned_long" = 8; then
   15139 
   15140 $as_echo "#define _XSERVER64 1" >>confdefs.h
   15141 
   15142 fi
   15143 
   15144 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
   15145 if test "x$ac_cv_type_pid_t" = xyes; then :
   15146 
   15147 else
   15148 
   15149 cat >>confdefs.h <<_ACEOF
   15150 #define pid_t int
   15151 _ACEOF
   15152 
   15153 fi
   15154 
   15155 
   15156 # Checks for headers/macros for byte swapping
   15157 # Known variants:
   15158 #	<byteswap.h> bswap_16, bswap_32, bswap_64  (glibc)
   15159 #	<sys/endian.h> __swap16, __swap32, __swap64 (OpenBSD)
   15160 #	<sys/endian.h> bswap16, bswap32, bswap64 (other BSD's)
   15161 #	and a fallback to local macros if none of the above are found
   15162 
   15163 # if <byteswap.h> is found, assume it's the correct version
   15164 for ac_header in byteswap.h
   15165 do :
   15166   ac_fn_c_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
   15167 if test "x$ac_cv_header_byteswap_h" = xyes; then :
   15168   cat >>confdefs.h <<_ACEOF
   15169 #define HAVE_BYTESWAP_H 1
   15170 _ACEOF
   15171 
   15172 fi
   15173 
   15174 done
   15175 
   15176 
   15177 # if <sys/endian.h> is found, have to check which version
   15178 ac_fn_c_check_header_mongrel "$LINENO" "sys/endian.h" "ac_cv_header_sys_endian_h" "$ac_includes_default"
   15179 if test "x$ac_cv_header_sys_endian_h" = xyes; then :
   15180   HAVE_SYS_ENDIAN_H="yes"
   15181 else
   15182   HAVE_SYS_ENDIAN_H="no"
   15183 fi
   15184 
   15185 
   15186 
   15187 if test "x$HAVE_SYS_ENDIAN_H" = "xyes" ; then
   15188 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __swap16 variant of <sys/endian.h> byteswapping macros" >&5
   15189 $as_echo_n "checking for __swap16 variant of <sys/endian.h> byteswapping macros... " >&6; }
   15190 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15191 /* end confdefs.h.  */
   15192 
   15193 #include <sys/types.h>
   15194 #include <sys/endian.h>
   15195 
   15196 int
   15197 main ()
   15198 {
   15199 
   15200 int a = 1, b;
   15201 b = __swap16(a);
   15202 
   15203   ;
   15204   return 0;
   15205 }
   15206 
   15207 _ACEOF
   15208 if ac_fn_c_try_link "$LINENO"; then :
   15209   SYS_ENDIAN__SWAP='yes'
   15210 else
   15211   SYS_ENDIAN__SWAP='no'
   15212 fi
   15213 rm -f core conftest.err conftest.$ac_objext \
   15214     conftest$ac_exeext conftest.$ac_ext
   15215 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYS_ENDIAN__SWAP" >&5
   15216 $as_echo "$SYS_ENDIAN__SWAP" >&6; }
   15217 
   15218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bswap16 variant of <sys/endian.h> byteswapping macros" >&5
   15219 $as_echo_n "checking for bswap16 variant of <sys/endian.h> byteswapping macros... " >&6; }
   15220 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15221 /* end confdefs.h.  */
   15222 
   15223 #include <sys/types.h>
   15224 #include <sys/endian.h>
   15225 
   15226 int
   15227 main ()
   15228 {
   15229 
   15230 int a = 1, b;
   15231 b = bswap16(a);
   15232 
   15233   ;
   15234   return 0;
   15235 }
   15236 
   15237 _ACEOF
   15238 if ac_fn_c_try_link "$LINENO"; then :
   15239   SYS_ENDIAN_BSWAP='yes'
   15240 else
   15241   SYS_ENDIAN_BSWAP='no'
   15242 fi
   15243 rm -f core conftest.err conftest.$ac_objext \
   15244     conftest$ac_exeext conftest.$ac_ext
   15245 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYS_ENDIAN_BSWAP" >&5
   15246 $as_echo "$SYS_ENDIAN_BSWAP" >&6; }
   15247 
   15248     	if test "$SYS_ENDIAN_BSWAP" = "yes" ; then
   15249 		USE_SYS_ENDIAN_H=yes
   15250 		BSWAP=bswap
   15251 	else
   15252 	    	if test "$SYS_ENDIAN__SWAP" = "yes" ; then
   15253 			USE_SYS_ENDIAN_H=yes
   15254 			BSWAP=__swap
   15255 		else
   15256 			USE_SYS_ENDIAN_H=no
   15257 		fi
   15258 	fi
   15259 
   15260 	if test "$USE_SYS_ENDIAN_H" = "yes" ; then
   15261 
   15262 $as_echo "#define USE_SYS_ENDIAN_H 1" >>confdefs.h
   15263 
   15264 
   15265 cat >>confdefs.h <<_ACEOF
   15266 #define bswap_16 ${BSWAP}16
   15267 _ACEOF
   15268 
   15269 
   15270 cat >>confdefs.h <<_ACEOF
   15271 #define bswap_32 ${BSWAP}32
   15272 _ACEOF
   15273 
   15274 
   15275 cat >>confdefs.h <<_ACEOF
   15276 #define bswap_64 ${BSWAP}64
   15277 _ACEOF
   15278 
   15279 	fi
   15280 fi
   15281 
   15282 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   15283 if test "x$ac_cv_func_dlopen" = xyes; then :
   15284 
   15285 else
   15286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   15287 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   15288 if ${ac_cv_lib_dl_dlopen+:} false; then :
   15289   $as_echo_n "(cached) " >&6
   15290 else
   15291   ac_check_lib_save_LIBS=$LIBS
   15292 LIBS="-ldl  $LIBS"
   15293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15294 /* end confdefs.h.  */
   15295 
   15296 /* Override any GCC internal prototype to avoid an error.
   15297    Use char because int might match the return type of a GCC
   15298    builtin and then its argument prototype would still apply.  */
   15299 #ifdef __cplusplus
   15300 extern "C"
   15301 #endif
   15302 char dlopen ();
   15303 int
   15304 main ()
   15305 {
   15306 return dlopen ();
   15307   ;
   15308   return 0;
   15309 }
   15310 _ACEOF
   15311 if ac_fn_c_try_link "$LINENO"; then :
   15312   ac_cv_lib_dl_dlopen=yes
   15313 else
   15314   ac_cv_lib_dl_dlopen=no
   15315 fi
   15316 rm -f core conftest.err conftest.$ac_objext \
   15317     conftest$ac_exeext conftest.$ac_ext
   15318 LIBS=$ac_check_lib_save_LIBS
   15319 fi
   15320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   15321 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   15322 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   15323   DLOPEN_LIBS="-ldl"
   15324 fi
   15325 
   15326 fi
   15327 
   15328 
   15329 
   15330 for ac_func in vprintf
   15331 do :
   15332   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
   15333 if test "x$ac_cv_func_vprintf" = xyes; then :
   15334   cat >>confdefs.h <<_ACEOF
   15335 #define HAVE_VPRINTF 1
   15336 _ACEOF
   15337 
   15338 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
   15339 if test "x$ac_cv_func__doprnt" = xyes; then :
   15340 
   15341 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
   15342 
   15343 fi
   15344 
   15345 fi
   15346 done
   15347 
   15348 
   15349 for ac_func in geteuid getuid link memmove memset mkstemp strchr strrchr \
   15350 		strtol getopt getopt_long vsnprintf walkcontext backtrace \
   15351 		getisax getzoneid shmctl64 strcasestr ffs vasprintf
   15352 do :
   15353   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   15354 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   15355 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   15356   cat >>confdefs.h <<_ACEOF
   15357 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   15358 _ACEOF
   15359 
   15360 fi
   15361 done
   15362 
   15363 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
   15364 if test "x$ac_cv_type_size_t" = xyes; then :
   15365 
   15366 else
   15367 
   15368 cat >>confdefs.h <<_ACEOF
   15369 #define size_t unsigned int
   15370 _ACEOF
   15371 
   15372 fi
   15373 
   15374 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
   15375 # for constant arguments.  Useless!
   15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
   15377 $as_echo_n "checking for working alloca.h... " >&6; }
   15378 if ${ac_cv_working_alloca_h+:} false; then :
   15379   $as_echo_n "(cached) " >&6
   15380 else
   15381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15382 /* end confdefs.h.  */
   15383 #include <alloca.h>
   15384 int
   15385 main ()
   15386 {
   15387 char *p = (char *) alloca (2 * sizeof (int));
   15388 			  if (p) return 0;
   15389   ;
   15390   return 0;
   15391 }
   15392 _ACEOF
   15393 if ac_fn_c_try_link "$LINENO"; then :
   15394   ac_cv_working_alloca_h=yes
   15395 else
   15396   ac_cv_working_alloca_h=no
   15397 fi
   15398 rm -f core conftest.err conftest.$ac_objext \
   15399     conftest$ac_exeext conftest.$ac_ext
   15400 fi
   15401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
   15402 $as_echo "$ac_cv_working_alloca_h" >&6; }
   15403 if test $ac_cv_working_alloca_h = yes; then
   15404 
   15405 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
   15406 
   15407 fi
   15408 
   15409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
   15410 $as_echo_n "checking for alloca... " >&6; }
   15411 if ${ac_cv_func_alloca_works+:} false; then :
   15412   $as_echo_n "(cached) " >&6
   15413 else
   15414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15415 /* end confdefs.h.  */
   15416 #ifdef __GNUC__
   15417 # define alloca __builtin_alloca
   15418 #else
   15419 # ifdef _MSC_VER
   15420 #  include <malloc.h>
   15421 #  define alloca _alloca
   15422 # else
   15423 #  ifdef HAVE_ALLOCA_H
   15424 #   include <alloca.h>
   15425 #  else
   15426 #   ifdef _AIX
   15427  #pragma alloca
   15428 #   else
   15429 #    ifndef alloca /* predefined by HP cc +Olibcalls */
   15430 void *alloca (size_t);
   15431 #    endif
   15432 #   endif
   15433 #  endif
   15434 # endif
   15435 #endif
   15436 
   15437 int
   15438 main ()
   15439 {
   15440 char *p = (char *) alloca (1);
   15441 				    if (p) return 0;
   15442   ;
   15443   return 0;
   15444 }
   15445 _ACEOF
   15446 if ac_fn_c_try_link "$LINENO"; then :
   15447   ac_cv_func_alloca_works=yes
   15448 else
   15449   ac_cv_func_alloca_works=no
   15450 fi
   15451 rm -f core conftest.err conftest.$ac_objext \
   15452     conftest$ac_exeext conftest.$ac_ext
   15453 fi
   15454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
   15455 $as_echo "$ac_cv_func_alloca_works" >&6; }
   15456 
   15457 if test $ac_cv_func_alloca_works = yes; then
   15458 
   15459 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
   15460 
   15461 else
   15462   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
   15463 # that cause trouble.  Some versions do not even contain alloca or
   15464 # contain a buggy version.  If you still want to use their alloca,
   15465 # use ar to extract alloca.o from them instead of compiling alloca.c.
   15466 
   15467 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
   15468 
   15469 $as_echo "#define C_ALLOCA 1" >>confdefs.h
   15470 
   15471 
   15472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
   15473 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
   15474 if ${ac_cv_os_cray+:} false; then :
   15475   $as_echo_n "(cached) " >&6
   15476 else
   15477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15478 /* end confdefs.h.  */
   15479 #if defined CRAY && ! defined CRAY2
   15480 webecray
   15481 #else
   15482 wenotbecray
   15483 #endif
   15484 
   15485 _ACEOF
   15486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   15487   $EGREP "webecray" >/dev/null 2>&1; then :
   15488   ac_cv_os_cray=yes
   15489 else
   15490   ac_cv_os_cray=no
   15491 fi
   15492 rm -f conftest*
   15493 
   15494 fi
   15495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
   15496 $as_echo "$ac_cv_os_cray" >&6; }
   15497 if test $ac_cv_os_cray = yes; then
   15498   for ac_func in _getb67 GETB67 getb67; do
   15499     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   15500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   15501 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   15502 
   15503 cat >>confdefs.h <<_ACEOF
   15504 #define CRAY_STACKSEG_END $ac_func
   15505 _ACEOF
   15506 
   15507     break
   15508 fi
   15509 
   15510   done
   15511 fi
   15512 
   15513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
   15514 $as_echo_n "checking stack direction for C alloca... " >&6; }
   15515 if ${ac_cv_c_stack_direction+:} false; then :
   15516   $as_echo_n "(cached) " >&6
   15517 else
   15518   if test "$cross_compiling" = yes; then :
   15519   ac_cv_c_stack_direction=0
   15520 else
   15521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15522 /* end confdefs.h.  */
   15523 $ac_includes_default
   15524 int
   15525 find_stack_direction ()
   15526 {
   15527   static char *addr = 0;
   15528   auto char dummy;
   15529   if (addr == 0)
   15530     {
   15531       addr = &dummy;
   15532       return find_stack_direction ();
   15533     }
   15534   else
   15535     return (&dummy > addr) ? 1 : -1;
   15536 }
   15537 
   15538 int
   15539 main ()
   15540 {
   15541   return find_stack_direction () < 0;
   15542 }
   15543 _ACEOF
   15544 if ac_fn_c_try_run "$LINENO"; then :
   15545   ac_cv_c_stack_direction=1
   15546 else
   15547   ac_cv_c_stack_direction=-1
   15548 fi
   15549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   15550   conftest.$ac_objext conftest.beam conftest.$ac_ext
   15551 fi
   15552 
   15553 fi
   15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
   15555 $as_echo "$ac_cv_c_stack_direction" >&6; }
   15556 cat >>confdefs.h <<_ACEOF
   15557 #define STACK_DIRECTION $ac_cv_c_stack_direction
   15558 _ACEOF
   15559 
   15560 
   15561 fi
   15562 
   15563 ac_fn_c_check_func "$LINENO" "getdtablesize" "ac_cv_func_getdtablesize"
   15564 if test "x$ac_cv_func_getdtablesize" = xyes; then :
   15565 
   15566 $as_echo "#define HAS_GETDTABLESIZE 1" >>confdefs.h
   15567 
   15568 fi
   15569 
   15570 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
   15571 if test "x$ac_cv_func_getifaddrs" = xyes; then :
   15572 
   15573 $as_echo "#define HAS_GETIFADDRS 1" >>confdefs.h
   15574 
   15575 fi
   15576 
   15577 ac_fn_c_check_func "$LINENO" "getpeereid" "ac_cv_func_getpeereid"
   15578 if test "x$ac_cv_func_getpeereid" = xyes; then :
   15579 
   15580 $as_echo "#define HAS_GETPEEREID 1" >>confdefs.h
   15581 
   15582 fi
   15583 
   15584 ac_fn_c_check_func "$LINENO" "getpeerucred" "ac_cv_func_getpeerucred"
   15585 if test "x$ac_cv_func_getpeerucred" = xyes; then :
   15586 
   15587 $as_echo "#define HAS_GETPEERUCRED 1" >>confdefs.h
   15588 
   15589 fi
   15590 
   15591 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   15592 if test "x$ac_cv_func_strlcat" = xyes; then :
   15593   HAVE_STRLCAT=yes
   15594 else
   15595   HAVE_STRLCAT=no
   15596 fi
   15597 
   15598  if test x$HAVE_STRLCAT = xno; then
   15599   NEED_STRLCAT_TRUE=
   15600   NEED_STRLCAT_FALSE='#'
   15601 else
   15602   NEED_STRLCAT_TRUE='#'
   15603   NEED_STRLCAT_FALSE=
   15604 fi
   15605 
   15606 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   15607 if test "x$ac_cv_func_strlcpy" = xyes; then :
   15608 
   15609 $as_echo "#define HAS_STRLCPY 1" >>confdefs.h
   15610 
   15611 fi
   15612 
   15613 
   15614  if test x$HAVE_VSNPRINTF = xno; then
   15615   NEED_VSNPRINTF_TRUE=
   15616   NEED_VSNPRINTF_FALSE='#'
   15617 else
   15618   NEED_VSNPRINTF_TRUE='#'
   15619   NEED_VSNPRINTF_FALSE=
   15620 fi
   15621 
   15622 
   15623 ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
   15624 if test "x$ac_cv_func_mmap" = xyes; then :
   15625 
   15626 $as_echo "#define HAS_MMAP 1" >>confdefs.h
   15627 
   15628 fi
   15629 
   15630 
   15631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
   15632 $as_echo_n "checking for sqrt in -lm... " >&6; }
   15633 if ${ac_cv_lib_m_sqrt+:} false; then :
   15634   $as_echo_n "(cached) " >&6
   15635 else
   15636   ac_check_lib_save_LIBS=$LIBS
   15637 LIBS="-lm  $LIBS"
   15638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15639 /* end confdefs.h.  */
   15640 
   15641 /* Override any GCC internal prototype to avoid an error.
   15642    Use char because int might match the return type of a GCC
   15643    builtin and then its argument prototype would still apply.  */
   15644 #ifdef __cplusplus
   15645 extern "C"
   15646 #endif
   15647 char sqrt ();
   15648 int
   15649 main ()
   15650 {
   15651 return sqrt ();
   15652   ;
   15653   return 0;
   15654 }
   15655 _ACEOF
   15656 if ac_fn_c_try_link "$LINENO"; then :
   15657   ac_cv_lib_m_sqrt=yes
   15658 else
   15659   ac_cv_lib_m_sqrt=no
   15660 fi
   15661 rm -f core conftest.err conftest.$ac_objext \
   15662     conftest$ac_exeext conftest.$ac_ext
   15663 LIBS=$ac_check_lib_save_LIBS
   15664 fi
   15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
   15666 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
   15667 if test "x$ac_cv_lib_m_sqrt" = xyes; then :
   15668   cat >>confdefs.h <<_ACEOF
   15669 #define HAVE_LIBM 1
   15670 _ACEOF
   15671 
   15672   LIBS="-lm $LIBS"
   15673 
   15674 fi
   15675 
   15676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cbrt in -lm" >&5
   15677 $as_echo_n "checking for cbrt in -lm... " >&6; }
   15678 if ${ac_cv_lib_m_cbrt+:} false; then :
   15679   $as_echo_n "(cached) " >&6
   15680 else
   15681   ac_check_lib_save_LIBS=$LIBS
   15682 LIBS="-lm  $LIBS"
   15683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15684 /* end confdefs.h.  */
   15685 
   15686 /* Override any GCC internal prototype to avoid an error.
   15687    Use char because int might match the return type of a GCC
   15688    builtin and then its argument prototype would still apply.  */
   15689 #ifdef __cplusplus
   15690 extern "C"
   15691 #endif
   15692 char cbrt ();
   15693 int
   15694 main ()
   15695 {
   15696 return cbrt ();
   15697   ;
   15698   return 0;
   15699 }
   15700 _ACEOF
   15701 if ac_fn_c_try_link "$LINENO"; then :
   15702   ac_cv_lib_m_cbrt=yes
   15703 else
   15704   ac_cv_lib_m_cbrt=no
   15705 fi
   15706 rm -f core conftest.err conftest.$ac_objext \
   15707     conftest$ac_exeext conftest.$ac_ext
   15708 LIBS=$ac_check_lib_save_LIBS
   15709 fi
   15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cbrt" >&5
   15711 $as_echo "$ac_cv_lib_m_cbrt" >&6; }
   15712 if test "x$ac_cv_lib_m_cbrt" = xyes; then :
   15713 
   15714 $as_echo "#define HAVE_CBRT 1" >>confdefs.h
   15715 
   15716 fi
   15717 
   15718 
   15719 for ac_header in ndbm.h dbm.h rpcsvc/dbm.h
   15720 do :
   15721   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   15722 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   15723 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   15724   cat >>confdefs.h <<_ACEOF
   15725 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   15726 _ACEOF
   15727 
   15728 fi
   15729 
   15730 done
   15731 
   15732 
   15733 for ac_header in linux/agpgart.h sys/agpio.h sys/agpgart.h
   15734 do :
   15735   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   15736 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   15737 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   15738   cat >>confdefs.h <<_ACEOF
   15739 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   15740 _ACEOF
   15741  AGP=yes
   15742 fi
   15743 
   15744 done
   15745 
   15746  if test "x$AGP" = xyes; then
   15747   AGP_TRUE=
   15748   AGP_FALSE='#'
   15749 else
   15750   AGP_TRUE='#'
   15751   AGP_FALSE=
   15752 fi
   15753 
   15754 
   15755 for ac_header in linux/apm_bios.h
   15756 do :
   15757   ac_fn_c_check_header_mongrel "$LINENO" "linux/apm_bios.h" "ac_cv_header_linux_apm_bios_h" "$ac_includes_default"
   15758 if test "x$ac_cv_header_linux_apm_bios_h" = xyes; then :
   15759   cat >>confdefs.h <<_ACEOF
   15760 #define HAVE_LINUX_APM_BIOS_H 1
   15761 _ACEOF
   15762  LNXAPM=yes
   15763 fi
   15764 
   15765 done
   15766 
   15767  if test "x$LNXAPM" = xyes; then
   15768   LNXAPM_TRUE=
   15769   LNXAPM_FALSE='#'
   15770 else
   15771   LNXAPM_TRUE='#'
   15772   LNXAPM_FALSE=
   15773 fi
   15774 
   15775 
   15776 for ac_header in linux/fb.h
   15777 do :
   15778   ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default"
   15779 if test "x$ac_cv_header_linux_fb_h" = xyes; then :
   15780   cat >>confdefs.h <<_ACEOF
   15781 #define HAVE_LINUX_FB_H 1
   15782 _ACEOF
   15783  FBDEV=yes
   15784 fi
   15785 
   15786 done
   15787 
   15788  if test "x$FBDEV" = xyes; then
   15789   FBDEVHW_TRUE=
   15790   FBDEVHW_FALSE='#'
   15791 else
   15792   FBDEVHW_TRUE='#'
   15793   FBDEVHW_FALSE=
   15794 fi
   15795 
   15796 
   15797 for ac_header in asm/mtrr.h
   15798 do :
   15799   ac_fn_c_check_header_mongrel "$LINENO" "asm/mtrr.h" "ac_cv_header_asm_mtrr_h" "$ac_includes_default"
   15800 if test "x$ac_cv_header_asm_mtrr_h" = xyes; then :
   15801   cat >>confdefs.h <<_ACEOF
   15802 #define HAVE_ASM_MTRR_H 1
   15803 _ACEOF
   15804  ac_cv_asm_mtrr_h=yes
   15805 fi
   15806 
   15807 done
   15808 
   15809 if test "x$ac_cv_asm_mtrr_h" = xyes; then
   15810 	HAVE_MTRR=yes
   15811 fi
   15812 
   15813 for ac_header in sys/memrange.h
   15814 do :
   15815   ac_fn_c_check_header_mongrel "$LINENO" "sys/memrange.h" "ac_cv_header_sys_memrange_h" "$ac_includes_default"
   15816 if test "x$ac_cv_header_sys_memrange_h" = xyes; then :
   15817   cat >>confdefs.h <<_ACEOF
   15818 #define HAVE_SYS_MEMRANGE_H 1
   15819 _ACEOF
   15820  ac_cv_memrange_h=yes
   15821 fi
   15822 
   15823 done
   15824 
   15825 if test "x$ac_cv_memrange_h" = xyes; then
   15826 	HAVE_MTRR=yes
   15827 fi
   15828 
   15829 if test "x$HAVE_MTRR" = xyes; then
   15830 
   15831 $as_echo "#define HAS_MTRR_SUPPORT 1" >>confdefs.h
   15832 
   15833 fi
   15834 
   15835 for ac_header in machine/mtrr.h
   15836 do :
   15837   ac_fn_c_check_header_mongrel "$LINENO" "machine/mtrr.h" "ac_cv_header_machine_mtrr_h" "$ac_includes_default"
   15838 if test "x$ac_cv_header_machine_mtrr_h" = xyes; then :
   15839   cat >>confdefs.h <<_ACEOF
   15840 #define HAVE_MACHINE_MTRR_H 1
   15841 _ACEOF
   15842  ac_cv_machine_mtrr_h=yes
   15843 fi
   15844 
   15845 done
   15846 
   15847 if test "x$ac_cv_machine_mtrr_h" = xyes; then
   15848 
   15849 $as_echo "#define HAS_MTRR_BUILTIN 1" >>confdefs.h
   15850 
   15851 fi
   15852 
   15853 for ac_header in sys/linker.h
   15854 do :
   15855   ac_fn_c_check_header_compile "$LINENO" "sys/linker.h" "ac_cv_header_sys_linker_h" "#include <sys/param.h>
   15856 "
   15857 if test "x$ac_cv_header_sys_linker_h" = xyes; then :
   15858   cat >>confdefs.h <<_ACEOF
   15859 #define HAVE_SYS_LINKER_H 1
   15860 _ACEOF
   15861  ac_cv_sys_linker_h=yes
   15862 else
   15863   ac_cv_sys_linker_h=no
   15864 fi
   15865 
   15866 done
   15867 
   15868  if test "x$ac_cv_sys_linker_h" = xyes; then
   15869   FREEBSD_KLDLOAD_TRUE=
   15870   FREEBSD_KLDLOAD_FALSE='#'
   15871 else
   15872   FREEBSD_KLDLOAD_TRUE='#'
   15873   FREEBSD_KLDLOAD_FALSE=
   15874 fi
   15875 
   15876 
   15877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSV IPC" >&5
   15878 $as_echo_n "checking for SYSV IPC... " >&6; }
   15879 if ${ac_cv_sysv_ipc+:} false; then :
   15880   $as_echo_n "(cached) " >&6
   15881 else
   15882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15883 /* end confdefs.h.  */
   15884 
   15885 #include <sys/types.h>
   15886 #include <sys/ipc.h>
   15887 #include <sys/shm.h>
   15888 
   15889 int
   15890 main ()
   15891 {
   15892 
   15893 {
   15894     int id;
   15895     id = shmget(IPC_PRIVATE, 512, SHM_W | SHM_R);
   15896     if (id < 0) return -1;
   15897     return shmctl(id, IPC_RMID, 0);
   15898 }
   15899   ;
   15900   return 0;
   15901 }
   15902 _ACEOF
   15903 if ac_fn_c_try_link "$LINENO"; then :
   15904   ac_cv_sysv_ipc=yes
   15905 else
   15906   ac_cv_sysv_ipc=no
   15907 fi
   15908 rm -f core conftest.err conftest.$ac_objext \
   15909     conftest$ac_exeext conftest.$ac_ext
   15910 fi
   15911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sysv_ipc" >&5
   15912 $as_echo "$ac_cv_sysv_ipc" >&6; }
   15913 if test "x$ac_cv_sysv_ipc" = xyes; then
   15914 
   15915 $as_echo "#define HAVE_SYSV_IPC 1" >>confdefs.h
   15916 
   15917 fi
   15918 
   15919 if test -c /dev/xf86 ; then
   15920 
   15921 $as_echo "#define HAS_APERTURE_DRV 1" >>confdefs.h
   15922 
   15923 fi
   15924 
   15925 ac_fn_c_check_header_mongrel "$LINENO" "machine/apmvar.h" "ac_cv_header_machine_apmvar_h" "$ac_includes_default"
   15926 if test "x$ac_cv_header_machine_apmvar_h" = xyes; then :
   15927 
   15928 	ac_fn_c_check_header_mongrel "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
   15929 if test "x$ac_cv_header_sys_event_h" = xyes; then :
   15930   ac_cv_BSD_KQUEUE_APM=yes
   15931 else
   15932   ac_cv_BSD_APM=yes
   15933 fi
   15934 
   15935 
   15936 fi
   15937 
   15938 
   15939 
   15940  if test "x$ac_cv_BSD_APM" = xyes; then
   15941   BSD_APM_TRUE=
   15942   BSD_APM_FALSE='#'
   15943 else
   15944   BSD_APM_TRUE='#'
   15945   BSD_APM_FALSE=
   15946 fi
   15947 
   15948  if test "x$ac_cv_BSD_KQUEUE_APM" = xyes; then
   15949   BSD_KQUEUE_APM_TRUE=
   15950   BSD_KQUEUE_APM_FALSE='#'
   15951 else
   15952   BSD_KQUEUE_APM_TRUE='#'
   15953   BSD_KQUEUE_APM_FALSE=
   15954 fi
   15955 
   15956 
   15957 ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default"
   15958 if test "x$ac_cv_header_execinfo_h" = xyes; then :
   15959 
   15960     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace in -lc" >&5
   15961 $as_echo_n "checking for backtrace in -lc... " >&6; }
   15962 if ${ac_cv_lib_c_backtrace+:} false; then :
   15963   $as_echo_n "(cached) " >&6
   15964 else
   15965   ac_check_lib_save_LIBS=$LIBS
   15966 LIBS="-lc  $LIBS"
   15967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15968 /* end confdefs.h.  */
   15969 
   15970 /* Override any GCC internal prototype to avoid an error.
   15971    Use char because int might match the return type of a GCC
   15972    builtin and then its argument prototype would still apply.  */
   15973 #ifdef __cplusplus
   15974 extern "C"
   15975 #endif
   15976 char backtrace ();
   15977 int
   15978 main ()
   15979 {
   15980 return backtrace ();
   15981   ;
   15982   return 0;
   15983 }
   15984 _ACEOF
   15985 if ac_fn_c_try_link "$LINENO"; then :
   15986   ac_cv_lib_c_backtrace=yes
   15987 else
   15988   ac_cv_lib_c_backtrace=no
   15989 fi
   15990 rm -f core conftest.err conftest.$ac_objext \
   15991     conftest$ac_exeext conftest.$ac_ext
   15992 LIBS=$ac_check_lib_save_LIBS
   15993 fi
   15994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_backtrace" >&5
   15995 $as_echo "$ac_cv_lib_c_backtrace" >&6; }
   15996 if test "x$ac_cv_lib_c_backtrace" = xyes; then :
   15997 
   15998 
   15999 $as_echo "#define HAVE_BACKTRACE 1" >>confdefs.h
   16000 
   16001 
   16002 $as_echo "#define HAVE_EXECINFO_H 1" >>confdefs.h
   16003 
   16004 
   16005 fi
   16006 
   16007 
   16008 fi
   16009 
   16010 
   16011 
   16012 old_CFLAGS="$CFLAGS"
   16013 CFLAGS="-mapcs-frame"
   16014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16015 /* end confdefs.h.  */
   16016 
   16017 int
   16018 main ()
   16019 {
   16020 
   16021   ;
   16022   return 0;
   16023 }
   16024 _ACEOF
   16025 if ac_fn_c_try_compile "$LINENO"; then :
   16026   ARM_BACKTRACE_CFLAGS="$CFLAGS"
   16027 else
   16028   ARM_BACKTRACE_CFLAGS=""
   16029 
   16030 fi
   16031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16032 CFLAGS="$old_CFLAGS"
   16033 
   16034 
   16035 DEFAULT_INT10="x86emu"
   16036 
   16037 
   16038 case $host_cpu in
   16039   alpha*)
   16040 	ALPHA_VIDEO=yes
   16041 	case $host_os in
   16042 	        *freebsd*)	SYS_LIBS=-lio ;;
   16043 		*netbsd*)
   16044 $as_echo "#define USE_ALPHA_PIO 1" >>confdefs.h
   16045  ;;
   16046 	esac
   16047 	GLX_ARCH_DEFINES="-D__GLX_ALIGN64 -mieee"
   16048 	;;
   16049   arm*)
   16050 	ARM_VIDEO=yes
   16051 	;;
   16052   i*86)
   16053 	I386_VIDEO=yes
   16054 	case $host_os in
   16055 		*freebsd*)	$as_echo "#define USE_DEV_IO 1" >>confdefs.h
   16056  ;;
   16057 		*dragonfly*)	$as_echo "#define USE_DEV_IO 1" >>confdefs.h
   16058  ;;
   16059 		*netbsd*)	$as_echo "#define USE_I386_IOPL 1" >>confdefs.h
   16060 
   16061 				SYS_LIBS=-li386
   16062 				;;
   16063 		*openbsd*)	$as_echo "#define USE_I386_IOPL 1" >>confdefs.h
   16064 
   16065 				SYS_LIBS=-li386
   16066 				;;
   16067 	esac
   16068         ;;
   16069   powerpc*)
   16070 	PPC_VIDEO=yes
   16071 	case $host_os in
   16072 		*freebsd*)	DEFAULT_INT10=stub ;;
   16073 	esac
   16074 	;;
   16075   sparc*)
   16076 	SPARC64_VIDEO=yes
   16077 	BSD_ARCH_SOURCES="sparc64_video.c ioperm_noop.c"
   16078 	GLX_ARCH_DEFINES="-D__GLX_ALIGN64"
   16079 	;;
   16080   x86_64*|amd64*)
   16081 	I386_VIDEO=yes
   16082 	case $host_os in
   16083 		*freebsd*)
   16084 $as_echo "#define USE_DEV_IO 1" >>confdefs.h
   16085  ;;
   16086 		*dragonfly*)
   16087 $as_echo "#define USE_DEV_IO 1" >>confdefs.h
   16088  ;;
   16089 		*netbsd*)
   16090 $as_echo "#define USE_I386_IOPL 1" >>confdefs.h
   16091 
   16092 				SYS_LIBS=-lx86_64
   16093 				;;
   16094 		*openbsd*)
   16095 $as_echo "#define USE_AMD64_IOPL 1" >>confdefs.h
   16096 
   16097 				SYS_LIBS=-lamd64
   16098 				;;
   16099 	esac
   16100 	GLX_ARCH_DEFINES="-D__GLX_ALIGN64"
   16101 	;;
   16102   ia64*)
   16103   	GLX_ARCH_DEFINES="-D__GLX_ALIGN64"
   16104 	;;
   16105   s390*)
   16106   	GLX_ARCH_DEFINES="-D__GLX_ALIGN64"
   16107 	;;
   16108 esac
   16109 
   16110 
   16111  if test "x$ALPHA_VIDEO" = xyes; then
   16112   ALPHA_VIDEO_TRUE=
   16113   ALPHA_VIDEO_FALSE='#'
   16114 else
   16115   ALPHA_VIDEO_TRUE='#'
   16116   ALPHA_VIDEO_FALSE=
   16117 fi
   16118 
   16119  if test "x$ARM_VIDEO" = xyes; then
   16120   ARM_VIDEO_TRUE=
   16121   ARM_VIDEO_FALSE='#'
   16122 else
   16123   ARM_VIDEO_TRUE='#'
   16124   ARM_VIDEO_FALSE=
   16125 fi
   16126 
   16127  if test "x$I386_VIDEO" = xyes; then
   16128   I386_VIDEO_TRUE=
   16129   I386_VIDEO_FALSE='#'
   16130 else
   16131   I386_VIDEO_TRUE='#'
   16132   I386_VIDEO_FALSE=
   16133 fi
   16134 
   16135  if test "x$PPC_VIDEO" = xyes; then
   16136   PPC_VIDEO_TRUE=
   16137   PPC_VIDEO_FALSE='#'
   16138 else
   16139   PPC_VIDEO_TRUE='#'
   16140   PPC_VIDEO_FALSE=
   16141 fi
   16142 
   16143  if test "x$SPARC64_VIDEO" = xyes; then
   16144   SPARC64_VIDEO_TRUE=
   16145   SPARC64_VIDEO_FALSE='#'
   16146 else
   16147   SPARC64_VIDEO_TRUE='#'
   16148   SPARC64_VIDEO_FALSE=
   16149 fi
   16150 
   16151 
   16152 DRI=no
   16153 USE_SIGIO_BY_DEFAULT="yes"
   16154 case $host_os in
   16155   *freebsd* | *dragonfly*)
   16156 	case $host_os in
   16157 		kfreebsd*-gnu) ;;
   16158 		*)
   16159 $as_echo "#define CSRG_BASED 1" >>confdefs.h
   16160  ;;
   16161 	esac
   16162 
   16163 $as_echo "#define PCCONS_SUPPORT 1" >>confdefs.h
   16164 
   16165 
   16166 $as_echo "#define PCVT_SUPPORT 1" >>confdefs.h
   16167 
   16168 
   16169 $as_echo "#define SYSCONS_SUPPORT 1" >>confdefs.h
   16170 
   16171 	DRI=yes
   16172 	;;
   16173   *netbsd*)
   16174 
   16175 $as_echo "#define CSRG_BASED 1" >>confdefs.h
   16176 
   16177 
   16178 $as_echo "#define PCCONS_SUPPORT 1" >>confdefs.h
   16179 
   16180 
   16181 $as_echo "#define PCVT_SUPPORT 1" >>confdefs.h
   16182 
   16183 
   16184 $as_echo "#define WSCONS_SUPPORT 1" >>confdefs.h
   16185 
   16186 	DRI=yes
   16187 	;;
   16188   *openbsd*)
   16189 
   16190 $as_echo "#define CSRG_BASED 1" >>confdefs.h
   16191 
   16192 
   16193 $as_echo "#define PCVT_SUPPORT 1" >>confdefs.h
   16194 
   16195 
   16196 $as_echo "#define WSCONS_SUPPORT 1" >>confdefs.h
   16197 
   16198 	;;
   16199   *linux*)
   16200 	DRI=yes
   16201 	;;
   16202   *solaris*)
   16203 	if test -n "$PKG_CONFIG" && \
   16204     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm\""; } >&5
   16205   ($PKG_CONFIG --exists --print-errors "libdrm") 2>&5
   16206   ac_status=$?
   16207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16208   test $ac_status = 0; }; then
   16209   DRI=yes
   16210 else
   16211   DRI=no
   16212 fi
   16213 	# Disable use of SIGIO by default until some system bugs are
   16214 	# fixed - see Sun/OpenSolaris bug id 6879897
   16215 	USE_SIGIO_BY_DEFAULT="no"
   16216 	;;
   16217   darwin*)
   16218 
   16219 $as_echo "#define CSRG_BASED 1" >>confdefs.h
   16220 
   16221 	;;
   16222   cygwin*)
   16223 	CFLAGS="$CFLAGS -DFD_SETSIZE=256"
   16224 	;;
   16225 esac
   16226 
   16227 PVMAJOR=`echo $PACKAGE_VERSION | cut -d . -f 1`
   16228 PVS=`echo $PACKAGE_VERSION | cut -d . -f 4 | cut -d - -f 1`
   16229 if test "x$PVS" = "x"; then
   16230 	PVS="0"
   16231 fi
   16232 
   16233 VENDOR_RELEASE="((($PVMAJOR) * 10000000) + (($PVM) * 100000) + (($PVP) * 1000) + $PVS)"
   16234 VENDOR_MAN_VERSION="Version ${PACKAGE_VERSION}"
   16235 
   16236 VENDOR_NAME="The X.Org Foundation"
   16237 VENDOR_NAME_SHORT="X.Org"
   16238 VENDOR_WEB="http://wiki.x.org"
   16239 
   16240 
   16241 
   16242 # Check whether --enable-werror was given.
   16243 if test "${enable_werror+set}" = set; then :
   16244   enableval=$enable_werror; as_fn_error $? "--enable-werror has been replaced by --enable-strict-compilation" "$LINENO" 5
   16245 fi
   16246 
   16247 
   16248 # Check whether --enable-debug was given.
   16249 if test "${enable_debug+set}" = set; then :
   16250   enableval=$enable_debug; DEBUGGING=$enableval
   16251 else
   16252   DEBUGGING=no
   16253 fi
   16254 
   16255 # Check whether --enable-unit-tests was given.
   16256 if test "${enable_unit_tests+set}" = set; then :
   16257   enableval=$enable_unit_tests; UNITTESTS=$enableval
   16258 else
   16259   UNITTESTS=auto
   16260 fi
   16261 
   16262 # Check whether --enable-use-sigio-by-default was given.
   16263 if test "${enable_use_sigio_by_default+set}" = set; then :
   16264   enableval=$enable_use_sigio_by_default; USE_SIGIO_BY_DEFAULT=$enableval
   16265 fi
   16266 
   16267 
   16268 # Check whether --with-int10 was given.
   16269 if test "${with_int10+set}" = set; then :
   16270   withval=$with_int10; INT10="$withval"
   16271 else
   16272   INT10="$DEFAULT_INT10"
   16273 fi
   16274 
   16275 
   16276 # Check whether --with-vendor-name was given.
   16277 if test "${with_vendor_name+set}" = set; then :
   16278   withval=$with_vendor_name;  VENDOR_NAME="$withval"
   16279 fi
   16280 
   16281 
   16282 # Check whether --with-vendor-name-short was given.
   16283 if test "${with_vendor_name_short+set}" = set; then :
   16284   withval=$with_vendor_name_short;  VENDOR_NAME_SHORT="$withval"
   16285 fi
   16286 
   16287 
   16288 # Check whether --with-vendor-web was given.
   16289 if test "${with_vendor_web+set}" = set; then :
   16290   withval=$with_vendor_web;  VENDOR_WEB="$withval"
   16291 fi
   16292 
   16293 
   16294 # Check whether --with-module-dir was given.
   16295 if test "${with_module_dir+set}" = set; then :
   16296   withval=$with_module_dir;  moduledir="$withval"
   16297 else
   16298    moduledir="${libdir}/xorg/modules"
   16299 fi
   16300 
   16301 
   16302 # Check whether --with-log-dir was given.
   16303 if test "${with_log_dir+set}" = set; then :
   16304   withval=$with_log_dir;  logdir="$withval"
   16305 else
   16306    logdir="$localstatedir/log"
   16307 fi
   16308 
   16309 
   16310 # Check whether --with-builder-addr was given.
   16311 if test "${with_builder_addr+set}" = set; then :
   16312   withval=$with_builder_addr;  BUILDERADDR="$withval"
   16313 else
   16314    BUILDERADDR="xorg (at] lists.freedesktop.org"
   16315 fi
   16316 
   16317 
   16318 # Check whether --with-os-name was given.
   16319 if test "${with_os_name+set}" = set; then :
   16320   withval=$with_os_name;  OSNAME="$withval"
   16321 else
   16322    OSNAME=`uname -srm`
   16323 fi
   16324 
   16325 
   16326 # Check whether --with-os-vendor was given.
   16327 if test "${with_os_vendor+set}" = set; then :
   16328   withval=$with_os_vendor;  OSVENDOR="$withval"
   16329 else
   16330    OSVENDOR=""
   16331 fi
   16332 
   16333 
   16334 # Check whether --with-builderstring was given.
   16335 if test "${with_builderstring+set}" = set; then :
   16336   withval=$with_builderstring;  BUILDERSTRING="$withval"
   16337 
   16338 fi
   16339 
   16340 
   16341 
   16342 
   16343 
   16344 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
   16345 $as_echo_n "checking for root directory for font files... " >&6; }
   16346 
   16347 # Check whether --with-fontrootdir was given.
   16348 if test "${with_fontrootdir+set}" = set; then :
   16349   withval=$with_fontrootdir; FONTROOTDIR="$withval"
   16350 fi
   16351 
   16352 	# if --with-fontrootdir not specified...
   16353 	if test "x${FONTROOTDIR}" = "x"; then
   16354 		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
   16355 	fi
   16356 	# ...and if pkg-config didn't find fontdir in fontutil.pc...
   16357 	if test "x${FONTROOTDIR}" = "x"; then
   16358 		FONTROOTDIR="${datadir}/fonts/X11"
   16359 	fi
   16360 
   16361 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
   16362 $as_echo "${FONTROOTDIR}" >&6; }
   16363 
   16364 
   16365 
   16366 
   16367 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for misc files" >&5
   16368 $as_echo_n "checking for directory for misc files... " >&6; }
   16369 
   16370 # Check whether --with-fontmiscdir was given.
   16371 if test "${with_fontmiscdir+set}" = set; then :
   16372   withval=$with_fontmiscdir; FONTMISCDIR="${withval}"
   16373 else
   16374   FONTMISCDIR='${FONTROOTDIR}/misc'
   16375 fi
   16376 
   16377 
   16378 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTMISCDIR}" >&5
   16379 $as_echo "${FONTMISCDIR}" >&6; }
   16380 
   16381 
   16382 
   16383 
   16384 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for OTF files" >&5
   16385 $as_echo_n "checking for directory for OTF files... " >&6; }
   16386 
   16387 # Check whether --with-fontotfdir was given.
   16388 if test "${with_fontotfdir+set}" = set; then :
   16389   withval=$with_fontotfdir; FONTOTFDIR="${withval}"
   16390 else
   16391   FONTOTFDIR='${FONTROOTDIR}/OTF'
   16392 fi
   16393 
   16394 
   16395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTOTFDIR}" >&5
   16396 $as_echo "${FONTOTFDIR}" >&6; }
   16397 
   16398 
   16399 
   16400 
   16401 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for TTF files" >&5
   16402 $as_echo_n "checking for directory for TTF files... " >&6; }
   16403 
   16404 # Check whether --with-fontttfdir was given.
   16405 if test "${with_fontttfdir+set}" = set; then :
   16406   withval=$with_fontttfdir; FONTTTFDIR="${withval}"
   16407 else
   16408   FONTTTFDIR='${FONTROOTDIR}/TTF'
   16409 fi
   16410 
   16411 
   16412 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTTTFDIR}" >&5
   16413 $as_echo "${FONTTTFDIR}" >&6; }
   16414 
   16415 
   16416 
   16417 
   16418 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for Type1 files" >&5
   16419 $as_echo_n "checking for directory for Type1 files... " >&6; }
   16420 
   16421 # Check whether --with-fonttype1dir was given.
   16422 if test "${with_fonttype1dir+set}" = set; then :
   16423   withval=$with_fonttype1dir; FONTTYPE1DIR="${withval}"
   16424 else
   16425   FONTTYPE1DIR='${FONTROOTDIR}/Type1'
   16426 fi
   16427 
   16428 
   16429 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTTYPE1DIR}" >&5
   16430 $as_echo "${FONTTYPE1DIR}" >&6; }
   16431 
   16432 
   16433 
   16434 
   16435 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for 75dpi files" >&5
   16436 $as_echo_n "checking for directory for 75dpi files... " >&6; }
   16437 
   16438 # Check whether --with-font75dpidir was given.
   16439 if test "${with_font75dpidir+set}" = set; then :
   16440   withval=$with_font75dpidir; FONT75DPIDIR="${withval}"
   16441 else
   16442   FONT75DPIDIR='${FONTROOTDIR}/75dpi'
   16443 fi
   16444 
   16445 
   16446 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONT75DPIDIR}" >&5
   16447 $as_echo "${FONT75DPIDIR}" >&6; }
   16448 
   16449 
   16450 
   16451 
   16452 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for 100dpi files" >&5
   16453 $as_echo_n "checking for directory for 100dpi files... " >&6; }
   16454 
   16455 # Check whether --with-font100dpidir was given.
   16456 if test "${with_font100dpidir+set}" = set; then :
   16457   withval=$with_font100dpidir; FONT100DPIDIR="${withval}"
   16458 else
   16459   FONT100DPIDIR='${FONTROOTDIR}/100dpi'
   16460 fi
   16461 
   16462 
   16463 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONT100DPIDIR}" >&5
   16464 $as_echo "${FONT100DPIDIR}" >&6; }
   16465 
   16466 
   16467 DEFAULT_FONT_PATH="${FONTMISCDIR}/,${FONTTTFDIR}/,${FONTOTFDIR}/,${FONTTYPE1DIR}/,${FONT100DPIDIR}/,${FONT75DPIDIR}/"
   16468 if test "$cross_compiling" != yes; then
   16469 	as_ac_File=`$as_echo "ac_cv_file_${sysconfdir}/X11/fontpath.d" | $as_tr_sh`
   16470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sysconfdir}/X11/fontpath.d" >&5
   16471 $as_echo_n "checking for ${sysconfdir}/X11/fontpath.d... " >&6; }
   16472 if eval \${$as_ac_File+:} false; then :
   16473   $as_echo_n "(cached) " >&6
   16474 else
   16475   test "$cross_compiling" = yes &&
   16476   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   16477 if test -r "${sysconfdir}/X11/fontpath.d"; then
   16478   eval "$as_ac_File=yes"
   16479 else
   16480   eval "$as_ac_File=no"
   16481 fi
   16482 fi
   16483 eval ac_res=\$$as_ac_File
   16484 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   16485 $as_echo "$ac_res" >&6; }
   16486 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   16487   DEFAULT_FONT_PATH='catalogue:${sysconfdir}/X11/fontpath.d'
   16488 else
   16489   case $host_os in
   16490 			darwin*) DEFAULT_FONT_PATH="${DEFAULT_FONT_PATH},/Library/Fonts,/System/Library/Fonts" ;;
   16491 		esac
   16492 fi
   16493 
   16494 fi
   16495 
   16496 # Check whether --with-default-font-path was given.
   16497 if test "${with_default_font_path+set}" = set; then :
   16498   withval=$with_default_font_path;  FONTPATH="$withval"
   16499 else
   16500    FONTPATH="${DEFAULT_FONT_PATH}"
   16501 fi
   16502 
   16503 
   16504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default font path" >&5
   16505 $as_echo_n "checking for default font path... " >&6; }
   16506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTPATH" >&5
   16507 $as_echo "$FONTPATH" >&6; }
   16508 
   16509 
   16510 # Check whether --with-xkb-path was given.
   16511 if test "${with_xkb_path+set}" = set; then :
   16512   withval=$with_xkb_path;  XKBPATH="$withval"
   16513 else
   16514    XKBPATH="${datadir}/X11/xkb"
   16515 fi
   16516 
   16517 
   16518 # Check whether --with-xkb-output was given.
   16519 if test "${with_xkb_output+set}" = set; then :
   16520   withval=$with_xkb_output;  XKBOUTPUT="$withval"
   16521 else
   16522    XKBOUTPUT="compiled"
   16523 fi
   16524 
   16525 
   16526 # Check whether --with-default-xkb-rules was given.
   16527 if test "${with_default_xkb_rules+set}" = set; then :
   16528   withval=$with_default_xkb_rules;  XKB_DFLT_RULES="$withval"
   16529 else
   16530    XKB_DFLT_RULES=""
   16531 fi
   16532 
   16533 
   16534 # Check whether --with-default-xkb-model was given.
   16535 if test "${with_default_xkb_model+set}" = set; then :
   16536   withval=$with_default_xkb_model;  XKB_DFLT_MODEL="$withval"
   16537 else
   16538    XKB_DFLT_MODEL="pc105"
   16539 fi
   16540 
   16541 
   16542 # Check whether --with-default-xkb-layout was given.
   16543 if test "${with_default_xkb_layout+set}" = set; then :
   16544   withval=$with_default_xkb_layout;  XKB_DFLT_LAYOUT="$withval"
   16545 else
   16546    XKB_DFLT_LAYOUT="us"
   16547 fi
   16548 
   16549 
   16550 # Check whether --with-default-xkb-variant was given.
   16551 if test "${with_default_xkb_variant+set}" = set; then :
   16552   withval=$with_default_xkb_variant;  XKB_DFLT_VARIANT="$withval"
   16553 else
   16554    XKB_DFLT_VARIANT=""
   16555 fi
   16556 
   16557 
   16558 # Check whether --with-default-xkb-options was given.
   16559 if test "${with_default_xkb_options+set}" = set; then :
   16560   withval=$with_default_xkb_options;  XKB_DFLT_OPTIONS="$withval"
   16561 else
   16562    XKB_DFLT_OPTIONS=""
   16563 fi
   16564 
   16565 
   16566 # Check whether --with-serverconfig-path was given.
   16567 if test "${with_serverconfig_path+set}" = set; then :
   16568   withval=$with_serverconfig_path;  SERVERCONFIG="$withval"
   16569 else
   16570    SERVERCONFIG="${libdir}/xorg"
   16571 fi
   16572 
   16573 
   16574 # Check whether --with-apple-applications-dir was given.
   16575 if test "${with_apple_applications_dir+set}" = set; then :
   16576   withval=$with_apple_applications_dir;  APPLE_APPLICATIONS_DIR="${withval}"
   16577 else
   16578    APPLE_APPLICATIONS_DIR="/Applications/Utilities"
   16579 fi
   16580 
   16581 
   16582 
   16583 # Check whether --with-apple-application-name was given.
   16584 if test "${with_apple_application_name+set}" = set; then :
   16585   withval=$with_apple_application_name;  APPLE_APPLICATION_NAME="${withval}"
   16586 else
   16587    APPLE_APPLICATION_NAME="X11"
   16588 fi
   16589 
   16590 
   16591 
   16592 # Check whether --with-launchd-id-prefix was given.
   16593 if test "${with_launchd_id_prefix+set}" = set; then :
   16594   withval=$with_launchd_id_prefix;  LAUNCHD_ID_PREFIX="${withval}"
   16595 else
   16596    LAUNCHD_ID_PREFIX="org.x"
   16597 fi
   16598 
   16599 
   16600 
   16601 cat >>confdefs.h <<_ACEOF
   16602 #define LAUNCHD_ID_PREFIX "$LAUNCHD_ID_PREFIX"
   16603 _ACEOF
   16604 
   16605 # Check whether --enable-sparkle was given.
   16606 if test "${enable_sparkle+set}" = set; then :
   16607   enableval=$enable_sparkle;  XQUARTZ_SPARKLE="${enableval}"
   16608 else
   16609    XQUARTZ_SPARKLE="no"
   16610 fi
   16611 
   16612 
   16613 # Check whether --enable-install-libxf86config was given.
   16614 if test "${enable_install_libxf86config+set}" = set; then :
   16615   enableval=$enable_install_libxf86config; INSTALL_LIBXF86CONFIG=$enableval
   16616 else
   16617   INSTALL_LIBXF86CONFIG=no
   16618 fi
   16619 
   16620 # Check whether --enable-visibility was given.
   16621 if test "${enable_visibility+set}" = set; then :
   16622   enableval=$enable_visibility; SYMBOL_VISIBILITY=$enableval
   16623 else
   16624   SYMBOL_VISIBILITY=auto
   16625 fi
   16626 
   16627 # Check whether --enable-pc98 was given.
   16628 if test "${enable_pc98+set}" = set; then :
   16629   enableval=$enable_pc98; SUPPORT_PC98=$enableval
   16630 else
   16631   SUPPORT_PC98=auto
   16632 fi
   16633 
   16634 
   16635 # Check whether --enable-aiglx was given.
   16636 if test "${enable_aiglx+set}" = set; then :
   16637   enableval=$enable_aiglx; AIGLX=$enableval
   16638 else
   16639   AIGLX=yes
   16640 fi
   16641 
   16642 
   16643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread local storage (TLS) class" >&5
   16644 $as_echo_n "checking for thread local storage (TLS) class... " >&6; }
   16645   if ${ac_cv_tls+:} false; then :
   16646   $as_echo_n "(cached) " >&6
   16647 else
   16648 
   16649     ax_tls_keywords="__thread __declspec(thread) none"
   16650     for ax_tls_keyword in $ax_tls_keywords; do
   16651        case $ax_tls_keyword in
   16652           none) ac_cv_tls=none ; break ;;
   16653           *)
   16654              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16655 /* end confdefs.h.  */
   16656 #include <stdlib.h>
   16657                  static void
   16658                  foo(void) {
   16659                  static  $ax_tls_keyword  int bar;
   16660                  exit(1);
   16661                  }
   16662 int
   16663 main ()
   16664 {
   16665 
   16666   ;
   16667   return 0;
   16668 }
   16669 _ACEOF
   16670 if ac_fn_c_try_compile "$LINENO"; then :
   16671   ac_cv_tls=$ax_tls_keyword ; break
   16672 else
   16673   ac_cv_tls=none
   16674 
   16675 fi
   16676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16677        esac
   16678     done
   16679 
   16680 fi
   16681 
   16682 
   16683   if test "$ac_cv_tls" != "none"; then
   16684 
   16685 cat >>confdefs.h <<_ACEOF
   16686 #define TLS $ac_cv_tls
   16687 _ACEOF
   16688 
   16689   fi
   16690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
   16691 $as_echo "$ac_cv_tls" >&6; }
   16692 
   16693 # Check whether --enable-glx-tls was given.
   16694 if test "${enable_glx_tls+set}" = set; then :
   16695   enableval=$enable_glx_tls; GLX_USE_TLS=$enableval
   16696                                  if test "x$GLX_USE_TLS" = "xyes" && test "${ac_cv_tls}" = "none" ; then
   16697                                    as_fn_error $? "GLX with TLS support requested, but the compiler does not support it." "$LINENO" 5
   16698                                  fi
   16699 else
   16700   GLX_USE_TLS=no
   16701                                  if test "${ac_cv_tls}" != "none" ; then
   16702                                    GLX_USE_TLS=yes
   16703                                  fi
   16704 fi
   16705 
   16706 GLX_TLS=${GLX_USE_TLS}
   16707 
   16708 
   16709 # Check whether --enable-registry was given.
   16710 if test "${enable_registry+set}" = set; then :
   16711   enableval=$enable_registry; XREGISTRY=$enableval
   16712 else
   16713   XREGISTRY=yes
   16714 fi
   16715 
   16716 # Check whether --enable-composite was given.
   16717 if test "${enable_composite+set}" = set; then :
   16718   enableval=$enable_composite; COMPOSITE=$enableval
   16719 else
   16720   COMPOSITE=yes
   16721 fi
   16722 
   16723 # Check whether --enable-mitshm was given.
   16724 if test "${enable_mitshm+set}" = set; then :
   16725   enableval=$enable_mitshm; MITSHM=$enableval
   16726 else
   16727   MITSHM=yes
   16728 fi
   16729 
   16730 # Check whether --enable-xres was given.
   16731 if test "${enable_xres+set}" = set; then :
   16732   enableval=$enable_xres; RES=$enableval
   16733 else
   16734   RES=yes
   16735 fi
   16736 
   16737 # Check whether --enable-record was given.
   16738 if test "${enable_record+set}" = set; then :
   16739   enableval=$enable_record; RECORD=$enableval
   16740 else
   16741   RECORD=yes
   16742 fi
   16743 
   16744 # Check whether --enable-xv was given.
   16745 if test "${enable_xv+set}" = set; then :
   16746   enableval=$enable_xv; XV=$enableval
   16747 else
   16748   XV=yes
   16749 fi
   16750 
   16751 # Check whether --enable-xvmc was given.
   16752 if test "${enable_xvmc+set}" = set; then :
   16753   enableval=$enable_xvmc; XVMC=$enableval
   16754 else
   16755   XVMC=yes
   16756 fi
   16757 
   16758 # Check whether --enable-dga was given.
   16759 if test "${enable_dga+set}" = set; then :
   16760   enableval=$enable_dga; DGA=$enableval
   16761 else
   16762   DGA=auto
   16763 fi
   16764 
   16765 # Check whether --enable-screensaver was given.
   16766 if test "${enable_screensaver+set}" = set; then :
   16767   enableval=$enable_screensaver; SCREENSAVER=$enableval
   16768 else
   16769   SCREENSAVER=yes
   16770 fi
   16771 
   16772 # Check whether --enable-xdmcp was given.
   16773 if test "${enable_xdmcp+set}" = set; then :
   16774   enableval=$enable_xdmcp; XDMCP=$enableval
   16775 else
   16776   XDMCP=auto
   16777 fi
   16778 
   16779 # Check whether --enable-xdm-auth-1 was given.
   16780 if test "${enable_xdm_auth_1+set}" = set; then :
   16781   enableval=$enable_xdm_auth_1; XDMAUTH=$enableval
   16782 else
   16783   XDMAUTH=auto
   16784 fi
   16785 
   16786 # Check whether --enable-glx was given.
   16787 if test "${enable_glx+set}" = set; then :
   16788   enableval=$enable_glx; GLX=$enableval
   16789 else
   16790   GLX=yes
   16791 fi
   16792 
   16793 # Check whether --enable-dri was given.
   16794 if test "${enable_dri+set}" = set; then :
   16795   enableval=$enable_dri; DRI=$enableval
   16796 fi
   16797 
   16798 # Check whether --enable-dri2 was given.
   16799 if test "${enable_dri2+set}" = set; then :
   16800   enableval=$enable_dri2; DRI2=$enableval
   16801 else
   16802   DRI2=auto
   16803 fi
   16804 
   16805 # Check whether --enable-xinerama was given.
   16806 if test "${enable_xinerama+set}" = set; then :
   16807   enableval=$enable_xinerama; XINERAMA=$enableval
   16808 else
   16809   XINERAMA=yes
   16810 fi
   16811 
   16812 # Check whether --enable-xf86vidmode was given.
   16813 if test "${enable_xf86vidmode+set}" = set; then :
   16814   enableval=$enable_xf86vidmode; XF86VIDMODE=$enableval
   16815 else
   16816   XF86VIDMODE=auto
   16817 fi
   16818 
   16819 # Check whether --enable-xace was given.
   16820 if test "${enable_xace+set}" = set; then :
   16821   enableval=$enable_xace; XACE=$enableval
   16822 else
   16823   XACE=yes
   16824 fi
   16825 
   16826 # Check whether --enable-xselinux was given.
   16827 if test "${enable_xselinux+set}" = set; then :
   16828   enableval=$enable_xselinux; XSELINUX=$enableval
   16829 else
   16830   XSELINUX=no
   16831 fi
   16832 
   16833 # Check whether --enable-xcsecurity was given.
   16834 if test "${enable_xcsecurity+set}" = set; then :
   16835   enableval=$enable_xcsecurity; XCSECURITY=$enableval
   16836 else
   16837   XCSECURITY=no
   16838 fi
   16839 
   16840 # Check whether --enable-xcalibrate was given.
   16841 if test "${enable_xcalibrate+set}" = set; then :
   16842   enableval=$enable_xcalibrate; XCALIBRATE=$enableval
   16843 else
   16844   XCALIBRATE=no
   16845 fi
   16846 
   16847 # Check whether --enable-tslib was given.
   16848 if test "${enable_tslib+set}" = set; then :
   16849   enableval=$enable_tslib; TSLIB=$enableval
   16850 else
   16851   TSLIB=no
   16852 fi
   16853 
   16854 # Check whether --enable-dbe was given.
   16855 if test "${enable_dbe+set}" = set; then :
   16856   enableval=$enable_dbe; DBE=$enableval
   16857 else
   16858   DBE=yes
   16859 fi
   16860 
   16861 # Check whether --enable-xf86bigfont was given.
   16862 if test "${enable_xf86bigfont+set}" = set; then :
   16863   enableval=$enable_xf86bigfont; XF86BIGFONT=$enableval
   16864 else
   16865   XF86BIGFONT=no
   16866 fi
   16867 
   16868 # Check whether --enable-dpms was given.
   16869 if test "${enable_dpms+set}" = set; then :
   16870   enableval=$enable_dpms; DPMSExtension=$enableval
   16871 else
   16872   DPMSExtension=yes
   16873 fi
   16874 
   16875 # Check whether --enable-config-udev was given.
   16876 if test "${enable_config_udev+set}" = set; then :
   16877   enableval=$enable_config_udev; CONFIG_UDEV=$enableval
   16878 else
   16879   CONFIG_UDEV=auto
   16880 fi
   16881 
   16882 # Check whether --enable-config-dbus was given.
   16883 if test "${enable_config_dbus+set}" = set; then :
   16884   enableval=$enable_config_dbus; CONFIG_DBUS_API=$enableval
   16885 else
   16886   CONFIG_DBUS_API=no
   16887 fi
   16888 
   16889 # Check whether --enable-config-hal was given.
   16890 if test "${enable_config_hal+set}" = set; then :
   16891   enableval=$enable_config_hal; CONFIG_HAL=$enableval
   16892 else
   16893   CONFIG_HAL=auto
   16894 fi
   16895 
   16896 # Check whether --enable-xfree86-utils was given.
   16897 if test "${enable_xfree86_utils+set}" = set; then :
   16898   enableval=$enable_xfree86_utils; XF86UTILS=$enableval
   16899 else
   16900   XF86UTILS=yes
   16901 fi
   16902 
   16903 # Check whether --enable-xaa was given.
   16904 if test "${enable_xaa+set}" = set; then :
   16905   enableval=$enable_xaa; XAA=$enableval
   16906 else
   16907   XAA=yes
   16908 fi
   16909 
   16910 # Check whether --enable-vgahw was given.
   16911 if test "${enable_vgahw+set}" = set; then :
   16912   enableval=$enable_vgahw; VGAHW=$enableval
   16913 else
   16914   VGAHW=yes
   16915 fi
   16916 
   16917 # Check whether --enable-vbe was given.
   16918 if test "${enable_vbe+set}" = set; then :
   16919   enableval=$enable_vbe; VBE=$enableval
   16920 else
   16921   VBE=yes
   16922 fi
   16923 
   16924 # Check whether --enable-int10-module was given.
   16925 if test "${enable_int10_module+set}" = set; then :
   16926   enableval=$enable_int10_module; INT10MODULE=$enableval
   16927 else
   16928   INT10MODULE=yes
   16929 fi
   16930 
   16931 # Check whether --enable-windowswm was given.
   16932 if test "${enable_windowswm+set}" = set; then :
   16933   enableval=$enable_windowswm; WINDOWSWM=$enableval
   16934 else
   16935   WINDOWSWM=no
   16936 fi
   16937 
   16938 # Check whether --enable-libdrm was given.
   16939 if test "${enable_libdrm+set}" = set; then :
   16940   enableval=$enable_libdrm; DRM=$enableval
   16941 else
   16942   DRM=yes
   16943 fi
   16944 
   16945 
   16946 # Check whether --enable-xorg was given.
   16947 if test "${enable_xorg+set}" = set; then :
   16948   enableval=$enable_xorg; XORG=$enableval
   16949 else
   16950   XORG=auto
   16951 fi
   16952 
   16953 # Check whether --enable-dmx was given.
   16954 if test "${enable_dmx+set}" = set; then :
   16955   enableval=$enable_dmx; DMX=$enableval
   16956 else
   16957   DMX=auto
   16958 fi
   16959 
   16960 # Check whether --enable-xvfb was given.
   16961 if test "${enable_xvfb+set}" = set; then :
   16962   enableval=$enable_xvfb; XVFB=$enableval
   16963 else
   16964   XVFB=yes
   16965 fi
   16966 
   16967 # Check whether --enable-xnest was given.
   16968 if test "${enable_xnest+set}" = set; then :
   16969   enableval=$enable_xnest; XNEST=$enableval
   16970 else
   16971   XNEST=auto
   16972 fi
   16973 
   16974 # Check whether --enable-xquartz was given.
   16975 if test "${enable_xquartz+set}" = set; then :
   16976   enableval=$enable_xquartz; XQUARTZ=$enableval
   16977 else
   16978   XQUARTZ=auto
   16979 fi
   16980 
   16981 # Check whether --enable-standalone-xpbproxy was given.
   16982 if test "${enable_standalone_xpbproxy+set}" = set; then :
   16983   enableval=$enable_standalone_xpbproxy; STANDALONE_XPBPROXY=$enableval
   16984 else
   16985   STANDALONE_XPBPROXY=no
   16986 fi
   16987 
   16988 # Check whether --enable-xwin was given.
   16989 if test "${enable_xwin+set}" = set; then :
   16990   enableval=$enable_xwin; XWIN=$enableval
   16991 else
   16992   XWIN=auto
   16993 fi
   16994 
   16995 # Check whether --enable-kdrive was given.
   16996 if test "${enable_kdrive+set}" = set; then :
   16997   enableval=$enable_kdrive; KDRIVE=$enableval
   16998 else
   16999   KDRIVE=no
   17000 fi
   17001 
   17002 # Check whether --enable-xephyr was given.
   17003 if test "${enable_xephyr+set}" = set; then :
   17004   enableval=$enable_xephyr; XEPHYR=$enableval
   17005 else
   17006   XEPHYR=auto
   17007 fi
   17008 
   17009 # Check whether --enable-xfake was given.
   17010 if test "${enable_xfake+set}" = set; then :
   17011   enableval=$enable_xfake; XFAKE=$enableval
   17012 else
   17013   XFAKE=auto
   17014 fi
   17015 
   17016 # Check whether --enable-xfbdev was given.
   17017 if test "${enable_xfbdev+set}" = set; then :
   17018   enableval=$enable_xfbdev; XFBDEV=$enableval
   17019 else
   17020   XFBDEV=auto
   17021 fi
   17022 
   17023 # Check whether --enable-kdrive-kbd was given.
   17024 if test "${enable_kdrive_kbd+set}" = set; then :
   17025   enableval=$enable_kdrive_kbd; KDRIVE_KBD=$enableval
   17026 else
   17027   KDRIVE_KBD=auto
   17028 fi
   17029 
   17030 # Check whether --enable-kdrive-mouse was given.
   17031 if test "${enable_kdrive_mouse+set}" = set; then :
   17032   enableval=$enable_kdrive_mouse; KDRIVE_MOUSE=$enableval
   17033 else
   17034   KDRIVE_MOUSE=auto
   17035 fi
   17036 
   17037 # Check whether --enable-kdrive-evdev was given.
   17038 if test "${enable_kdrive_evdev+set}" = set; then :
   17039   enableval=$enable_kdrive_evdev; KDRIVE_EVDEV=$enableval
   17040 else
   17041   KDRIVE_EVDEV=auto
   17042 fi
   17043 
   17044 
   17045 
   17046 # Check whether --enable-install-setuid was given.
   17047 if test "${enable_install_setuid+set}" = set; then :
   17048   enableval=$enable_install_setuid; SETUID=$enableval
   17049 else
   17050   SETUID=auto
   17051 fi
   17052 
   17053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if we can install the Xorg server as root" >&5
   17054 $as_echo_n "checking to see if we can install the Xorg server as root... " >&6; }
   17055 if test "x$SETUID" = "xauto" ; then
   17056 	case $host_os in
   17057 	    cygwin*)		SETUID="no"  ;;
   17058 	    darwin*)		SETUID="no"  ;;
   17059 	    *)
   17060 	   	case $host_cpu in
   17061 		    sparc)	SETUID="no"  ;;
   17062 		    *)		SETUID="yes" ;;
   17063 		esac
   17064 	esac
   17065 	if test "x$SETUID" = xyes; then
   17066 		touch testfile
   17067 		chown root testfile > /dev/null 2>&1 || SETUID="no"
   17068 		rm -f testfile
   17069 	fi
   17070 fi
   17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETUID" >&5
   17072 $as_echo "$SETUID" >&6; }
   17073  if test "x$SETUID" = "xyes"; then
   17074   INSTALL_SETUID_TRUE=
   17075   INSTALL_SETUID_FALSE='#'
   17076 else
   17077   INSTALL_SETUID_TRUE='#'
   17078   INSTALL_SETUID_FALSE=
   17079 fi
   17080 
   17081 
   17082 
   17083 
   17084 # Transport selection macro from xtrans.m4
   17085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
   17086 $as_echo_n "checking return type of signal handlers... " >&6; }
   17087 if ${ac_cv_type_signal+:} false; then :
   17088   $as_echo_n "(cached) " >&6
   17089 else
   17090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17091 /* end confdefs.h.  */
   17092 #include <sys/types.h>
   17093 #include <signal.h>
   17094 
   17095 int
   17096 main ()
   17097 {
   17098 return *(signal (0, 0)) (0) == 1;
   17099   ;
   17100   return 0;
   17101 }
   17102 _ACEOF
   17103 if ac_fn_c_try_compile "$LINENO"; then :
   17104   ac_cv_type_signal=int
   17105 else
   17106   ac_cv_type_signal=void
   17107 fi
   17108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17109 fi
   17110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
   17111 $as_echo "$ac_cv_type_signal" >&6; }
   17112 
   17113 cat >>confdefs.h <<_ACEOF
   17114 #define RETSIGTYPE $ac_cv_type_signal
   17115 _ACEOF
   17116 
   17117 
   17118 
   17119 
   17120 
   17121  case $host_os in
   17122 	mingw*)	unixdef="no"   ;;
   17123 	*)	unixdef="yes"  ;;
   17124  esac
   17125  # Check whether --enable-unix-transport was given.
   17126 if test "${enable_unix_transport+set}" = set; then :
   17127   enableval=$enable_unix_transport; UNIXCONN=$enableval
   17128 else
   17129   UNIXCONN=$unixdef
   17130 fi
   17131 
   17132  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   17133 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
   17134  if test "$UNIXCONN" = "yes"; then
   17135 
   17136 $as_echo "#define UNIXCONN 1" >>confdefs.h
   17137 
   17138  fi
   17139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   17140 $as_echo "$UNIXCONN" >&6; }
   17141  # Check whether --enable-tcp-transport was given.
   17142 if test "${enable_tcp_transport+set}" = set; then :
   17143   enableval=$enable_tcp_transport; TCPCONN=$enableval
   17144 else
   17145   TCPCONN=yes
   17146 fi
   17147 
   17148  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   17149 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
   17150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   17151 $as_echo "$TCPCONN" >&6; }
   17152  if test "$TCPCONN" = "yes"; then
   17153 
   17154 $as_echo "#define TCPCONN 1" >>confdefs.h
   17155 
   17156 
   17157  # SVR4 hides these in libraries other than libc
   17158  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   17159 $as_echo_n "checking for library containing socket... " >&6; }
   17160 if ${ac_cv_search_socket+:} false; then :
   17161   $as_echo_n "(cached) " >&6
   17162 else
   17163   ac_func_search_save_LIBS=$LIBS
   17164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17165 /* end confdefs.h.  */
   17166 
   17167 /* Override any GCC internal prototype to avoid an error.
   17168    Use char because int might match the return type of a GCC
   17169    builtin and then its argument prototype would still apply.  */
   17170 #ifdef __cplusplus
   17171 extern "C"
   17172 #endif
   17173 char socket ();
   17174 int
   17175 main ()
   17176 {
   17177 return socket ();
   17178   ;
   17179   return 0;
   17180 }
   17181 _ACEOF
   17182 for ac_lib in '' socket; do
   17183   if test -z "$ac_lib"; then
   17184     ac_res="none required"
   17185   else
   17186     ac_res=-l$ac_lib
   17187     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   17188   fi
   17189   if ac_fn_c_try_link "$LINENO"; then :
   17190   ac_cv_search_socket=$ac_res
   17191 fi
   17192 rm -f core conftest.err conftest.$ac_objext \
   17193     conftest$ac_exeext
   17194   if ${ac_cv_search_socket+:} false; then :
   17195   break
   17196 fi
   17197 done
   17198 if ${ac_cv_search_socket+:} false; then :
   17199 
   17200 else
   17201   ac_cv_search_socket=no
   17202 fi
   17203 rm conftest.$ac_ext
   17204 LIBS=$ac_func_search_save_LIBS
   17205 fi
   17206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   17207 $as_echo "$ac_cv_search_socket" >&6; }
   17208 ac_res=$ac_cv_search_socket
   17209 if test "$ac_res" != no; then :
   17210   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   17211 
   17212 fi
   17213 
   17214  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   17215 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   17216 if ${ac_cv_search_gethostbyname+:} false; then :
   17217   $as_echo_n "(cached) " >&6
   17218 else
   17219   ac_func_search_save_LIBS=$LIBS
   17220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17221 /* end confdefs.h.  */
   17222 
   17223 /* Override any GCC internal prototype to avoid an error.
   17224    Use char because int might match the return type of a GCC
   17225    builtin and then its argument prototype would still apply.  */
   17226 #ifdef __cplusplus
   17227 extern "C"
   17228 #endif
   17229 char gethostbyname ();
   17230 int
   17231 main ()
   17232 {
   17233 return gethostbyname ();
   17234   ;
   17235   return 0;
   17236 }
   17237 _ACEOF
   17238 for ac_lib in '' nsl; do
   17239   if test -z "$ac_lib"; then
   17240     ac_res="none required"
   17241   else
   17242     ac_res=-l$ac_lib
   17243     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   17244   fi
   17245   if ac_fn_c_try_link "$LINENO"; then :
   17246   ac_cv_search_gethostbyname=$ac_res
   17247 fi
   17248 rm -f core conftest.err conftest.$ac_objext \
   17249     conftest$ac_exeext
   17250   if ${ac_cv_search_gethostbyname+:} false; then :
   17251   break
   17252 fi
   17253 done
   17254 if ${ac_cv_search_gethostbyname+:} false; then :
   17255 
   17256 else
   17257   ac_cv_search_gethostbyname=no
   17258 fi
   17259 rm conftest.$ac_ext
   17260 LIBS=$ac_func_search_save_LIBS
   17261 fi
   17262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   17263 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   17264 ac_res=$ac_cv_search_gethostbyname
   17265 if test "$ac_res" != no; then :
   17266   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   17267 
   17268 fi
   17269 
   17270  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   17271    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   17272 $as_echo_n "checking for main in -lws2_32... " >&6; }
   17273 if ${ac_cv_lib_ws2_32_main+:} false; then :
   17274   $as_echo_n "(cached) " >&6
   17275 else
   17276   ac_check_lib_save_LIBS=$LIBS
   17277 LIBS="-lws2_32  $LIBS"
   17278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17279 /* end confdefs.h.  */
   17280 
   17281 
   17282 int
   17283 main ()
   17284 {
   17285 return main ();
   17286   ;
   17287   return 0;
   17288 }
   17289 _ACEOF
   17290 if ac_fn_c_try_link "$LINENO"; then :
   17291   ac_cv_lib_ws2_32_main=yes
   17292 else
   17293   ac_cv_lib_ws2_32_main=no
   17294 fi
   17295 rm -f core conftest.err conftest.$ac_objext \
   17296     conftest$ac_exeext conftest.$ac_ext
   17297 LIBS=$ac_check_lib_save_LIBS
   17298 fi
   17299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   17300 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   17301 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   17302   cat >>confdefs.h <<_ACEOF
   17303 #define HAVE_LIBWS2_32 1
   17304 _ACEOF
   17305 
   17306   LIBS="-lws2_32 $LIBS"
   17307 
   17308 fi
   17309 ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
   17310 
   17311  fi
   17312 
   17313  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   17314  # Check whether --enable-ipv6 was given.
   17315 if test "${enable_ipv6+set}" = set; then :
   17316   enableval=$enable_ipv6; IPV6CONN=$enableval
   17317 else
   17318   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   17319 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   17320   IPV6CONN=yes
   17321 else
   17322   IPV6CONN=no
   17323 fi
   17324 
   17325 fi
   17326 
   17327  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   17328 $as_echo_n "checking if IPv6 support should be built... " >&6; }
   17329  if test "$IPV6CONN" = "yes"; then
   17330 
   17331 $as_echo "#define IPv6 1" >>confdefs.h
   17332 
   17333  fi
   17334  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   17335 $as_echo "$IPV6CONN" >&6; }
   17336 
   17337  # 4.3BSD-Reno added a new member to struct sockaddr_in
   17338  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   17339 #include <sys/types.h>
   17340 #include <sys/socket.h>
   17341 #include <netinet/in.h>
   17342 
   17343 "
   17344 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
   17345 
   17346 $as_echo "#define BSD44SOCKETS 1" >>confdefs.h
   17347 
   17348 fi
   17349 
   17350 
   17351  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   17352  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   17353 $ac_includes_default
   17354 #include <sys/socket.h>
   17355 "
   17356 if test "x$ac_cv_type_socklen_t" = xyes; then :
   17357 
   17358 cat >>confdefs.h <<_ACEOF
   17359 #define HAVE_SOCKLEN_T 1
   17360 _ACEOF
   17361 
   17362 
   17363 fi
   17364 
   17365 
   17366 
   17367  fi
   17368  case $host_os in
   17369 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   17370 	*)			localdef="no"  ;;
   17371  esac
   17372  # Check whether --enable-local-transport was given.
   17373 if test "${enable_local_transport+set}" = set; then :
   17374   enableval=$enable_local_transport; LOCALCONN=$enableval
   17375 else
   17376   LOCALCONN=$localdef
   17377 fi
   17378 
   17379  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   17380 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
   17381  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   17382 $as_echo "$LOCALCONN" >&6; }
   17383  if test "$LOCALCONN" = "yes"; then
   17384 
   17385 $as_echo "#define LOCALCONN 1" >>confdefs.h
   17386 
   17387  fi
   17388 
   17389 
   17390 
   17391 # Secure RPC detection macro from xtrans.m4
   17392 
   17393  # Check whether --enable-secure-rpc was given.
   17394 if test "${enable_secure_rpc+set}" = set; then :
   17395   enableval=$enable_secure_rpc; SECURE_RPC=$enableval
   17396 else
   17397   SECURE_RPC="try"
   17398 fi
   17399 
   17400 
   17401  if test "x$SECURE_RPC" = "xyes" -o "x$SECURE_RPC" = "xtry" ; then
   17402 	FOUND_SECURE_RPC="no"
   17403 	for ac_func in authdes_seccreate authdes_create
   17404 do :
   17405   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   17406 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   17407 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   17408   cat >>confdefs.h <<_ACEOF
   17409 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   17410 _ACEOF
   17411  FOUND_SECURE_RPC="yes"
   17412 fi
   17413 done
   17414 
   17415 	if test "x$FOUND_SECURE_RPC" = "xno" ; then
   17416 		if test "x$SECURE_RPC" = "xyes" ; then
   17417 	as_fn_error $? "Secure RPC requested, but required functions not found" "$LINENO" 5
   17418 		fi
   17419 		SECURE_RPC="no"
   17420 	else
   17421 				{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getsecretkey" >&5
   17422 $as_echo_n "checking for library containing getsecretkey... " >&6; }
   17423 if ${ac_cv_search_getsecretkey+:} false; then :
   17424   $as_echo_n "(cached) " >&6
   17425 else
   17426   ac_func_search_save_LIBS=$LIBS
   17427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17428 /* end confdefs.h.  */
   17429 
   17430 /* Override any GCC internal prototype to avoid an error.
   17431    Use char because int might match the return type of a GCC
   17432    builtin and then its argument prototype would still apply.  */
   17433 #ifdef __cplusplus
   17434 extern "C"
   17435 #endif
   17436 char getsecretkey ();
   17437 int
   17438 main ()
   17439 {
   17440 return getsecretkey ();
   17441   ;
   17442   return 0;
   17443 }
   17444 _ACEOF
   17445 for ac_lib in '' rpcsvc; do
   17446   if test -z "$ac_lib"; then
   17447     ac_res="none required"
   17448   else
   17449     ac_res=-l$ac_lib
   17450     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   17451   fi
   17452   if ac_fn_c_try_link "$LINENO"; then :
   17453   ac_cv_search_getsecretkey=$ac_res
   17454 fi
   17455 rm -f core conftest.err conftest.$ac_objext \
   17456     conftest$ac_exeext
   17457   if ${ac_cv_search_getsecretkey+:} false; then :
   17458   break
   17459 fi
   17460 done
   17461 if ${ac_cv_search_getsecretkey+:} false; then :
   17462 
   17463 else
   17464   ac_cv_search_getsecretkey=no
   17465 fi
   17466 rm conftest.$ac_ext
   17467 LIBS=$ac_func_search_save_LIBS
   17468 fi
   17469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getsecretkey" >&5
   17470 $as_echo "$ac_cv_search_getsecretkey" >&6; }
   17471 ac_res=$ac_cv_search_getsecretkey
   17472 if test "$ac_res" != no; then :
   17473   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   17474 
   17475 fi
   17476 
   17477 		SECURE_RPC="yes"
   17478 	fi
   17479  fi
   17480  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Secure RPC authentication (\"SUN-DES-1\") should be supported" >&5
   17481 $as_echo_n "checking if Secure RPC authentication (\"SUN-DES-1\") should be supported... " >&6; }
   17482  if test "x$SECURE_RPC" = "xyes" ; then
   17483 
   17484 $as_echo "#define SECURE_RPC 1" >>confdefs.h
   17485 
   17486  fi
   17487  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SECURE_RPC" >&5
   17488 $as_echo "$SECURE_RPC" >&6; }
   17489 
   17490  if test "x$SECURE_RPC" = xyes; then
   17491   SECURE_RPC_TRUE=
   17492   SECURE_RPC_FALSE='#'
   17493 else
   17494   SECURE_RPC_TRUE='#'
   17495   SECURE_RPC_FALSE=
   17496 fi
   17497 
   17498 
   17499  if test "x$INT10" = xvm86; then
   17500   INT10_VM86_TRUE=
   17501   INT10_VM86_FALSE='#'
   17502 else
   17503   INT10_VM86_TRUE='#'
   17504   INT10_VM86_FALSE=
   17505 fi
   17506 
   17507  if test "x$INT10" = xx86emu; then
   17508   INT10_X86EMU_TRUE=
   17509   INT10_X86EMU_FALSE='#'
   17510 else
   17511   INT10_X86EMU_TRUE='#'
   17512   INT10_X86EMU_FALSE=
   17513 fi
   17514 
   17515  if test "x$INT10" = xstub; then
   17516   INT10_STUB_TRUE=
   17517   INT10_STUB_FALSE='#'
   17518 else
   17519   INT10_STUB_TRUE='#'
   17520   INT10_STUB_FALSE=
   17521 fi
   17522 
   17523 if test "x$INT10" = xyes; then
   17524 		for ac_header in sys/vm86.h sys/io.h
   17525 do :
   17526   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   17527 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   17528 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   17529   cat >>confdefs.h <<_ACEOF
   17530 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   17531 _ACEOF
   17532 
   17533 fi
   17534 
   17535 done
   17536 
   17537 fi
   17538 
   17539 
   17540 
   17541 # Check whether --enable-docs was given.
   17542 if test "${enable_docs+set}" = set; then :
   17543   enableval=$enable_docs; build_docs=$enableval
   17544 else
   17545   build_docs=yes
   17546 fi
   17547 
   17548 
   17549  if test x$build_docs = xyes; then
   17550   ENABLE_DOCS_TRUE=
   17551   ENABLE_DOCS_FALSE='#'
   17552 else
   17553   ENABLE_DOCS_TRUE='#'
   17554   ENABLE_DOCS_FALSE=
   17555 fi
   17556 
   17557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
   17558 $as_echo_n "checking whether to build documentation... " >&6; }
   17559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_docs" >&5
   17560 $as_echo "$build_docs" >&6; }
   17561 
   17562 
   17563 
   17564 # Check whether --enable-devel-docs was given.
   17565 if test "${enable_devel_docs+set}" = set; then :
   17566   enableval=$enable_devel_docs; build_devel_docs=$enableval
   17567 else
   17568   build_devel_docs=yes
   17569 fi
   17570 
   17571 
   17572  if test x$build_devel_docs = xyes; then
   17573   ENABLE_DEVEL_DOCS_TRUE=
   17574   ENABLE_DEVEL_DOCS_FALSE='#'
   17575 else
   17576   ENABLE_DEVEL_DOCS_TRUE='#'
   17577   ENABLE_DEVEL_DOCS_FALSE=
   17578 fi
   17579 
   17580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build developer documentation" >&5
   17581 $as_echo_n "checking whether to build developer documentation... " >&6; }
   17582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_devel_docs" >&5
   17583 $as_echo "$build_devel_docs" >&6; }
   17584 
   17585 
   17586 
   17587 
   17588 
   17589 # Check whether --with-xmlto was given.
   17590 if test "${with_xmlto+set}" = set; then :
   17591   withval=$with_xmlto; use_xmlto=$withval
   17592 else
   17593   use_xmlto=auto
   17594 fi
   17595 
   17596 
   17597 
   17598 if test "x$use_xmlto" = x"auto"; then
   17599    # Extract the first word of "xmlto", so it can be a program name with args.
   17600 set dummy xmlto; ac_word=$2
   17601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17602 $as_echo_n "checking for $ac_word... " >&6; }
   17603 if ${ac_cv_path_XMLTO+:} false; then :
   17604   $as_echo_n "(cached) " >&6
   17605 else
   17606   case $XMLTO in
   17607   [\\/]* | ?:[\\/]*)
   17608   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   17609   ;;
   17610   *)
   17611   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17612 for as_dir in $PATH
   17613 do
   17614   IFS=$as_save_IFS
   17615   test -z "$as_dir" && as_dir=.
   17616     for ac_exec_ext in '' $ac_executable_extensions; do
   17617   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17618     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   17619     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17620     break 2
   17621   fi
   17622 done
   17623   done
   17624 IFS=$as_save_IFS
   17625 
   17626   ;;
   17627 esac
   17628 fi
   17629 XMLTO=$ac_cv_path_XMLTO
   17630 if test -n "$XMLTO"; then
   17631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   17632 $as_echo "$XMLTO" >&6; }
   17633 else
   17634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17635 $as_echo "no" >&6; }
   17636 fi
   17637 
   17638 
   17639    if test "x$XMLTO" = "x"; then
   17640         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   17641 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   17642 	have_xmlto=no
   17643    else
   17644         have_xmlto=yes
   17645    fi
   17646 elif test "x$use_xmlto" = x"yes" ; then
   17647    # Extract the first word of "xmlto", so it can be a program name with args.
   17648 set dummy xmlto; ac_word=$2
   17649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17650 $as_echo_n "checking for $ac_word... " >&6; }
   17651 if ${ac_cv_path_XMLTO+:} false; then :
   17652   $as_echo_n "(cached) " >&6
   17653 else
   17654   case $XMLTO in
   17655   [\\/]* | ?:[\\/]*)
   17656   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   17657   ;;
   17658   *)
   17659   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17660 for as_dir in $PATH
   17661 do
   17662   IFS=$as_save_IFS
   17663   test -z "$as_dir" && as_dir=.
   17664     for ac_exec_ext in '' $ac_executable_extensions; do
   17665   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17666     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   17667     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17668     break 2
   17669   fi
   17670 done
   17671   done
   17672 IFS=$as_save_IFS
   17673 
   17674   ;;
   17675 esac
   17676 fi
   17677 XMLTO=$ac_cv_path_XMLTO
   17678 if test -n "$XMLTO"; then
   17679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   17680 $as_echo "$XMLTO" >&6; }
   17681 else
   17682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17683 $as_echo "no" >&6; }
   17684 fi
   17685 
   17686 
   17687    if test "x$XMLTO" = "x"; then
   17688         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   17689    fi
   17690    have_xmlto=yes
   17691 elif test "x$use_xmlto" = x"no" ; then
   17692    if test "x$XMLTO" != "x"; then
   17693       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   17694 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   17695    fi
   17696    have_xmlto=no
   17697 else
   17698    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   17699 fi
   17700 
   17701 # Test for a minimum version of xmlto, if provided.
   17702 if test "$have_xmlto" = yes; then
   17703     # scrape the xmlto version
   17704     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   17705 $as_echo_n "checking the xmlto version... " >&6; }
   17706     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   17707     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   17708 $as_echo "$xmlto_version" >&6; }
   17709     as_arg_v1=$xmlto_version
   17710 as_arg_v2=0.0.20
   17711 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   17712 case $? in #(
   17713   1) :
   17714     if test "x$use_xmlto" = xauto; then
   17715             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&5
   17716 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;}
   17717             have_xmlto=no
   17718         else
   17719             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.20 needed" "$LINENO" 5
   17720         fi ;; #(
   17721   0) :
   17722      ;; #(
   17723   2) :
   17724      ;; #(
   17725   *) :
   17726      ;;
   17727 esac
   17728 fi
   17729 
   17730 # Test for the ability of xmlto to generate a text target
   17731 have_xmlto_text=no
   17732 cat > conftest.xml << "EOF"
   17733 EOF
   17734 if test "$have_xmlto" = yes; then :
   17735   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   17736   have_xmlto_text=yes
   17737 else
   17738   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   17739 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   17740 fi
   17741 fi
   17742 rm -f conftest.xml
   17743  if test $have_xmlto_text = yes; then
   17744   HAVE_XMLTO_TEXT_TRUE=
   17745   HAVE_XMLTO_TEXT_FALSE='#'
   17746 else
   17747   HAVE_XMLTO_TEXT_TRUE='#'
   17748   HAVE_XMLTO_TEXT_FALSE=
   17749 fi
   17750 
   17751  if test "$have_xmlto" = yes; then
   17752   HAVE_XMLTO_TRUE=
   17753   HAVE_XMLTO_FALSE='#'
   17754 else
   17755   HAVE_XMLTO_TRUE='#'
   17756   HAVE_XMLTO_FALSE=
   17757 fi
   17758 
   17759 
   17760 
   17761 
   17762 
   17763 
   17764 # Check whether --with-fop was given.
   17765 if test "${with_fop+set}" = set; then :
   17766   withval=$with_fop; use_fop=$withval
   17767 else
   17768   use_fop=auto
   17769 fi
   17770 
   17771 
   17772 
   17773 if test "x$use_fop" = x"auto"; then
   17774    # Extract the first word of "fop", so it can be a program name with args.
   17775 set dummy fop; ac_word=$2
   17776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17777 $as_echo_n "checking for $ac_word... " >&6; }
   17778 if ${ac_cv_path_FOP+:} false; then :
   17779   $as_echo_n "(cached) " >&6
   17780 else
   17781   case $FOP in
   17782   [\\/]* | ?:[\\/]*)
   17783   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   17784   ;;
   17785   *)
   17786   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17787 for as_dir in $PATH
   17788 do
   17789   IFS=$as_save_IFS
   17790   test -z "$as_dir" && as_dir=.
   17791     for ac_exec_ext in '' $ac_executable_extensions; do
   17792   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17793     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   17794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17795     break 2
   17796   fi
   17797 done
   17798   done
   17799 IFS=$as_save_IFS
   17800 
   17801   ;;
   17802 esac
   17803 fi
   17804 FOP=$ac_cv_path_FOP
   17805 if test -n "$FOP"; then
   17806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   17807 $as_echo "$FOP" >&6; }
   17808 else
   17809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17810 $as_echo "no" >&6; }
   17811 fi
   17812 
   17813 
   17814    if test "x$FOP" = "x"; then
   17815         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   17816 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   17817 	have_fop=no
   17818    else
   17819         have_fop=yes
   17820    fi
   17821 elif test "x$use_fop" = x"yes" ; then
   17822    # Extract the first word of "fop", so it can be a program name with args.
   17823 set dummy fop; ac_word=$2
   17824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17825 $as_echo_n "checking for $ac_word... " >&6; }
   17826 if ${ac_cv_path_FOP+:} false; then :
   17827   $as_echo_n "(cached) " >&6
   17828 else
   17829   case $FOP in
   17830   [\\/]* | ?:[\\/]*)
   17831   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   17832   ;;
   17833   *)
   17834   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17835 for as_dir in $PATH
   17836 do
   17837   IFS=$as_save_IFS
   17838   test -z "$as_dir" && as_dir=.
   17839     for ac_exec_ext in '' $ac_executable_extensions; do
   17840   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17841     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   17842     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17843     break 2
   17844   fi
   17845 done
   17846   done
   17847 IFS=$as_save_IFS
   17848 
   17849   ;;
   17850 esac
   17851 fi
   17852 FOP=$ac_cv_path_FOP
   17853 if test -n "$FOP"; then
   17854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   17855 $as_echo "$FOP" >&6; }
   17856 else
   17857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17858 $as_echo "no" >&6; }
   17859 fi
   17860 
   17861 
   17862    if test "x$FOP" = "x"; then
   17863         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   17864    fi
   17865    have_fop=yes
   17866 elif test "x$use_fop" = x"no" ; then
   17867    if test "x$FOP" != "x"; then
   17868       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   17869 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   17870    fi
   17871    have_fop=no
   17872 else
   17873    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   17874 fi
   17875  if test "$have_fop" = yes; then
   17876   HAVE_FOP_TRUE=
   17877   HAVE_FOP_FALSE='#'
   17878 else
   17879   HAVE_FOP_TRUE='#'
   17880   HAVE_FOP_FALSE=
   17881 fi
   17882 
   17883 
   17884 
   17885  if test "x$INSTALL_LIBXF86CONFIG" = xyes; then
   17886   INSTALL_LIBXF86CONFIG_TRUE=
   17887   INSTALL_LIBXF86CONFIG_FALSE='#'
   17888 else
   17889   INSTALL_LIBXF86CONFIG_TRUE='#'
   17890   INSTALL_LIBXF86CONFIG_FALSE=
   17891 fi
   17892 
   17893 
   17894 case $host_os in
   17895 	cygwin*)
   17896 		DGA=no
   17897 		DRI2=no
   17898 		XF86VIDMODE=no
   17899 		XSELINUX=no
   17900 		XV=no
   17901 		;;
   17902 	darwin*)
   17903 		DRI2=no
   17904 
   17905 		if test x$XQUARTZ = xauto; then
   17906 			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Xquartz" >&5
   17907 $as_echo_n "checking whether to build Xquartz... " >&6; }
   17908 if ${xorg_cv_Carbon_framework+:} false; then :
   17909   $as_echo_n "(cached) " >&6
   17910 else
   17911 
   17912 		 		save_LDFLAGS=$LDFLAGS
   17913 				LDFLAGS="$LDFLAGS -framework Carbon"
   17914 				cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17915 /* end confdefs.h.  */
   17916 char FSFindFolder(); int main() { FSFindFolder(); return 0;}
   17917 _ACEOF
   17918 if ac_fn_c_try_link "$LINENO"; then :
   17919   xorg_cv_Carbon_framework=yes
   17920 else
   17921   xorg_cv_Carbon_framework=no
   17922 fi
   17923 rm -f core conftest.err conftest.$ac_objext \
   17924     conftest$ac_exeext conftest.$ac_ext
   17925 			LDFLAGS=$save_LDFLAGS
   17926 fi
   17927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_Carbon_framework" >&5
   17928 $as_echo "$xorg_cv_Carbon_framework" >&6; }
   17929 
   17930 			if test "X$xorg_cv_Carbon_framework" = Xyes; then
   17931 				XQUARTZ=yes
   17932 			else
   17933 				XQUARTZ=no
   17934 			fi
   17935 		fi
   17936 
   17937 		if test "x$XQUARTZ" = xyes ; then
   17938 			XQUARTZ=yes
   17939 			XVFB=no
   17940 			XNEST=no
   17941 
   17942 			COMPOSITE=no
   17943 			DGA=no
   17944 			DPMSExtension=no
   17945 			XF86VIDMODE=no
   17946 		fi
   17947 		;;
   17948 	*) XQUARTZ=no ;;
   17949 esac
   17950 
   17951 XEXT_INC='-I$(top_srcdir)/Xext'
   17952 XEXT_LIB='$(top_builddir)/Xext/libXext.la'
   17953 XEXTXORG_LIB='$(top_builddir)/Xext/libXextbuiltin.la'
   17954 
   17955 VIDEOPROTO="videoproto"
   17956 COMPOSITEPROTO="compositeproto >= 0.4"
   17957 RECORDPROTO="recordproto >= 1.13.99.1"
   17958 SCRNSAVERPROTO="scrnsaverproto >= 1.1"
   17959 RESOURCEPROTO="resourceproto"
   17960 DRIPROTO="xf86driproto >= 2.1.0"
   17961 DRI2PROTO="dri2proto >= 2.3"
   17962 XINERAMAPROTO="xineramaproto"
   17963 BIGFONTPROTO="xf86bigfontproto >= 1.2.0"
   17964 XCALIBRATEPROTO="xcalibrateproto"
   17965 DGAPROTO="xf86dgaproto >= 2.0.99.1"
   17966 GLPROTO="glproto >= 1.4.10"
   17967 DMXPROTO="dmxproto >= 2.2.99.1"
   17968 VIDMODEPROTO="xf86vidmodeproto >= 2.2.99.1"
   17969 WINDOWSWMPROTO="windowswmproto"
   17970 APPLEWMPROTO="applewmproto >= 1.4"
   17971 
   17972 SDK_REQUIRED_MODULES="xproto >= 7.0.17 randrproto >= 1.2.99.3 renderproto >= 0.11 xextproto >= 7.1.99 inputproto >= 1.9.99.902 kbproto >= 1.0.3 fontsproto"
   17973 # Make SDK_REQUIRED_MODULES available for inclusion in xorg-server.pc
   17974 
   17975 
   17976 LIBAPPLEWM="applewm >= 1.4"
   17977 LIBDMX="dmx >= 1.0.99.1"
   17978 LIBDRI="dri >= 7.8.0"
   17979 LIBDRM="libdrm >= 2.3.0"
   17980 LIBGL="gl >= 7.1.0"
   17981 LIBXEXT="xext >= 1.0.99.4"
   17982 LIBXFONT="xfont >= 1.4.2"
   17983 LIBXI="xi >= 1.2.99.1"
   17984 LIBXTST="xtst >= 1.0.99.2"
   17985 LIBPCIACCESS="pciaccess >= 0.8.0"
   17986 LIBGLIB="glib-2.0 >= 2.16"
   17987 LIBUDEV="libudev >= 143"
   17988 LIBSELINUX="libselinux >= 2.0.86"
   17989 LIBDBUS="dbus-1 >= 1.0"
   17990 LIBPIXMAN="pixman-1 >= 0.15.20"
   17991 
   17992 
   17993 pkg_failed=no
   17994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5
   17995 $as_echo_n "checking for PIXMAN... " >&6; }
   17996 
   17997 if test -n "$PIXMAN_CFLAGS"; then
   17998     pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS"
   17999  elif test -n "$PKG_CONFIG"; then
   18000     if test -n "$PKG_CONFIG" && \
   18001     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBPIXMAN\""; } >&5
   18002   ($PKG_CONFIG --exists --print-errors "$LIBPIXMAN") 2>&5
   18003   ac_status=$?
   18004   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18005   test $ac_status = 0; }; then
   18006   pkg_cv_PIXMAN_CFLAGS=`$PKG_CONFIG --cflags "$LIBPIXMAN" 2>/dev/null`
   18007 		      test "x$?" != "x0" && pkg_failed=yes
   18008 else
   18009   pkg_failed=yes
   18010 fi
   18011  else
   18012     pkg_failed=untried
   18013 fi
   18014 if test -n "$PIXMAN_LIBS"; then
   18015     pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS"
   18016  elif test -n "$PKG_CONFIG"; then
   18017     if test -n "$PKG_CONFIG" && \
   18018     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBPIXMAN\""; } >&5
   18019   ($PKG_CONFIG --exists --print-errors "$LIBPIXMAN") 2>&5
   18020   ac_status=$?
   18021   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18022   test $ac_status = 0; }; then
   18023   pkg_cv_PIXMAN_LIBS=`$PKG_CONFIG --libs "$LIBPIXMAN" 2>/dev/null`
   18024 		      test "x$?" != "x0" && pkg_failed=yes
   18025 else
   18026   pkg_failed=yes
   18027 fi
   18028  else
   18029     pkg_failed=untried
   18030 fi
   18031 
   18032 
   18033 
   18034 if test $pkg_failed = yes; then
   18035    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18036 $as_echo "no" >&6; }
   18037 
   18038 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18039         _pkg_short_errors_supported=yes
   18040 else
   18041         _pkg_short_errors_supported=no
   18042 fi
   18043         if test $_pkg_short_errors_supported = yes; then
   18044 	        PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$LIBPIXMAN" 2>&1`
   18045         else
   18046 	        PIXMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$LIBPIXMAN" 2>&1`
   18047         fi
   18048 	# Put the nasty error message in config.log where it belongs
   18049 	echo "$PIXMAN_PKG_ERRORS" >&5
   18050 
   18051 	as_fn_error $? "Package requirements ($LIBPIXMAN) were not met:
   18052 
   18053 $PIXMAN_PKG_ERRORS
   18054 
   18055 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18056 installed software in a non-standard prefix.
   18057 
   18058 Alternatively, you may set the environment variables PIXMAN_CFLAGS
   18059 and PIXMAN_LIBS to avoid the need to call pkg-config.
   18060 See the pkg-config man page for more details." "$LINENO" 5
   18061 elif test $pkg_failed = untried; then
   18062      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18063 $as_echo "no" >&6; }
   18064 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18066 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18067 is in your PATH or set the PKG_CONFIG environment variable to the full
   18068 path to pkg-config.
   18069 
   18070 Alternatively, you may set the environment variables PIXMAN_CFLAGS
   18071 and PIXMAN_LIBS to avoid the need to call pkg-config.
   18072 See the pkg-config man page for more details.
   18073 
   18074 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18075 See \`config.log' for more details" "$LINENO" 5; }
   18076 else
   18077 	PIXMAN_CFLAGS=$pkg_cv_PIXMAN_CFLAGS
   18078 	PIXMAN_LIBS=$pkg_cv_PIXMAN_LIBS
   18079         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18080 $as_echo "yes" >&6; }
   18081 
   18082 fi
   18083 REQUIRED_LIBS="$REQUIRED_LIBS $LIBPIXMAN $LIBXFONT xau"
   18084 
   18085 REQUIRED_MODULES="fixesproto >= 4.1 damageproto >= 1.1 xcmiscproto >= 1.2.0 xtrans >= 1.2.2 bigreqsproto >= 1.1.0 $SDK_REQUIRED_MODULES"
   18086 
   18087 if test "x$CONFIG_UDEV" = xyes &&
   18088  { test "x$CONFIG_DBUS_API" = xyes || test "x$CONFIG_HAL" = xyes; }; then
   18089 	as_fn_error $? "Hotplugging through both libudev and dbus/hal not allowed" "$LINENO" 5
   18090 fi
   18091 
   18092 
   18093 pkg_failed=no
   18094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5
   18095 $as_echo_n "checking for UDEV... " >&6; }
   18096 
   18097 if test -n "$UDEV_CFLAGS"; then
   18098     pkg_cv_UDEV_CFLAGS="$UDEV_CFLAGS"
   18099  elif test -n "$PKG_CONFIG"; then
   18100     if test -n "$PKG_CONFIG" && \
   18101     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBUDEV\""; } >&5
   18102   ($PKG_CONFIG --exists --print-errors "$LIBUDEV") 2>&5
   18103   ac_status=$?
   18104   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18105   test $ac_status = 0; }; then
   18106   pkg_cv_UDEV_CFLAGS=`$PKG_CONFIG --cflags "$LIBUDEV" 2>/dev/null`
   18107 		      test "x$?" != "x0" && pkg_failed=yes
   18108 else
   18109   pkg_failed=yes
   18110 fi
   18111  else
   18112     pkg_failed=untried
   18113 fi
   18114 if test -n "$UDEV_LIBS"; then
   18115     pkg_cv_UDEV_LIBS="$UDEV_LIBS"
   18116  elif test -n "$PKG_CONFIG"; then
   18117     if test -n "$PKG_CONFIG" && \
   18118     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBUDEV\""; } >&5
   18119   ($PKG_CONFIG --exists --print-errors "$LIBUDEV") 2>&5
   18120   ac_status=$?
   18121   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18122   test $ac_status = 0; }; then
   18123   pkg_cv_UDEV_LIBS=`$PKG_CONFIG --libs "$LIBUDEV" 2>/dev/null`
   18124 		      test "x$?" != "x0" && pkg_failed=yes
   18125 else
   18126   pkg_failed=yes
   18127 fi
   18128  else
   18129     pkg_failed=untried
   18130 fi
   18131 
   18132 
   18133 
   18134 if test $pkg_failed = yes; then
   18135    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18136 $as_echo "no" >&6; }
   18137 
   18138 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18139         _pkg_short_errors_supported=yes
   18140 else
   18141         _pkg_short_errors_supported=no
   18142 fi
   18143         if test $_pkg_short_errors_supported = yes; then
   18144 	        UDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$LIBUDEV" 2>&1`
   18145         else
   18146 	        UDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$LIBUDEV" 2>&1`
   18147         fi
   18148 	# Put the nasty error message in config.log where it belongs
   18149 	echo "$UDEV_PKG_ERRORS" >&5
   18150 
   18151 	HAVE_LIBUDEV=no
   18152 elif test $pkg_failed = untried; then
   18153      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18154 $as_echo "no" >&6; }
   18155 	HAVE_LIBUDEV=no
   18156 else
   18157 	UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS
   18158 	UDEV_LIBS=$pkg_cv_UDEV_LIBS
   18159         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18160 $as_echo "yes" >&6; }
   18161 	HAVE_LIBUDEV=yes
   18162 fi
   18163 if test "x$CONFIG_UDEV" = xauto; then
   18164 	CONFIG_UDEV="$HAVE_LIBUDEV"
   18165 fi
   18166  if test "x$CONFIG_UDEV" = xyes; then
   18167   CONFIG_UDEV_TRUE=
   18168   CONFIG_UDEV_FALSE='#'
   18169 else
   18170   CONFIG_UDEV_TRUE='#'
   18171   CONFIG_UDEV_FALSE=
   18172 fi
   18173 
   18174 if test "x$CONFIG_UDEV" = xyes; then
   18175 	CONFIG_DBUS_API=no
   18176 	CONFIG_HAL=no
   18177 	if ! test "x$HAVE_LIBUDEV" = xyes; then
   18178 		as_fn_error $? "udev configuration API requested, but libudev is not installed" "$LINENO" 5
   18179 	fi
   18180 
   18181 $as_echo "#define CONFIG_UDEV 1" >>confdefs.h
   18182 
   18183 fi
   18184 
   18185 
   18186 pkg_failed=no
   18187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
   18188 $as_echo_n "checking for DBUS... " >&6; }
   18189 
   18190 if test -n "$DBUS_CFLAGS"; then
   18191     pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
   18192  elif test -n "$PKG_CONFIG"; then
   18193     if test -n "$PKG_CONFIG" && \
   18194     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBDBUS\""; } >&5
   18195   ($PKG_CONFIG --exists --print-errors "$LIBDBUS") 2>&5
   18196   ac_status=$?
   18197   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18198   test $ac_status = 0; }; then
   18199   pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "$LIBDBUS" 2>/dev/null`
   18200 		      test "x$?" != "x0" && pkg_failed=yes
   18201 else
   18202   pkg_failed=yes
   18203 fi
   18204  else
   18205     pkg_failed=untried
   18206 fi
   18207 if test -n "$DBUS_LIBS"; then
   18208     pkg_cv_DBUS_LIBS="$DBUS_LIBS"
   18209  elif test -n "$PKG_CONFIG"; then
   18210     if test -n "$PKG_CONFIG" && \
   18211     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBDBUS\""; } >&5
   18212   ($PKG_CONFIG --exists --print-errors "$LIBDBUS") 2>&5
   18213   ac_status=$?
   18214   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18215   test $ac_status = 0; }; then
   18216   pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "$LIBDBUS" 2>/dev/null`
   18217 		      test "x$?" != "x0" && pkg_failed=yes
   18218 else
   18219   pkg_failed=yes
   18220 fi
   18221  else
   18222     pkg_failed=untried
   18223 fi
   18224 
   18225 
   18226 
   18227 if test $pkg_failed = yes; then
   18228    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18229 $as_echo "no" >&6; }
   18230 
   18231 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18232         _pkg_short_errors_supported=yes
   18233 else
   18234         _pkg_short_errors_supported=no
   18235 fi
   18236         if test $_pkg_short_errors_supported = yes; then
   18237 	        DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$LIBDBUS" 2>&1`
   18238         else
   18239 	        DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$LIBDBUS" 2>&1`
   18240         fi
   18241 	# Put the nasty error message in config.log where it belongs
   18242 	echo "$DBUS_PKG_ERRORS" >&5
   18243 
   18244 	HAVE_DBUS=no
   18245 elif test $pkg_failed = untried; then
   18246      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18247 $as_echo "no" >&6; }
   18248 	HAVE_DBUS=no
   18249 else
   18250 	DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
   18251 	DBUS_LIBS=$pkg_cv_DBUS_LIBS
   18252         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18253 $as_echo "yes" >&6; }
   18254 	HAVE_DBUS=yes
   18255 fi
   18256 if test "x$HAVE_DBUS" = xyes; then
   18257 
   18258 $as_echo "#define HAVE_DBUS 1" >>confdefs.h
   18259 
   18260 fi
   18261  if test "x$HAVE_DBUS" = xyes; then
   18262   HAVE_DBUS_TRUE=
   18263   HAVE_DBUS_FALSE='#'
   18264 else
   18265   HAVE_DBUS_TRUE='#'
   18266   HAVE_DBUS_FALSE=
   18267 fi
   18268 
   18269 
   18270 if test "x$CONFIG_DBUS_API" = xauto; then
   18271 	CONFIG_DBUS_API="$HAVE_DBUS"
   18272 fi
   18273 if test "x$CONFIG_DBUS_API" = xyes; then
   18274 	if ! test "x$HAVE_DBUS" = xyes; then
   18275 		as_fn_error $? "D-Bus configuration API requested, but D-Bus is not installed." "$LINENO" 5
   18276 	fi
   18277 
   18278 
   18279 $as_echo "#define CONFIG_DBUS_API 1" >>confdefs.h
   18280 
   18281 	CONFIG_NEED_DBUS="yes"
   18282 fi
   18283  if test "x$CONFIG_DBUS_API" = xyes; then
   18284   CONFIG_DBUS_API_TRUE=
   18285   CONFIG_DBUS_API_FALSE='#'
   18286 else
   18287   CONFIG_DBUS_API_TRUE='#'
   18288   CONFIG_DBUS_API_FALSE=
   18289 fi
   18290 
   18291 
   18292 
   18293 pkg_failed=no
   18294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HAL" >&5
   18295 $as_echo_n "checking for HAL... " >&6; }
   18296 
   18297 if test -n "$HAL_CFLAGS"; then
   18298     pkg_cv_HAL_CFLAGS="$HAL_CFLAGS"
   18299  elif test -n "$PKG_CONFIG"; then
   18300     if test -n "$PKG_CONFIG" && \
   18301     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hal\""; } >&5
   18302   ($PKG_CONFIG --exists --print-errors "hal") 2>&5
   18303   ac_status=$?
   18304   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18305   test $ac_status = 0; }; then
   18306   pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "hal" 2>/dev/null`
   18307 		      test "x$?" != "x0" && pkg_failed=yes
   18308 else
   18309   pkg_failed=yes
   18310 fi
   18311  else
   18312     pkg_failed=untried
   18313 fi
   18314 if test -n "$HAL_LIBS"; then
   18315     pkg_cv_HAL_LIBS="$HAL_LIBS"
   18316  elif test -n "$PKG_CONFIG"; then
   18317     if test -n "$PKG_CONFIG" && \
   18318     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hal\""; } >&5
   18319   ($PKG_CONFIG --exists --print-errors "hal") 2>&5
   18320   ac_status=$?
   18321   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18322   test $ac_status = 0; }; then
   18323   pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "hal" 2>/dev/null`
   18324 		      test "x$?" != "x0" && pkg_failed=yes
   18325 else
   18326   pkg_failed=yes
   18327 fi
   18328  else
   18329     pkg_failed=untried
   18330 fi
   18331 
   18332 
   18333 
   18334 if test $pkg_failed = yes; then
   18335    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18336 $as_echo "no" >&6; }
   18337 
   18338 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18339         _pkg_short_errors_supported=yes
   18340 else
   18341         _pkg_short_errors_supported=no
   18342 fi
   18343         if test $_pkg_short_errors_supported = yes; then
   18344 	        HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "hal" 2>&1`
   18345         else
   18346 	        HAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "hal" 2>&1`
   18347         fi
   18348 	# Put the nasty error message in config.log where it belongs
   18349 	echo "$HAL_PKG_ERRORS" >&5
   18350 
   18351 	HAVE_HAL=no
   18352 elif test $pkg_failed = untried; then
   18353      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18354 $as_echo "no" >&6; }
   18355 	HAVE_HAL=no
   18356 else
   18357 	HAL_CFLAGS=$pkg_cv_HAL_CFLAGS
   18358 	HAL_LIBS=$pkg_cv_HAL_LIBS
   18359         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18360 $as_echo "yes" >&6; }
   18361 	HAVE_HAL=yes
   18362 fi
   18363 if test "x$CONFIG_HAL" = xauto; then
   18364 	CONFIG_HAL="$HAVE_HAL"
   18365 fi
   18366 if test "x$CONFIG_HAL" = xyes; then
   18367 	if ! test "x$HAVE_HAL" = xyes; then
   18368 		as_fn_error $? "HAL hotplug API requested, but HAL is not installed." "$LINENO" 5
   18369 	fi
   18370 
   18371 
   18372 $as_echo "#define CONFIG_HAL 1" >>confdefs.h
   18373 
   18374 	CONFIG_NEED_DBUS="yes"
   18375 fi
   18376  if test "x$CONFIG_HAL" = xyes; then
   18377   CONFIG_HAL_TRUE=
   18378   CONFIG_HAL_FALSE='#'
   18379 else
   18380   CONFIG_HAL_TRUE='#'
   18381   CONFIG_HAL_FALSE=
   18382 fi
   18383 
   18384 
   18385 if test "x$CONFIG_NEED_DBUS" = xyes; then
   18386 
   18387 $as_echo "#define CONFIG_NEED_DBUS 1" >>confdefs.h
   18388 
   18389 fi
   18390  if test "x$CONFIG_NEED_DBUS" = xyes; then
   18391   CONFIG_NEED_DBUS_TRUE=
   18392   CONFIG_NEED_DBUS_FALSE='#'
   18393 else
   18394   CONFIG_NEED_DBUS_TRUE='#'
   18395   CONFIG_NEED_DBUS_FALSE=
   18396 fi
   18397 
   18398 
   18399 if test "x$USE_SIGIO_BY_DEFAULT" = xyes; then
   18400 	USE_SIGIO_BY_DEFAULT_VALUE=TRUE
   18401 else
   18402 	USE_SIGIO_BY_DEFAULT_VALUE=FALSE
   18403 fi
   18404 
   18405 cat >>confdefs.h <<_ACEOF
   18406 #define USE_SIGIO_BY_DEFAULT $USE_SIGIO_BY_DEFAULT_VALUE
   18407 _ACEOF
   18408 
   18409 
   18410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc..." >&5
   18411 $as_echo_n "checking for glibc...... " >&6; }
   18412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18413 /* end confdefs.h.  */
   18414 
   18415 #include <features.h>
   18416 #ifndef __GLIBC__
   18417 #error
   18418 #endif
   18419 
   18420 _ACEOF
   18421 if ac_fn_c_try_cpp "$LINENO"; then :
   18422   glibc=yes
   18423 else
   18424   glibc=no
   18425 fi
   18426 rm -f conftest.err conftest.i conftest.$ac_ext
   18427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibc" >&5
   18428 $as_echo "$glibc" >&6; }
   18429 
   18430 for ac_func in clock_gettime
   18431 do :
   18432   ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
   18433 if test "x$ac_cv_func_clock_gettime" = xyes; then :
   18434   cat >>confdefs.h <<_ACEOF
   18435 #define HAVE_CLOCK_GETTIME 1
   18436 _ACEOF
   18437  have_clock_gettime=yes
   18438 else
   18439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
   18440 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
   18441 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
   18442   $as_echo_n "(cached) " >&6
   18443 else
   18444   ac_check_lib_save_LIBS=$LIBS
   18445 LIBS="-lrt  $LIBS"
   18446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18447 /* end confdefs.h.  */
   18448 
   18449 /* Override any GCC internal prototype to avoid an error.
   18450    Use char because int might match the return type of a GCC
   18451    builtin and then its argument prototype would still apply.  */
   18452 #ifdef __cplusplus
   18453 extern "C"
   18454 #endif
   18455 char clock_gettime ();
   18456 int
   18457 main ()
   18458 {
   18459 return clock_gettime ();
   18460   ;
   18461   return 0;
   18462 }
   18463 _ACEOF
   18464 if ac_fn_c_try_link "$LINENO"; then :
   18465   ac_cv_lib_rt_clock_gettime=yes
   18466 else
   18467   ac_cv_lib_rt_clock_gettime=no
   18468 fi
   18469 rm -f core conftest.err conftest.$ac_objext \
   18470     conftest$ac_exeext conftest.$ac_ext
   18471 LIBS=$ac_check_lib_save_LIBS
   18472 fi
   18473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
   18474 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
   18475 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
   18476   have_clock_gettime=-lrt
   18477 else
   18478   have_clock_gettime=no
   18479 fi
   18480 
   18481 fi
   18482 done
   18483 
   18484 
   18485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a useful monotonic clock ..." >&5
   18486 $as_echo_n "checking for a useful monotonic clock ...... " >&6; }
   18487 
   18488 if ! test "x$have_clock_gettime" = xno; then
   18489     if ! test "x$have_clock_gettime" = xyes; then
   18490         CLOCK_LIBS="$have_clock_gettime"
   18491     else
   18492         CLOCK_LIBS=""
   18493     fi
   18494 
   18495     LIBS_SAVE="$LIBS"
   18496     LIBS="$CLOCK_LIBS"
   18497     CPPFLAGS_SAVE="$CPPFLAGS"
   18498 
   18499     if test x"$glibc" = xyes; then
   18500         CPPFLAGS="$CPPFLAGS -D_POSIX_C_SOURCE=200112L"
   18501     fi
   18502 
   18503     if test "$cross_compiling" = yes; then :
   18504   MONOTONIC_CLOCK="cross compiling"
   18505 else
   18506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18507 /* end confdefs.h.  */
   18508 
   18509 #include <time.h>
   18510 
   18511 int main(int argc, char *argv[]) {
   18512     struct timespec tp;
   18513 
   18514     if (clock_gettime(CLOCK_MONOTONIC, &tp) == 0)
   18515         return 0;
   18516     else
   18517         return 1;
   18518 }
   18519 
   18520 _ACEOF
   18521 if ac_fn_c_try_run "$LINENO"; then :
   18522   MONOTONIC_CLOCK=yes
   18523 else
   18524   MONOTONIC_CLOCK=no
   18525 fi
   18526 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   18527   conftest.$ac_objext conftest.beam conftest.$ac_ext
   18528 fi
   18529 
   18530 
   18531     LIBS="$LIBS_SAVE"
   18532     CPPFLAGS="$CPPFLAGS_SAVE"
   18533 else
   18534     MONOTONIC_CLOCK=no
   18535 fi
   18536 
   18537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MONOTONIC_CLOCK" >&5
   18538 $as_echo "$MONOTONIC_CLOCK" >&6; }
   18539 
   18540 if test "x$MONOTONIC_CLOCK" = xyes; then
   18541 
   18542 $as_echo "#define MONOTONIC_CLOCK 1" >>confdefs.h
   18543 
   18544     LIBS="$LIBS $CLOCK_LIBS"
   18545 fi
   18546 
   18547  if test "x$XV" = xyes; then
   18548   XV_TRUE=
   18549   XV_FALSE='#'
   18550 else
   18551   XV_TRUE='#'
   18552   XV_FALSE=
   18553 fi
   18554 
   18555 if test "x$XV" = xyes; then
   18556 
   18557 $as_echo "#define XV 1" >>confdefs.h
   18558 
   18559 
   18560 $as_echo "#define XvExtension 1" >>confdefs.h
   18561 
   18562 	REQUIRED_MODULES="$REQUIRED_MODULES $VIDEOPROTO"
   18563 	SDK_REQUIRED_MODULES="$SDK_REQUIRED_MODULES $VIDEOPROTO"
   18564 else
   18565 	XVMC=no
   18566 fi
   18567 
   18568  if test "x$XVMC" = xyes; then
   18569   XVMC_TRUE=
   18570   XVMC_FALSE='#'
   18571 else
   18572   XVMC_TRUE='#'
   18573   XVMC_FALSE=
   18574 fi
   18575 
   18576 if test "x$XVMC" = xyes; then
   18577 
   18578 $as_echo "#define XvMCExtension 1" >>confdefs.h
   18579 
   18580 fi
   18581 
   18582  if test "x$XREGISTRY" = xyes; then
   18583   XREGISTRY_TRUE=
   18584   XREGISTRY_FALSE='#'
   18585 else
   18586   XREGISTRY_TRUE='#'
   18587   XREGISTRY_FALSE=
   18588 fi
   18589 
   18590 if test "x$XREGISTRY" = xyes; then
   18591 
   18592 $as_echo "#define XREGISTRY 1" >>confdefs.h
   18593 
   18594 fi
   18595 
   18596  if test "x$COMPOSITE" = xyes; then
   18597   COMPOSITE_TRUE=
   18598   COMPOSITE_FALSE='#'
   18599 else
   18600   COMPOSITE_TRUE='#'
   18601   COMPOSITE_FALSE=
   18602 fi
   18603 
   18604 if test "x$COMPOSITE" = xyes; then
   18605 
   18606 $as_echo "#define COMPOSITE 1" >>confdefs.h
   18607 
   18608 	REQUIRED_MODULES="$REQUIRED_MODULES $COMPOSITEPROTO"
   18609 	COMPOSITE_LIB='$(top_builddir)/composite/libcomposite.la'
   18610 	COMPOSITE_INC='-I$(top_srcdir)/composite'
   18611 fi
   18612 
   18613  if test "x$MITSHM" = xyes; then
   18614   MITSHM_TRUE=
   18615   MITSHM_FALSE='#'
   18616 else
   18617   MITSHM_TRUE='#'
   18618   MITSHM_FALSE=
   18619 fi
   18620 
   18621 if test "x$MITSHM" = xyes; then
   18622 
   18623 $as_echo "#define MITSHM 1" >>confdefs.h
   18624 
   18625 
   18626 $as_echo "#define HAS_SHM 1" >>confdefs.h
   18627 
   18628 fi
   18629 
   18630  if test "x$RECORD" = xyes; then
   18631   RECORD_TRUE=
   18632   RECORD_FALSE='#'
   18633 else
   18634   RECORD_TRUE='#'
   18635   RECORD_FALSE=
   18636 fi
   18637 
   18638 if test "x$RECORD" = xyes; then
   18639 
   18640 $as_echo "#define XRECORD 1" >>confdefs.h
   18641 
   18642 	REQUIRED_MODULES="$REQUIRED_MODULES $RECORDPROTO"
   18643 	RECORD_LIB='$(top_builddir)/record/librecord.la'
   18644 fi
   18645 
   18646  if test "x$SCREENSAVER" = xyes; then
   18647   SCREENSAVER_TRUE=
   18648   SCREENSAVER_FALSE='#'
   18649 else
   18650   SCREENSAVER_TRUE='#'
   18651   SCREENSAVER_FALSE=
   18652 fi
   18653 
   18654 if test "x$SCREENSAVER" = xyes; then
   18655 
   18656 $as_echo "#define SCREENSAVER 1" >>confdefs.h
   18657 
   18658 	REQUIRED_MODULES="$REQUIRED_MODULES $SCRNSAVERPROTO"
   18659 fi
   18660 
   18661  if test "x$RES" = xyes; then
   18662   RES_TRUE=
   18663   RES_FALSE='#'
   18664 else
   18665   RES_TRUE='#'
   18666   RES_FALSE=
   18667 fi
   18668 
   18669 if test "x$RES" = xyes; then
   18670 
   18671 $as_echo "#define RES 1" >>confdefs.h
   18672 
   18673 	REQUIRED_MODULES="$REQUIRED_MODULES $RESOURCEPROTO"
   18674 fi
   18675 
   18676 if test "x$GLX" = xyes; then
   18677 
   18678 pkg_failed=no
   18679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB" >&5
   18680 $as_echo_n "checking for XLIB... " >&6; }
   18681 
   18682 if test -n "$XLIB_CFLAGS"; then
   18683     pkg_cv_XLIB_CFLAGS="$XLIB_CFLAGS"
   18684  elif test -n "$PKG_CONFIG"; then
   18685     if test -n "$PKG_CONFIG" && \
   18686     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
   18687   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
   18688   ac_status=$?
   18689   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18690   test $ac_status = 0; }; then
   18691   pkg_cv_XLIB_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
   18692 		      test "x$?" != "x0" && pkg_failed=yes
   18693 else
   18694   pkg_failed=yes
   18695 fi
   18696  else
   18697     pkg_failed=untried
   18698 fi
   18699 if test -n "$XLIB_LIBS"; then
   18700     pkg_cv_XLIB_LIBS="$XLIB_LIBS"
   18701  elif test -n "$PKG_CONFIG"; then
   18702     if test -n "$PKG_CONFIG" && \
   18703     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
   18704   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
   18705   ac_status=$?
   18706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18707   test $ac_status = 0; }; then
   18708   pkg_cv_XLIB_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
   18709 		      test "x$?" != "x0" && pkg_failed=yes
   18710 else
   18711   pkg_failed=yes
   18712 fi
   18713  else
   18714     pkg_failed=untried
   18715 fi
   18716 
   18717 
   18718 
   18719 if test $pkg_failed = yes; then
   18720    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18721 $as_echo "no" >&6; }
   18722 
   18723 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18724         _pkg_short_errors_supported=yes
   18725 else
   18726         _pkg_short_errors_supported=no
   18727 fi
   18728         if test $_pkg_short_errors_supported = yes; then
   18729 	        XLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
   18730         else
   18731 	        XLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
   18732         fi
   18733 	# Put the nasty error message in config.log where it belongs
   18734 	echo "$XLIB_PKG_ERRORS" >&5
   18735 
   18736 	as_fn_error $? "Package requirements (x11) were not met:
   18737 
   18738 $XLIB_PKG_ERRORS
   18739 
   18740 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18741 installed software in a non-standard prefix.
   18742 
   18743 Alternatively, you may set the environment variables XLIB_CFLAGS
   18744 and XLIB_LIBS to avoid the need to call pkg-config.
   18745 See the pkg-config man page for more details." "$LINENO" 5
   18746 elif test $pkg_failed = untried; then
   18747      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18748 $as_echo "no" >&6; }
   18749 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18751 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18752 is in your PATH or set the PKG_CONFIG environment variable to the full
   18753 path to pkg-config.
   18754 
   18755 Alternatively, you may set the environment variables XLIB_CFLAGS
   18756 and XLIB_LIBS to avoid the need to call pkg-config.
   18757 See the pkg-config man page for more details.
   18758 
   18759 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18760 See \`config.log' for more details" "$LINENO" 5; }
   18761 else
   18762 	XLIB_CFLAGS=$pkg_cv_XLIB_CFLAGS
   18763 	XLIB_LIBS=$pkg_cv_XLIB_LIBS
   18764         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18765 $as_echo "yes" >&6; }
   18766 
   18767 fi
   18768 
   18769 pkg_failed=no
   18770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
   18771 $as_echo_n "checking for GL... " >&6; }
   18772 
   18773 if test -n "$GL_CFLAGS"; then
   18774     pkg_cv_GL_CFLAGS="$GL_CFLAGS"
   18775  elif test -n "$PKG_CONFIG"; then
   18776     if test -n "$PKG_CONFIG" && \
   18777     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLPROTO \$LIBGL\""; } >&5
   18778   ($PKG_CONFIG --exists --print-errors "$GLPROTO $LIBGL") 2>&5
   18779   ac_status=$?
   18780   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18781   test $ac_status = 0; }; then
   18782   pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$GLPROTO $LIBGL" 2>/dev/null`
   18783 		      test "x$?" != "x0" && pkg_failed=yes
   18784 else
   18785   pkg_failed=yes
   18786 fi
   18787  else
   18788     pkg_failed=untried
   18789 fi
   18790 if test -n "$GL_LIBS"; then
   18791     pkg_cv_GL_LIBS="$GL_LIBS"
   18792  elif test -n "$PKG_CONFIG"; then
   18793     if test -n "$PKG_CONFIG" && \
   18794     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLPROTO \$LIBGL\""; } >&5
   18795   ($PKG_CONFIG --exists --print-errors "$GLPROTO $LIBGL") 2>&5
   18796   ac_status=$?
   18797   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18798   test $ac_status = 0; }; then
   18799   pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$GLPROTO $LIBGL" 2>/dev/null`
   18800 		      test "x$?" != "x0" && pkg_failed=yes
   18801 else
   18802   pkg_failed=yes
   18803 fi
   18804  else
   18805     pkg_failed=untried
   18806 fi
   18807 
   18808 
   18809 
   18810 if test $pkg_failed = yes; then
   18811    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18812 $as_echo "no" >&6; }
   18813 
   18814 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18815         _pkg_short_errors_supported=yes
   18816 else
   18817         _pkg_short_errors_supported=no
   18818 fi
   18819         if test $_pkg_short_errors_supported = yes; then
   18820 	        GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GLPROTO $LIBGL" 2>&1`
   18821         else
   18822 	        GL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GLPROTO $LIBGL" 2>&1`
   18823         fi
   18824 	# Put the nasty error message in config.log where it belongs
   18825 	echo "$GL_PKG_ERRORS" >&5
   18826 
   18827 	as_fn_error $? "Package requirements ($GLPROTO $LIBGL) were not met:
   18828 
   18829 $GL_PKG_ERRORS
   18830 
   18831 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18832 installed software in a non-standard prefix.
   18833 
   18834 Alternatively, you may set the environment variables GL_CFLAGS
   18835 and GL_LIBS to avoid the need to call pkg-config.
   18836 See the pkg-config man page for more details." "$LINENO" 5
   18837 elif test $pkg_failed = untried; then
   18838      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18839 $as_echo "no" >&6; }
   18840 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18841 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18842 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18843 is in your PATH or set the PKG_CONFIG environment variable to the full
   18844 path to pkg-config.
   18845 
   18846 Alternatively, you may set the environment variables GL_CFLAGS
   18847 and GL_LIBS to avoid the need to call pkg-config.
   18848 See the pkg-config man page for more details.
   18849 
   18850 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18851 See \`config.log' for more details" "$LINENO" 5; }
   18852 else
   18853 	GL_CFLAGS=$pkg_cv_GL_CFLAGS
   18854 	GL_LIBS=$pkg_cv_GL_LIBS
   18855         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18856 $as_echo "yes" >&6; }
   18857 
   18858 fi
   18859 
   18860 
   18861 $as_echo "#define GLXEXT 1" >>confdefs.h
   18862 
   18863 	GLX_LIBS='$(top_builddir)/glx/libglx.la'
   18864 	GLX_SYS_LIBS="$GLX_SYS_LIBS"
   18865 else
   18866         GLX=no
   18867 fi
   18868  if test "x$GLX" = xyes; then
   18869   GLX_TRUE=
   18870   GLX_FALSE='#'
   18871 else
   18872   GLX_TRUE='#'
   18873   GLX_FALSE=
   18874 fi
   18875 
   18876 
   18877 if test "x$AIGLX" = xyes -a "x$GLX" = xyes -a \( "x$DRI" = xyes -o "x$DRI2" = xyes \); then
   18878 
   18879 $as_echo "#define AIGLX 1" >>confdefs.h
   18880 
   18881 else
   18882 	AIGLX=no
   18883 fi
   18884  if test "x$AIGLX" = xyes; then
   18885   AIGLX_TRUE=
   18886   AIGLX_FALSE='#'
   18887 else
   18888   AIGLX_TRUE='#'
   18889   AIGLX_FALSE=
   18890 fi
   18891 
   18892 
   18893 if test "x$GLX_USE_TLS" = xyes ; then
   18894 	GLX_DEFINES="-DGLX_USE_TLS -DPTHREADS"
   18895 	GLX_SYS_LIBS="$GLX_SYS_LIBS -lpthread"
   18896 fi
   18897 
   18898 
   18899  if test "x$DRI" = xyes; then
   18900   DRI_TRUE=
   18901   DRI_FALSE='#'
   18902 else
   18903   DRI_TRUE='#'
   18904   DRI_FALSE=
   18905 fi
   18906 
   18907 if test "x$DRI" = xyes; then
   18908 
   18909 $as_echo "#define XF86DRI 1" >>confdefs.h
   18910 
   18911 
   18912 pkg_failed=no
   18913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRIPROTO" >&5
   18914 $as_echo_n "checking for DRIPROTO... " >&6; }
   18915 
   18916 if test -n "$DRIPROTO_CFLAGS"; then
   18917     pkg_cv_DRIPROTO_CFLAGS="$DRIPROTO_CFLAGS"
   18918  elif test -n "$PKG_CONFIG"; then
   18919     if test -n "$PKG_CONFIG" && \
   18920     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$DRIPROTO\""; } >&5
   18921   ($PKG_CONFIG --exists --print-errors "$DRIPROTO") 2>&5
   18922   ac_status=$?
   18923   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18924   test $ac_status = 0; }; then
   18925   pkg_cv_DRIPROTO_CFLAGS=`$PKG_CONFIG --cflags "$DRIPROTO" 2>/dev/null`
   18926 		      test "x$?" != "x0" && pkg_failed=yes
   18927 else
   18928   pkg_failed=yes
   18929 fi
   18930  else
   18931     pkg_failed=untried
   18932 fi
   18933 if test -n "$DRIPROTO_LIBS"; then
   18934     pkg_cv_DRIPROTO_LIBS="$DRIPROTO_LIBS"
   18935  elif test -n "$PKG_CONFIG"; then
   18936     if test -n "$PKG_CONFIG" && \
   18937     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$DRIPROTO\""; } >&5
   18938   ($PKG_CONFIG --exists --print-errors "$DRIPROTO") 2>&5
   18939   ac_status=$?
   18940   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18941   test $ac_status = 0; }; then
   18942   pkg_cv_DRIPROTO_LIBS=`$PKG_CONFIG --libs "$DRIPROTO" 2>/dev/null`
   18943 		      test "x$?" != "x0" && pkg_failed=yes
   18944 else
   18945   pkg_failed=yes
   18946 fi
   18947  else
   18948     pkg_failed=untried
   18949 fi
   18950 
   18951 
   18952 
   18953 if test $pkg_failed = yes; then
   18954    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18955 $as_echo "no" >&6; }
   18956 
   18957 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18958         _pkg_short_errors_supported=yes
   18959 else
   18960         _pkg_short_errors_supported=no
   18961 fi
   18962         if test $_pkg_short_errors_supported = yes; then
   18963 	        DRIPROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$DRIPROTO" 2>&1`
   18964         else
   18965 	        DRIPROTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$DRIPROTO" 2>&1`
   18966         fi
   18967 	# Put the nasty error message in config.log where it belongs
   18968 	echo "$DRIPROTO_PKG_ERRORS" >&5
   18969 
   18970 	as_fn_error $? "Package requirements ($DRIPROTO) were not met:
   18971 
   18972 $DRIPROTO_PKG_ERRORS
   18973 
   18974 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18975 installed software in a non-standard prefix.
   18976 
   18977 Alternatively, you may set the environment variables DRIPROTO_CFLAGS
   18978 and DRIPROTO_LIBS to avoid the need to call pkg-config.
   18979 See the pkg-config man page for more details." "$LINENO" 5
   18980 elif test $pkg_failed = untried; then
   18981      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18982 $as_echo "no" >&6; }
   18983 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18985 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18986 is in your PATH or set the PKG_CONFIG environment variable to the full
   18987 path to pkg-config.
   18988 
   18989 Alternatively, you may set the environment variables DRIPROTO_CFLAGS
   18990 and DRIPROTO_LIBS to avoid the need to call pkg-config.
   18991 See the pkg-config man page for more details.
   18992 
   18993 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18994 See \`config.log' for more details" "$LINENO" 5; }
   18995 else
   18996 	DRIPROTO_CFLAGS=$pkg_cv_DRIPROTO_CFLAGS
   18997 	DRIPROTO_LIBS=$pkg_cv_DRIPROTO_LIBS
   18998         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18999 $as_echo "yes" >&6; }
   19000 
   19001 fi
   19002 
   19003 pkg_failed=no
   19004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRI" >&5
   19005 $as_echo_n "checking for DRI... " >&6; }
   19006 
   19007 if test -n "$DRI_CFLAGS"; then
   19008     pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   19009  elif test -n "$PKG_CONFIG"; then
   19010     if test -n "$PKG_CONFIG" && \
   19011     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLPROTO \$LIBDRI\""; } >&5
   19012   ($PKG_CONFIG --exists --print-errors "$GLPROTO $LIBDRI") 2>&5
   19013   ac_status=$?
   19014   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19015   test $ac_status = 0; }; then
   19016   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "$GLPROTO $LIBDRI" 2>/dev/null`
   19017 		      test "x$?" != "x0" && pkg_failed=yes
   19018 else
   19019   pkg_failed=yes
   19020 fi
   19021  else
   19022     pkg_failed=untried
   19023 fi
   19024 if test -n "$DRI_LIBS"; then
   19025     pkg_cv_DRI_LIBS="$DRI_LIBS"
   19026  elif test -n "$PKG_CONFIG"; then
   19027     if test -n "$PKG_CONFIG" && \
   19028     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GLPROTO \$LIBDRI\""; } >&5
   19029   ($PKG_CONFIG --exists --print-errors "$GLPROTO $LIBDRI") 2>&5
   19030   ac_status=$?
   19031   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19032   test $ac_status = 0; }; then
   19033   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "$GLPROTO $LIBDRI" 2>/dev/null`
   19034 		      test "x$?" != "x0" && pkg_failed=yes
   19035 else
   19036   pkg_failed=yes
   19037 fi
   19038  else
   19039     pkg_failed=untried
   19040 fi
   19041 
   19042 
   19043 
   19044 if test $pkg_failed = yes; then
   19045    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19046 $as_echo "no" >&6; }
   19047 
   19048 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19049         _pkg_short_errors_supported=yes
   19050 else
   19051         _pkg_short_errors_supported=no
   19052 fi
   19053         if test $_pkg_short_errors_supported = yes; then
   19054 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GLPROTO $LIBDRI" 2>&1`
   19055         else
   19056 	        DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GLPROTO $LIBDRI" 2>&1`
   19057         fi
   19058 	# Put the nasty error message in config.log where it belongs
   19059 	echo "$DRI_PKG_ERRORS" >&5
   19060 
   19061 	as_fn_error $? "Package requirements ($GLPROTO $LIBDRI) were not met:
   19062 
   19063 $DRI_PKG_ERRORS
   19064 
   19065 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19066 installed software in a non-standard prefix.
   19067 
   19068 Alternatively, you may set the environment variables DRI_CFLAGS
   19069 and DRI_LIBS to avoid the need to call pkg-config.
   19070 See the pkg-config man page for more details." "$LINENO" 5
   19071 elif test $pkg_failed = untried; then
   19072      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19073 $as_echo "no" >&6; }
   19074 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19076 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19077 is in your PATH or set the PKG_CONFIG environment variable to the full
   19078 path to pkg-config.
   19079 
   19080 Alternatively, you may set the environment variables DRI_CFLAGS
   19081 and DRI_LIBS to avoid the need to call pkg-config.
   19082 See the pkg-config man page for more details.
   19083 
   19084 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19085 See \`config.log' for more details" "$LINENO" 5; }
   19086 else
   19087 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   19088 	DRI_LIBS=$pkg_cv_DRI_LIBS
   19089         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19090 $as_echo "yes" >&6; }
   19091 
   19092 fi
   19093 
   19094 fi
   19095 
   19096 
   19097 pkg_failed=no
   19098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRI2PROTO" >&5
   19099 $as_echo_n "checking for DRI2PROTO... " >&6; }
   19100 
   19101 if test -n "$DRI2PROTO_CFLAGS"; then
   19102     pkg_cv_DRI2PROTO_CFLAGS="$DRI2PROTO_CFLAGS"
   19103  elif test -n "$PKG_CONFIG"; then
   19104     if test -n "$PKG_CONFIG" && \
   19105     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$DRI2PROTO\""; } >&5
   19106   ($PKG_CONFIG --exists --print-errors "$DRI2PROTO") 2>&5
   19107   ac_status=$?
   19108   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19109   test $ac_status = 0; }; then
   19110   pkg_cv_DRI2PROTO_CFLAGS=`$PKG_CONFIG --cflags "$DRI2PROTO" 2>/dev/null`
   19111 		      test "x$?" != "x0" && pkg_failed=yes
   19112 else
   19113   pkg_failed=yes
   19114 fi
   19115  else
   19116     pkg_failed=untried
   19117 fi
   19118 if test -n "$DRI2PROTO_LIBS"; then
   19119     pkg_cv_DRI2PROTO_LIBS="$DRI2PROTO_LIBS"
   19120  elif test -n "$PKG_CONFIG"; then
   19121     if test -n "$PKG_CONFIG" && \
   19122     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$DRI2PROTO\""; } >&5
   19123   ($PKG_CONFIG --exists --print-errors "$DRI2PROTO") 2>&5
   19124   ac_status=$?
   19125   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19126   test $ac_status = 0; }; then
   19127   pkg_cv_DRI2PROTO_LIBS=`$PKG_CONFIG --libs "$DRI2PROTO" 2>/dev/null`
   19128 		      test "x$?" != "x0" && pkg_failed=yes
   19129 else
   19130   pkg_failed=yes
   19131 fi
   19132  else
   19133     pkg_failed=untried
   19134 fi
   19135 
   19136 
   19137 
   19138 if test $pkg_failed = yes; then
   19139    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19140 $as_echo "no" >&6; }
   19141 
   19142 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19143         _pkg_short_errors_supported=yes
   19144 else
   19145         _pkg_short_errors_supported=no
   19146 fi
   19147         if test $_pkg_short_errors_supported = yes; then
   19148 	        DRI2PROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$DRI2PROTO" 2>&1`
   19149         else
   19150 	        DRI2PROTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$DRI2PROTO" 2>&1`
   19151         fi
   19152 	# Put the nasty error message in config.log where it belongs
   19153 	echo "$DRI2PROTO_PKG_ERRORS" >&5
   19154 
   19155 	HAVE_DRI2PROTO=no
   19156 elif test $pkg_failed = untried; then
   19157      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19158 $as_echo "no" >&6; }
   19159 	HAVE_DRI2PROTO=no
   19160 else
   19161 	DRI2PROTO_CFLAGS=$pkg_cv_DRI2PROTO_CFLAGS
   19162 	DRI2PROTO_LIBS=$pkg_cv_DRI2PROTO_LIBS
   19163         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19164 $as_echo "yes" >&6; }
   19165 	HAVE_DRI2PROTO=yes
   19166 fi
   19167 case "$DRI2,$HAVE_DRI2PROTO" in
   19168 	yes,no)
   19169 		as_fn_error $? "DRI2 requested, but dri2proto not found." "$LINENO" 5
   19170 		;;
   19171 	yes,yes | auto,yes)
   19172 
   19173 $as_echo "#define DRI2 1" >>confdefs.h
   19174 
   19175 		DRI2=yes
   19176 		SDK_REQUIRED_MODULES="$SDK_REQUIRED_MODULES $DRI2PROTO"
   19177 		;;
   19178 esac
   19179  if test "x$DRI2" = xyes; then
   19180   DRI2_TRUE=
   19181   DRI2_FALSE='#'
   19182 else
   19183   DRI2_TRUE='#'
   19184   DRI2_FALSE=
   19185 fi
   19186 
   19187 
   19188 if test "x$DRI" = xyes || test "x$DRI2" = xyes; then
   19189 	if test "x$DRM" = xyes; then
   19190 
   19191 $as_echo "#define WITH_LIBDRM 1" >>confdefs.h
   19192 
   19193 
   19194 pkg_failed=no
   19195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBDRM" >&5
   19196 $as_echo_n "checking for LIBDRM... " >&6; }
   19197 
   19198 if test -n "$LIBDRM_CFLAGS"; then
   19199     pkg_cv_LIBDRM_CFLAGS="$LIBDRM_CFLAGS"
   19200  elif test -n "$PKG_CONFIG"; then
   19201     if test -n "$PKG_CONFIG" && \
   19202     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBDRM\""; } >&5
   19203   ($PKG_CONFIG --exists --print-errors "$LIBDRM") 2>&5
   19204   ac_status=$?
   19205   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19206   test $ac_status = 0; }; then
   19207   pkg_cv_LIBDRM_CFLAGS=`$PKG_CONFIG --cflags "$LIBDRM" 2>/dev/null`
   19208 		      test "x$?" != "x0" && pkg_failed=yes
   19209 else
   19210   pkg_failed=yes
   19211 fi
   19212  else
   19213     pkg_failed=untried
   19214 fi
   19215 if test -n "$LIBDRM_LIBS"; then
   19216     pkg_cv_LIBDRM_LIBS="$LIBDRM_LIBS"
   19217  elif test -n "$PKG_CONFIG"; then
   19218     if test -n "$PKG_CONFIG" && \
   19219     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBDRM\""; } >&5
   19220   ($PKG_CONFIG --exists --print-errors "$LIBDRM") 2>&5
   19221   ac_status=$?
   19222   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19223   test $ac_status = 0; }; then
   19224   pkg_cv_LIBDRM_LIBS=`$PKG_CONFIG --libs "$LIBDRM" 2>/dev/null`
   19225 		      test "x$?" != "x0" && pkg_failed=yes
   19226 else
   19227   pkg_failed=yes
   19228 fi
   19229  else
   19230     pkg_failed=untried
   19231 fi
   19232 
   19233 
   19234 
   19235 if test $pkg_failed = yes; then
   19236    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19237 $as_echo "no" >&6; }
   19238 
   19239 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19240         _pkg_short_errors_supported=yes
   19241 else
   19242         _pkg_short_errors_supported=no
   19243 fi
   19244         if test $_pkg_short_errors_supported = yes; then
   19245 	        LIBDRM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$LIBDRM" 2>&1`
   19246         else
   19247 	        LIBDRM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$LIBDRM" 2>&1`
   19248         fi
   19249 	# Put the nasty error message in config.log where it belongs
   19250 	echo "$LIBDRM_PKG_ERRORS" >&5
   19251 
   19252 	as_fn_error $? "Package requirements ($LIBDRM) were not met:
   19253 
   19254 $LIBDRM_PKG_ERRORS
   19255 
   19256 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19257 installed software in a non-standard prefix.
   19258 
   19259 Alternatively, you may set the environment variables LIBDRM_CFLAGS
   19260 and LIBDRM_LIBS to avoid the need to call pkg-config.
   19261 See the pkg-config man page for more details." "$LINENO" 5
   19262 elif test $pkg_failed = untried; then
   19263      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19264 $as_echo "no" >&6; }
   19265 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19267 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19268 is in your PATH or set the PKG_CONFIG environment variable to the full
   19269 path to pkg-config.
   19270 
   19271 Alternatively, you may set the environment variables LIBDRM_CFLAGS
   19272 and LIBDRM_LIBS to avoid the need to call pkg-config.
   19273 See the pkg-config man page for more details.
   19274 
   19275 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19276 See \`config.log' for more details" "$LINENO" 5; }
   19277 else
   19278 	LIBDRM_CFLAGS=$pkg_cv_LIBDRM_CFLAGS
   19279 	LIBDRM_LIBS=$pkg_cv_LIBDRM_LIBS
   19280         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19281 $as_echo "yes" >&6; }
   19282 
   19283 fi
   19284 	fi
   19285 fi
   19286 
   19287 if test "x$DRI2" = xyes; then
   19288 	save_CFLAGS=$CFLAGS
   19289 	CFLAGS="$GL_CFLAGS $LIBDRM_CFLAGS"
   19290 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19291 /* end confdefs.h.  */
   19292 #include <GL/gl.h>
   19293 #include <GL/internal/dri_interface.h>
   19294 #ifndef __DRI_DRI2
   19295 #error DRI2 extension not available.
   19296 #endif
   19297 _ACEOF
   19298 if ac_fn_c_try_compile "$LINENO"; then :
   19299   HAVE_DRI2EXTENSION=yes
   19300 else
   19301   HAVE_DRI2EXTENSION=no
   19302 fi
   19303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   19304 	CFLAGS=$save_CFLAGS
   19305 	if test "x$HAVE_DRI2EXTENSION" = xyes; then
   19306 
   19307 $as_echo "#define DRI2_AIGLX 1" >>confdefs.h
   19308 
   19309 		DRI2_AIGLX=yes
   19310 	else
   19311 		{ $as_echo "$as_me:${as_lineno-$LINENO}: DRI2 AIGLX disabled, __DRI_DRI2 not defined in dri_interface.h." >&5
   19312 $as_echo "$as_me: DRI2 AIGLX disabled, __DRI_DRI2 not defined in dri_interface.h." >&6;}
   19313 		DRI2_AIGLX=no
   19314 	fi
   19315 fi
   19316  if test "x$DRI2_AIGLX" = xyes; then
   19317   DRI2_AIGLX_TRUE=
   19318   DRI2_AIGLX_FALSE='#'
   19319 else
   19320   DRI2_AIGLX_TRUE='#'
   19321   DRI2_AIGLX_FALSE=
   19322 fi
   19323 
   19324 
   19325 
   19326  if test "x$XINERAMA" = xyes; then
   19327   XINERAMA_TRUE=
   19328   XINERAMA_FALSE='#'
   19329 else
   19330   XINERAMA_TRUE='#'
   19331   XINERAMA_FALSE=
   19332 fi
   19333 
   19334 if test "x$XINERAMA" = xyes; then
   19335 
   19336 $as_echo "#define XINERAMA 1" >>confdefs.h
   19337 
   19338 
   19339 $as_echo "#define PANORAMIX 1" >>confdefs.h
   19340 
   19341 	REQUIRED_MODULES="$REQUIRED_MODULES $XINERAMAPROTO"
   19342 	SDK_REQUIRED_MODULES="$SDK_REQUIRED_MODULES $XINERAMAPROTO"
   19343 fi
   19344 
   19345  if test "x$XACE" = xyes; then
   19346   XACE_TRUE=
   19347   XACE_FALSE='#'
   19348 else
   19349   XACE_TRUE='#'
   19350   XACE_FALSE=
   19351 fi
   19352 
   19353 if test "x$XACE" = xyes; then
   19354 
   19355 $as_echo "#define XACE 1" >>confdefs.h
   19356 
   19357 fi
   19358 
   19359  if test "x$XSELINUX" = xyes; then
   19360   XSELINUX_TRUE=
   19361   XSELINUX_FALSE='#'
   19362 else
   19363   XSELINUX_TRUE='#'
   19364   XSELINUX_FALSE=
   19365 fi
   19366 
   19367 if test "x$XSELINUX" = xyes; then
   19368 	if test "x$XACE" != xyes; then
   19369 		as_fn_error $? "cannot build SELinux extension without X-ACE" "$LINENO" 5
   19370 	fi
   19371 	for ac_header in libaudit.h
   19372 do :
   19373   ac_fn_c_check_header_mongrel "$LINENO" "libaudit.h" "ac_cv_header_libaudit_h" "$ac_includes_default"
   19374 if test "x$ac_cv_header_libaudit_h" = xyes; then :
   19375   cat >>confdefs.h <<_ACEOF
   19376 #define HAVE_LIBAUDIT_H 1
   19377 _ACEOF
   19378 
   19379 else
   19380   as_fn_error $? "SELinux extension requires audit system headers" "$LINENO" 5
   19381 fi
   19382 
   19383 done
   19384 
   19385 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_open in -laudit" >&5
   19386 $as_echo_n "checking for audit_open in -laudit... " >&6; }
   19387 if ${ac_cv_lib_audit_audit_open+:} false; then :
   19388   $as_echo_n "(cached) " >&6
   19389 else
   19390   ac_check_lib_save_LIBS=$LIBS
   19391 LIBS="-laudit  $LIBS"
   19392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19393 /* end confdefs.h.  */
   19394 
   19395 /* Override any GCC internal prototype to avoid an error.
   19396    Use char because int might match the return type of a GCC
   19397    builtin and then its argument prototype would still apply.  */
   19398 #ifdef __cplusplus
   19399 extern "C"
   19400 #endif
   19401 char audit_open ();
   19402 int
   19403 main ()
   19404 {
   19405 return audit_open ();
   19406   ;
   19407   return 0;
   19408 }
   19409 _ACEOF
   19410 if ac_fn_c_try_link "$LINENO"; then :
   19411   ac_cv_lib_audit_audit_open=yes
   19412 else
   19413   ac_cv_lib_audit_audit_open=no
   19414 fi
   19415 rm -f core conftest.err conftest.$ac_objext \
   19416     conftest$ac_exeext conftest.$ac_ext
   19417 LIBS=$ac_check_lib_save_LIBS
   19418 fi
   19419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_open" >&5
   19420 $as_echo "$ac_cv_lib_audit_audit_open" >&6; }
   19421 if test "x$ac_cv_lib_audit_audit_open" = xyes; then :
   19422   cat >>confdefs.h <<_ACEOF
   19423 #define HAVE_LIBAUDIT 1
   19424 _ACEOF
   19425 
   19426   LIBS="-laudit $LIBS"
   19427 
   19428 else
   19429   as_fn_error $? "SELinux extension requires audit system library" "$LINENO" 5
   19430 fi
   19431 
   19432 
   19433 pkg_failed=no
   19434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SELINUX" >&5
   19435 $as_echo_n "checking for SELINUX... " >&6; }
   19436 
   19437 if test -n "$SELINUX_CFLAGS"; then
   19438     pkg_cv_SELINUX_CFLAGS="$SELINUX_CFLAGS"
   19439  elif test -n "$PKG_CONFIG"; then
   19440     if test -n "$PKG_CONFIG" && \
   19441     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBSELINUX\""; } >&5
   19442   ($PKG_CONFIG --exists --print-errors "$LIBSELINUX") 2>&5
   19443   ac_status=$?
   19444   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19445   test $ac_status = 0; }; then
   19446   pkg_cv_SELINUX_CFLAGS=`$PKG_CONFIG --cflags "$LIBSELINUX" 2>/dev/null`
   19447 		      test "x$?" != "x0" && pkg_failed=yes
   19448 else
   19449   pkg_failed=yes
   19450 fi
   19451  else
   19452     pkg_failed=untried
   19453 fi
   19454 if test -n "$SELINUX_LIBS"; then
   19455     pkg_cv_SELINUX_LIBS="$SELINUX_LIBS"
   19456  elif test -n "$PKG_CONFIG"; then
   19457     if test -n "$PKG_CONFIG" && \
   19458     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBSELINUX\""; } >&5
   19459   ($PKG_CONFIG --exists --print-errors "$LIBSELINUX") 2>&5
   19460   ac_status=$?
   19461   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19462   test $ac_status = 0; }; then
   19463   pkg_cv_SELINUX_LIBS=`$PKG_CONFIG --libs "$LIBSELINUX" 2>/dev/null`
   19464 		      test "x$?" != "x0" && pkg_failed=yes
   19465 else
   19466   pkg_failed=yes
   19467 fi
   19468  else
   19469     pkg_failed=untried
   19470 fi
   19471 
   19472 
   19473 
   19474 if test $pkg_failed = yes; then
   19475    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19476 $as_echo "no" >&6; }
   19477 
   19478 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19479         _pkg_short_errors_supported=yes
   19480 else
   19481         _pkg_short_errors_supported=no
   19482 fi
   19483         if test $_pkg_short_errors_supported = yes; then
   19484 	        SELINUX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$LIBSELINUX" 2>&1`
   19485         else
   19486 	        SELINUX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$LIBSELINUX" 2>&1`
   19487         fi
   19488 	# Put the nasty error message in config.log where it belongs
   19489 	echo "$SELINUX_PKG_ERRORS" >&5
   19490 
   19491 	as_fn_error $? "Package requirements ($LIBSELINUX) were not met:
   19492 
   19493 $SELINUX_PKG_ERRORS
   19494 
   19495 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19496 installed software in a non-standard prefix.
   19497 
   19498 Alternatively, you may set the environment variables SELINUX_CFLAGS
   19499 and SELINUX_LIBS to avoid the need to call pkg-config.
   19500 See the pkg-config man page for more details." "$LINENO" 5
   19501 elif test $pkg_failed = untried; then
   19502      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19503 $as_echo "no" >&6; }
   19504 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19506 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19507 is in your PATH or set the PKG_CONFIG environment variable to the full
   19508 path to pkg-config.
   19509 
   19510 Alternatively, you may set the environment variables SELINUX_CFLAGS
   19511 and SELINUX_LIBS to avoid the need to call pkg-config.
   19512 See the pkg-config man page for more details.
   19513 
   19514 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19515 See \`config.log' for more details" "$LINENO" 5; }
   19516 else
   19517 	SELINUX_CFLAGS=$pkg_cv_SELINUX_CFLAGS
   19518 	SELINUX_LIBS=$pkg_cv_SELINUX_LIBS
   19519         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19520 $as_echo "yes" >&6; }
   19521 
   19522 fi
   19523 	SELINUX_LIBS="$SELINUX_LIBS -laudit"
   19524 
   19525 $as_echo "#define XSELINUX 1" >>confdefs.h
   19526 
   19527 fi
   19528 
   19529  if test "x$XCSECURITY" = xyes; then
   19530   XCSECURITY_TRUE=
   19531   XCSECURITY_FALSE='#'
   19532 else
   19533   XCSECURITY_TRUE='#'
   19534   XCSECURITY_FALSE=
   19535 fi
   19536 
   19537 if test "x$XCSECURITY" = xyes; then
   19538 	if test "x$XACE" != xyes; then
   19539 		as_fn_error $? "cannot build Security extension without X-ACE" "$LINENO" 5
   19540 	fi
   19541 
   19542 $as_echo "#define XCSECURITY 1" >>confdefs.h
   19543 
   19544 fi
   19545 
   19546  if test "x$DBE" = xyes; then
   19547   DBE_TRUE=
   19548   DBE_FALSE='#'
   19549 else
   19550   DBE_TRUE='#'
   19551   DBE_FALSE=
   19552 fi
   19553 
   19554 if test "x$DBE" = xyes; then
   19555 
   19556 $as_echo "#define DBE 1" >>confdefs.h
   19557 
   19558 	DBE_LIB='$(top_builddir)/dbe/libdbe.la'
   19559 fi
   19560 
   19561  if test "x$XF86BIGFONT" = xyes; then
   19562   XF86BIGFONT_TRUE=
   19563   XF86BIGFONT_FALSE='#'
   19564 else
   19565   XF86BIGFONT_TRUE='#'
   19566   XF86BIGFONT_FALSE=
   19567 fi
   19568 
   19569 if test "x$XF86BIGFONT" = xyes; then
   19570 
   19571 $as_echo "#define XF86BIGFONT 1" >>confdefs.h
   19572 
   19573 	REQUIRED_MODULES="$REQUIRED_MODULES $BIGFONTPROTO"
   19574 fi
   19575 
   19576  if test "x$DPMSExtension" = xyes; then
   19577   DPMSExtension_TRUE=
   19578   DPMSExtension_FALSE='#'
   19579 else
   19580   DPMSExtension_TRUE='#'
   19581   DPMSExtension_FALSE=
   19582 fi
   19583 
   19584 if test "x$DPMSExtension" = xyes; then
   19585 
   19586 $as_echo "#define DPMSExtension 1" >>confdefs.h
   19587 
   19588 fi
   19589 
   19590 if test "x$XCALIBRATE" = xyes && test "$KDRIVE" = yes; then
   19591 
   19592 $as_echo "#define XCALIBRATE 1" >>confdefs.h
   19593 
   19594    REQUIRED_MODULES="$REQUIRED_MODULES $XCALIBRATEPROTO"
   19595 else
   19596    XCALIBRATE=no
   19597 fi
   19598  if test "x$XCALIBRATE" = xyes; then
   19599   XCALIBRATE_TRUE=
   19600   XCALIBRATE_FALSE='#'
   19601 else
   19602   XCALIBRATE_TRUE='#'
   19603   XCALIBRATE_FALSE=
   19604 fi
   19605 
   19606 
   19607 
   19608 $as_echo "#define RENDER 1" >>confdefs.h
   19609 
   19610 RENDER_LIB='$(top_builddir)/render/librender.la'
   19611 RENDER_INC='-I$(top_srcdir)/render'
   19612 
   19613 
   19614 $as_echo "#define RANDR 1" >>confdefs.h
   19615 
   19616 RANDR_LIB='$(top_builddir)/randr/librandr.la'
   19617 RANDR_INC='-I$(top_srcdir)/randr'
   19618 
   19619 
   19620 $as_echo "#define XFIXES 1" >>confdefs.h
   19621 
   19622 FIXES_LIB='$(top_builddir)/xfixes/libxfixes.la'
   19623 FIXES_INC='-I$(top_srcdir)/xfixes'
   19624 
   19625 
   19626 $as_echo "#define DAMAGE 1" >>confdefs.h
   19627 
   19628 DAMAGE_LIB='$(top_builddir)/damageext/libdamageext.la'
   19629 DAMAGE_INC='-I$(top_srcdir)/damageext'
   19630 MIEXT_DAMAGE_LIB='$(top_builddir)/miext/damage/libdamage.la'
   19631 MIEXT_DAMAGE_INC='-I$(top_srcdir)/miext/damage'
   19632 
   19633 # XINPUT extension is integral part of the server
   19634 
   19635 $as_echo "#define XINPUT 1" >>confdefs.h
   19636 
   19637 XI_LIB='$(top_builddir)/Xi/libXi.la'
   19638 XI_INC='-I$(top_srcdir)/Xi'
   19639 
   19640  if test "x$XF86UTILS" = xyes; then
   19641   XF86UTILS_TRUE=
   19642   XF86UTILS_FALSE='#'
   19643 else
   19644   XF86UTILS_TRUE='#'
   19645   XF86UTILS_FALSE=
   19646 fi
   19647 
   19648  if test "x$XAA" = xyes; then
   19649   XAA_TRUE=
   19650   XAA_FALSE='#'
   19651 else
   19652   XAA_TRUE='#'
   19653   XAA_FALSE=
   19654 fi
   19655 
   19656  if test "x$VGAHW" = xyes; then
   19657   VGAHW_TRUE=
   19658   VGAHW_FALSE='#'
   19659 else
   19660   VGAHW_TRUE='#'
   19661   VGAHW_FALSE=
   19662 fi
   19663 
   19664  if test "x$VBE" = xyes; then
   19665   VBE_TRUE=
   19666   VBE_FALSE='#'
   19667 else
   19668   VBE_TRUE='#'
   19669   VBE_FALSE=
   19670 fi
   19671 
   19672  if test "x$INT10MODULE" = xyes; then
   19673   INT10MODULE_TRUE=
   19674   INT10MODULE_FALSE='#'
   19675 else
   19676   INT10MODULE_TRUE='#'
   19677   INT10MODULE_FALSE=
   19678 fi
   19679 
   19680 
   19681 
   19682 $as_echo "#define SHAPE 1" >>confdefs.h
   19683 
   19684 
   19685 
   19686   prefix_NONE=
   19687   exec_prefix_NONE=
   19688   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   19689   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   19690   eval ac_define_dir="\"$XKBPATH\""
   19691   eval ac_define_dir="\"$ac_define_dir\""
   19692   XKB_BASE_DIRECTORY="$ac_define_dir"
   19693 
   19694 
   19695 cat >>confdefs.h <<_ACEOF
   19696 #define XKB_BASE_DIRECTORY "$ac_define_dir"
   19697 _ACEOF
   19698 
   19699   test "$prefix_NONE" && prefix=NONE
   19700   test "$exec_prefix_NONE" && exec_prefix=NONE
   19701 
   19702 
   19703 # Check whether --with-xkb-bin-directory was given.
   19704 if test "${with_xkb_bin_directory+set}" = set; then :
   19705   withval=$with_xkb_bin_directory; XKB_BIN_DIRECTORY="$withval"
   19706 else
   19707   XKB_BIN_DIRECTORY="$bindir"
   19708 fi
   19709 
   19710 
   19711 
   19712   prefix_NONE=
   19713   exec_prefix_NONE=
   19714   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   19715   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   19716   eval ac_define_dir="\"$XKB_BIN_DIRECTORY\""
   19717   eval ac_define_dir="\"$ac_define_dir\""
   19718   XKB_BIN_DIRECTORY="$ac_define_dir"
   19719 
   19720 
   19721 cat >>confdefs.h <<_ACEOF
   19722 #define XKB_BIN_DIRECTORY "$ac_define_dir"
   19723 _ACEOF
   19724 
   19725   test "$prefix_NONE" && prefix=NONE
   19726   test "$exec_prefix_NONE" && exec_prefix=NONE
   19727 
   19728 
   19729 XKBOUTPUT_FIRSTCHAR=`echo $XKBOUTPUT | cut -b 1`
   19730 if [ x$XKBOUTPUT_FIRSTCHAR != x/ -a x$XKBOUTPUT_FIRSTCHAR != 'x$' ] ; then
   19731    XKBOUTPUT="$XKB_BASE_DIRECTORY/$XKBOUTPUT"
   19732 fi
   19733 
   19734 
   19735 XKBOUTPUT=`echo $XKBOUTPUT/ | $SED 's|/*$|/|'`
   19736 XKB_COMPILED_DIR=`echo $XKBOUTPUT | $SED 's|/*$||'`
   19737 
   19738   prefix_NONE=
   19739   exec_prefix_NONE=
   19740   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   19741   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   19742   eval ac_define_dir="\"$XKBOUTPUT\""
   19743   eval ac_define_dir="\"$ac_define_dir\""
   19744   XKM_OUTPUT_DIR="$ac_define_dir"
   19745 
   19746 
   19747 cat >>confdefs.h <<_ACEOF
   19748 #define XKM_OUTPUT_DIR "$ac_define_dir"
   19749 _ACEOF
   19750 
   19751   test "$prefix_NONE" && prefix=NONE
   19752   test "$exec_prefix_NONE" && exec_prefix=NONE
   19753 
   19754 
   19755 
   19756 if test "x$XKB_DFLT_RULES" = x; then
   19757     case $host_os in
   19758     linux*)
   19759                 if test "x$CONFIG_HAL" = xyes; then
   19760             XKB_DFLT_RULES="evdev"
   19761         else
   19762             XKB_DFLT_RULES="base"
   19763         fi
   19764         ;;
   19765     *)
   19766         XKB_DFLT_RULES="base"
   19767         ;;
   19768     esac
   19769 fi
   19770 
   19771 cat >>confdefs.h <<_ACEOF
   19772 #define XKB_DFLT_RULES "$XKB_DFLT_RULES"
   19773 _ACEOF
   19774 
   19775 
   19776 cat >>confdefs.h <<_ACEOF
   19777 #define XKB_DFLT_MODEL "$XKB_DFLT_MODEL"
   19778 _ACEOF
   19779 
   19780 
   19781 cat >>confdefs.h <<_ACEOF
   19782 #define XKB_DFLT_LAYOUT "$XKB_DFLT_LAYOUT"
   19783 _ACEOF
   19784 
   19785 
   19786 cat >>confdefs.h <<_ACEOF
   19787 #define XKB_DFLT_VARIANT "$XKB_DFLT_VARIANT"
   19788 _ACEOF
   19789 
   19790 
   19791 cat >>confdefs.h <<_ACEOF
   19792 #define XKB_DFLT_OPTIONS "$XKB_DFLT_OPTIONS"
   19793 _ACEOF
   19794 
   19795 
   19796 XKB_LIB='$(top_builddir)/xkb/libxkb.la'
   19797 XKB_STUB_LIB='$(top_builddir)/xkb/libxkbstubs.la'
   19798 REQUIRED_MODULES="$REQUIRED_MODULES xkbfile"
   19799 
   19800 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   19801 if test "x$ac_cv_func_strcasecmp" = xyes; then :
   19802 
   19803 else
   19804 
   19805 $as_echo "#define NEED_STRCASECMP 1" >>confdefs.h
   19806 
   19807 fi
   19808 
   19809 ac_fn_c_check_func "$LINENO" "strncasecmp" "ac_cv_func_strncasecmp"
   19810 if test "x$ac_cv_func_strncasecmp" = xyes; then :
   19811 
   19812 else
   19813 
   19814 $as_echo "#define NEED_STRNCASECMP 1" >>confdefs.h
   19815 
   19816 fi
   19817 
   19818 ac_fn_c_check_func "$LINENO" "strcasestr" "ac_cv_func_strcasestr"
   19819 if test "x$ac_cv_func_strcasestr" = xyes; then :
   19820 
   19821 else
   19822 
   19823 $as_echo "#define NEED_STRCASESTR 1" >>confdefs.h
   19824 
   19825 fi
   19826 
   19827 
   19828 
   19829 pkg_failed=no
   19830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDMCP" >&5
   19831 $as_echo_n "checking for XDMCP... " >&6; }
   19832 
   19833 if test -n "$XDMCP_CFLAGS"; then
   19834     pkg_cv_XDMCP_CFLAGS="$XDMCP_CFLAGS"
   19835  elif test -n "$PKG_CONFIG"; then
   19836     if test -n "$PKG_CONFIG" && \
   19837     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdmcp\""; } >&5
   19838   ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
   19839   ac_status=$?
   19840   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19841   test $ac_status = 0; }; then
   19842   pkg_cv_XDMCP_CFLAGS=`$PKG_CONFIG --cflags "xdmcp" 2>/dev/null`
   19843 		      test "x$?" != "x0" && pkg_failed=yes
   19844 else
   19845   pkg_failed=yes
   19846 fi
   19847  else
   19848     pkg_failed=untried
   19849 fi
   19850 if test -n "$XDMCP_LIBS"; then
   19851     pkg_cv_XDMCP_LIBS="$XDMCP_LIBS"
   19852  elif test -n "$PKG_CONFIG"; then
   19853     if test -n "$PKG_CONFIG" && \
   19854     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdmcp\""; } >&5
   19855   ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5
   19856   ac_status=$?
   19857   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19858   test $ac_status = 0; }; then
   19859   pkg_cv_XDMCP_LIBS=`$PKG_CONFIG --libs "xdmcp" 2>/dev/null`
   19860 		      test "x$?" != "x0" && pkg_failed=yes
   19861 else
   19862   pkg_failed=yes
   19863 fi
   19864  else
   19865     pkg_failed=untried
   19866 fi
   19867 
   19868 
   19869 
   19870 if test $pkg_failed = yes; then
   19871    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19872 $as_echo "no" >&6; }
   19873 
   19874 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19875         _pkg_short_errors_supported=yes
   19876 else
   19877         _pkg_short_errors_supported=no
   19878 fi
   19879         if test $_pkg_short_errors_supported = yes; then
   19880 	        XDMCP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xdmcp" 2>&1`
   19881         else
   19882 	        XDMCP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xdmcp" 2>&1`
   19883         fi
   19884 	# Put the nasty error message in config.log where it belongs
   19885 	echo "$XDMCP_PKG_ERRORS" >&5
   19886 
   19887 	have_libxdmcp="no"
   19888 elif test $pkg_failed = untried; then
   19889      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19890 $as_echo "no" >&6; }
   19891 	have_libxdmcp="no"
   19892 else
   19893 	XDMCP_CFLAGS=$pkg_cv_XDMCP_CFLAGS
   19894 	XDMCP_LIBS=$pkg_cv_XDMCP_LIBS
   19895         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19896 $as_echo "yes" >&6; }
   19897 	have_libxdmcp="yes"
   19898 fi
   19899 if test "x$have_libxdmcp" = xyes; then
   19900 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XdmcpWrap in -lXdmcp" >&5
   19901 $as_echo_n "checking for XdmcpWrap in -lXdmcp... " >&6; }
   19902 if ${ac_cv_lib_Xdmcp_XdmcpWrap+:} false; then :
   19903   $as_echo_n "(cached) " >&6
   19904 else
   19905   ac_check_lib_save_LIBS=$LIBS
   19906 LIBS="-lXdmcp $XDMCP_LIBS $LIBS"
   19907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19908 /* end confdefs.h.  */
   19909 
   19910 /* Override any GCC internal prototype to avoid an error.
   19911    Use char because int might match the return type of a GCC
   19912    builtin and then its argument prototype would still apply.  */
   19913 #ifdef __cplusplus
   19914 extern "C"
   19915 #endif
   19916 char XdmcpWrap ();
   19917 int
   19918 main ()
   19919 {
   19920 return XdmcpWrap ();
   19921   ;
   19922   return 0;
   19923 }
   19924 _ACEOF
   19925 if ac_fn_c_try_link "$LINENO"; then :
   19926   ac_cv_lib_Xdmcp_XdmcpWrap=yes
   19927 else
   19928   ac_cv_lib_Xdmcp_XdmcpWrap=no
   19929 fi
   19930 rm -f core conftest.err conftest.$ac_objext \
   19931     conftest$ac_exeext conftest.$ac_ext
   19932 LIBS=$ac_check_lib_save_LIBS
   19933 fi
   19934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xdmcp_XdmcpWrap" >&5
   19935 $as_echo "$ac_cv_lib_Xdmcp_XdmcpWrap" >&6; }
   19936 if test "x$ac_cv_lib_Xdmcp_XdmcpWrap" = xyes; then :
   19937   have_xdmcpwrap="yes"
   19938 else
   19939   have_xdmcpwrap="no"
   19940 fi
   19941 
   19942 fi
   19943 if test "x$XDMCP" = xauto; then
   19944 	if test "x$have_libxdmcp" = xyes; then
   19945 		XDMCP=yes
   19946 	else
   19947 		XDMCP=no
   19948 	fi
   19949 fi
   19950 if test "x$XDMAUTH" = xauto; then
   19951 	if test "x$have_libxdmcp" = xyes && test "x$have_xdmcpwrap" = xyes; then
   19952 		XDMAUTH=yes
   19953 	else
   19954 		XDMAUTH=no
   19955 	fi
   19956 fi
   19957 
   19958  if test "x$XDMCP" = xyes; then
   19959   XDMCP_TRUE=
   19960   XDMCP_FALSE='#'
   19961 else
   19962   XDMCP_TRUE='#'
   19963   XDMCP_FALSE=
   19964 fi
   19965 
   19966 if test "x$XDMCP" = xyes; then
   19967 
   19968 $as_echo "#define XDMCP 1" >>confdefs.h
   19969 
   19970 	REQUIRED_LIBS="$REQUIRED_LIBS xdmcp"
   19971 	XDMCP_MODULES="xdmcp"
   19972 fi
   19973 
   19974  if test "x$XDMAUTH" = xyes; then
   19975   XDMAUTH_TRUE=
   19976   XDMAUTH_FALSE='#'
   19977 else
   19978   XDMAUTH_TRUE='#'
   19979   XDMAUTH_FALSE=
   19980 fi
   19981 
   19982 if test "x$XDMAUTH" = xyes; then
   19983 
   19984 $as_echo "#define HASXDMAUTH 1" >>confdefs.h
   19985 
   19986 	if ! test "x$XDMCP" = xyes; then
   19987 		REQUIRED_LIBS="$REQUIRED_LIBS xdmcp"
   19988 		XDMCP_MODULES="xdmcp"
   19989 	fi
   19990 fi
   19991 
   19992 
   19993   prefix_NONE=
   19994   exec_prefix_NONE=
   19995   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   19996   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   19997   eval ac_define_dir="\"$FONTPATH\""
   19998   eval ac_define_dir="\"$ac_define_dir\""
   19999   COMPILEDDEFAULTFONTPATH="$ac_define_dir"
   20000 
   20001 
   20002 cat >>confdefs.h <<_ACEOF
   20003 #define COMPILEDDEFAULTFONTPATH "$ac_define_dir"
   20004 _ACEOF
   20005 
   20006   test "$prefix_NONE" && prefix=NONE
   20007   test "$exec_prefix_NONE" && exec_prefix=NONE
   20008 
   20009 
   20010   prefix_NONE=
   20011   exec_prefix_NONE=
   20012   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   20013   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   20014   eval ac_define_dir="\"$PCI_TXT_IDS_DIR\""
   20015   eval ac_define_dir="\"$ac_define_dir\""
   20016   PCI_TXT_IDS_PATH="$ac_define_dir"
   20017 
   20018 
   20019 cat >>confdefs.h <<_ACEOF
   20020 #define PCI_TXT_IDS_PATH "$ac_define_dir"
   20021 _ACEOF
   20022 
   20023   test "$prefix_NONE" && prefix=NONE
   20024   test "$exec_prefix_NONE" && exec_prefix=NONE
   20025 
   20026 
   20027   prefix_NONE=
   20028   exec_prefix_NONE=
   20029   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   20030   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   20031   eval ac_define_dir="\"$SERVERCONFIG\""
   20032   eval ac_define_dir="\"$ac_define_dir\""
   20033   SERVER_MISC_CONFIG_PATH="$ac_define_dir"
   20034 
   20035 
   20036 cat >>confdefs.h <<_ACEOF
   20037 #define SERVER_MISC_CONFIG_PATH "$ac_define_dir"
   20038 _ACEOF
   20039 
   20040   test "$prefix_NONE" && prefix=NONE
   20041   test "$exec_prefix_NONE" && exec_prefix=NONE
   20042 
   20043 
   20044   prefix_NONE=
   20045   exec_prefix_NONE=
   20046   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   20047   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   20048   eval ac_define_dir="\"$FONTROOTDIR\""
   20049   eval ac_define_dir="\"$ac_define_dir\""
   20050   BASE_FONT_PATH="$ac_define_dir"
   20051 
   20052 
   20053 cat >>confdefs.h <<_ACEOF
   20054 #define BASE_FONT_PATH "$ac_define_dir"
   20055 _ACEOF
   20056 
   20057   test "$prefix_NONE" && prefix=NONE
   20058   test "$exec_prefix_NONE" && exec_prefix=NONE
   20059 
   20060 dridriverdir=`$PKG_CONFIG --variable=dridriverdir dri`
   20061 
   20062   prefix_NONE=
   20063   exec_prefix_NONE=
   20064   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   20065   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   20066   eval ac_define_dir="\"$dridriverdir\""
   20067   eval ac_define_dir="\"$ac_define_dir\""
   20068   DRI_DRIVER_PATH="$ac_define_dir"
   20069 
   20070 
   20071 cat >>confdefs.h <<_ACEOF
   20072 #define DRI_DRIVER_PATH "$ac_define_dir"
   20073 _ACEOF
   20074 
   20075   test "$prefix_NONE" && prefix=NONE
   20076   test "$exec_prefix_NONE" && exec_prefix=NONE
   20077 
   20078 
   20079 cat >>confdefs.h <<_ACEOF
   20080 #define XVENDORNAME "$VENDOR_NAME"
   20081 _ACEOF
   20082 
   20083 
   20084 cat >>confdefs.h <<_ACEOF
   20085 #define XVENDORNAMESHORT "$VENDOR_NAME_SHORT"
   20086 _ACEOF
   20087 
   20088 
   20089 cat >>confdefs.h <<_ACEOF
   20090 #define XORG_DATE "$RELEASE_DATE"
   20091 _ACEOF
   20092 
   20093 
   20094 cat >>confdefs.h <<_ACEOF
   20095 #define XORG_MAN_VERSION "$VENDOR_MAN_VERSION"
   20096 _ACEOF
   20097 
   20098 
   20099 cat >>confdefs.h <<_ACEOF
   20100 #define BUILDERADDR "$BUILDERADDR"
   20101 _ACEOF
   20102 
   20103 
   20104 if test -z "$OSNAME"; then
   20105     OSNAME="UNKNOWN"
   20106 fi
   20107 
   20108 
   20109 cat >>confdefs.h <<_ACEOF
   20110 #define OSNAME "$OSNAME"
   20111 _ACEOF
   20112 
   20113 
   20114 cat >>confdefs.h <<_ACEOF
   20115 #define OSVENDOR "$OSVENDOR"
   20116 _ACEOF
   20117 
   20118 
   20119 cat >>confdefs.h <<_ACEOF
   20120 #define BUILDERSTRING "$BUILDERSTRING"
   20121 _ACEOF
   20122 
   20123 
   20124 
   20125 
   20126 cat >>confdefs.h <<_ACEOF
   20127 #define VENDOR_NAME "$VENDOR_NAME"
   20128 _ACEOF
   20129 
   20130 
   20131 cat >>confdefs.h <<_ACEOF
   20132 #define VENDOR_NAME_SHORT "$VENDOR_NAME_SHORT"
   20133 _ACEOF
   20134 
   20135 
   20136 cat >>confdefs.h <<_ACEOF
   20137 #define VENDOR_RELEASE $VENDOR_RELEASE
   20138 _ACEOF
   20139 
   20140 
   20141 cat >>confdefs.h <<_ACEOF
   20142 #define VENDOR_MAN_VERSION "$VENDOR_MAN_VERSION"
   20143 _ACEOF
   20144 
   20145 
   20146 
   20147 $as_echo "#define NO_LIBCWRAPPER 1" >>confdefs.h
   20148 
   20149 
   20150 if test "x$DEBUGGING" = xyes; then
   20151 
   20152 $as_echo "#define DEBUG 1" >>confdefs.h
   20153 
   20154 fi
   20155  if test "x$DEBUGGING" = xyes; then
   20156   DEBUG_TRUE=
   20157   DEBUG_FALSE='#'
   20158 else
   20159   DEBUG_TRUE='#'
   20160   DEBUG_FALSE=
   20161 fi
   20162 
   20163 
   20164 # If unittests aren't explicitly disabled, check for required support
   20165 if test "x$UNITTESTS" != xno ; then
   20166 
   20167 pkg_failed=no
   20168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
   20169 $as_echo_n "checking for GLIB... " >&6; }
   20170 
   20171 if test -n "$GLIB_CFLAGS"; then
   20172     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
   20173  elif test -n "$PKG_CONFIG"; then
   20174     if test -n "$PKG_CONFIG" && \
   20175     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBGLIB\""; } >&5
   20176   ($PKG_CONFIG --exists --print-errors "$LIBGLIB") 2>&5
   20177   ac_status=$?
   20178   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20179   test $ac_status = 0; }; then
   20180   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$LIBGLIB" 2>/dev/null`
   20181 		      test "x$?" != "x0" && pkg_failed=yes
   20182 else
   20183   pkg_failed=yes
   20184 fi
   20185  else
   20186     pkg_failed=untried
   20187 fi
   20188 if test -n "$GLIB_LIBS"; then
   20189     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
   20190  elif test -n "$PKG_CONFIG"; then
   20191     if test -n "$PKG_CONFIG" && \
   20192     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBGLIB\""; } >&5
   20193   ($PKG_CONFIG --exists --print-errors "$LIBGLIB") 2>&5
   20194   ac_status=$?
   20195   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20196   test $ac_status = 0; }; then
   20197   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$LIBGLIB" 2>/dev/null`
   20198 		      test "x$?" != "x0" && pkg_failed=yes
   20199 else
   20200   pkg_failed=yes
   20201 fi
   20202  else
   20203     pkg_failed=untried
   20204 fi
   20205 
   20206 
   20207 
   20208 if test $pkg_failed = yes; then
   20209    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20210 $as_echo "no" >&6; }
   20211 
   20212 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20213         _pkg_short_errors_supported=yes
   20214 else
   20215         _pkg_short_errors_supported=no
   20216 fi
   20217         if test $_pkg_short_errors_supported = yes; then
   20218 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$LIBGLIB" 2>&1`
   20219         else
   20220 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$LIBGLIB" 2>&1`
   20221         fi
   20222 	# Put the nasty error message in config.log where it belongs
   20223 	echo "$GLIB_PKG_ERRORS" >&5
   20224 
   20225 	HAVE_GLIB=no
   20226 elif test $pkg_failed = untried; then
   20227      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20228 $as_echo "no" >&6; }
   20229 	HAVE_GLIB=no
   20230 else
   20231 	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
   20232 	GLIB_LIBS=$pkg_cv_GLIB_LIBS
   20233         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20234 $as_echo "yes" >&6; }
   20235 	HAVE_GLIB=yes
   20236 fi
   20237 
   20238        # Check if linker supports -wrap, passed via compiler flags
   20239        # When cross-compiling, reports no, since unit tests run from
   20240        # "make check", so would be running on build machine,  not target
   20241        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker supports -wrap" >&5
   20242 $as_echo_n "checking whether the linker supports -wrap... " >&6; }
   20243        save_LDFLAGS="$LDFLAGS"
   20244        LDFLAGS="$LDFLAGS -Wl,-wrap,exit"
   20245        if test "$cross_compiling" = yes; then :
   20246   linker_can_wrap="no"
   20247 else
   20248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20249 /* end confdefs.h.  */
   20250 
   20251 	void __wrap_exit (int s)
   20252 	{
   20253 	    __real_exit (0);
   20254 	}
   20255 int
   20256 main ()
   20257 {
   20258 exit (1);
   20259   ;
   20260   return 0;
   20261 }
   20262 _ACEOF
   20263 if ac_fn_c_try_run "$LINENO"; then :
   20264   linker_can_wrap="yes"
   20265 else
   20266   linker_can_wrap="no"
   20267 fi
   20268 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   20269   conftest.$ac_objext conftest.beam conftest.$ac_ext
   20270 fi
   20271 
   20272        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $linker_can_wrap" >&5
   20273 $as_echo "$linker_can_wrap" >&6; }
   20274        LDFLAGS="$save_LDFLAGS"
   20275 fi
   20276 
   20277 if test "x$UNITTESTS" = xauto; then
   20278        if test "x$HAVE_GLIB" = xyes && test "x$linker_can_wrap" = xyes; then
   20279            UNITTESTS=yes
   20280        else
   20281            UNITTESTS=no
   20282        fi
   20283 fi
   20284 if test "x$UNITTESTS" = xyes; then
   20285        if test "x$HAVE_GLIB" = xno; then
   20286            as_fn_error $? "glib required to build unit tests" "$LINENO" 5
   20287        fi
   20288        if test "x$linker_can_wrap" = xno; then
   20289            as_fn_error $? "ld -wrap support required to build unit tests" "$LINENO" 5
   20290        fi
   20291 
   20292 $as_echo "#define UNITTESTS 1" >>confdefs.h
   20293 
   20294 
   20295 
   20296 fi
   20297  if test "x$UNITTESTS" = xyes; then
   20298   UNITTESTS_TRUE=
   20299   UNITTESTS_FALSE='#'
   20300 else
   20301   UNITTESTS_TRUE='#'
   20302   UNITTESTS_FALSE=
   20303 fi
   20304 
   20305 
   20306 
   20307 $as_echo "#define XTEST 1" >>confdefs.h
   20308 
   20309 
   20310 $as_echo "#define XSYNC 1" >>confdefs.h
   20311 
   20312 
   20313 $as_echo "#define XCMISC 1" >>confdefs.h
   20314 
   20315 
   20316 $as_echo "#define BIGREQS 1" >>confdefs.h
   20317 
   20318 
   20319 if test "x$SPECIAL_DTRACE_OBJECTS" = "xyes" ; then
   20320   DIX_LIB='$(top_builddir)/dix/dix.O'
   20321   OS_LIB='$(top_builddir)/os/os.O $(SHA1_LIBS) $(DLOPEN_LIBS)'
   20322 else
   20323   DIX_LIB='$(top_builddir)/dix/libdix.la'
   20324   OS_LIB='$(top_builddir)/os/libos.la'
   20325 fi
   20326 
   20327 
   20328 
   20329 MAIN_LIB='$(top_builddir)/dix/libmain.la'
   20330 
   20331 
   20332 MI_LIB='$(top_builddir)/mi/libmi.la'
   20333 MI_EXT_LIB='$(top_builddir)/mi/libmiext.la'
   20334 MI_INC='-I$(top_srcdir)/mi'
   20335 FB_LIB='$(top_builddir)/fb/libfb.la'
   20336 FB_INC='-I$(top_srcdir)/fb'
   20337 MIEXT_SHADOW_INC='-I$(top_srcdir)/miext/shadow'
   20338 MIEXT_SHADOW_LIB='$(top_builddir)/miext/shadow/libshadow.la'
   20339 MIEXT_SYNC_INC='-I$(top_srcdir)/miext/sync'
   20340 MIEXT_SYNC_LIB='$(top_builddir)/miext/sync/libsync.la'
   20341 CORE_INCS='-I$(top_srcdir)/include -I$(top_builddir)/include'
   20342 
   20343 # SHA1 hashing
   20344 
   20345 # Check whether --with-sha1 was given.
   20346 if test "${with_sha1+set}" = set; then :
   20347   withval=$with_sha1;
   20348 fi
   20349 
   20350 ac_fn_c_check_func "$LINENO" "SHA1Init" "ac_cv_func_SHA1Init"
   20351 if test "x$ac_cv_func_SHA1Init" = xyes; then :
   20352   HAVE_SHA1_IN_LIBC=yes
   20353 fi
   20354 
   20355 if test "x$with_sha1" = x && test "x$HAVE_SHA1_IN_LIBC" = xyes; then
   20356 	with_sha1=libc
   20357 fi
   20358 if test "x$with_sha1" = xlibc && test "x$HAVE_SHA1_IN_LIBC" != xyes; then
   20359 	as_fn_error $? "libc requested but not found" "$LINENO" 5
   20360 fi
   20361 if test "x$with_sha1" = xlibc; then
   20362 
   20363 $as_echo "#define HAVE_SHA1_IN_LIBC 1" >>confdefs.h
   20364 
   20365 	SHA1_LIBS=""
   20366 fi
   20367 ac_fn_c_check_func "$LINENO" "CC_SHA1_Init" "ac_cv_func_CC_SHA1_Init"
   20368 if test "x$ac_cv_func_CC_SHA1_Init" = xyes; then :
   20369   HAVE_SHA1_IN_COMMONCRYPTO=yes
   20370 fi
   20371 
   20372 if test "x$with_sha1" = x && test "x$HAVE_SHA1_IN_COMMONCRYPTO" = xyes; then
   20373 	with_sha1=CommonCrypto
   20374 fi
   20375 if test "x$with_sha1" = xCommonCrypto && test "x$HAVE_SHA1_IN_COMMONCRYPTO" != xyes; then
   20376 	as_fn_error $? "CommonCrypto requested but not found" "$LINENO" 5
   20377 fi
   20378 if test "x$with_sha1" = xCommonCrypto; then
   20379 
   20380 $as_echo "#define HAVE_SHA1_IN_COMMONCRYPTO 1" >>confdefs.h
   20381 
   20382 	SHA1_LIBS=""
   20383 fi
   20384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1Init in -lmd" >&5
   20385 $as_echo_n "checking for SHA1Init in -lmd... " >&6; }
   20386 if ${ac_cv_lib_md_SHA1Init+:} false; then :
   20387   $as_echo_n "(cached) " >&6
   20388 else
   20389   ac_check_lib_save_LIBS=$LIBS
   20390 LIBS="-lmd  $LIBS"
   20391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20392 /* end confdefs.h.  */
   20393 
   20394 /* Override any GCC internal prototype to avoid an error.
   20395    Use char because int might match the return type of a GCC
   20396    builtin and then its argument prototype would still apply.  */
   20397 #ifdef __cplusplus
   20398 extern "C"
   20399 #endif
   20400 char SHA1Init ();
   20401 int
   20402 main ()
   20403 {
   20404 return SHA1Init ();
   20405   ;
   20406   return 0;
   20407 }
   20408 _ACEOF
   20409 if ac_fn_c_try_link "$LINENO"; then :
   20410   ac_cv_lib_md_SHA1Init=yes
   20411 else
   20412   ac_cv_lib_md_SHA1Init=no
   20413 fi
   20414 rm -f core conftest.err conftest.$ac_objext \
   20415     conftest$ac_exeext conftest.$ac_ext
   20416 LIBS=$ac_check_lib_save_LIBS
   20417 fi
   20418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_md_SHA1Init" >&5
   20419 $as_echo "$ac_cv_lib_md_SHA1Init" >&6; }
   20420 if test "x$ac_cv_lib_md_SHA1Init" = xyes; then :
   20421   HAVE_LIBMD=yes
   20422 fi
   20423 
   20424 if test "x$with_sha1" = x && test "x$HAVE_LIBMD" = xyes; then
   20425 	with_sha1=libmd
   20426 fi
   20427 if test "x$with_sha1" = xlibmd && test "x$HAVE_LIBMD" != xyes; then
   20428 	as_fn_error $? "libmd requested but not found" "$LINENO" 5
   20429 fi
   20430 if test "x$with_sha1" = xlibmd; then
   20431 
   20432 $as_echo "#define HAVE_SHA1_IN_LIBMD 1" >>confdefs.h
   20433 
   20434 	SHA1_LIBS=-lmd
   20435 fi
   20436 
   20437 pkg_failed=no
   20438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSHA1" >&5
   20439 $as_echo_n "checking for LIBSHA1... " >&6; }
   20440 
   20441 if test -n "$LIBSHA1_CFLAGS"; then
   20442     pkg_cv_LIBSHA1_CFLAGS="$LIBSHA1_CFLAGS"
   20443  elif test -n "$PKG_CONFIG"; then
   20444     if test -n "$PKG_CONFIG" && \
   20445     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsha1\""; } >&5
   20446   ($PKG_CONFIG --exists --print-errors "libsha1") 2>&5
   20447   ac_status=$?
   20448   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20449   test $ac_status = 0; }; then
   20450   pkg_cv_LIBSHA1_CFLAGS=`$PKG_CONFIG --cflags "libsha1" 2>/dev/null`
   20451 		      test "x$?" != "x0" && pkg_failed=yes
   20452 else
   20453   pkg_failed=yes
   20454 fi
   20455  else
   20456     pkg_failed=untried
   20457 fi
   20458 if test -n "$LIBSHA1_LIBS"; then
   20459     pkg_cv_LIBSHA1_LIBS="$LIBSHA1_LIBS"
   20460  elif test -n "$PKG_CONFIG"; then
   20461     if test -n "$PKG_CONFIG" && \
   20462     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsha1\""; } >&5
   20463   ($PKG_CONFIG --exists --print-errors "libsha1") 2>&5
   20464   ac_status=$?
   20465   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20466   test $ac_status = 0; }; then
   20467   pkg_cv_LIBSHA1_LIBS=`$PKG_CONFIG --libs "libsha1" 2>/dev/null`
   20468 		      test "x$?" != "x0" && pkg_failed=yes
   20469 else
   20470   pkg_failed=yes
   20471 fi
   20472  else
   20473     pkg_failed=untried
   20474 fi
   20475 
   20476 
   20477 
   20478 if test $pkg_failed = yes; then
   20479    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20480 $as_echo "no" >&6; }
   20481 
   20482 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20483         _pkg_short_errors_supported=yes
   20484 else
   20485         _pkg_short_errors_supported=no
   20486 fi
   20487         if test $_pkg_short_errors_supported = yes; then
   20488 	        LIBSHA1_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsha1" 2>&1`
   20489         else
   20490 	        LIBSHA1_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsha1" 2>&1`
   20491         fi
   20492 	# Put the nasty error message in config.log where it belongs
   20493 	echo "$LIBSHA1_PKG_ERRORS" >&5
   20494 
   20495 	HAVE_LIBSHA1=no
   20496 elif test $pkg_failed = untried; then
   20497      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20498 $as_echo "no" >&6; }
   20499 	HAVE_LIBSHA1=no
   20500 else
   20501 	LIBSHA1_CFLAGS=$pkg_cv_LIBSHA1_CFLAGS
   20502 	LIBSHA1_LIBS=$pkg_cv_LIBSHA1_LIBS
   20503         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20504 $as_echo "yes" >&6; }
   20505 	HAVE_LIBSHA1=yes
   20506 fi
   20507 if test "x$with_sha1" = x && test "x$HAVE_LIBSHA1" = xyes; then
   20508    with_sha1=libsha1
   20509 fi
   20510 if test "x$with_sha1" = xlibsha1 && test "x$HAVE_LIBSHA1" != xyes; then
   20511 	as_fn_error $? "libsha1 requested but not found" "$LINENO" 5
   20512 fi
   20513 if test "x$with_sha1" = xlibsha1; then
   20514 
   20515 $as_echo "#define HAVE_SHA1_IN_LIBSHA1 1" >>confdefs.h
   20516 
   20517 	SHA1_LIBS=-lsha1
   20518 fi
   20519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcry_md_open in -lgcrypt" >&5
   20520 $as_echo_n "checking for gcry_md_open in -lgcrypt... " >&6; }
   20521 if ${ac_cv_lib_gcrypt_gcry_md_open+:} false; then :
   20522   $as_echo_n "(cached) " >&6
   20523 else
   20524   ac_check_lib_save_LIBS=$LIBS
   20525 LIBS="-lgcrypt  $LIBS"
   20526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20527 /* end confdefs.h.  */
   20528 
   20529 /* Override any GCC internal prototype to avoid an error.
   20530    Use char because int might match the return type of a GCC
   20531    builtin and then its argument prototype would still apply.  */
   20532 #ifdef __cplusplus
   20533 extern "C"
   20534 #endif
   20535 char gcry_md_open ();
   20536 int
   20537 main ()
   20538 {
   20539 return gcry_md_open ();
   20540   ;
   20541   return 0;
   20542 }
   20543 _ACEOF
   20544 if ac_fn_c_try_link "$LINENO"; then :
   20545   ac_cv_lib_gcrypt_gcry_md_open=yes
   20546 else
   20547   ac_cv_lib_gcrypt_gcry_md_open=no
   20548 fi
   20549 rm -f core conftest.err conftest.$ac_objext \
   20550     conftest$ac_exeext conftest.$ac_ext
   20551 LIBS=$ac_check_lib_save_LIBS
   20552 fi
   20553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcrypt_gcry_md_open" >&5
   20554 $as_echo "$ac_cv_lib_gcrypt_gcry_md_open" >&6; }
   20555 if test "x$ac_cv_lib_gcrypt_gcry_md_open" = xyes; then :
   20556   HAVE_LIBGCRYPT=yes
   20557 fi
   20558 
   20559 if test "x$with_sha1" = x && test "x$HAVE_LIBGCRYPT" = xyes; then
   20560 	with_sha1=libgcrypt
   20561 fi
   20562 if test "x$with_sha1" = xlibgcrypt && test "x$HAVE_LIBGCRYPT" != xyes; then
   20563 	as_fn_error $? "libgcrypt requested but not found" "$LINENO" 5
   20564 fi
   20565 if test "x$with_sha1" = xlibgcrypt; then
   20566 
   20567 $as_echo "#define HAVE_SHA1_IN_LIBGCRYPT 1" >>confdefs.h
   20568 
   20569 	SHA1_LIBS=-lgcrypt
   20570 fi
   20571 # We don't need all of the OpenSSL libraries, just libcrypto
   20572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5
   20573 $as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; }
   20574 if ${ac_cv_lib_crypto_SHA1_Init+:} false; then :
   20575   $as_echo_n "(cached) " >&6
   20576 else
   20577   ac_check_lib_save_LIBS=$LIBS
   20578 LIBS="-lcrypto  $LIBS"
   20579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20580 /* end confdefs.h.  */
   20581 
   20582 /* Override any GCC internal prototype to avoid an error.
   20583    Use char because int might match the return type of a GCC
   20584    builtin and then its argument prototype would still apply.  */
   20585 #ifdef __cplusplus
   20586 extern "C"
   20587 #endif
   20588 char SHA1_Init ();
   20589 int
   20590 main ()
   20591 {
   20592 return SHA1_Init ();
   20593   ;
   20594   return 0;
   20595 }
   20596 _ACEOF
   20597 if ac_fn_c_try_link "$LINENO"; then :
   20598   ac_cv_lib_crypto_SHA1_Init=yes
   20599 else
   20600   ac_cv_lib_crypto_SHA1_Init=no
   20601 fi
   20602 rm -f core conftest.err conftest.$ac_objext \
   20603     conftest$ac_exeext conftest.$ac_ext
   20604 LIBS=$ac_check_lib_save_LIBS
   20605 fi
   20606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5
   20607 $as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; }
   20608 if test "x$ac_cv_lib_crypto_SHA1_Init" = xyes; then :
   20609   HAVE_LIBCRYPTO=yes
   20610 fi
   20611 
   20612 
   20613 pkg_failed=no
   20614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5
   20615 $as_echo_n "checking for OPENSSL... " >&6; }
   20616 
   20617 if test -n "$OPENSSL_CFLAGS"; then
   20618     pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
   20619  elif test -n "$PKG_CONFIG"; then
   20620     if test -n "$PKG_CONFIG" && \
   20621     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
   20622   ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
   20623   ac_status=$?
   20624   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20625   test $ac_status = 0; }; then
   20626   pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/null`
   20627 		      test "x$?" != "x0" && pkg_failed=yes
   20628 else
   20629   pkg_failed=yes
   20630 fi
   20631  else
   20632     pkg_failed=untried
   20633 fi
   20634 if test -n "$OPENSSL_LIBS"; then
   20635     pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
   20636  elif test -n "$PKG_CONFIG"; then
   20637     if test -n "$PKG_CONFIG" && \
   20638     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
   20639   ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
   20640   ac_status=$?
   20641   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20642   test $ac_status = 0; }; then
   20643   pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/null`
   20644 		      test "x$?" != "x0" && pkg_failed=yes
   20645 else
   20646   pkg_failed=yes
   20647 fi
   20648  else
   20649     pkg_failed=untried
   20650 fi
   20651 
   20652 
   20653 
   20654 if test $pkg_failed = yes; then
   20655    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20656 $as_echo "no" >&6; }
   20657 
   20658 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20659         _pkg_short_errors_supported=yes
   20660 else
   20661         _pkg_short_errors_supported=no
   20662 fi
   20663         if test $_pkg_short_errors_supported = yes; then
   20664 	        OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl" 2>&1`
   20665         else
   20666 	        OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl" 2>&1`
   20667         fi
   20668 	# Put the nasty error message in config.log where it belongs
   20669 	echo "$OPENSSL_PKG_ERRORS" >&5
   20670 
   20671 	HAVE_OPENSSL_PKC=no
   20672 elif test $pkg_failed = untried; then
   20673      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20674 $as_echo "no" >&6; }
   20675 	HAVE_OPENSSL_PKC=no
   20676 else
   20677 	OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
   20678 	OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
   20679         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20680 $as_echo "yes" >&6; }
   20681 	HAVE_OPENSSL_PKC=yes
   20682 fi
   20683 if test "x$HAVE_LIBCRYPTO" = xyes || test "x$HAVE_OPENSSL_PKC" = xyes; then
   20684 	if test "x$with_sha1" = x; then
   20685 		with_sha1=libcrypto
   20686 	fi
   20687 else
   20688 	if test "x$with_sha1" = xlibcrypto; then
   20689 		as_fn_error $? "OpenSSL libcrypto requested but not found" "$LINENO" 5
   20690 	fi
   20691 fi
   20692 if test "x$with_sha1" = xlibcrypto; then
   20693 	if test "x$HAVE_LIBCRYPTO" = xyes; then
   20694 		SHA1_LIBS=-lcrypto
   20695 	else
   20696 		SHA1_LIBS="$OPENSSL_LIBS"
   20697 		SHA1_CFLAGS="$OPENSSL_CFLAGS"
   20698 	fi
   20699 fi
   20700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1 implementation" >&5
   20701 $as_echo_n "checking for SHA1 implementation... " >&6; }
   20702 if test "x$with_sha1" = x; then
   20703 	as_fn_error $? "No suitable SHA1 implementation found" "$LINENO" 5
   20704 fi
   20705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sha1" >&5
   20706 $as_echo "$with_sha1" >&6; }
   20707 
   20708 
   20709 
   20710 
   20711 pkg_failed=no
   20712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XSERVERCFLAGS" >&5
   20713 $as_echo_n "checking for XSERVERCFLAGS... " >&6; }
   20714 
   20715 if test -n "$XSERVERCFLAGS_CFLAGS"; then
   20716     pkg_cv_XSERVERCFLAGS_CFLAGS="$XSERVERCFLAGS_CFLAGS"
   20717  elif test -n "$PKG_CONFIG"; then
   20718     if test -n "$PKG_CONFIG" && \
   20719     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_MODULES \$REQUIRED_LIBS\""; } >&5
   20720   ($PKG_CONFIG --exists --print-errors "$REQUIRED_MODULES $REQUIRED_LIBS") 2>&5
   20721   ac_status=$?
   20722   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20723   test $ac_status = 0; }; then
   20724   pkg_cv_XSERVERCFLAGS_CFLAGS=`$PKG_CONFIG --cflags "$REQUIRED_MODULES $REQUIRED_LIBS" 2>/dev/null`
   20725 		      test "x$?" != "x0" && pkg_failed=yes
   20726 else
   20727   pkg_failed=yes
   20728 fi
   20729  else
   20730     pkg_failed=untried
   20731 fi
   20732 if test -n "$XSERVERCFLAGS_LIBS"; then
   20733     pkg_cv_XSERVERCFLAGS_LIBS="$XSERVERCFLAGS_LIBS"
   20734  elif test -n "$PKG_CONFIG"; then
   20735     if test -n "$PKG_CONFIG" && \
   20736     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_MODULES \$REQUIRED_LIBS\""; } >&5
   20737   ($PKG_CONFIG --exists --print-errors "$REQUIRED_MODULES $REQUIRED_LIBS") 2>&5
   20738   ac_status=$?
   20739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20740   test $ac_status = 0; }; then
   20741   pkg_cv_XSERVERCFLAGS_LIBS=`$PKG_CONFIG --libs "$REQUIRED_MODULES $REQUIRED_LIBS" 2>/dev/null`
   20742 		      test "x$?" != "x0" && pkg_failed=yes
   20743 else
   20744   pkg_failed=yes
   20745 fi
   20746  else
   20747     pkg_failed=untried
   20748 fi
   20749 
   20750 
   20751 
   20752 if test $pkg_failed = yes; then
   20753    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20754 $as_echo "no" >&6; }
   20755 
   20756 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20757         _pkg_short_errors_supported=yes
   20758 else
   20759         _pkg_short_errors_supported=no
   20760 fi
   20761         if test $_pkg_short_errors_supported = yes; then
   20762 	        XSERVERCFLAGS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$REQUIRED_MODULES $REQUIRED_LIBS" 2>&1`
   20763         else
   20764 	        XSERVERCFLAGS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$REQUIRED_MODULES $REQUIRED_LIBS" 2>&1`
   20765         fi
   20766 	# Put the nasty error message in config.log where it belongs
   20767 	echo "$XSERVERCFLAGS_PKG_ERRORS" >&5
   20768 
   20769 	as_fn_error $? "Package requirements ($REQUIRED_MODULES $REQUIRED_LIBS) were not met:
   20770 
   20771 $XSERVERCFLAGS_PKG_ERRORS
   20772 
   20773 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20774 installed software in a non-standard prefix.
   20775 
   20776 Alternatively, you may set the environment variables XSERVERCFLAGS_CFLAGS
   20777 and XSERVERCFLAGS_LIBS to avoid the need to call pkg-config.
   20778 See the pkg-config man page for more details." "$LINENO" 5
   20779 elif test $pkg_failed = untried; then
   20780      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20781 $as_echo "no" >&6; }
   20782 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20784 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20785 is in your PATH or set the PKG_CONFIG environment variable to the full
   20786 path to pkg-config.
   20787 
   20788 Alternatively, you may set the environment variables XSERVERCFLAGS_CFLAGS
   20789 and XSERVERCFLAGS_LIBS to avoid the need to call pkg-config.
   20790 See the pkg-config man page for more details.
   20791 
   20792 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20793 See \`config.log' for more details" "$LINENO" 5; }
   20794 else
   20795 	XSERVERCFLAGS_CFLAGS=$pkg_cv_XSERVERCFLAGS_CFLAGS
   20796 	XSERVERCFLAGS_LIBS=$pkg_cv_XSERVERCFLAGS_LIBS
   20797         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20798 $as_echo "yes" >&6; }
   20799 
   20800 fi
   20801 
   20802 pkg_failed=no
   20803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XSERVERLIBS" >&5
   20804 $as_echo_n "checking for XSERVERLIBS... " >&6; }
   20805 
   20806 if test -n "$XSERVERLIBS_CFLAGS"; then
   20807     pkg_cv_XSERVERLIBS_CFLAGS="$XSERVERLIBS_CFLAGS"
   20808  elif test -n "$PKG_CONFIG"; then
   20809     if test -n "$PKG_CONFIG" && \
   20810     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_LIBS\""; } >&5
   20811   ($PKG_CONFIG --exists --print-errors "$REQUIRED_LIBS") 2>&5
   20812   ac_status=$?
   20813   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20814   test $ac_status = 0; }; then
   20815   pkg_cv_XSERVERLIBS_CFLAGS=`$PKG_CONFIG --cflags "$REQUIRED_LIBS" 2>/dev/null`
   20816 		      test "x$?" != "x0" && pkg_failed=yes
   20817 else
   20818   pkg_failed=yes
   20819 fi
   20820  else
   20821     pkg_failed=untried
   20822 fi
   20823 if test -n "$XSERVERLIBS_LIBS"; then
   20824     pkg_cv_XSERVERLIBS_LIBS="$XSERVERLIBS_LIBS"
   20825  elif test -n "$PKG_CONFIG"; then
   20826     if test -n "$PKG_CONFIG" && \
   20827     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_LIBS\""; } >&5
   20828   ($PKG_CONFIG --exists --print-errors "$REQUIRED_LIBS") 2>&5
   20829   ac_status=$?
   20830   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20831   test $ac_status = 0; }; then
   20832   pkg_cv_XSERVERLIBS_LIBS=`$PKG_CONFIG --libs "$REQUIRED_LIBS" 2>/dev/null`
   20833 		      test "x$?" != "x0" && pkg_failed=yes
   20834 else
   20835   pkg_failed=yes
   20836 fi
   20837  else
   20838     pkg_failed=untried
   20839 fi
   20840 
   20841 
   20842 
   20843 if test $pkg_failed = yes; then
   20844    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20845 $as_echo "no" >&6; }
   20846 
   20847 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20848         _pkg_short_errors_supported=yes
   20849 else
   20850         _pkg_short_errors_supported=no
   20851 fi
   20852         if test $_pkg_short_errors_supported = yes; then
   20853 	        XSERVERLIBS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$REQUIRED_LIBS" 2>&1`
   20854         else
   20855 	        XSERVERLIBS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$REQUIRED_LIBS" 2>&1`
   20856         fi
   20857 	# Put the nasty error message in config.log where it belongs
   20858 	echo "$XSERVERLIBS_PKG_ERRORS" >&5
   20859 
   20860 	as_fn_error $? "Package requirements ($REQUIRED_LIBS) were not met:
   20861 
   20862 $XSERVERLIBS_PKG_ERRORS
   20863 
   20864 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20865 installed software in a non-standard prefix.
   20866 
   20867 Alternatively, you may set the environment variables XSERVERLIBS_CFLAGS
   20868 and XSERVERLIBS_LIBS to avoid the need to call pkg-config.
   20869 See the pkg-config man page for more details." "$LINENO" 5
   20870 elif test $pkg_failed = untried; then
   20871      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20872 $as_echo "no" >&6; }
   20873 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20875 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20876 is in your PATH or set the PKG_CONFIG environment variable to the full
   20877 path to pkg-config.
   20878 
   20879 Alternatively, you may set the environment variables XSERVERLIBS_CFLAGS
   20880 and XSERVERLIBS_LIBS to avoid the need to call pkg-config.
   20881 See the pkg-config man page for more details.
   20882 
   20883 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20884 See \`config.log' for more details" "$LINENO" 5; }
   20885 else
   20886 	XSERVERLIBS_CFLAGS=$pkg_cv_XSERVERLIBS_CFLAGS
   20887 	XSERVERLIBS_LIBS=$pkg_cv_XSERVERLIBS_LIBS
   20888         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20889 $as_echo "yes" >&6; }
   20890 
   20891 fi
   20892 
   20893 # Autotools has some unfortunate issues with library handling.  In order to
   20894 # get a server to rebuild when a dependency in the tree is changed, it must
   20895 # be listed in SERVERNAME_DEPENDENCIES.  However, no system libraries may be
   20896 # listed there, or some versions of autotools will break (especially if a -L
   20897 # is required to find the library).  So, we keep two sets of libraries
   20898 # detected: NAMESPACE_LIBS for in-tree libraries to be linked against, which
   20899 # will go into the _DEPENDENCIES and _LDADD of the server, and
   20900 # NAMESPACE_SYS_LIBS which will go into only the _LDADD.  The
   20901 # NAMESPACEMODULES_LIBS detected from pkgconfig should always go in
   20902 # NAMESPACE_SYS_LIBS.
   20903 #
   20904 # XSERVER_LIBS is the set of in-tree libraries which all servers require.
   20905 # XSERVER_SYS_LIBS is the set of out-of-tree libraries which all servers
   20906 # require.
   20907 #
   20908 XSERVER_CFLAGS="${XSERVER_CFLAGS} ${XSERVERCFLAGS_CFLAGS}"
   20909 XSERVER_LIBS="$DIX_LIB $MI_LIB $OS_LIB"
   20910 XSERVER_SYS_LIBS="${XSERVERLIBS_LIBS} ${SYS_LIBS} ${LIBS}"
   20911 
   20912 
   20913 
   20914 UTILS_SYS_LIBS="${SYS_LIBS}"
   20915 
   20916 
   20917 # The Xorg binary needs to export symbols so that they can be used from modules
   20918 # Some platforms require extra flags to do this.   libtool should set the
   20919 # necessary flags for each platform when -export-dynamic is passed to it.
   20920 LD_EXPORT_SYMBOLS_FLAG="-export-dynamic"
   20921 
   20922 
   20923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SVR4 needs to be defined" >&5
   20924 $as_echo_n "checking if SVR4 needs to be defined... " >&6; }
   20925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20926 /* end confdefs.h.  */
   20927 
   20928 #if defined(SVR4) || defined(__svr4__) || defined(__SVR4)
   20929  I_AM_SVR4
   20930 #endif
   20931 
   20932 _ACEOF
   20933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20934   $EGREP "I_AM_SVR4" >/dev/null 2>&1; then :
   20935 
   20936 
   20937 $as_echo "#define SVR4 1" >>confdefs.h
   20938 
   20939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20940 $as_echo "yes" >&6; }
   20941 else
   20942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20943 $as_echo "no" >&6; }
   20944 fi
   20945 rm -f conftest*
   20946 
   20947 
   20948 XSERVER_CFLAGS="$XSERVER_CFLAGS $CORE_INCS $XEXT_INC $COMPOSITE_INC $DAMAGE_INC $FIXES_INC $XI_INC $MI_INC $MIEXT_SYNC_INC $MIEXT_SHADOW_INC $MIEXT_LAYER_INC $MIEXT_DAMAGE_INC $RENDER_INC $RANDR_INC $FB_INC"
   20949 
   20950 
   20951 
   20952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Xvfb DDX" >&5
   20953 $as_echo_n "checking whether to build Xvfb DDX... " >&6; }
   20954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XVFB" >&5
   20955 $as_echo "$XVFB" >&6; }
   20956  if test "x$XVFB" = xyes; then
   20957   XVFB_TRUE=
   20958   XVFB_FALSE='#'
   20959 else
   20960   XVFB_TRUE='#'
   20961   XVFB_FALSE=
   20962 fi
   20963 
   20964 
   20965 if test "x$XVFB" = xyes; then
   20966 	XVFB_LIBS="$FB_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $RECORD_LIB $GLX_LIBS $RANDR_LIB $RENDER_LIB $DAMAGE_LIB $MIEXT_SYNC_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB"
   20967 	XVFB_SYS_LIBS="$XVFBMODULES_LIBS $GLX_SYS_LIBS"
   20968 
   20969 
   20970 fi
   20971 
   20972 
   20973 
   20974 
   20975 pkg_failed=no
   20976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XNESTMODULES" >&5
   20977 $as_echo_n "checking for XNESTMODULES... " >&6; }
   20978 
   20979 if test -n "$XNESTMODULES_CFLAGS"; then
   20980     pkg_cv_XNESTMODULES_CFLAGS="$XNESTMODULES_CFLAGS"
   20981  elif test -n "$PKG_CONFIG"; then
   20982     if test -n "$PKG_CONFIG" && \
   20983     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXEXT x11 xau \$XDMCP_MODULES\""; } >&5
   20984   ($PKG_CONFIG --exists --print-errors "$LIBXEXT x11 xau $XDMCP_MODULES") 2>&5
   20985   ac_status=$?
   20986   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20987   test $ac_status = 0; }; then
   20988   pkg_cv_XNESTMODULES_CFLAGS=`$PKG_CONFIG --cflags "$LIBXEXT x11 xau $XDMCP_MODULES" 2>/dev/null`
   20989 		      test "x$?" != "x0" && pkg_failed=yes
   20990 else
   20991   pkg_failed=yes
   20992 fi
   20993  else
   20994     pkg_failed=untried
   20995 fi
   20996 if test -n "$XNESTMODULES_LIBS"; then
   20997     pkg_cv_XNESTMODULES_LIBS="$XNESTMODULES_LIBS"
   20998  elif test -n "$PKG_CONFIG"; then
   20999     if test -n "$PKG_CONFIG" && \
   21000     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXEXT x11 xau \$XDMCP_MODULES\""; } >&5
   21001   ($PKG_CONFIG --exists --print-errors "$LIBXEXT x11 xau $XDMCP_MODULES") 2>&5
   21002   ac_status=$?
   21003   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21004   test $ac_status = 0; }; then
   21005   pkg_cv_XNESTMODULES_LIBS=`$PKG_CONFIG --libs "$LIBXEXT x11 xau $XDMCP_MODULES" 2>/dev/null`
   21006 		      test "x$?" != "x0" && pkg_failed=yes
   21007 else
   21008   pkg_failed=yes
   21009 fi
   21010  else
   21011     pkg_failed=untried
   21012 fi
   21013 
   21014 
   21015 
   21016 if test $pkg_failed = yes; then
   21017    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21018 $as_echo "no" >&6; }
   21019 
   21020 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21021         _pkg_short_errors_supported=yes
   21022 else
   21023         _pkg_short_errors_supported=no
   21024 fi
   21025         if test $_pkg_short_errors_supported = yes; then
   21026 	        XNESTMODULES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$LIBXEXT x11 xau $XDMCP_MODULES" 2>&1`
   21027         else
   21028 	        XNESTMODULES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$LIBXEXT x11 xau $XDMCP_MODULES" 2>&1`
   21029         fi
   21030 	# Put the nasty error message in config.log where it belongs
   21031 	echo "$XNESTMODULES_PKG_ERRORS" >&5
   21032 
   21033 	have_xnest=no
   21034 elif test $pkg_failed = untried; then
   21035      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21036 $as_echo "no" >&6; }
   21037 	have_xnest=no
   21038 else
   21039 	XNESTMODULES_CFLAGS=$pkg_cv_XNESTMODULES_CFLAGS
   21040 	XNESTMODULES_LIBS=$pkg_cv_XNESTMODULES_LIBS
   21041         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21042 $as_echo "yes" >&6; }
   21043 	have_xnest=yes
   21044 fi
   21045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Xnest DDX" >&5
   21046 $as_echo_n "checking whether to build Xnest DDX... " >&6; }
   21047 if test "x$XNEST" = xauto; then
   21048 	XNEST="$have_xnest"
   21049 fi
   21050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XNEST" >&5
   21051 $as_echo "$XNEST" >&6; }
   21052  if test "x$XNEST" = xyes; then
   21053   XNEST_TRUE=
   21054   XNEST_FALSE='#'
   21055 else
   21056   XNEST_TRUE='#'
   21057   XNEST_FALSE=
   21058 fi
   21059 
   21060 
   21061 if test "x$XNEST" = xyes; then
   21062 	if test "x$have_xnest" = xno; then
   21063 		as_fn_error $? "Xnest build explicitly requested, but required modules not found." "$LINENO" 5
   21064 	fi
   21065 	XNEST_LIBS="$FB_LIB $FIXES_LIB $MI_LIB $XEXT_LIB $DBE_LIB $RECORD_LIB $GLX_LIBS $RANDR_LIB $RENDER_LIB $DAMAGE_LIB $MIEXT_SYNC_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $DIX_LIB $MAIN_LIB $OS_LIB"
   21066 	XNEST_SYS_LIBS="$XNESTMODULES_LIBS $GLX_SYS_LIBS"
   21067 
   21068 
   21069 fi
   21070 
   21071 
   21072 
   21073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Xorg DDX" >&5
   21074 $as_echo_n "checking whether to build Xorg DDX... " >&6; }
   21075 if test "x$XORG" = xauto; then
   21076 	XORG="yes"
   21077 	case $host_os in
   21078 		cygwin*) XORG="no" ;;
   21079 		darwin*) XORG="no" ;;
   21080 	esac
   21081 fi
   21082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG" >&5
   21083 $as_echo "$XORG" >&6; }
   21084 
   21085 xorg_bus_linuxpci=no
   21086 xorg_bus_bsdpci=no
   21087 xorg_bus_sparc=no
   21088 
   21089 if test "x$XORG" = xyes; then
   21090 	XORG_DDXINCS='-I$(top_srcdir)/hw/xfree86 -I$(top_srcdir)/hw/xfree86/include -I$(top_srcdir)/hw/xfree86/common'
   21091 	XORG_OSINCS='-I$(top_srcdir)/hw/xfree86/os-support -I$(top_srcdir)/hw/xfree86/os-support/bus -I$(top_srcdir)/os'
   21092 	XORG_INCS="$XORG_DDXINCS $XORG_OSINCS"
   21093 	XORG_CFLAGS="$XORGSERVER_CFLAGS -DHAVE_XORG_CONFIG_H"
   21094 	XORG_LIBS="$COMPOSITE_LIB $FIXES_LIB $XEXTXORG_LIB $GLX_LIBS $RANDR_LIB $RENDER_LIB $DAMAGE_LIB $MIEXT_SYNC_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB"
   21095 
   21096 			symbol_visibility=
   21097 	have_visibility=disabled
   21098 	if test x$SYMBOL_VISIBILITY != xno; then
   21099 	    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbol visibility support" >&5
   21100 $as_echo_n "checking for symbol visibility support... " >&6; }
   21101 	    if test x$GCC = xyes; then
   21102 		VISIBILITY_CFLAGS="-fvisibility=hidden"
   21103 	    else
   21104 		ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   21105 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   21106   SUNCC="yes"
   21107 else
   21108   SUNCC="no"
   21109 fi
   21110 
   21111 		if test x$SUNCC = xyes; then
   21112 		    VISIBILITY_CFLAGS="-xldscope=hidden"
   21113 		else
   21114 		    have_visibility=no
   21115 		fi
   21116 	    fi
   21117 	    if test x$have_visibility != xno; then
   21118 		save_CFLAGS="$CFLAGS"
   21119 		CFLAGS="$CFLAGS $VISIBILITY_CFLAGS"
   21120 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21121 /* end confdefs.h.  */
   21122 #include <X11/Xfuncproto.h>
   21123 		     extern _X_HIDDEN int hidden_int;
   21124 		     extern _X_EXPORT int public_int;
   21125 		     extern _X_HIDDEN int hidden_int_func(void);
   21126 		     extern _X_EXPORT int public_int_func(void);
   21127 int
   21128 main ()
   21129 {
   21130 
   21131   ;
   21132   return 0;
   21133 }
   21134 _ACEOF
   21135 if ac_fn_c_try_compile "$LINENO"; then :
   21136   have_visibility=yes
   21137 else
   21138   have_visibility=no
   21139 fi
   21140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21141 		CFLAGS=$save_CFLAGS
   21142 	    fi
   21143 	    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_visibility" >&5
   21144 $as_echo "$have_visibility" >&6; }
   21145 	    if test x$have_visibility != xno; then
   21146 		symbol_visibility=$VISIBILITY_CFLAGS
   21147 		XORG_CFLAGS="$XORG_CFLAGS $VISIBILITY_CFLAGS"
   21148 		XSERVER_CFLAGS="$XSERVER_CFLAGS $VISIBILITY_CFLAGS"
   21149 	    fi
   21150 	fi
   21151 
   21152 
   21153 
   21154 pkg_failed=no
   21155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   21156 $as_echo_n "checking for PCIACCESS... " >&6; }
   21157 
   21158 if test -n "$PCIACCESS_CFLAGS"; then
   21159     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   21160  elif test -n "$PKG_CONFIG"; then
   21161     if test -n "$PKG_CONFIG" && \
   21162     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBPCIACCESS\""; } >&5
   21163   ($PKG_CONFIG --exists --print-errors "$LIBPCIACCESS") 2>&5
   21164   ac_status=$?
   21165   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21166   test $ac_status = 0; }; then
   21167   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "$LIBPCIACCESS" 2>/dev/null`
   21168 		      test "x$?" != "x0" && pkg_failed=yes
   21169 else
   21170   pkg_failed=yes
   21171 fi
   21172  else
   21173     pkg_failed=untried
   21174 fi
   21175 if test -n "$PCIACCESS_LIBS"; then
   21176     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   21177  elif test -n "$PKG_CONFIG"; then
   21178     if test -n "$PKG_CONFIG" && \
   21179     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBPCIACCESS\""; } >&5
   21180   ($PKG_CONFIG --exists --print-errors "$LIBPCIACCESS") 2>&5
   21181   ac_status=$?
   21182   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21183   test $ac_status = 0; }; then
   21184   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "$LIBPCIACCESS" 2>/dev/null`
   21185 		      test "x$?" != "x0" && pkg_failed=yes
   21186 else
   21187   pkg_failed=yes
   21188 fi
   21189  else
   21190     pkg_failed=untried
   21191 fi
   21192 
   21193 
   21194 
   21195 if test $pkg_failed = yes; then
   21196    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21197 $as_echo "no" >&6; }
   21198 
   21199 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21200         _pkg_short_errors_supported=yes
   21201 else
   21202         _pkg_short_errors_supported=no
   21203 fi
   21204         if test $_pkg_short_errors_supported = yes; then
   21205 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$LIBPCIACCESS" 2>&1`
   21206         else
   21207 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$LIBPCIACCESS" 2>&1`
   21208         fi
   21209 	# Put the nasty error message in config.log where it belongs
   21210 	echo "$PCIACCESS_PKG_ERRORS" >&5
   21211 
   21212 	as_fn_error $? "Package requirements ($LIBPCIACCESS) were not met:
   21213 
   21214 $PCIACCESS_PKG_ERRORS
   21215 
   21216 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21217 installed software in a non-standard prefix.
   21218 
   21219 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21220 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21221 See the pkg-config man page for more details." "$LINENO" 5
   21222 elif test $pkg_failed = untried; then
   21223      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21224 $as_echo "no" >&6; }
   21225 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21227 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   21228 is in your PATH or set the PKG_CONFIG environment variable to the full
   21229 path to pkg-config.
   21230 
   21231 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   21232 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   21233 See the pkg-config man page for more details.
   21234 
   21235 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21236 See \`config.log' for more details" "$LINENO" 5; }
   21237 else
   21238 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   21239 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   21240         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21241 $as_echo "yes" >&6; }
   21242 
   21243 fi
   21244 	SAVE_LIBS=$LIBS
   21245 	SAVE_CFLAGS=$CFLAGS
   21246 	CFLAGS=$PCIACCESS_CFLAGS
   21247 	LIBS=$PCIACCESS_LIBS
   21248 	for ac_func in pci_system_init_dev_mem
   21249 do :
   21250   ac_fn_c_check_func "$LINENO" "pci_system_init_dev_mem" "ac_cv_func_pci_system_init_dev_mem"
   21251 if test "x$ac_cv_func_pci_system_init_dev_mem" = xyes; then :
   21252   cat >>confdefs.h <<_ACEOF
   21253 #define HAVE_PCI_SYSTEM_INIT_DEV_MEM 1
   21254 _ACEOF
   21255 
   21256 fi
   21257 done
   21258 
   21259 	for ac_func in pci_device_enable
   21260 do :
   21261   ac_fn_c_check_func "$LINENO" "pci_device_enable" "ac_cv_func_pci_device_enable"
   21262 if test "x$ac_cv_func_pci_device_enable" = xyes; then :
   21263   cat >>confdefs.h <<_ACEOF
   21264 #define HAVE_PCI_DEVICE_ENABLE 1
   21265 _ACEOF
   21266 
   21267 fi
   21268 done
   21269 
   21270 	for ac_func in pci_device_is_boot_vga
   21271 do :
   21272   ac_fn_c_check_func "$LINENO" "pci_device_is_boot_vga" "ac_cv_func_pci_device_is_boot_vga"
   21273 if test "x$ac_cv_func_pci_device_is_boot_vga" = xyes; then :
   21274   cat >>confdefs.h <<_ACEOF
   21275 #define HAVE_PCI_DEVICE_IS_BOOT_VGA 1
   21276 _ACEOF
   21277 
   21278 fi
   21279 done
   21280 
   21281 	for ac_func in pci_device_vgaarb_init
   21282 do :
   21283   ac_fn_c_check_func "$LINENO" "pci_device_vgaarb_init" "ac_cv_func_pci_device_vgaarb_init"
   21284 if test "x$ac_cv_func_pci_device_vgaarb_init" = xyes; then :
   21285   cat >>confdefs.h <<_ACEOF
   21286 #define HAVE_PCI_DEVICE_VGAARB_INIT 1
   21287 _ACEOF
   21288 
   21289 fi
   21290 done
   21291 
   21292 	LIBS=$SAVE_LIBS
   21293 	CFLAGS=$SAVE_CFLAGS
   21294 	XORG_SYS_LIBS="$XORG_SYS_LIBS $PCIACCESS_LIBS $GLX_SYS_LIBS"
   21295 	XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   21296 
   21297 	case $host_os in
   21298 	  linux*)
   21299 		if test "x$LNXAPM" = xyes; then
   21300 			XORG_CFLAGS="$XORG_CFLAGS -DXF86PM"
   21301 		fi
   21302 	  	XORG_OS="linux"
   21303 		XORG_OS_SUBDIR="linux"
   21304 		xorg_bus_linuxpci="yes"
   21305 		linux_acpi="no"
   21306 		case $host_cpu in
   21307 		  ia64*)
   21308 			linux_ia64=yes
   21309 			linux_acpi="yes"
   21310 			;;
   21311 		  alpha*)
   21312 		  	linux_alpha=yes
   21313 			;;
   21314 		  i*86|amd64*|x86_64*)
   21315 			linux_acpi="yes"
   21316 			;;
   21317 		  *)
   21318 			;;
   21319 		esac
   21320 		;;
   21321 	  freebsd* | kfreebsd*-gnu | dragonfly*)
   21322 	  	XORG_OS="freebsd"
   21323 		XORG_OS_SUBDIR="bsd"
   21324 		xorg_bus_bsdpci="yes"
   21325 		;;
   21326 	  netbsd*)
   21327 	  	XORG_OS="netbsd"
   21328 		XORG_OS_SUBDIR="bsd"
   21329 		xorg_bus_bsdpci="yes"
   21330 		;;
   21331 	  openbsd*)
   21332 		if test "x$ac_cv_BSD_APM" = xyes \
   21333 			-o "x$ac_cv_BSD_KQUEUE_APM" = xyes; then
   21334 			XORG_CFLAGS="$XORG_CFLAGS -DXF86PM"
   21335 		fi
   21336 	  	XORG_OS="openbsd"
   21337 		XORG_OS_SUBDIR="bsd"
   21338 		xorg_bus_bsdpci="yes"
   21339 		;;
   21340 	  solaris*)
   21341 	  	XORG_OS="solaris"
   21342 		XORG_OS_SUBDIR="solaris"
   21343 		XORG_CFLAGS="$XORG_CFLAGS -DXF86PM"
   21344 		# Use the same stubs as BSD for old functions, since we now
   21345 		# use libpciaccess for PCI
   21346 		xorg_bus_bsdpci="yes"
   21347 		for ac_header in sys/kd.h
   21348 do :
   21349   ac_fn_c_check_header_mongrel "$LINENO" "sys/kd.h" "ac_cv_header_sys_kd_h" "$ac_includes_default"
   21350 if test "x$ac_cv_header_sys_kd_h" = xyes; then :
   21351   cat >>confdefs.h <<_ACEOF
   21352 #define HAVE_SYS_KD_H 1
   21353 _ACEOF
   21354 
   21355 fi
   21356 
   21357 done
   21358 
   21359 		for ac_header in sys/vt.h
   21360 do :
   21361   ac_fn_c_check_header_mongrel "$LINENO" "sys/vt.h" "ac_cv_header_sys_vt_h" "$ac_includes_default"
   21362 if test "x$ac_cv_header_sys_vt_h" = xyes; then :
   21363   cat >>confdefs.h <<_ACEOF
   21364 #define HAVE_SYS_VT_H 1
   21365 _ACEOF
   21366  solaris_vt=yes
   21367 else
   21368   solaris_vt=no
   21369 fi
   21370 
   21371 done
   21372 
   21373 		# Check for minimum supported release
   21374 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Solaris version" >&5
   21375 $as_echo_n "checking Solaris version... " >&6; }
   21376 	        OS_MINOR=`echo ${host_os}|$SED -e 's/^.*solaris2\.//' -e s'/\..*$//'`
   21377 		if test "${OS_MINOR}" -ge 7 ; then
   21378 	        	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris ${OS_MINOR}" >&5
   21379 $as_echo "Solaris ${OS_MINOR}" >&6; }
   21380 		else
   21381 			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris \`echo ${host_os}|$SED -e 's/^.*solaris//\`" >&5
   21382 $as_echo "Solaris \`echo ${host_os}|$SED -e 's/^.*solaris//\`" >&6; }
   21383 		fi
   21384 		if test "${OS_MINOR}" -lt 8 ; then
   21385 			as_fn_error $? "This release no longer supports Solaris versions older than Solaris 8." "$LINENO" 5
   21386 		fi
   21387 		ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   21388 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   21389   SUNCC="yes"
   21390 else
   21391   SUNCC="no"
   21392 fi
   21393 
   21394 		if test "x$SUNCC" = "xyes"; then
   21395 			solaris_asm_inline="yes"
   21396 		fi
   21397 		ac_fn_c_check_decl "$LINENO" "_LP64" "ac_cv_have_decl__LP64" "$ac_includes_default"
   21398 if test "x$ac_cv_have_decl__LP64" = xyes; then :
   21399   SOLARIS_64="yes"
   21400 else
   21401   SOLARIS_64="no"
   21402 fi
   21403 
   21404 
   21405 		case $host_cpu in
   21406 		  sparc*)
   21407 			SOLARIS_INOUT_ARCH="sparcv8plus"
   21408 			;;
   21409 		  i*86)
   21410 			if test x$SOLARIS_64 = xyes ; then
   21411 				SOLARIS_INOUT_ARCH="amd64"
   21412 			else
   21413 				SOLARIS_INOUT_ARCH="ia32"
   21414 			fi
   21415 			;;
   21416 		  *)
   21417 			as_fn_error $? "Unsupported Solaris platform. Only SPARC & x86 \
   21418 			are supported on Solaris in this release.   If you are \
   21419 			interested in porting Xorg to your platform, please email \
   21420 			xorg (at] lists.freedesktop.org." "$LINENO" 5 ;;
   21421 		esac
   21422 
   21423 		if test x$solaris_asm_inline = xyes ; then
   21424 			SOLARIS_ASM_CFLAGS='$(top_srcdir)/hw/xfree86/os-support/solaris/solaris-$(SOLARIS_INOUT_ARCH).il'
   21425 			XORG_CFLAGS="${XORG_CFLAGS} "'$(SOLARIS_ASM_CFLAGS)'
   21426 		fi
   21427 
   21428 		if test "x$SUPPORT_PC98" = xauto; then
   21429 			SUPPORT_PC98="no"
   21430 		fi
   21431 		;;
   21432 	  gnu*)
   21433 	  	XORG_OS="gnu"
   21434 		XORG_OS_SUBDIR="hurd"
   21435 		# Use the same stubs as BSD for old functions, since we now
   21436 		# use libpciaccess for PCI
   21437 		xorg_bus_bsdpci="yes"
   21438 		;;
   21439 	  *)
   21440 	  	XORG_OS="unknown"
   21441 		XORG_OS_SUBDIR="unknown"
   21442 		as_fn_error $? "Your OS is unknown. Xorg currently only supports Linux,
   21443 Free/Open/Net/DragonFlyBSD, Solaris/OpenSolaris, & GNU Hurd. If you are
   21444 interested in porting Xorg to your platform, please email
   21445 xorg (at] lists.freedesktop.org." "$LINENO" 5
   21446 		;;
   21447 	esac
   21448 
   21449 	case $host_cpu in
   21450 	  sparc*)
   21451 		xorg_bus_sparc="yes"
   21452 		;;
   21453 	  i*86)
   21454 		if test "x$SUPPORT_PC98" = xauto; then
   21455 			SUPPORT_PC98="yes"
   21456 		fi
   21457 		;;
   21458 	esac
   21459 
   21460 	if test "x$SUPPORT_PC98" = xauto; then
   21461 		SUPPORT_PC98="no"
   21462 	fi
   21463 	if test "x$SUPPORT_PC98" = xyes; then
   21464 
   21465 $as_echo "#define SUPPORT_PC98 1" >>confdefs.h
   21466 
   21467 	fi
   21468 	if test "x$XORG_OS_PCI" = x ; then
   21469 		XORG_OS_PCI=$XORG_OS
   21470 	fi
   21471 	if test "x$DGA" = xauto; then
   21472 
   21473 pkg_failed=no
   21474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGA" >&5
   21475 $as_echo_n "checking for DGA... " >&6; }
   21476 
   21477 if test -n "$DGA_CFLAGS"; then
   21478     pkg_cv_DGA_CFLAGS="$DGA_CFLAGS"
   21479  elif test -n "$PKG_CONFIG"; then
   21480     if test -n "$PKG_CONFIG" && \
   21481     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$DGAPROTO\""; } >&5
   21482   ($PKG_CONFIG --exists --print-errors "$DGAPROTO") 2>&5
   21483   ac_status=$?
   21484   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21485   test $ac_status = 0; }; then
   21486   pkg_cv_DGA_CFLAGS=`$PKG_CONFIG --cflags "$DGAPROTO" 2>/dev/null`
   21487 		      test "x$?" != "x0" && pkg_failed=yes
   21488 else
   21489   pkg_failed=yes
   21490 fi
   21491  else
   21492     pkg_failed=untried
   21493 fi
   21494 if test -n "$DGA_LIBS"; then
   21495     pkg_cv_DGA_LIBS="$DGA_LIBS"
   21496  elif test -n "$PKG_CONFIG"; then
   21497     if test -n "$PKG_CONFIG" && \
   21498     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$DGAPROTO\""; } >&5
   21499   ($PKG_CONFIG --exists --print-errors "$DGAPROTO") 2>&5
   21500   ac_status=$?
   21501   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21502   test $ac_status = 0; }; then
   21503   pkg_cv_DGA_LIBS=`$PKG_CONFIG --libs "$DGAPROTO" 2>/dev/null`
   21504 		      test "x$?" != "x0" && pkg_failed=yes
   21505 else
   21506   pkg_failed=yes
   21507 fi
   21508  else
   21509     pkg_failed=untried
   21510 fi
   21511 
   21512 
   21513 
   21514 if test $pkg_failed = yes; then
   21515    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21516 $as_echo "no" >&6; }
   21517 
   21518 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21519         _pkg_short_errors_supported=yes
   21520 else
   21521         _pkg_short_errors_supported=no
   21522 fi
   21523         if test $_pkg_short_errors_supported = yes; then
   21524 	        DGA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$DGAPROTO" 2>&1`
   21525         else
   21526 	        DGA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$DGAPROTO" 2>&1`
   21527         fi
   21528 	# Put the nasty error message in config.log where it belongs
   21529 	echo "$DGA_PKG_ERRORS" >&5
   21530 
   21531 	DGA=no
   21532 elif test $pkg_failed = untried; then
   21533      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21534 $as_echo "no" >&6; }
   21535 	DGA=no
   21536 else
   21537 	DGA_CFLAGS=$pkg_cv_DGA_CFLAGS
   21538 	DGA_LIBS=$pkg_cv_DGA_LIBS
   21539         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21540 $as_echo "yes" >&6; }
   21541 	DGA=yes
   21542 fi
   21543 	fi
   21544 	if test "x$DGA" = xyes; then
   21545 		XORG_MODULES="$XORG_MODULES $DGAPROTO"
   21546 
   21547 pkg_failed=no
   21548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGA" >&5
   21549 $as_echo_n "checking for DGA... " >&6; }
   21550 
   21551 if test -n "$DGA_CFLAGS"; then
   21552     pkg_cv_DGA_CFLAGS="$DGA_CFLAGS"
   21553  elif test -n "$PKG_CONFIG"; then
   21554     if test -n "$PKG_CONFIG" && \
   21555     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$DGAPROTO\""; } >&5
   21556   ($PKG_CONFIG --exists --print-errors "$DGAPROTO") 2>&5
   21557   ac_status=$?
   21558   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21559   test $ac_status = 0; }; then
   21560   pkg_cv_DGA_CFLAGS=`$PKG_CONFIG --cflags "$DGAPROTO" 2>/dev/null`
   21561 		      test "x$?" != "x0" && pkg_failed=yes
   21562 else
   21563   pkg_failed=yes
   21564 fi
   21565  else
   21566     pkg_failed=untried
   21567 fi
   21568 if test -n "$DGA_LIBS"; then
   21569     pkg_cv_DGA_LIBS="$DGA_LIBS"
   21570  elif test -n "$PKG_CONFIG"; then
   21571     if test -n "$PKG_CONFIG" && \
   21572     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$DGAPROTO\""; } >&5
   21573   ($PKG_CONFIG --exists --print-errors "$DGAPROTO") 2>&5
   21574   ac_status=$?
   21575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21576   test $ac_status = 0; }; then
   21577   pkg_cv_DGA_LIBS=`$PKG_CONFIG --libs "$DGAPROTO" 2>/dev/null`
   21578 		      test "x$?" != "x0" && pkg_failed=yes
   21579 else
   21580   pkg_failed=yes
   21581 fi
   21582  else
   21583     pkg_failed=untried
   21584 fi
   21585 
   21586 
   21587 
   21588 if test $pkg_failed = yes; then
   21589    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21590 $as_echo "no" >&6; }
   21591 
   21592 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21593         _pkg_short_errors_supported=yes
   21594 else
   21595         _pkg_short_errors_supported=no
   21596 fi
   21597         if test $_pkg_short_errors_supported = yes; then
   21598 	        DGA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$DGAPROTO" 2>&1`
   21599         else
   21600 	        DGA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$DGAPROTO" 2>&1`
   21601         fi
   21602 	# Put the nasty error message in config.log where it belongs
   21603 	echo "$DGA_PKG_ERRORS" >&5
   21604 
   21605 	as_fn_error $? "Package requirements ($DGAPROTO) were not met:
   21606 
   21607 $DGA_PKG_ERRORS
   21608 
   21609 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21610 installed software in a non-standard prefix.
   21611 
   21612 Alternatively, you may set the environment variables DGA_CFLAGS
   21613 and DGA_LIBS to avoid the need to call pkg-config.
   21614 See the pkg-config man page for more details." "$LINENO" 5
   21615 elif test $pkg_failed = untried; then
   21616      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21617 $as_echo "no" >&6; }
   21618 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21620 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   21621 is in your PATH or set the PKG_CONFIG environment variable to the full
   21622 path to pkg-config.
   21623 
   21624 Alternatively, you may set the environment variables DGA_CFLAGS
   21625 and DGA_LIBS to avoid the need to call pkg-config.
   21626 See the pkg-config man page for more details.
   21627 
   21628 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21629 See \`config.log' for more details" "$LINENO" 5; }
   21630 else
   21631 	DGA_CFLAGS=$pkg_cv_DGA_CFLAGS
   21632 	DGA_LIBS=$pkg_cv_DGA_LIBS
   21633         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21634 $as_echo "yes" >&6; }
   21635 
   21636 fi
   21637 
   21638 $as_echo "#define DGA 1" >>confdefs.h
   21639 
   21640 
   21641 $as_echo "#define XFreeXDGA 1" >>confdefs.h
   21642 
   21643 	fi
   21644 
   21645 	if test "x$XF86VIDMODE" = xauto; then
   21646 
   21647 pkg_failed=no
   21648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VIDMODE" >&5
   21649 $as_echo_n "checking for XF86VIDMODE... " >&6; }
   21650 
   21651 if test -n "$XF86VIDMODE_CFLAGS"; then
   21652     pkg_cv_XF86VIDMODE_CFLAGS="$XF86VIDMODE_CFLAGS"
   21653  elif test -n "$PKG_CONFIG"; then
   21654     if test -n "$PKG_CONFIG" && \
   21655     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$VIDMODEPROTO\""; } >&5
   21656   ($PKG_CONFIG --exists --print-errors "$VIDMODEPROTO") 2>&5
   21657   ac_status=$?
   21658   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21659   test $ac_status = 0; }; then
   21660   pkg_cv_XF86VIDMODE_CFLAGS=`$PKG_CONFIG --cflags "$VIDMODEPROTO" 2>/dev/null`
   21661 		      test "x$?" != "x0" && pkg_failed=yes
   21662 else
   21663   pkg_failed=yes
   21664 fi
   21665  else
   21666     pkg_failed=untried
   21667 fi
   21668 if test -n "$XF86VIDMODE_LIBS"; then
   21669     pkg_cv_XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS"
   21670  elif test -n "$PKG_CONFIG"; then
   21671     if test -n "$PKG_CONFIG" && \
   21672     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$VIDMODEPROTO\""; } >&5
   21673   ($PKG_CONFIG --exists --print-errors "$VIDMODEPROTO") 2>&5
   21674   ac_status=$?
   21675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21676   test $ac_status = 0; }; then
   21677   pkg_cv_XF86VIDMODE_LIBS=`$PKG_CONFIG --libs "$VIDMODEPROTO" 2>/dev/null`
   21678 		      test "x$?" != "x0" && pkg_failed=yes
   21679 else
   21680   pkg_failed=yes
   21681 fi
   21682  else
   21683     pkg_failed=untried
   21684 fi
   21685 
   21686 
   21687 
   21688 if test $pkg_failed = yes; then
   21689    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21690 $as_echo "no" >&6; }
   21691 
   21692 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21693         _pkg_short_errors_supported=yes
   21694 else
   21695         _pkg_short_errors_supported=no
   21696 fi
   21697         if test $_pkg_short_errors_supported = yes; then
   21698 	        XF86VIDMODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$VIDMODEPROTO" 2>&1`
   21699         else
   21700 	        XF86VIDMODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$VIDMODEPROTO" 2>&1`
   21701         fi
   21702 	# Put the nasty error message in config.log where it belongs
   21703 	echo "$XF86VIDMODE_PKG_ERRORS" >&5
   21704 
   21705 	XF86VIDMODE=no
   21706 elif test $pkg_failed = untried; then
   21707      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21708 $as_echo "no" >&6; }
   21709 	XF86VIDMODE=no
   21710 else
   21711 	XF86VIDMODE_CFLAGS=$pkg_cv_XF86VIDMODE_CFLAGS
   21712 	XF86VIDMODE_LIBS=$pkg_cv_XF86VIDMODE_LIBS
   21713         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21714 $as_echo "yes" >&6; }
   21715 	XF86VIDMODE=yes
   21716 fi
   21717 	fi
   21718 	if test "x$XF86VIDMODE" = xyes; then
   21719 		XORG_MODULES="$XORG_MODULES $VIDMODEPROTO"
   21720 
   21721 pkg_failed=no
   21722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VIDMODE" >&5
   21723 $as_echo_n "checking for XF86VIDMODE... " >&6; }
   21724 
   21725 if test -n "$XF86VIDMODE_CFLAGS"; then
   21726     pkg_cv_XF86VIDMODE_CFLAGS="$XF86VIDMODE_CFLAGS"
   21727  elif test -n "$PKG_CONFIG"; then
   21728     if test -n "$PKG_CONFIG" && \
   21729     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$VIDMODEPROTO\""; } >&5
   21730   ($PKG_CONFIG --exists --print-errors "$VIDMODEPROTO") 2>&5
   21731   ac_status=$?
   21732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21733   test $ac_status = 0; }; then
   21734   pkg_cv_XF86VIDMODE_CFLAGS=`$PKG_CONFIG --cflags "$VIDMODEPROTO" 2>/dev/null`
   21735 		      test "x$?" != "x0" && pkg_failed=yes
   21736 else
   21737   pkg_failed=yes
   21738 fi
   21739  else
   21740     pkg_failed=untried
   21741 fi
   21742 if test -n "$XF86VIDMODE_LIBS"; then
   21743     pkg_cv_XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS"
   21744  elif test -n "$PKG_CONFIG"; then
   21745     if test -n "$PKG_CONFIG" && \
   21746     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$VIDMODEPROTO\""; } >&5
   21747   ($PKG_CONFIG --exists --print-errors "$VIDMODEPROTO") 2>&5
   21748   ac_status=$?
   21749   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21750   test $ac_status = 0; }; then
   21751   pkg_cv_XF86VIDMODE_LIBS=`$PKG_CONFIG --libs "$VIDMODEPROTO" 2>/dev/null`
   21752 		      test "x$?" != "x0" && pkg_failed=yes
   21753 else
   21754   pkg_failed=yes
   21755 fi
   21756  else
   21757     pkg_failed=untried
   21758 fi
   21759 
   21760 
   21761 
   21762 if test $pkg_failed = yes; then
   21763    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21764 $as_echo "no" >&6; }
   21765 
   21766 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21767         _pkg_short_errors_supported=yes
   21768 else
   21769         _pkg_short_errors_supported=no
   21770 fi
   21771         if test $_pkg_short_errors_supported = yes; then
   21772 	        XF86VIDMODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$VIDMODEPROTO" 2>&1`
   21773         else
   21774 	        XF86VIDMODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$VIDMODEPROTO" 2>&1`
   21775         fi
   21776 	# Put the nasty error message in config.log where it belongs
   21777 	echo "$XF86VIDMODE_PKG_ERRORS" >&5
   21778 
   21779 	as_fn_error $? "Package requirements ($VIDMODEPROTO) were not met:
   21780 
   21781 $XF86VIDMODE_PKG_ERRORS
   21782 
   21783 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21784 installed software in a non-standard prefix.
   21785 
   21786 Alternatively, you may set the environment variables XF86VIDMODE_CFLAGS
   21787 and XF86VIDMODE_LIBS to avoid the need to call pkg-config.
   21788 See the pkg-config man page for more details." "$LINENO" 5
   21789 elif test $pkg_failed = untried; then
   21790      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21791 $as_echo "no" >&6; }
   21792 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21794 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   21795 is in your PATH or set the PKG_CONFIG environment variable to the full
   21796 path to pkg-config.
   21797 
   21798 Alternatively, you may set the environment variables XF86VIDMODE_CFLAGS
   21799 and XF86VIDMODE_LIBS to avoid the need to call pkg-config.
   21800 See the pkg-config man page for more details.
   21801 
   21802 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21803 See \`config.log' for more details" "$LINENO" 5; }
   21804 else
   21805 	XF86VIDMODE_CFLAGS=$pkg_cv_XF86VIDMODE_CFLAGS
   21806 	XF86VIDMODE_LIBS=$pkg_cv_XF86VIDMODE_LIBS
   21807         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21808 $as_echo "yes" >&6; }
   21809 
   21810 fi
   21811 
   21812 $as_echo "#define XF86VIDMODE 1" >>confdefs.h
   21813 
   21814 	fi
   21815 
   21816 	if test -n "$XORG_MODULES"; then
   21817 
   21818 pkg_failed=no
   21819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG_MODULES" >&5
   21820 $as_echo_n "checking for XORG_MODULES... " >&6; }
   21821 
   21822 if test -n "$XORG_MODULES_CFLAGS"; then
   21823     pkg_cv_XORG_MODULES_CFLAGS="$XORG_MODULES_CFLAGS"
   21824  elif test -n "$PKG_CONFIG"; then
   21825     if test -n "$PKG_CONFIG" && \
   21826     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$XORG_MODULES\""; } >&5
   21827   ($PKG_CONFIG --exists --print-errors "$XORG_MODULES") 2>&5
   21828   ac_status=$?
   21829   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21830   test $ac_status = 0; }; then
   21831   pkg_cv_XORG_MODULES_CFLAGS=`$PKG_CONFIG --cflags "$XORG_MODULES" 2>/dev/null`
   21832 		      test "x$?" != "x0" && pkg_failed=yes
   21833 else
   21834   pkg_failed=yes
   21835 fi
   21836  else
   21837     pkg_failed=untried
   21838 fi
   21839 if test -n "$XORG_MODULES_LIBS"; then
   21840     pkg_cv_XORG_MODULES_LIBS="$XORG_MODULES_LIBS"
   21841  elif test -n "$PKG_CONFIG"; then
   21842     if test -n "$PKG_CONFIG" && \
   21843     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$XORG_MODULES\""; } >&5
   21844   ($PKG_CONFIG --exists --print-errors "$XORG_MODULES") 2>&5
   21845   ac_status=$?
   21846   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21847   test $ac_status = 0; }; then
   21848   pkg_cv_XORG_MODULES_LIBS=`$PKG_CONFIG --libs "$XORG_MODULES" 2>/dev/null`
   21849 		      test "x$?" != "x0" && pkg_failed=yes
   21850 else
   21851   pkg_failed=yes
   21852 fi
   21853  else
   21854     pkg_failed=untried
   21855 fi
   21856 
   21857 
   21858 
   21859 if test $pkg_failed = yes; then
   21860    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21861 $as_echo "no" >&6; }
   21862 
   21863 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21864         _pkg_short_errors_supported=yes
   21865 else
   21866         _pkg_short_errors_supported=no
   21867 fi
   21868         if test $_pkg_short_errors_supported = yes; then
   21869 	        XORG_MODULES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$XORG_MODULES" 2>&1`
   21870         else
   21871 	        XORG_MODULES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$XORG_MODULES" 2>&1`
   21872         fi
   21873 	# Put the nasty error message in config.log where it belongs
   21874 	echo "$XORG_MODULES_PKG_ERRORS" >&5
   21875 
   21876 	as_fn_error $? "Package requirements ($XORG_MODULES) were not met:
   21877 
   21878 $XORG_MODULES_PKG_ERRORS
   21879 
   21880 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21881 installed software in a non-standard prefix.
   21882 
   21883 Alternatively, you may set the environment variables XORG_MODULES_CFLAGS
   21884 and XORG_MODULES_LIBS to avoid the need to call pkg-config.
   21885 See the pkg-config man page for more details." "$LINENO" 5
   21886 elif test $pkg_failed = untried; then
   21887      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21888 $as_echo "no" >&6; }
   21889 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21891 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   21892 is in your PATH or set the PKG_CONFIG environment variable to the full
   21893 path to pkg-config.
   21894 
   21895 Alternatively, you may set the environment variables XORG_MODULES_CFLAGS
   21896 and XORG_MODULES_LIBS to avoid the need to call pkg-config.
   21897 See the pkg-config man page for more details.
   21898 
   21899 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21900 See \`config.log' for more details" "$LINENO" 5; }
   21901 else
   21902 	XORG_MODULES_CFLAGS=$pkg_cv_XORG_MODULES_CFLAGS
   21903 	XORG_MODULES_LIBS=$pkg_cv_XORG_MODULES_LIBS
   21904         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21905 $as_echo "yes" >&6; }
   21906 
   21907 fi
   21908 	        XORG_CFLAGS="$XORG_CFLAGS $XORG_MODULES_CFLAGS"
   21909 	        XORG_SYS_LIBS="$XORG_SYS_LIBS $XORG_MODULES_LIBS"
   21910 	fi
   21911 
   21912 
   21913 
   21914 
   21915 
   21916 
   21917 
   21918 	# Extract the first word of "perl", so it can be a program name with args.
   21919 set dummy perl; ac_word=$2
   21920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21921 $as_echo_n "checking for $ac_word... " >&6; }
   21922 if ${ac_cv_path_PERL+:} false; then :
   21923   $as_echo_n "(cached) " >&6
   21924 else
   21925   case $PERL in
   21926   [\\/]* | ?:[\\/]*)
   21927   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   21928   ;;
   21929   *)
   21930   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21931 for as_dir in $PATH
   21932 do
   21933   IFS=$as_save_IFS
   21934   test -z "$as_dir" && as_dir=.
   21935     for ac_exec_ext in '' $ac_executable_extensions; do
   21936   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21937     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
   21938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   21939     break 2
   21940   fi
   21941 done
   21942   done
   21943 IFS=$as_save_IFS
   21944 
   21945   test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no"
   21946   ;;
   21947 esac
   21948 fi
   21949 PERL=$ac_cv_path_PERL
   21950 if test -n "$PERL"; then
   21951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   21952 $as_echo "$PERL" >&6; }
   21953 else
   21954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21955 $as_echo "no" >&6; }
   21956 fi
   21957 
   21958 
   21959 		if test "x$PERL" = xno; then
   21960 		as_fn_error $? "Perl is required to build the XFree86/Xorg DDX." "$LINENO" 5
   21961 	fi
   21962 
   21963 
   21964 
   21965 
   21966 		XF86CONFIGFILE="xorg.conf"
   21967 	XF86CONFIGDIR="xorg.conf.d"
   21968 
   21969 	CONFIGFILE="$sysconfdir/$XF86CONFIGFILE"
   21970 	LOGPREFIX="$logdir/Xorg."
   21971 
   21972 $as_echo "#define XORG_SERVER 1" >>confdefs.h
   21973 
   21974 
   21975 $as_echo "#define XORGSERVER 1" >>confdefs.h
   21976 
   21977 
   21978 $as_echo "#define XFree86Server 1" >>confdefs.h
   21979 
   21980 
   21981 $as_echo "#define XFree86LOADER 1" >>confdefs.h
   21982 
   21983 
   21984 cat >>confdefs.h <<_ACEOF
   21985 #define XORG_VERSION_CURRENT $VENDOR_RELEASE
   21986 _ACEOF
   21987 
   21988 
   21989 $as_echo "#define NEED_XF86_TYPES 1" >>confdefs.h
   21990 
   21991 
   21992 $as_echo "#define NEED_XF86_PROTOTYPES 1" >>confdefs.h
   21993 
   21994 
   21995 $as_echo "#define __XSERVERNAME__ \"Xorg\"" >>confdefs.h
   21996 
   21997 
   21998   prefix_NONE=
   21999   exec_prefix_NONE=
   22000   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   22001   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   22002   eval ac_define_dir="\"$XF86CONFIGFILE\""
   22003   eval ac_define_dir="\"$ac_define_dir\""
   22004   __XCONFIGFILE__="$ac_define_dir"
   22005 
   22006 
   22007 cat >>confdefs.h <<_ACEOF
   22008 #define __XCONFIGFILE__ "$ac_define_dir"
   22009 _ACEOF
   22010 
   22011   test "$prefix_NONE" && prefix=NONE
   22012   test "$exec_prefix_NONE" && exec_prefix=NONE
   22013 
   22014 
   22015   prefix_NONE=
   22016   exec_prefix_NONE=
   22017   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   22018   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   22019   eval ac_define_dir="\"$XF86CONFIGFILE\""
   22020   eval ac_define_dir="\"$ac_define_dir\""
   22021   XF86CONFIGFILE="$ac_define_dir"
   22022 
   22023 
   22024 cat >>confdefs.h <<_ACEOF
   22025 #define XF86CONFIGFILE "$ac_define_dir"
   22026 _ACEOF
   22027 
   22028   test "$prefix_NONE" && prefix=NONE
   22029   test "$exec_prefix_NONE" && exec_prefix=NONE
   22030 
   22031 
   22032   prefix_NONE=
   22033   exec_prefix_NONE=
   22034   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   22035   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   22036   eval ac_define_dir="\"$XF86CONFIGDIR\""
   22037   eval ac_define_dir="\"$ac_define_dir\""
   22038   __XCONFIGDIR__="$ac_define_dir"
   22039 
   22040 
   22041 cat >>confdefs.h <<_ACEOF
   22042 #define __XCONFIGDIR__ "$ac_define_dir"
   22043 _ACEOF
   22044 
   22045   test "$prefix_NONE" && prefix=NONE
   22046   test "$exec_prefix_NONE" && exec_prefix=NONE
   22047 
   22048 
   22049   prefix_NONE=
   22050   exec_prefix_NONE=
   22051   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   22052   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   22053   eval ac_define_dir="\"$moduledir\""
   22054   eval ac_define_dir="\"$ac_define_dir\""
   22055   DEFAULT_MODULE_PATH="$ac_define_dir"
   22056 
   22057 
   22058 cat >>confdefs.h <<_ACEOF
   22059 #define DEFAULT_MODULE_PATH "$ac_define_dir"
   22060 _ACEOF
   22061 
   22062   test "$prefix_NONE" && prefix=NONE
   22063   test "$exec_prefix_NONE" && exec_prefix=NONE
   22064 
   22065 
   22066   prefix_NONE=
   22067   exec_prefix_NONE=
   22068   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   22069   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   22070   eval ac_define_dir="\"$libdir\""
   22071   eval ac_define_dir="\"$ac_define_dir\""
   22072   DEFAULT_LIBRARY_PATH="$ac_define_dir"
   22073 
   22074 
   22075 cat >>confdefs.h <<_ACEOF
   22076 #define DEFAULT_LIBRARY_PATH "$ac_define_dir"
   22077 _ACEOF
   22078 
   22079   test "$prefix_NONE" && prefix=NONE
   22080   test "$exec_prefix_NONE" && exec_prefix=NONE
   22081 
   22082 
   22083   prefix_NONE=
   22084   exec_prefix_NONE=
   22085   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   22086   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   22087   eval ac_define_dir="\"$LOGPREFIX\""
   22088   eval ac_define_dir="\"$ac_define_dir\""
   22089   DEFAULT_LOGPREFIX="$ac_define_dir"
   22090 
   22091 
   22092 cat >>confdefs.h <<_ACEOF
   22093 #define DEFAULT_LOGPREFIX "$ac_define_dir"
   22094 _ACEOF
   22095 
   22096   test "$prefix_NONE" && prefix=NONE
   22097   test "$exec_prefix_NONE" && exec_prefix=NONE
   22098 
   22099 
   22100 cat >>confdefs.h <<_ACEOF
   22101 #define __VENDORDWEBSUPPORT__ "$VENDOR_WEB"
   22102 _ACEOF
   22103 
   22104 
   22105 $as_echo "#define XSERVER_LIBPCIACCESS 1" >>confdefs.h
   22106 
   22107 	if test "x$VGAHW" = xyes; then
   22108 
   22109 $as_echo "#define WITH_VGAHW 1" >>confdefs.h
   22110 
   22111 	fi
   22112 
   22113 	driverdir="$moduledir/drivers"
   22114 
   22115 
   22116 	sdkdir="$includedir/xorg"
   22117 	extdir="$includedir/X11/extensions"
   22118 	sysconfigdir="$datadir/X11/$XF86CONFIGDIR"
   22119 
   22120 
   22121 
   22122 
   22123 
   22124 	# stuff the ABI versions into the pc file too
   22125 	extract_abi() {
   22126 	    grep ^.define.*${1}_VERSION ${srcdir}/hw/xfree86/common/xf86Module.h | tr '(),' '  .' | awk '{ print $4$5 }'
   22127 	}
   22128 	abi_ansic=`extract_abi ANSIC`
   22129 	abi_videodrv=`extract_abi VIDEODRV`
   22130 	abi_xinput=`extract_abi XINPUT`
   22131 	abi_extension=`extract_abi EXTENSION`
   22132 
   22133 
   22134 
   22135 
   22136 fi
   22137  if test "x$XORG" = xyes; then
   22138   XORG_TRUE=
   22139   XORG_FALSE='#'
   22140 else
   22141   XORG_TRUE='#'
   22142   XORG_FALSE=
   22143 fi
   22144 
   22145  if test "x$xorg_bus_linuxpci" = xyes; then
   22146   XORG_BUS_LINUXPCI_TRUE=
   22147   XORG_BUS_LINUXPCI_FALSE='#'
   22148 else
   22149   XORG_BUS_LINUXPCI_TRUE='#'
   22150   XORG_BUS_LINUXPCI_FALSE=
   22151 fi
   22152 
   22153  if test "x$xorg_bus_bsdpci" = xyes; then
   22154   XORG_BUS_BSDPCI_TRUE=
   22155   XORG_BUS_BSDPCI_FALSE='#'
   22156 else
   22157   XORG_BUS_BSDPCI_TRUE='#'
   22158   XORG_BUS_BSDPCI_FALSE=
   22159 fi
   22160 
   22161  if test "x$xorg_bus_sparc" = xyes; then
   22162   XORG_BUS_SPARC_TRUE=
   22163   XORG_BUS_SPARC_FALSE='#'
   22164 else
   22165   XORG_BUS_SPARC_TRUE='#'
   22166   XORG_BUS_SPARC_FALSE=
   22167 fi
   22168 
   22169  if test "x$linux_ia64" = xyes; then
   22170   LINUX_IA64_TRUE=
   22171   LINUX_IA64_FALSE='#'
   22172 else
   22173   LINUX_IA64_TRUE='#'
   22174   LINUX_IA64_FALSE=
   22175 fi
   22176 
   22177  if test "x$linux_alpha" = xyes; then
   22178   LINUX_ALPHA_TRUE=
   22179   LINUX_ALPHA_FALSE='#'
   22180 else
   22181   LINUX_ALPHA_TRUE='#'
   22182   LINUX_ALPHA_FALSE=
   22183 fi
   22184 
   22185  if test "x$linux_acpi" = xyes; then
   22186   LNXACPI_TRUE=
   22187   LNXACPI_FALSE='#'
   22188 else
   22189   LNXACPI_TRUE='#'
   22190   LNXACPI_FALSE=
   22191 fi
   22192 
   22193  if test "x$solaris_asm_inline" = xyes; then
   22194   SOLARIS_ASM_INLINE_TRUE=
   22195   SOLARIS_ASM_INLINE_FALSE='#'
   22196 else
   22197   SOLARIS_ASM_INLINE_TRUE='#'
   22198   SOLARIS_ASM_INLINE_FALSE=
   22199 fi
   22200 
   22201  if test "x$solaris_vt" = xyes; then
   22202   SOLARIS_VT_TRUE=
   22203   SOLARIS_VT_FALSE='#'
   22204 else
   22205   SOLARIS_VT_TRUE='#'
   22206   SOLARIS_VT_FALSE=
   22207 fi
   22208 
   22209  if test "x$DGA" = xyes; then
   22210   DGA_TRUE=
   22211   DGA_FALSE='#'
   22212 else
   22213   DGA_TRUE='#'
   22214   DGA_FALSE=
   22215 fi
   22216 
   22217  if test "x$XF86VIDMODE" = xyes; then
   22218   XF86VIDMODE_TRUE=
   22219   XF86VIDMODE_FALSE='#'
   22220 else
   22221   XF86VIDMODE_TRUE='#'
   22222   XF86VIDMODE_FALSE=
   22223 fi
   22224 
   22225 
   22226 
   22227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build XWin DDX" >&5
   22228 $as_echo_n "checking whether to build XWin DDX... " >&6; }
   22229 if test "x$XWIN" = xauto; then
   22230 	case $host_os in
   22231 		cygwin*) XWIN="yes" ;;
   22232 		mingw*) XWIN="yes" ;;
   22233 		*) XWIN="no" ;;
   22234 	esac
   22235 fi
   22236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XWIN" >&5
   22237 $as_echo "$XWIN" >&6; }
   22238 
   22239 if test "x$XWIN" = xyes; then
   22240 
   22241   prefix_NONE=
   22242   exec_prefix_NONE=
   22243   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   22244   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   22245   eval ac_define_dir="\"$sysconfdir\""
   22246   eval ac_define_dir="\"$ac_define_dir\""
   22247   SYSCONFDIR="$ac_define_dir"
   22248 
   22249 
   22250 cat >>confdefs.h <<_ACEOF
   22251 #define SYSCONFDIR "$ac_define_dir"
   22252 _ACEOF
   22253 
   22254   test "$prefix_NONE" && prefix=NONE
   22255   test "$exec_prefix_NONE" && exec_prefix=NONE
   22256 
   22257 
   22258   prefix_NONE=
   22259   exec_prefix_NONE=
   22260   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   22261   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   22262   eval ac_define_dir="\"$logdir\""
   22263   eval ac_define_dir="\"$ac_define_dir\""
   22264   DEFAULT_LOGDIR="$ac_define_dir"
   22265 
   22266 
   22267 cat >>confdefs.h <<_ACEOF
   22268 #define DEFAULT_LOGDIR "$ac_define_dir"
   22269 _ACEOF
   22270 
   22271   test "$prefix_NONE" && prefix=NONE
   22272   test "$exec_prefix_NONE" && exec_prefix=NONE
   22273 
   22274 
   22275 cat >>confdefs.h <<_ACEOF
   22276 #define XORG_VERSION_CURRENT $VENDOR_RELEASE
   22277 _ACEOF
   22278 
   22279 
   22280 cat >>confdefs.h <<_ACEOF
   22281 #define __VENDORDWEBSUPPORT__ "$VENDOR_WEB"
   22282 _ACEOF
   22283 
   22284 	if test -n "$ac_tool_prefix"; then
   22285   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
   22286 set dummy ${ac_tool_prefix}windres; ac_word=$2
   22287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22288 $as_echo_n "checking for $ac_word... " >&6; }
   22289 if ${ac_cv_prog_WINDRES+:} false; then :
   22290   $as_echo_n "(cached) " >&6
   22291 else
   22292   if test -n "$WINDRES"; then
   22293   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
   22294 else
   22295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22296 for as_dir in $PATH
   22297 do
   22298   IFS=$as_save_IFS
   22299   test -z "$as_dir" && as_dir=.
   22300     for ac_exec_ext in '' $ac_executable_extensions; do
   22301   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   22302     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
   22303     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   22304     break 2
   22305   fi
   22306 done
   22307   done
   22308 IFS=$as_save_IFS
   22309 
   22310 fi
   22311 fi
   22312 WINDRES=$ac_cv_prog_WINDRES
   22313 if test -n "$WINDRES"; then
   22314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
   22315 $as_echo "$WINDRES" >&6; }
   22316 else
   22317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22318 $as_echo "no" >&6; }
   22319 fi
   22320 
   22321 
   22322 fi
   22323 if test -z "$ac_cv_prog_WINDRES"; then
   22324   ac_ct_WINDRES=$WINDRES
   22325   # Extract the first word of "windres", so it can be a program name with args.
   22326 set dummy windres; ac_word=$2
   22327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22328 $as_echo_n "checking for $ac_word... " >&6; }
   22329 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
   22330   $as_echo_n "(cached) " >&6
   22331 else
   22332   if test -n "$ac_ct_WINDRES"; then
   22333   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
   22334 else
   22335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22336 for as_dir in $PATH
   22337 do
   22338   IFS=$as_save_IFS
   22339   test -z "$as_dir" && as_dir=.
   22340     for ac_exec_ext in '' $ac_executable_extensions; do
   22341   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   22342     ac_cv_prog_ac_ct_WINDRES="windres"
   22343     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   22344     break 2
   22345   fi
   22346 done
   22347   done
   22348 IFS=$as_save_IFS
   22349 
   22350 fi
   22351 fi
   22352 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
   22353 if test -n "$ac_ct_WINDRES"; then
   22354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
   22355 $as_echo "$ac_ct_WINDRES" >&6; }
   22356 else
   22357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22358 $as_echo "no" >&6; }
   22359 fi
   22360 
   22361   if test "x$ac_ct_WINDRES" = x; then
   22362     WINDRES=""
   22363   else
   22364     case $cross_compiling:$ac_tool_warned in
   22365 yes:)
   22366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   22367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   22368 ac_tool_warned=yes ;;
   22369 esac
   22370     WINDRES=$ac_ct_WINDRES
   22371   fi
   22372 else
   22373   WINDRES="$ac_cv_prog_WINDRES"
   22374 fi
   22375 
   22376 
   22377 
   22378 pkg_failed=no
   22379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XWINMODULES" >&5
   22380 $as_echo_n "checking for XWINMODULES... " >&6; }
   22381 
   22382 if test -n "$XWINMODULES_CFLAGS"; then
   22383     pkg_cv_XWINMODULES_CFLAGS="$XWINMODULES_CFLAGS"
   22384  elif test -n "$PKG_CONFIG"; then
   22385     if test -n "$PKG_CONFIG" && \
   22386     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xdmcp xau\""; } >&5
   22387   ($PKG_CONFIG --exists --print-errors "x11 xdmcp xau") 2>&5
   22388   ac_status=$?
   22389   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22390   test $ac_status = 0; }; then
   22391   pkg_cv_XWINMODULES_CFLAGS=`$PKG_CONFIG --cflags "x11 xdmcp xau" 2>/dev/null`
   22392 		      test "x$?" != "x0" && pkg_failed=yes
   22393 else
   22394   pkg_failed=yes
   22395 fi
   22396  else
   22397     pkg_failed=untried
   22398 fi
   22399 if test -n "$XWINMODULES_LIBS"; then
   22400     pkg_cv_XWINMODULES_LIBS="$XWINMODULES_LIBS"
   22401  elif test -n "$PKG_CONFIG"; then
   22402     if test -n "$PKG_CONFIG" && \
   22403     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xdmcp xau\""; } >&5
   22404   ($PKG_CONFIG --exists --print-errors "x11 xdmcp xau") 2>&5
   22405   ac_status=$?
   22406   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22407   test $ac_status = 0; }; then
   22408   pkg_cv_XWINMODULES_LIBS=`$PKG_CONFIG --libs "x11 xdmcp xau" 2>/dev/null`
   22409 		      test "x$?" != "x0" && pkg_failed=yes
   22410 else
   22411   pkg_failed=yes
   22412 fi
   22413  else
   22414     pkg_failed=untried
   22415 fi
   22416 
   22417 
   22418 
   22419 if test $pkg_failed = yes; then
   22420    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22421 $as_echo "no" >&6; }
   22422 
   22423 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22424         _pkg_short_errors_supported=yes
   22425 else
   22426         _pkg_short_errors_supported=no
   22427 fi
   22428         if test $_pkg_short_errors_supported = yes; then
   22429 	        XWINMODULES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xdmcp xau" 2>&1`
   22430         else
   22431 	        XWINMODULES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xdmcp xau" 2>&1`
   22432         fi
   22433 	# Put the nasty error message in config.log where it belongs
   22434 	echo "$XWINMODULES_PKG_ERRORS" >&5
   22435 
   22436 	as_fn_error $? "Package requirements (x11 xdmcp xau) were not met:
   22437 
   22438 $XWINMODULES_PKG_ERRORS
   22439 
   22440 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   22441 installed software in a non-standard prefix.
   22442 
   22443 Alternatively, you may set the environment variables XWINMODULES_CFLAGS
   22444 and XWINMODULES_LIBS to avoid the need to call pkg-config.
   22445 See the pkg-config man page for more details." "$LINENO" 5
   22446 elif test $pkg_failed = untried; then
   22447      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22448 $as_echo "no" >&6; }
   22449 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   22450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   22451 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   22452 is in your PATH or set the PKG_CONFIG environment variable to the full
   22453 path to pkg-config.
   22454 
   22455 Alternatively, you may set the environment variables XWINMODULES_CFLAGS
   22456 and XWINMODULES_LIBS to avoid the need to call pkg-config.
   22457 See the pkg-config man page for more details.
   22458 
   22459 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   22460 See \`config.log' for more details" "$LINENO" 5; }
   22461 else
   22462 	XWINMODULES_CFLAGS=$pkg_cv_XWINMODULES_CFLAGS
   22463 	XWINMODULES_LIBS=$pkg_cv_XWINMODULES_LIBS
   22464         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22465 $as_echo "yes" >&6; }
   22466 
   22467 fi
   22468 
   22469 	if test "x$WINDOWSWM" = xauto; then
   22470 		if test -n "$PKG_CONFIG" && \
   22471     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$WINDOWSWMPROTO\""; } >&5
   22472   ($PKG_CONFIG --exists --print-errors "$WINDOWSWMPROTO") 2>&5
   22473   ac_status=$?
   22474   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22475   test $ac_status = 0; }; then
   22476   WINDOWSWM=yes
   22477 else
   22478   WINDOWSWM=no
   22479 fi
   22480 	fi
   22481 	if test "x$WINDOWSWM" = xyes ; then
   22482 
   22483 pkg_failed=no
   22484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WINDOWSWM" >&5
   22485 $as_echo_n "checking for WINDOWSWM... " >&6; }
   22486 
   22487 if test -n "$WINDOWSWM_CFLAGS"; then
   22488     pkg_cv_WINDOWSWM_CFLAGS="$WINDOWSWM_CFLAGS"
   22489  elif test -n "$PKG_CONFIG"; then
   22490     if test -n "$PKG_CONFIG" && \
   22491     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$WINDOWSWMPROTO\""; } >&5
   22492   ($PKG_CONFIG --exists --print-errors "$WINDOWSWMPROTO") 2>&5
   22493   ac_status=$?
   22494   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22495   test $ac_status = 0; }; then
   22496   pkg_cv_WINDOWSWM_CFLAGS=`$PKG_CONFIG --cflags "$WINDOWSWMPROTO" 2>/dev/null`
   22497 		      test "x$?" != "x0" && pkg_failed=yes
   22498 else
   22499   pkg_failed=yes
   22500 fi
   22501  else
   22502     pkg_failed=untried
   22503 fi
   22504 if test -n "$WINDOWSWM_LIBS"; then
   22505     pkg_cv_WINDOWSWM_LIBS="$WINDOWSWM_LIBS"
   22506  elif test -n "$PKG_CONFIG"; then
   22507     if test -n "$PKG_CONFIG" && \
   22508     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$WINDOWSWMPROTO\""; } >&5
   22509   ($PKG_CONFIG --exists --print-errors "$WINDOWSWMPROTO") 2>&5
   22510   ac_status=$?
   22511   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22512   test $ac_status = 0; }; then
   22513   pkg_cv_WINDOWSWM_LIBS=`$PKG_CONFIG --libs "$WINDOWSWMPROTO" 2>/dev/null`
   22514 		      test "x$?" != "x0" && pkg_failed=yes
   22515 else
   22516   pkg_failed=yes
   22517 fi
   22518  else
   22519     pkg_failed=untried
   22520 fi
   22521 
   22522 
   22523 
   22524 if test $pkg_failed = yes; then
   22525    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22526 $as_echo "no" >&6; }
   22527 
   22528 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22529         _pkg_short_errors_supported=yes
   22530 else
   22531         _pkg_short_errors_supported=no
   22532 fi
   22533         if test $_pkg_short_errors_supported = yes; then
   22534 	        WINDOWSWM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$WINDOWSWMPROTO" 2>&1`
   22535         else
   22536 	        WINDOWSWM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$WINDOWSWMPROTO" 2>&1`
   22537         fi
   22538 	# Put the nasty error message in config.log where it belongs
   22539 	echo "$WINDOWSWM_PKG_ERRORS" >&5
   22540 
   22541 	as_fn_error $? "Package requirements ($WINDOWSWMPROTO) were not met:
   22542 
   22543 $WINDOWSWM_PKG_ERRORS
   22544 
   22545 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   22546 installed software in a non-standard prefix.
   22547 
   22548 Alternatively, you may set the environment variables WINDOWSWM_CFLAGS
   22549 and WINDOWSWM_LIBS to avoid the need to call pkg-config.
   22550 See the pkg-config man page for more details." "$LINENO" 5
   22551 elif test $pkg_failed = untried; then
   22552      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22553 $as_echo "no" >&6; }
   22554 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   22555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   22556 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   22557 is in your PATH or set the PKG_CONFIG environment variable to the full
   22558 path to pkg-config.
   22559 
   22560 Alternatively, you may set the environment variables WINDOWSWM_CFLAGS
   22561 and WINDOWSWM_LIBS to avoid the need to call pkg-config.
   22562 See the pkg-config man page for more details.
   22563 
   22564 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   22565 See \`config.log' for more details" "$LINENO" 5; }
   22566 else
   22567 	WINDOWSWM_CFLAGS=$pkg_cv_WINDOWSWM_CFLAGS
   22568 	WINDOWSWM_LIBS=$pkg_cv_WINDOWSWM_LIBS
   22569         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22570 $as_echo "yes" >&6; }
   22571 
   22572 fi
   22573 		XWINMODULES_CFLAGS="$XWINMODULES_CFLAGS $WINDOWSWM_CFLAGS"
   22574 
   22575 $as_echo "#define ROOTLESS 1" >>confdefs.h
   22576 
   22577 	fi
   22578 
   22579 	case $host_os in
   22580 		cygwin*)
   22581 			XWIN_SERVER_NAME=XWin
   22582 
   22583 $as_echo "#define HAS_DEVWINDOWS 1" >>confdefs.h
   22584 
   22585 			;;
   22586 		mingw*)
   22587 			XWIN_SERVER_NAME=Xming
   22588 
   22589 $as_echo "#define RELOCATE_PROJECTROOT 1" >>confdefs.h
   22590 
   22591 
   22592 $as_echo "#define HAS_WINSOCK 1" >>confdefs.h
   22593 
   22594 			XWIN_SYS_LIBS=-lwinsock2
   22595 			;;
   22596 	esac
   22597 	XWIN_LIBS="$FB_LIB $MI_LIB $FIXES_LIB $XEXT_LIB $RANDR_LIB $RENDER_LIB $DBE_LIB $RECORD_LIB $GLX_LIBS $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $DAMAGE_LIB $MIEXT_SYNC_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $OS_LIB"
   22598 	XWIN_SYS_LIBS="$XWIN_SYS_LIBS $XWINMODULES_LIBS"
   22599 
   22600 
   22601 
   22602 
   22603 	if test "x$DEBUGGING" = xyes; then
   22604 
   22605 $as_echo "#define CYGDEBUG 1" >>confdefs.h
   22606 
   22607 
   22608 $as_echo "#define CYGWINDOWING_DEBUG 1" >>confdefs.h
   22609 
   22610 
   22611 $as_echo "#define CYGMULTIWINDOW_DEBUG 1" >>confdefs.h
   22612 
   22613 	fi
   22614 
   22615 
   22616 $as_echo "#define DDXOSVERRORF 1" >>confdefs.h
   22617 
   22618 
   22619 $as_echo "#define DDXBEFORERESET 1" >>confdefs.h
   22620 
   22621 fi
   22622  if test "x$XWIN" = xyes; then
   22623   XWIN_TRUE=
   22624   XWIN_FALSE='#'
   22625 else
   22626   XWIN_TRUE='#'
   22627   XWIN_FALSE=
   22628 fi
   22629 
   22630  if test "x$XWIN" = xyes; then
   22631   XWIN_MULTIWINDOW_TRUE=
   22632   XWIN_MULTIWINDOW_FALSE='#'
   22633 else
   22634   XWIN_MULTIWINDOW_TRUE='#'
   22635   XWIN_MULTIWINDOW_FALSE=
   22636 fi
   22637 
   22638  if test "x$XWIN" = xyes && test "x$WINDOWSWM" = xyes; then
   22639   XWIN_MULTIWINDOWEXTWM_TRUE=
   22640   XWIN_MULTIWINDOWEXTWM_FALSE='#'
   22641 else
   22642   XWIN_MULTIWINDOWEXTWM_TRUE='#'
   22643   XWIN_MULTIWINDOWEXTWM_FALSE=
   22644 fi
   22645 
   22646  if test "x$XWIN" = xyes; then
   22647   XWIN_CLIPBOARD_TRUE=
   22648   XWIN_CLIPBOARD_FALSE='#'
   22649 else
   22650   XWIN_CLIPBOARD_TRUE='#'
   22651   XWIN_CLIPBOARD_FALSE=
   22652 fi
   22653 
   22654  if test "x$XWIN" = xyes && false; then
   22655   XWIN_GLX_WINDOWS_TRUE=
   22656   XWIN_GLX_WINDOWS_FALSE='#'
   22657 else
   22658   XWIN_GLX_WINDOWS_TRUE='#'
   22659   XWIN_GLX_WINDOWS_FALSE=
   22660 fi
   22661 
   22662  if test "x$XWIN" = xyes; then
   22663   XWIN_NATIVEGDI_TRUE=
   22664   XWIN_NATIVEGDI_FALSE='#'
   22665 else
   22666   XWIN_NATIVEGDI_TRUE='#'
   22667   XWIN_NATIVEGDI_FALSE=
   22668 fi
   22669 
   22670  if test "x$XWIN" = xyes; then
   22671   XWIN_PRIMARYFB_TRUE=
   22672   XWIN_PRIMARYFB_FALSE='#'
   22673 else
   22674   XWIN_PRIMARYFB_TRUE='#'
   22675   XWIN_PRIMARYFB_FALSE=
   22676 fi
   22677 
   22678  if test "x$XWIN" = xyes; then
   22679   XWIN_RANDR_TRUE=
   22680   XWIN_RANDR_FALSE='#'
   22681 else
   22682   XWIN_RANDR_TRUE='#'
   22683   XWIN_RANDR_FALSE=
   22684 fi
   22685 
   22686  if test "x$XWIN" = xyes && test "x$XV" = xyes; then
   22687   XWIN_XV_TRUE=
   22688   XWIN_XV_FALSE='#'
   22689 else
   22690   XWIN_XV_TRUE='#'
   22691   XWIN_XV_FALSE=
   22692 fi
   22693 
   22694 
   22695 if test "x$XQUARTZ" = xyes; then
   22696 
   22697 $as_echo "#define XQUARTZ 1" >>confdefs.h
   22698 
   22699 
   22700 $as_echo "#define ROOTLESS 1" >>confdefs.h
   22701 
   22702 
   22703 	DARWIN_LIBS="$MI_LIB $OS_LIB $DIX_LIB $MAIN_LIB $FB_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $RECORD_LIB $RANDR_LIB $RENDER_LIB $DAMAGE_LIB $MIEXT_SYNC_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $XPSTUBS_LIB"
   22704 
   22705 
   22706 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xp_init in -lXplugin" >&5
   22707 $as_echo_n "checking for xp_init in -lXplugin... " >&6; }
   22708 if ${ac_cv_lib_Xplugin_xp_init+:} false; then :
   22709   $as_echo_n "(cached) " >&6
   22710 else
   22711   ac_check_lib_save_LIBS=$LIBS
   22712 LIBS="-lXplugin  $LIBS"
   22713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22714 /* end confdefs.h.  */
   22715 
   22716 /* Override any GCC internal prototype to avoid an error.
   22717    Use char because int might match the return type of a GCC
   22718    builtin and then its argument prototype would still apply.  */
   22719 #ifdef __cplusplus
   22720 extern "C"
   22721 #endif
   22722 char xp_init ();
   22723 int
   22724 main ()
   22725 {
   22726 return xp_init ();
   22727   ;
   22728   return 0;
   22729 }
   22730 _ACEOF
   22731 if ac_fn_c_try_link "$LINENO"; then :
   22732   ac_cv_lib_Xplugin_xp_init=yes
   22733 else
   22734   ac_cv_lib_Xplugin_xp_init=no
   22735 fi
   22736 rm -f core conftest.err conftest.$ac_objext \
   22737     conftest$ac_exeext conftest.$ac_ext
   22738 LIBS=$ac_check_lib_save_LIBS
   22739 fi
   22740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xplugin_xp_init" >&5
   22741 $as_echo "$ac_cv_lib_Xplugin_xp_init" >&6; }
   22742 if test "x$ac_cv_lib_Xplugin_xp_init" = xyes; then :
   22743   :
   22744 fi
   22745 
   22746 
   22747 	CFLAGS="${CFLAGS} -DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA -DNO_ALLOCA"
   22748 
   22749 
   22750 pkg_failed=no
   22751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XPBPROXY" >&5
   22752 $as_echo_n "checking for XPBPROXY... " >&6; }
   22753 
   22754 if test -n "$XPBPROXY_CFLAGS"; then
   22755     pkg_cv_XPBPROXY_CFLAGS="$XPBPROXY_CFLAGS"
   22756  elif test -n "$PKG_CONFIG"; then
   22757     if test -n "$PKG_CONFIG" && \
   22758     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$APPLEWMPROTO \$LIBAPPLEWM xfixes x11\""; } >&5
   22759   ($PKG_CONFIG --exists --print-errors "$APPLEWMPROTO $LIBAPPLEWM xfixes x11") 2>&5
   22760   ac_status=$?
   22761   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22762   test $ac_status = 0; }; then
   22763   pkg_cv_XPBPROXY_CFLAGS=`$PKG_CONFIG --cflags "$APPLEWMPROTO $LIBAPPLEWM xfixes x11" 2>/dev/null`
   22764 		      test "x$?" != "x0" && pkg_failed=yes
   22765 else
   22766   pkg_failed=yes
   22767 fi
   22768  else
   22769     pkg_failed=untried
   22770 fi
   22771 if test -n "$XPBPROXY_LIBS"; then
   22772     pkg_cv_XPBPROXY_LIBS="$XPBPROXY_LIBS"
   22773  elif test -n "$PKG_CONFIG"; then
   22774     if test -n "$PKG_CONFIG" && \
   22775     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$APPLEWMPROTO \$LIBAPPLEWM xfixes x11\""; } >&5
   22776   ($PKG_CONFIG --exists --print-errors "$APPLEWMPROTO $LIBAPPLEWM xfixes x11") 2>&5
   22777   ac_status=$?
   22778   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22779   test $ac_status = 0; }; then
   22780   pkg_cv_XPBPROXY_LIBS=`$PKG_CONFIG --libs "$APPLEWMPROTO $LIBAPPLEWM xfixes x11" 2>/dev/null`
   22781 		      test "x$?" != "x0" && pkg_failed=yes
   22782 else
   22783   pkg_failed=yes
   22784 fi
   22785  else
   22786     pkg_failed=untried
   22787 fi
   22788 
   22789 
   22790 
   22791 if test $pkg_failed = yes; then
   22792    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22793 $as_echo "no" >&6; }
   22794 
   22795 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22796         _pkg_short_errors_supported=yes
   22797 else
   22798         _pkg_short_errors_supported=no
   22799 fi
   22800         if test $_pkg_short_errors_supported = yes; then
   22801 	        XPBPROXY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$APPLEWMPROTO $LIBAPPLEWM xfixes x11" 2>&1`
   22802         else
   22803 	        XPBPROXY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$APPLEWMPROTO $LIBAPPLEWM xfixes x11" 2>&1`
   22804         fi
   22805 	# Put the nasty error message in config.log where it belongs
   22806 	echo "$XPBPROXY_PKG_ERRORS" >&5
   22807 
   22808 	as_fn_error $? "Package requirements ($APPLEWMPROTO $LIBAPPLEWM xfixes x11) were not met:
   22809 
   22810 $XPBPROXY_PKG_ERRORS
   22811 
   22812 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   22813 installed software in a non-standard prefix.
   22814 
   22815 Alternatively, you may set the environment variables XPBPROXY_CFLAGS
   22816 and XPBPROXY_LIBS to avoid the need to call pkg-config.
   22817 See the pkg-config man page for more details." "$LINENO" 5
   22818 elif test $pkg_failed = untried; then
   22819      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22820 $as_echo "no" >&6; }
   22821 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   22822 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   22823 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   22824 is in your PATH or set the PKG_CONFIG environment variable to the full
   22825 path to pkg-config.
   22826 
   22827 Alternatively, you may set the environment variables XPBPROXY_CFLAGS
   22828 and XPBPROXY_LIBS to avoid the need to call pkg-config.
   22829 See the pkg-config man page for more details.
   22830 
   22831 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   22832 See \`config.log' for more details" "$LINENO" 5; }
   22833 else
   22834 	XPBPROXY_CFLAGS=$pkg_cv_XPBPROXY_CFLAGS
   22835 	XPBPROXY_LIBS=$pkg_cv_XPBPROXY_LIBS
   22836         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22837 $as_echo "yes" >&6; }
   22838 
   22839 fi
   22840 
   22841         if test "x$XQUARTZ_SPARKLE" = xyes ; then
   22842 
   22843 $as_echo "#define XQUARTZ_SPARKLE 1" >>confdefs.h
   22844 
   22845         fi
   22846 
   22847 	if test "x$STANDALONE_XPBPROXY" = xyes ; then
   22848 
   22849 $as_echo "#define STANDALONE_XPBPROXY 1" >>confdefs.h
   22850 
   22851 	fi
   22852 fi
   22853 
   22854 # Support for objc in autotools is minimal and not documented.
   22855 OBJC='$(CC)'
   22856 OBJCLD='$(CCLD)'
   22857 OBJCLINK='$(LINK)'
   22858 OBJCFLAGS='$(CFLAGS)'
   22859 
   22860 
   22861 
   22862 
   22863 # internal, undocumented automake func follows :(
   22864 
   22865 depcc="$OBJC" am_compiler_list='gcc3 gcc'
   22866 
   22867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   22868 $as_echo_n "checking dependency style of $depcc... " >&6; }
   22869 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
   22870   $as_echo_n "(cached) " >&6
   22871 else
   22872   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   22873   # We make a subdir and do the tests there.  Otherwise we can end up
   22874   # making bogus files that we don't know about and never remove.  For
   22875   # instance it was reported that on HP-UX the gcc test will end up
   22876   # making a dummy file named `D' -- because `-MD' means `put the output
   22877   # in D'.
   22878   mkdir conftest.dir
   22879   # Copy depcomp to subdir because otherwise we won't find it if we're
   22880   # using a relative directory.
   22881   cp "$am_depcomp" conftest.dir
   22882   cd conftest.dir
   22883   # We will build objects and dependencies in a subdirectory because
   22884   # it helps to detect inapplicable dependency modes.  For instance
   22885   # both Tru64's cc and ICC support -MD to output dependencies as a
   22886   # side effect of compilation, but ICC will put the dependencies in
   22887   # the current directory while Tru64 will put them in the object
   22888   # directory.
   22889   mkdir sub
   22890 
   22891   am_cv_OBJC_dependencies_compiler_type=none
   22892   if test "$am_compiler_list" = ""; then
   22893      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   22894   fi
   22895   am__universal=false
   22896 
   22897 
   22898   for depmode in $am_compiler_list; do
   22899     # Setup a source with many dependencies, because some compilers
   22900     # like to wrap large dependency lists on column 80 (with \), and
   22901     # we should not choose a depcomp mode which is confused by this.
   22902     #
   22903     # We need to recreate these files for each test, as the compiler may
   22904     # overwrite some of them when testing with obscure command lines.
   22905     # This happens at least with the AIX C compiler.
   22906     : > sub/conftest.c
   22907     for i in 1 2 3 4 5 6; do
   22908       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   22909       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   22910       # Solaris 8's {/usr,}/bin/sh.
   22911       touch sub/conftst$i.h
   22912     done
   22913     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   22914 
   22915     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   22916     # mode.  It turns out that the SunPro C++ compiler does not properly
   22917     # handle `-M -o', and we need to detect this.  Also, some Intel
   22918     # versions had trouble with output in subdirs
   22919     am__obj=sub/conftest.${OBJEXT-o}
   22920     am__minus_obj="-o $am__obj"
   22921     case $depmode in
   22922     gcc)
   22923       # This depmode causes a compiler race in universal mode.
   22924       test "$am__universal" = false || continue
   22925       ;;
   22926     nosideeffect)
   22927       # after this tag, mechanisms are not by side-effect, so they'll
   22928       # only be used when explicitly requested
   22929       if test "x$enable_dependency_tracking" = xyes; then
   22930 	continue
   22931       else
   22932 	break
   22933       fi
   22934       ;;
   22935     msvisualcpp | msvcmsys)
   22936       # This compiler won't grok `-c -o', but also, the minuso test has
   22937       # not run yet.  These depmodes are late enough in the game, and
   22938       # so weak that their functioning should not be impacted.
   22939       am__obj=conftest.${OBJEXT-o}
   22940       am__minus_obj=
   22941       ;;
   22942     none) break ;;
   22943     esac
   22944     if depmode=$depmode \
   22945        source=sub/conftest.c object=$am__obj \
   22946        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   22947        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   22948          >/dev/null 2>conftest.err &&
   22949        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   22950        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   22951        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   22952        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   22953       # icc doesn't choke on unknown options, it will just issue warnings
   22954       # or remarks (even with -Werror).  So we grep stderr for any message
   22955       # that says an option was ignored or not supported.
   22956       # When given -MP, icc 7.0 and 7.1 complain thusly:
   22957       #   icc: Command line warning: ignoring option '-M'; no argument required
   22958       # The diagnosis changed in icc 8.0:
   22959       #   icc: Command line remark: option '-MP' not supported
   22960       if (grep 'ignoring option' conftest.err ||
   22961           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   22962         am_cv_OBJC_dependencies_compiler_type=$depmode
   22963         break
   22964       fi
   22965     fi
   22966   done
   22967 
   22968   cd ..
   22969   rm -rf conftest.dir
   22970 else
   22971   am_cv_OBJC_dependencies_compiler_type=none
   22972 fi
   22973 
   22974 fi
   22975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
   22976 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
   22977 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
   22978 
   22979  if
   22980   test "x$enable_dependency_tracking" != xno \
   22981   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
   22982   am__fastdepOBJC_TRUE=
   22983   am__fastdepOBJC_FALSE='#'
   22984 else
   22985   am__fastdepOBJC_TRUE='#'
   22986   am__fastdepOBJC_FALSE=
   22987 fi
   22988 
   22989 
   22990  if test "x$XQUARTZ" = xyes; then
   22991   XQUARTZ_TRUE=
   22992   XQUARTZ_FALSE='#'
   22993 else
   22994   XQUARTZ_TRUE='#'
   22995   XQUARTZ_FALSE=
   22996 fi
   22997 
   22998  if test "x$XQUARTZ_SPARKLE" != "xno"; then
   22999   XQUARTZ_SPARKLE_TRUE=
   23000   XQUARTZ_SPARKLE_FALSE='#'
   23001 else
   23002   XQUARTZ_SPARKLE_TRUE='#'
   23003   XQUARTZ_SPARKLE_FALSE=
   23004 fi
   23005 
   23006  if test "x$STANDALONE_XPBPROXY" = xyes; then
   23007   STANDALONE_XPBPROXY_TRUE=
   23008   STANDALONE_XPBPROXY_FALSE='#'
   23009 else
   23010   STANDALONE_XPBPROXY_TRUE='#'
   23011   STANDALONE_XPBPROXY_FALSE=
   23012 fi
   23013 
   23014 
   23015 
   23016 pkg_failed=no
   23017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DMXMODULES" >&5
   23018 $as_echo_n "checking for DMXMODULES... " >&6; }
   23019 
   23020 if test -n "$DMXMODULES_CFLAGS"; then
   23021     pkg_cv_DMXMODULES_CFLAGS="$DMXMODULES_CFLAGS"
   23022  elif test -n "$PKG_CONFIG"; then
   23023     if test -n "$PKG_CONFIG" && \
   23024     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmuu \$LIBXEXT x11 xrender xfixes \$LIBXI \$DMXPROTO xau \$XDMCP_MODULES\""; } >&5
   23025   ($PKG_CONFIG --exists --print-errors "xmuu $LIBXEXT x11 xrender xfixes $LIBXI $DMXPROTO xau $XDMCP_MODULES") 2>&5
   23026   ac_status=$?
   23027   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23028   test $ac_status = 0; }; then
   23029   pkg_cv_DMXMODULES_CFLAGS=`$PKG_CONFIG --cflags "xmuu $LIBXEXT x11 xrender xfixes $LIBXI $DMXPROTO xau $XDMCP_MODULES" 2>/dev/null`
   23030 		      test "x$?" != "x0" && pkg_failed=yes
   23031 else
   23032   pkg_failed=yes
   23033 fi
   23034  else
   23035     pkg_failed=untried
   23036 fi
   23037 if test -n "$DMXMODULES_LIBS"; then
   23038     pkg_cv_DMXMODULES_LIBS="$DMXMODULES_LIBS"
   23039  elif test -n "$PKG_CONFIG"; then
   23040     if test -n "$PKG_CONFIG" && \
   23041     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmuu \$LIBXEXT x11 xrender xfixes \$LIBXI \$DMXPROTO xau \$XDMCP_MODULES\""; } >&5
   23042   ($PKG_CONFIG --exists --print-errors "xmuu $LIBXEXT x11 xrender xfixes $LIBXI $DMXPROTO xau $XDMCP_MODULES") 2>&5
   23043   ac_status=$?
   23044   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23045   test $ac_status = 0; }; then
   23046   pkg_cv_DMXMODULES_LIBS=`$PKG_CONFIG --libs "xmuu $LIBXEXT x11 xrender xfixes $LIBXI $DMXPROTO xau $XDMCP_MODULES" 2>/dev/null`
   23047 		      test "x$?" != "x0" && pkg_failed=yes
   23048 else
   23049   pkg_failed=yes
   23050 fi
   23051  else
   23052     pkg_failed=untried
   23053 fi
   23054 
   23055 
   23056 
   23057 if test $pkg_failed = yes; then
   23058    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23059 $as_echo "no" >&6; }
   23060 
   23061 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23062         _pkg_short_errors_supported=yes
   23063 else
   23064         _pkg_short_errors_supported=no
   23065 fi
   23066         if test $_pkg_short_errors_supported = yes; then
   23067 	        DMXMODULES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xmuu $LIBXEXT x11 xrender xfixes $LIBXI $DMXPROTO xau $XDMCP_MODULES" 2>&1`
   23068         else
   23069 	        DMXMODULES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xmuu $LIBXEXT x11 xrender xfixes $LIBXI $DMXPROTO xau $XDMCP_MODULES" 2>&1`
   23070         fi
   23071 	# Put the nasty error message in config.log where it belongs
   23072 	echo "$DMXMODULES_PKG_ERRORS" >&5
   23073 
   23074 	have_dmx=no
   23075 elif test $pkg_failed = untried; then
   23076      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23077 $as_echo "no" >&6; }
   23078 	have_dmx=no
   23079 else
   23080 	DMXMODULES_CFLAGS=$pkg_cv_DMXMODULES_CFLAGS
   23081 	DMXMODULES_LIBS=$pkg_cv_DMXMODULES_LIBS
   23082         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23083 $as_echo "yes" >&6; }
   23084 
   23085 pkg_failed=no
   23086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDMXCONFIG_DEP" >&5
   23087 $as_echo_n "checking for XDMXCONFIG_DEP... " >&6; }
   23088 
   23089 if test -n "$XDMXCONFIG_DEP_CFLAGS"; then
   23090     pkg_cv_XDMXCONFIG_DEP_CFLAGS="$XDMXCONFIG_DEP_CFLAGS"
   23091  elif test -n "$PKG_CONFIG"; then
   23092     if test -n "$PKG_CONFIG" && \
   23093     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt xpm x11\""; } >&5
   23094   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt xpm x11") 2>&5
   23095   ac_status=$?
   23096   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23097   test $ac_status = 0; }; then
   23098   pkg_cv_XDMXCONFIG_DEP_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu xt xpm x11" 2>/dev/null`
   23099 		      test "x$?" != "x0" && pkg_failed=yes
   23100 else
   23101   pkg_failed=yes
   23102 fi
   23103  else
   23104     pkg_failed=untried
   23105 fi
   23106 if test -n "$XDMXCONFIG_DEP_LIBS"; then
   23107     pkg_cv_XDMXCONFIG_DEP_LIBS="$XDMXCONFIG_DEP_LIBS"
   23108  elif test -n "$PKG_CONFIG"; then
   23109     if test -n "$PKG_CONFIG" && \
   23110     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt xpm x11\""; } >&5
   23111   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt xpm x11") 2>&5
   23112   ac_status=$?
   23113   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23114   test $ac_status = 0; }; then
   23115   pkg_cv_XDMXCONFIG_DEP_LIBS=`$PKG_CONFIG --libs "xaw7 xmu xt xpm x11" 2>/dev/null`
   23116 		      test "x$?" != "x0" && pkg_failed=yes
   23117 else
   23118   pkg_failed=yes
   23119 fi
   23120  else
   23121     pkg_failed=untried
   23122 fi
   23123 
   23124 
   23125 
   23126 if test $pkg_failed = yes; then
   23127    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23128 $as_echo "no" >&6; }
   23129 
   23130 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23131         _pkg_short_errors_supported=yes
   23132 else
   23133         _pkg_short_errors_supported=no
   23134 fi
   23135         if test $_pkg_short_errors_supported = yes; then
   23136 	        XDMXCONFIG_DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xmu xt xpm x11" 2>&1`
   23137         else
   23138 	        XDMXCONFIG_DEP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xmu xt xpm x11" 2>&1`
   23139         fi
   23140 	# Put the nasty error message in config.log where it belongs
   23141 	echo "$XDMXCONFIG_DEP_PKG_ERRORS" >&5
   23142 
   23143 	have_dmx=no
   23144 elif test $pkg_failed = untried; then
   23145      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23146 $as_echo "no" >&6; }
   23147 	have_dmx=no
   23148 else
   23149 	XDMXCONFIG_DEP_CFLAGS=$pkg_cv_XDMXCONFIG_DEP_CFLAGS
   23150 	XDMXCONFIG_DEP_LIBS=$pkg_cv_XDMXCONFIG_DEP_LIBS
   23151         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23152 $as_echo "yes" >&6; }
   23153 	have_dmx=yes
   23154 fi
   23155 fi
   23156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Xdmx DDX" >&5
   23157 $as_echo_n "checking whether to build Xdmx DDX... " >&6; }
   23158 if test "x$DMX" = xauto; then
   23159 	DMX="$have_dmx"
   23160 	case $host_os in
   23161 		cygwin*) DMX="no" ;;
   23162 		darwin*) DMX="no" ;;
   23163 	esac
   23164 fi
   23165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DMX" >&5
   23166 $as_echo "$DMX" >&6; }
   23167  if test "x$DMX" = xyes; then
   23168   DMX_TRUE=
   23169   DMX_FALSE='#'
   23170 else
   23171   DMX_TRUE='#'
   23172   DMX_FALSE=
   23173 fi
   23174 
   23175 
   23176 if test "x$DMX" = xyes; then
   23177 	if test "x$have_dmx" = xno; then
   23178 		as_fn_error $? "Xdmx build explicitly requested, but required
   23179 		              modules not found." "$LINENO" 5
   23180 	fi
   23181 	DMX_INCLUDES="$XEXT_INC $RENDER_INC $RECORD_INC"
   23182 	XDMX_CFLAGS="$DMXMODULES_CFLAGS"
   23183 	XDMX_LIBS="$FB_LIB $MI_LIB $XEXT_LIB $RENDER_LIB $RECORD_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $MIEXT_SYNC_LIB $MIEXT_SHADOW_LIB $MIEXT_DAMAGE_LIB $COMPOSITE_LIB $DAMAGE_LIB $MAIN_LIB $DIX_LIB $CONFIG_LIB $OS_LIB $FIXES_LIB"
   23184 	XDMX_SYS_LIBS="$DMXMODULES_LIBS"
   23185 
   23186 
   23187 
   23188 
   23189 	ac_fn_c_check_header_mongrel "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
   23190 if test "x$ac_cv_header_linux_input_h" = xyes; then :
   23191   DMX_BUILD_USB="yes"
   23192 else
   23193   DMX_BUILD_USB="no"
   23194 fi
   23195 
   23196 
   23197 	ac_fn_c_check_header_mongrel "$LINENO" "linux/keyboard.h" "ac_cv_header_linux_keyboard_h" "$ac_includes_default"
   23198 if test "x$ac_cv_header_linux_keyboard_h" = xyes; then :
   23199   DMX_BUILD_LNX="yes"
   23200 else
   23201   DMX_BUILD_LNX="no"
   23202 fi
   23203 
   23204 
   23205 
   23206 
   23207 
   23208 pkg_failed=no
   23209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DMXEXAMPLES_DEP" >&5
   23210 $as_echo_n "checking for DMXEXAMPLES_DEP... " >&6; }
   23211 
   23212 if test -n "$DMXEXAMPLES_DEP_CFLAGS"; then
   23213     pkg_cv_DMXEXAMPLES_DEP_CFLAGS="$DMXEXAMPLES_DEP_CFLAGS"
   23214  elif test -n "$PKG_CONFIG"; then
   23215     if test -n "$PKG_CONFIG" && \
   23216     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBDMX \$LIBXEXT x11\""; } >&5
   23217   ($PKG_CONFIG --exists --print-errors "$LIBDMX $LIBXEXT x11") 2>&5
   23218   ac_status=$?
   23219   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23220   test $ac_status = 0; }; then
   23221   pkg_cv_DMXEXAMPLES_DEP_CFLAGS=`$PKG_CONFIG --cflags "$LIBDMX $LIBXEXT x11" 2>/dev/null`
   23222 		      test "x$?" != "x0" && pkg_failed=yes
   23223 else
   23224   pkg_failed=yes
   23225 fi
   23226  else
   23227     pkg_failed=untried
   23228 fi
   23229 if test -n "$DMXEXAMPLES_DEP_LIBS"; then
   23230     pkg_cv_DMXEXAMPLES_DEP_LIBS="$DMXEXAMPLES_DEP_LIBS"
   23231  elif test -n "$PKG_CONFIG"; then
   23232     if test -n "$PKG_CONFIG" && \
   23233     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBDMX \$LIBXEXT x11\""; } >&5
   23234   ($PKG_CONFIG --exists --print-errors "$LIBDMX $LIBXEXT x11") 2>&5
   23235   ac_status=$?
   23236   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23237   test $ac_status = 0; }; then
   23238   pkg_cv_DMXEXAMPLES_DEP_LIBS=`$PKG_CONFIG --libs "$LIBDMX $LIBXEXT x11" 2>/dev/null`
   23239 		      test "x$?" != "x0" && pkg_failed=yes
   23240 else
   23241   pkg_failed=yes
   23242 fi
   23243  else
   23244     pkg_failed=untried
   23245 fi
   23246 
   23247 
   23248 
   23249 if test $pkg_failed = yes; then
   23250    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23251 $as_echo "no" >&6; }
   23252 
   23253 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23254         _pkg_short_errors_supported=yes
   23255 else
   23256         _pkg_short_errors_supported=no
   23257 fi
   23258         if test $_pkg_short_errors_supported = yes; then
   23259 	        DMXEXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$LIBDMX $LIBXEXT x11" 2>&1`
   23260         else
   23261 	        DMXEXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$LIBDMX $LIBXEXT x11" 2>&1`
   23262         fi
   23263 	# Put the nasty error message in config.log where it belongs
   23264 	echo "$DMXEXAMPLES_DEP_PKG_ERRORS" >&5
   23265 
   23266 	as_fn_error $? "Package requirements ($LIBDMX $LIBXEXT x11) were not met:
   23267 
   23268 $DMXEXAMPLES_DEP_PKG_ERRORS
   23269 
   23270 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23271 installed software in a non-standard prefix.
   23272 
   23273 Alternatively, you may set the environment variables DMXEXAMPLES_DEP_CFLAGS
   23274 and DMXEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
   23275 See the pkg-config man page for more details." "$LINENO" 5
   23276 elif test $pkg_failed = untried; then
   23277      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23278 $as_echo "no" >&6; }
   23279 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   23280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   23281 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   23282 is in your PATH or set the PKG_CONFIG environment variable to the full
   23283 path to pkg-config.
   23284 
   23285 Alternatively, you may set the environment variables DMXEXAMPLES_DEP_CFLAGS
   23286 and DMXEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
   23287 See the pkg-config man page for more details.
   23288 
   23289 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   23290 See \`config.log' for more details" "$LINENO" 5; }
   23291 else
   23292 	DMXEXAMPLES_DEP_CFLAGS=$pkg_cv_DMXEXAMPLES_DEP_CFLAGS
   23293 	DMXEXAMPLES_DEP_LIBS=$pkg_cv_DMXEXAMPLES_DEP_LIBS
   23294         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23295 $as_echo "yes" >&6; }
   23296 
   23297 fi
   23298 
   23299 
   23300 pkg_failed=no
   23301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DMXXMUEXAMPLES_DEP" >&5
   23302 $as_echo_n "checking for DMXXMUEXAMPLES_DEP... " >&6; }
   23303 
   23304 if test -n "$DMXXMUEXAMPLES_DEP_CFLAGS"; then
   23305     pkg_cv_DMXXMUEXAMPLES_DEP_CFLAGS="$DMXXMUEXAMPLES_DEP_CFLAGS"
   23306  elif test -n "$PKG_CONFIG"; then
   23307     if test -n "$PKG_CONFIG" && \
   23308     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBDMX xmu \$LIBXEXT x11\""; } >&5
   23309   ($PKG_CONFIG --exists --print-errors "$LIBDMX xmu $LIBXEXT x11") 2>&5
   23310   ac_status=$?
   23311   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23312   test $ac_status = 0; }; then
   23313   pkg_cv_DMXXMUEXAMPLES_DEP_CFLAGS=`$PKG_CONFIG --cflags "$LIBDMX xmu $LIBXEXT x11" 2>/dev/null`
   23314 		      test "x$?" != "x0" && pkg_failed=yes
   23315 else
   23316   pkg_failed=yes
   23317 fi
   23318  else
   23319     pkg_failed=untried
   23320 fi
   23321 if test -n "$DMXXMUEXAMPLES_DEP_LIBS"; then
   23322     pkg_cv_DMXXMUEXAMPLES_DEP_LIBS="$DMXXMUEXAMPLES_DEP_LIBS"
   23323  elif test -n "$PKG_CONFIG"; then
   23324     if test -n "$PKG_CONFIG" && \
   23325     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBDMX xmu \$LIBXEXT x11\""; } >&5
   23326   ($PKG_CONFIG --exists --print-errors "$LIBDMX xmu $LIBXEXT x11") 2>&5
   23327   ac_status=$?
   23328   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23329   test $ac_status = 0; }; then
   23330   pkg_cv_DMXXMUEXAMPLES_DEP_LIBS=`$PKG_CONFIG --libs "$LIBDMX xmu $LIBXEXT x11" 2>/dev/null`
   23331 		      test "x$?" != "x0" && pkg_failed=yes
   23332 else
   23333   pkg_failed=yes
   23334 fi
   23335  else
   23336     pkg_failed=untried
   23337 fi
   23338 
   23339 
   23340 
   23341 if test $pkg_failed = yes; then
   23342    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23343 $as_echo "no" >&6; }
   23344 
   23345 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23346         _pkg_short_errors_supported=yes
   23347 else
   23348         _pkg_short_errors_supported=no
   23349 fi
   23350         if test $_pkg_short_errors_supported = yes; then
   23351 	        DMXXMUEXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$LIBDMX xmu $LIBXEXT x11" 2>&1`
   23352         else
   23353 	        DMXXMUEXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$LIBDMX xmu $LIBXEXT x11" 2>&1`
   23354         fi
   23355 	# Put the nasty error message in config.log where it belongs
   23356 	echo "$DMXXMUEXAMPLES_DEP_PKG_ERRORS" >&5
   23357 
   23358 	as_fn_error $? "Package requirements ($LIBDMX xmu $LIBXEXT x11) were not met:
   23359 
   23360 $DMXXMUEXAMPLES_DEP_PKG_ERRORS
   23361 
   23362 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23363 installed software in a non-standard prefix.
   23364 
   23365 Alternatively, you may set the environment variables DMXXMUEXAMPLES_DEP_CFLAGS
   23366 and DMXXMUEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
   23367 See the pkg-config man page for more details." "$LINENO" 5
   23368 elif test $pkg_failed = untried; then
   23369      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23370 $as_echo "no" >&6; }
   23371 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   23372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   23373 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   23374 is in your PATH or set the PKG_CONFIG environment variable to the full
   23375 path to pkg-config.
   23376 
   23377 Alternatively, you may set the environment variables DMXXMUEXAMPLES_DEP_CFLAGS
   23378 and DMXXMUEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
   23379 See the pkg-config man page for more details.
   23380 
   23381 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   23382 See \`config.log' for more details" "$LINENO" 5; }
   23383 else
   23384 	DMXXMUEXAMPLES_DEP_CFLAGS=$pkg_cv_DMXXMUEXAMPLES_DEP_CFLAGS
   23385 	DMXXMUEXAMPLES_DEP_LIBS=$pkg_cv_DMXXMUEXAMPLES_DEP_LIBS
   23386         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23387 $as_echo "yes" >&6; }
   23388 
   23389 fi
   23390 
   23391 
   23392 pkg_failed=no
   23393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DMXXIEXAMPLES_DEP" >&5
   23394 $as_echo_n "checking for DMXXIEXAMPLES_DEP... " >&6; }
   23395 
   23396 if test -n "$DMXXIEXAMPLES_DEP_CFLAGS"; then
   23397     pkg_cv_DMXXIEXAMPLES_DEP_CFLAGS="$DMXXIEXAMPLES_DEP_CFLAGS"
   23398  elif test -n "$PKG_CONFIG"; then
   23399     if test -n "$PKG_CONFIG" && \
   23400     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBDMX \$LIBXI \$LIBXEXT x11\""; } >&5
   23401   ($PKG_CONFIG --exists --print-errors "$LIBDMX $LIBXI $LIBXEXT x11") 2>&5
   23402   ac_status=$?
   23403   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23404   test $ac_status = 0; }; then
   23405   pkg_cv_DMXXIEXAMPLES_DEP_CFLAGS=`$PKG_CONFIG --cflags "$LIBDMX $LIBXI $LIBXEXT x11" 2>/dev/null`
   23406 		      test "x$?" != "x0" && pkg_failed=yes
   23407 else
   23408   pkg_failed=yes
   23409 fi
   23410  else
   23411     pkg_failed=untried
   23412 fi
   23413 if test -n "$DMXXIEXAMPLES_DEP_LIBS"; then
   23414     pkg_cv_DMXXIEXAMPLES_DEP_LIBS="$DMXXIEXAMPLES_DEP_LIBS"
   23415  elif test -n "$PKG_CONFIG"; then
   23416     if test -n "$PKG_CONFIG" && \
   23417     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBDMX \$LIBXI \$LIBXEXT x11\""; } >&5
   23418   ($PKG_CONFIG --exists --print-errors "$LIBDMX $LIBXI $LIBXEXT x11") 2>&5
   23419   ac_status=$?
   23420   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23421   test $ac_status = 0; }; then
   23422   pkg_cv_DMXXIEXAMPLES_DEP_LIBS=`$PKG_CONFIG --libs "$LIBDMX $LIBXI $LIBXEXT x11" 2>/dev/null`
   23423 		      test "x$?" != "x0" && pkg_failed=yes
   23424 else
   23425   pkg_failed=yes
   23426 fi
   23427  else
   23428     pkg_failed=untried
   23429 fi
   23430 
   23431 
   23432 
   23433 if test $pkg_failed = yes; then
   23434    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23435 $as_echo "no" >&6; }
   23436 
   23437 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23438         _pkg_short_errors_supported=yes
   23439 else
   23440         _pkg_short_errors_supported=no
   23441 fi
   23442         if test $_pkg_short_errors_supported = yes; then
   23443 	        DMXXIEXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$LIBDMX $LIBXI $LIBXEXT x11" 2>&1`
   23444         else
   23445 	        DMXXIEXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$LIBDMX $LIBXI $LIBXEXT x11" 2>&1`
   23446         fi
   23447 	# Put the nasty error message in config.log where it belongs
   23448 	echo "$DMXXIEXAMPLES_DEP_PKG_ERRORS" >&5
   23449 
   23450 	as_fn_error $? "Package requirements ($LIBDMX $LIBXI $LIBXEXT x11) were not met:
   23451 
   23452 $DMXXIEXAMPLES_DEP_PKG_ERRORS
   23453 
   23454 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23455 installed software in a non-standard prefix.
   23456 
   23457 Alternatively, you may set the environment variables DMXXIEXAMPLES_DEP_CFLAGS
   23458 and DMXXIEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
   23459 See the pkg-config man page for more details." "$LINENO" 5
   23460 elif test $pkg_failed = untried; then
   23461      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23462 $as_echo "no" >&6; }
   23463 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   23464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   23465 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   23466 is in your PATH or set the PKG_CONFIG environment variable to the full
   23467 path to pkg-config.
   23468 
   23469 Alternatively, you may set the environment variables DMXXIEXAMPLES_DEP_CFLAGS
   23470 and DMXXIEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
   23471 See the pkg-config man page for more details.
   23472 
   23473 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   23474 See \`config.log' for more details" "$LINENO" 5; }
   23475 else
   23476 	DMXXIEXAMPLES_DEP_CFLAGS=$pkg_cv_DMXXIEXAMPLES_DEP_CFLAGS
   23477 	DMXXIEXAMPLES_DEP_LIBS=$pkg_cv_DMXXIEXAMPLES_DEP_LIBS
   23478         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23479 $as_echo "yes" >&6; }
   23480 
   23481 fi
   23482 
   23483 
   23484 pkg_failed=no
   23485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTSTEXAMPLES_DEP" >&5
   23486 $as_echo_n "checking for XTSTEXAMPLES_DEP... " >&6; }
   23487 
   23488 if test -n "$XTSTEXAMPLES_DEP_CFLAGS"; then
   23489     pkg_cv_XTSTEXAMPLES_DEP_CFLAGS="$XTSTEXAMPLES_DEP_CFLAGS"
   23490  elif test -n "$PKG_CONFIG"; then
   23491     if test -n "$PKG_CONFIG" && \
   23492     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXTST \$LIBXEXT x11\""; } >&5
   23493   ($PKG_CONFIG --exists --print-errors "$LIBXTST $LIBXEXT x11") 2>&5
   23494   ac_status=$?
   23495   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23496   test $ac_status = 0; }; then
   23497   pkg_cv_XTSTEXAMPLES_DEP_CFLAGS=`$PKG_CONFIG --cflags "$LIBXTST $LIBXEXT x11" 2>/dev/null`
   23498 		      test "x$?" != "x0" && pkg_failed=yes
   23499 else
   23500   pkg_failed=yes
   23501 fi
   23502  else
   23503     pkg_failed=untried
   23504 fi
   23505 if test -n "$XTSTEXAMPLES_DEP_LIBS"; then
   23506     pkg_cv_XTSTEXAMPLES_DEP_LIBS="$XTSTEXAMPLES_DEP_LIBS"
   23507  elif test -n "$PKG_CONFIG"; then
   23508     if test -n "$PKG_CONFIG" && \
   23509     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXTST \$LIBXEXT x11\""; } >&5
   23510   ($PKG_CONFIG --exists --print-errors "$LIBXTST $LIBXEXT x11") 2>&5
   23511   ac_status=$?
   23512   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23513   test $ac_status = 0; }; then
   23514   pkg_cv_XTSTEXAMPLES_DEP_LIBS=`$PKG_CONFIG --libs "$LIBXTST $LIBXEXT x11" 2>/dev/null`
   23515 		      test "x$?" != "x0" && pkg_failed=yes
   23516 else
   23517   pkg_failed=yes
   23518 fi
   23519  else
   23520     pkg_failed=untried
   23521 fi
   23522 
   23523 
   23524 
   23525 if test $pkg_failed = yes; then
   23526    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23527 $as_echo "no" >&6; }
   23528 
   23529 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23530         _pkg_short_errors_supported=yes
   23531 else
   23532         _pkg_short_errors_supported=no
   23533 fi
   23534         if test $_pkg_short_errors_supported = yes; then
   23535 	        XTSTEXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$LIBXTST $LIBXEXT x11" 2>&1`
   23536         else
   23537 	        XTSTEXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$LIBXTST $LIBXEXT x11" 2>&1`
   23538         fi
   23539 	# Put the nasty error message in config.log where it belongs
   23540 	echo "$XTSTEXAMPLES_DEP_PKG_ERRORS" >&5
   23541 
   23542 	as_fn_error $? "Package requirements ($LIBXTST $LIBXEXT x11) were not met:
   23543 
   23544 $XTSTEXAMPLES_DEP_PKG_ERRORS
   23545 
   23546 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23547 installed software in a non-standard prefix.
   23548 
   23549 Alternatively, you may set the environment variables XTSTEXAMPLES_DEP_CFLAGS
   23550 and XTSTEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
   23551 See the pkg-config man page for more details." "$LINENO" 5
   23552 elif test $pkg_failed = untried; then
   23553      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23554 $as_echo "no" >&6; }
   23555 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   23556 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   23557 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   23558 is in your PATH or set the PKG_CONFIG environment variable to the full
   23559 path to pkg-config.
   23560 
   23561 Alternatively, you may set the environment variables XTSTEXAMPLES_DEP_CFLAGS
   23562 and XTSTEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
   23563 See the pkg-config man page for more details.
   23564 
   23565 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   23566 See \`config.log' for more details" "$LINENO" 5; }
   23567 else
   23568 	XTSTEXAMPLES_DEP_CFLAGS=$pkg_cv_XTSTEXAMPLES_DEP_CFLAGS
   23569 	XTSTEXAMPLES_DEP_LIBS=$pkg_cv_XTSTEXAMPLES_DEP_LIBS
   23570         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23571 $as_echo "yes" >&6; }
   23572 
   23573 fi
   23574 
   23575 
   23576 pkg_failed=no
   23577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRESEXAMPLES_DEP" >&5
   23578 $as_echo_n "checking for XRESEXAMPLES_DEP... " >&6; }
   23579 
   23580 if test -n "$XRESEXAMPLES_DEP_CFLAGS"; then
   23581     pkg_cv_XRESEXAMPLES_DEP_CFLAGS="$XRESEXAMPLES_DEP_CFLAGS"
   23582  elif test -n "$PKG_CONFIG"; then
   23583     if test -n "$PKG_CONFIG" && \
   23584     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xres \$LIBXEXT x11\""; } >&5
   23585   ($PKG_CONFIG --exists --print-errors "xres $LIBXEXT x11") 2>&5
   23586   ac_status=$?
   23587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23588   test $ac_status = 0; }; then
   23589   pkg_cv_XRESEXAMPLES_DEP_CFLAGS=`$PKG_CONFIG --cflags "xres $LIBXEXT x11" 2>/dev/null`
   23590 		      test "x$?" != "x0" && pkg_failed=yes
   23591 else
   23592   pkg_failed=yes
   23593 fi
   23594  else
   23595     pkg_failed=untried
   23596 fi
   23597 if test -n "$XRESEXAMPLES_DEP_LIBS"; then
   23598     pkg_cv_XRESEXAMPLES_DEP_LIBS="$XRESEXAMPLES_DEP_LIBS"
   23599  elif test -n "$PKG_CONFIG"; then
   23600     if test -n "$PKG_CONFIG" && \
   23601     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xres \$LIBXEXT x11\""; } >&5
   23602   ($PKG_CONFIG --exists --print-errors "xres $LIBXEXT x11") 2>&5
   23603   ac_status=$?
   23604   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23605   test $ac_status = 0; }; then
   23606   pkg_cv_XRESEXAMPLES_DEP_LIBS=`$PKG_CONFIG --libs "xres $LIBXEXT x11" 2>/dev/null`
   23607 		      test "x$?" != "x0" && pkg_failed=yes
   23608 else
   23609   pkg_failed=yes
   23610 fi
   23611  else
   23612     pkg_failed=untried
   23613 fi
   23614 
   23615 
   23616 
   23617 if test $pkg_failed = yes; then
   23618    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23619 $as_echo "no" >&6; }
   23620 
   23621 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23622         _pkg_short_errors_supported=yes
   23623 else
   23624         _pkg_short_errors_supported=no
   23625 fi
   23626         if test $_pkg_short_errors_supported = yes; then
   23627 	        XRESEXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xres $LIBXEXT x11" 2>&1`
   23628         else
   23629 	        XRESEXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xres $LIBXEXT x11" 2>&1`
   23630         fi
   23631 	# Put the nasty error message in config.log where it belongs
   23632 	echo "$XRESEXAMPLES_DEP_PKG_ERRORS" >&5
   23633 
   23634 	as_fn_error $? "Package requirements (xres $LIBXEXT x11) were not met:
   23635 
   23636 $XRESEXAMPLES_DEP_PKG_ERRORS
   23637 
   23638 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23639 installed software in a non-standard prefix.
   23640 
   23641 Alternatively, you may set the environment variables XRESEXAMPLES_DEP_CFLAGS
   23642 and XRESEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
   23643 See the pkg-config man page for more details." "$LINENO" 5
   23644 elif test $pkg_failed = untried; then
   23645      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23646 $as_echo "no" >&6; }
   23647 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   23648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   23649 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   23650 is in your PATH or set the PKG_CONFIG environment variable to the full
   23651 path to pkg-config.
   23652 
   23653 Alternatively, you may set the environment variables XRESEXAMPLES_DEP_CFLAGS
   23654 and XRESEXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
   23655 See the pkg-config man page for more details.
   23656 
   23657 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   23658 See \`config.log' for more details" "$LINENO" 5; }
   23659 else
   23660 	XRESEXAMPLES_DEP_CFLAGS=$pkg_cv_XRESEXAMPLES_DEP_CFLAGS
   23661 	XRESEXAMPLES_DEP_LIBS=$pkg_cv_XRESEXAMPLES_DEP_LIBS
   23662         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23663 $as_echo "yes" >&6; }
   23664 
   23665 fi
   23666 
   23667 
   23668 pkg_failed=no
   23669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11EXAMPLES_DEP" >&5
   23670 $as_echo_n "checking for X11EXAMPLES_DEP... " >&6; }
   23671 
   23672 if test -n "$X11EXAMPLES_DEP_CFLAGS"; then
   23673     pkg_cv_X11EXAMPLES_DEP_CFLAGS="$X11EXAMPLES_DEP_CFLAGS"
   23674  elif test -n "$PKG_CONFIG"; then
   23675     if test -n "$PKG_CONFIG" && \
   23676     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXEXT x11\""; } >&5
   23677   ($PKG_CONFIG --exists --print-errors "$LIBXEXT x11") 2>&5
   23678   ac_status=$?
   23679   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23680   test $ac_status = 0; }; then
   23681   pkg_cv_X11EXAMPLES_DEP_CFLAGS=`$PKG_CONFIG --cflags "$LIBXEXT x11" 2>/dev/null`
   23682 		      test "x$?" != "x0" && pkg_failed=yes
   23683 else
   23684   pkg_failed=yes
   23685 fi
   23686  else
   23687     pkg_failed=untried
   23688 fi
   23689 if test -n "$X11EXAMPLES_DEP_LIBS"; then
   23690     pkg_cv_X11EXAMPLES_DEP_LIBS="$X11EXAMPLES_DEP_LIBS"
   23691  elif test -n "$PKG_CONFIG"; then
   23692     if test -n "$PKG_CONFIG" && \
   23693     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXEXT x11\""; } >&5
   23694   ($PKG_CONFIG --exists --print-errors "$LIBXEXT x11") 2>&5
   23695   ac_status=$?
   23696   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23697   test $ac_status = 0; }; then
   23698   pkg_cv_X11EXAMPLES_DEP_LIBS=`$PKG_CONFIG --libs "$LIBXEXT x11" 2>/dev/null`
   23699 		      test "x$?" != "x0" && pkg_failed=yes
   23700 else
   23701   pkg_failed=yes
   23702 fi
   23703  else
   23704     pkg_failed=untried
   23705 fi
   23706 
   23707 
   23708 
   23709 if test $pkg_failed = yes; then
   23710    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23711 $as_echo "no" >&6; }
   23712 
   23713 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23714         _pkg_short_errors_supported=yes
   23715 else
   23716         _pkg_short_errors_supported=no
   23717 fi
   23718         if test $_pkg_short_errors_supported = yes; then
   23719 	        X11EXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$LIBXEXT x11" 2>&1`
   23720         else
   23721 	        X11EXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$LIBXEXT x11" 2>&1`
   23722         fi
   23723 	# Put the nasty error message in config.log where it belongs
   23724 	echo "$X11EXAMPLES_DEP_PKG_ERRORS" >&5
   23725 
   23726 	as_fn_error $? "Package requirements ($LIBXEXT x11) were not met:
   23727 
   23728 $X11EXAMPLES_DEP_PKG_ERRORS
   23729 
   23730 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23731 installed software in a non-standard prefix.
   23732 
   23733 Alternatively, you may set the environment variables X11EXAMPLES_DEP_CFLAGS
   23734 and X11EXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
   23735 See the pkg-config man page for more details." "$LINENO" 5
   23736 elif test $pkg_failed = untried; then
   23737      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23738 $as_echo "no" >&6; }
   23739 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   23740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   23741 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   23742 is in your PATH or set the PKG_CONFIG environment variable to the full
   23743 path to pkg-config.
   23744 
   23745 Alternatively, you may set the environment variables X11EXAMPLES_DEP_CFLAGS
   23746 and X11EXAMPLES_DEP_LIBS to avoid the need to call pkg-config.
   23747 See the pkg-config man page for more details.
   23748 
   23749 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   23750 See \`config.log' for more details" "$LINENO" 5; }
   23751 else
   23752 	X11EXAMPLES_DEP_CFLAGS=$pkg_cv_X11EXAMPLES_DEP_CFLAGS
   23753 	X11EXAMPLES_DEP_LIBS=$pkg_cv_X11EXAMPLES_DEP_LIBS
   23754         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23755 $as_echo "yes" >&6; }
   23756 
   23757 fi
   23758 
   23759 
   23760 fi
   23761  if test "x$DMX_BUILD_LNX" = xyes; then
   23762   DMX_BUILD_LNX_TRUE=
   23763   DMX_BUILD_LNX_FALSE='#'
   23764 else
   23765   DMX_BUILD_LNX_TRUE='#'
   23766   DMX_BUILD_LNX_FALSE=
   23767 fi
   23768 
   23769  if test "x$DMX_BUILD_USB" = xyes; then
   23770   DMX_BUILD_USB_TRUE=
   23771   DMX_BUILD_USB_FALSE='#'
   23772 else
   23773   DMX_BUILD_USB_TRUE='#'
   23774   DMX_BUILD_USB_FALSE=
   23775 fi
   23776 
   23777 
   23778 
   23779 XEPHYR_LIBS=
   23780 XEPHYR_INCS=
   23781 
   23782  if test x$KDRIVE = xyes; then
   23783   KDRIVE_TRUE=
   23784   KDRIVE_FALSE='#'
   23785 else
   23786   KDRIVE_TRUE='#'
   23787   KDRIVE_FALSE=
   23788 fi
   23789 
   23790 
   23791 if test "$KDRIVE" = yes; then
   23792 
   23793 $as_echo "#define KDRIVESERVER 1" >>confdefs.h
   23794 
   23795 
   23796 $as_echo "#define KDRIVEDDXACTIONS /**/" >>confdefs.h
   23797 
   23798 
   23799     for ac_header in linux/fb.h
   23800 do :
   23801   ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default"
   23802 if test "x$ac_cv_header_linux_fb_h" = xyes; then :
   23803   cat >>confdefs.h <<_ACEOF
   23804 #define HAVE_LINUX_FB_H 1
   23805 _ACEOF
   23806 
   23807 fi
   23808 
   23809 done
   23810 
   23811     if test "$ac_cv_header_linux_fb_h" = yes && test "x$XFBDEV" = xauto; then
   23812         XFBDEV=yes
   23813     fi
   23814 
   23815     if test "x$XFBDEV" = xyes; then
   23816         KDRIVEFBDEVLIB=yes
   23817 
   23818 $as_echo "#define KDRIVEFBDEV 1" >>confdefs.h
   23819 
   23820     fi
   23821 
   23822 
   23823 
   23824 pkg_failed=no
   23825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5
   23826 $as_echo_n "checking for TSLIB... " >&6; }
   23827 
   23828 if test -n "$TSLIB_CFLAGS"; then
   23829     pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
   23830  elif test -n "$PKG_CONFIG"; then
   23831     if test -n "$PKG_CONFIG" && \
   23832     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-0.0\""; } >&5
   23833   ($PKG_CONFIG --exists --print-errors "tslib-0.0") 2>&5
   23834   ac_status=$?
   23835   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23836   test $ac_status = 0; }; then
   23837   pkg_cv_TSLIB_CFLAGS=`$PKG_CONFIG --cflags "tslib-0.0" 2>/dev/null`
   23838 		      test "x$?" != "x0" && pkg_failed=yes
   23839 else
   23840   pkg_failed=yes
   23841 fi
   23842  else
   23843     pkg_failed=untried
   23844 fi
   23845 if test -n "$TSLIB_LIBS"; then
   23846     pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
   23847  elif test -n "$PKG_CONFIG"; then
   23848     if test -n "$PKG_CONFIG" && \
   23849     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-0.0\""; } >&5
   23850   ($PKG_CONFIG --exists --print-errors "tslib-0.0") 2>&5
   23851   ac_status=$?
   23852   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23853   test $ac_status = 0; }; then
   23854   pkg_cv_TSLIB_LIBS=`$PKG_CONFIG --libs "tslib-0.0" 2>/dev/null`
   23855 		      test "x$?" != "x0" && pkg_failed=yes
   23856 else
   23857   pkg_failed=yes
   23858 fi
   23859  else
   23860     pkg_failed=untried
   23861 fi
   23862 
   23863 
   23864 
   23865 if test $pkg_failed = yes; then
   23866    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23867 $as_echo "no" >&6; }
   23868 
   23869 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23870         _pkg_short_errors_supported=yes
   23871 else
   23872         _pkg_short_errors_supported=no
   23873 fi
   23874         if test $_pkg_short_errors_supported = yes; then
   23875 	        TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tslib-0.0" 2>&1`
   23876         else
   23877 	        TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tslib-0.0" 2>&1`
   23878         fi
   23879 	# Put the nasty error message in config.log where it belongs
   23880 	echo "$TSLIB_PKG_ERRORS" >&5
   23881 
   23882 	HAVE_TSLIB="no"
   23883 elif test $pkg_failed = untried; then
   23884      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23885 $as_echo "no" >&6; }
   23886 	HAVE_TSLIB="no"
   23887 else
   23888 	TSLIB_CFLAGS=$pkg_cv_TSLIB_CFLAGS
   23889 	TSLIB_LIBS=$pkg_cv_TSLIB_LIBS
   23890         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23891 $as_echo "yes" >&6; }
   23892 	HAVE_TSLIB="yes"
   23893 fi
   23894     if test "x$HAVE_TSLIB" = xno; then
   23895         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -lts" >&5
   23896 $as_echo_n "checking for ts_open in -lts... " >&6; }
   23897 if ${ac_cv_lib_ts_ts_open+:} false; then :
   23898   $as_echo_n "(cached) " >&6
   23899 else
   23900   ac_check_lib_save_LIBS=$LIBS
   23901 LIBS="-lts  $LIBS"
   23902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23903 /* end confdefs.h.  */
   23904 
   23905 /* Override any GCC internal prototype to avoid an error.
   23906    Use char because int might match the return type of a GCC
   23907    builtin and then its argument prototype would still apply.  */
   23908 #ifdef __cplusplus
   23909 extern "C"
   23910 #endif
   23911 char ts_open ();
   23912 int
   23913 main ()
   23914 {
   23915 return ts_open ();
   23916   ;
   23917   return 0;
   23918 }
   23919 _ACEOF
   23920 if ac_fn_c_try_link "$LINENO"; then :
   23921   ac_cv_lib_ts_ts_open=yes
   23922 else
   23923   ac_cv_lib_ts_ts_open=no
   23924 fi
   23925 rm -f core conftest.err conftest.$ac_objext \
   23926     conftest$ac_exeext conftest.$ac_ext
   23927 LIBS=$ac_check_lib_save_LIBS
   23928 fi
   23929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ts_ts_open" >&5
   23930 $as_echo "$ac_cv_lib_ts_ts_open" >&6; }
   23931 if test "x$ac_cv_lib_ts_ts_open" = xyes; then :
   23932 
   23933 			HAVE_TSLIB="yes"
   23934 			TSLIB_LIBS="-lts"
   23935 
   23936 fi
   23937 
   23938     fi
   23939 
   23940     if test "xTSLIB" = xauto; then
   23941         TSLIB="$HAVE_TSLIB"
   23942     fi
   23943 
   23944     if test "x$TSLIB" = xyes; then
   23945         if ! test "x$HAVE_TSLIB" = xyes; then
   23946             as_fn_error $? "tslib must be installed to build the tslib driver. See http://tslib.berlios.de/" "$LINENO" 5
   23947         else
   23948 
   23949 $as_echo "#define TSLIB 1" >>confdefs.h
   23950 
   23951         fi
   23952     fi
   23953 
   23954     if test "x$KDRIVE_KBD" = xyes; then
   23955 
   23956 $as_echo "#define KDRIVE_KBD 1" >>confdefs.h
   23957 
   23958     fi
   23959     if test "x$KDRIVE_EVDEV" = xyes; then
   23960 
   23961 $as_echo "#define KDRIVE_EVDEV 1" >>confdefs.h
   23962 
   23963     fi
   23964     if test "x$KDRIVE_MOUSE" = xyes; then
   23965 
   23966 $as_echo "#define KDRIVE_MOUSE 1" >>confdefs.h
   23967 
   23968     fi
   23969 
   23970     XEPHYR_REQUIRED_LIBS="x11 $LIBXEXT xau xdmcp"
   23971     if test "x$XV" = xyes; then
   23972         XEPHYR_REQUIRED_LIBS="$XEPHYR_REQUIRED_LIBS xv"
   23973     fi
   23974     if test "x$DRI" = xyes && test "x$GLX" = xyes; then
   23975         XEPHYR_REQUIRED_LIBS="$XEPHYR_REQUIRED_LIBS $LIBGL libdrm"
   23976     fi
   23977 
   23978 
   23979 pkg_failed=no
   23980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEPHYR" >&5
   23981 $as_echo_n "checking for XEPHYR... " >&6; }
   23982 
   23983 if test -n "$XEPHYR_CFLAGS"; then
   23984     pkg_cv_XEPHYR_CFLAGS="$XEPHYR_CFLAGS"
   23985  elif test -n "$PKG_CONFIG"; then
   23986     if test -n "$PKG_CONFIG" && \
   23987     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$XEPHYR_REQUIRED_LIBS\""; } >&5
   23988   ($PKG_CONFIG --exists --print-errors "$XEPHYR_REQUIRED_LIBS") 2>&5
   23989   ac_status=$?
   23990   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23991   test $ac_status = 0; }; then
   23992   pkg_cv_XEPHYR_CFLAGS=`$PKG_CONFIG --cflags "$XEPHYR_REQUIRED_LIBS" 2>/dev/null`
   23993 		      test "x$?" != "x0" && pkg_failed=yes
   23994 else
   23995   pkg_failed=yes
   23996 fi
   23997  else
   23998     pkg_failed=untried
   23999 fi
   24000 if test -n "$XEPHYR_LIBS"; then
   24001     pkg_cv_XEPHYR_LIBS="$XEPHYR_LIBS"
   24002  elif test -n "$PKG_CONFIG"; then
   24003     if test -n "$PKG_CONFIG" && \
   24004     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$XEPHYR_REQUIRED_LIBS\""; } >&5
   24005   ($PKG_CONFIG --exists --print-errors "$XEPHYR_REQUIRED_LIBS") 2>&5
   24006   ac_status=$?
   24007   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24008   test $ac_status = 0; }; then
   24009   pkg_cv_XEPHYR_LIBS=`$PKG_CONFIG --libs "$XEPHYR_REQUIRED_LIBS" 2>/dev/null`
   24010 		      test "x$?" != "x0" && pkg_failed=yes
   24011 else
   24012   pkg_failed=yes
   24013 fi
   24014  else
   24015     pkg_failed=untried
   24016 fi
   24017 
   24018 
   24019 
   24020 if test $pkg_failed = yes; then
   24021    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24022 $as_echo "no" >&6; }
   24023 
   24024 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24025         _pkg_short_errors_supported=yes
   24026 else
   24027         _pkg_short_errors_supported=no
   24028 fi
   24029         if test $_pkg_short_errors_supported = yes; then
   24030 	        XEPHYR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$XEPHYR_REQUIRED_LIBS" 2>&1`
   24031         else
   24032 	        XEPHYR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$XEPHYR_REQUIRED_LIBS" 2>&1`
   24033         fi
   24034 	# Put the nasty error message in config.log where it belongs
   24035 	echo "$XEPHYR_PKG_ERRORS" >&5
   24036 
   24037 	xephyr="no"
   24038 elif test $pkg_failed = untried; then
   24039      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24040 $as_echo "no" >&6; }
   24041 	xephyr="no"
   24042 else
   24043 	XEPHYR_CFLAGS=$pkg_cv_XEPHYR_CFLAGS
   24044 	XEPHYR_LIBS=$pkg_cv_XEPHYR_LIBS
   24045         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24046 $as_echo "yes" >&6; }
   24047 	xephyr="yes"
   24048 fi
   24049     if test "x$XEPHYR" = xauto; then
   24050         XEPHYR=$xephyr
   24051     fi
   24052     if test "x$XEPHYR" = xyes && test "x$xephyr" = xno; then
   24053         as_fn_error $? "Xephyr dependencies missing" "$LINENO" 5
   24054     fi
   24055 
   24056     # Xephyr needs nanosleep() which is in librt on Solaris
   24057     ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
   24058 if test "x$ac_cv_func_nanosleep" = xyes; then :
   24059 
   24060 else
   24061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
   24062 $as_echo_n "checking for nanosleep in -lrt... " >&6; }
   24063 if ${ac_cv_lib_rt_nanosleep+:} false; then :
   24064   $as_echo_n "(cached) " >&6
   24065 else
   24066   ac_check_lib_save_LIBS=$LIBS
   24067 LIBS="-lrt  $LIBS"
   24068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24069 /* end confdefs.h.  */
   24070 
   24071 /* Override any GCC internal prototype to avoid an error.
   24072    Use char because int might match the return type of a GCC
   24073    builtin and then its argument prototype would still apply.  */
   24074 #ifdef __cplusplus
   24075 extern "C"
   24076 #endif
   24077 char nanosleep ();
   24078 int
   24079 main ()
   24080 {
   24081 return nanosleep ();
   24082   ;
   24083   return 0;
   24084 }
   24085 _ACEOF
   24086 if ac_fn_c_try_link "$LINENO"; then :
   24087   ac_cv_lib_rt_nanosleep=yes
   24088 else
   24089   ac_cv_lib_rt_nanosleep=no
   24090 fi
   24091 rm -f core conftest.err conftest.$ac_objext \
   24092     conftest$ac_exeext conftest.$ac_ext
   24093 LIBS=$ac_check_lib_save_LIBS
   24094 fi
   24095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
   24096 $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
   24097 if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
   24098   XEPHYR_LIBS="$XEPHYR_LIBS -lrt"
   24099 fi
   24100 
   24101 fi
   24102 
   24103 
   24104     # damage shadow extension glx (NOTYET) fb mi
   24105     KDRIVE_INC='-I$(top_srcdir)/hw/kdrive/src'
   24106     KDRIVE_PURE_INCS="$KDRIVE_INC $MIEXT_SYNC_INC $MIEXT_DAMAGE_INC $MIEXT_SHADOW_INC $XEXT_INC $FB_INC $MI_INC"
   24107     KDRIVE_OS_INC='-I$(top_srcdir)/hw/kdrive/linux'
   24108     KDRIVE_INCS="$KDRIVE_PURE_INCS $KDRIVE_OS_INC"
   24109 
   24110     KDRIVE_CFLAGS="$XSERVER_CFLAGS -DHAVE_KDRIVE_CONFIG_H $TSLIB_CFLAGS"
   24111 
   24112     KDRIVE_PURE_LIBS="$FB_LIB $MI_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $RECORD_LIB $GLX_LIBS $RANDR_LIB $RENDER_LIB $DAMAGE_LIB $MIEXT_SYNC_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $OS_LIB"
   24113     KDRIVE_LIB='$(top_builddir)/hw/kdrive/src/libkdrive.la'
   24114     case $host_os in
   24115 	*linux*)
   24116 	    KDRIVE_OS_LIB='$(top_builddir)/hw/kdrive/linux/liblinux.la'
   24117             KDRIVELINUX=yes
   24118 	    if test "x$KDRIVE_EVDEV" = xauto; then
   24119 		KDRIVE_EVDEV=yes
   24120 	    fi
   24121 	    if test "x$KDRIVE_KBD" = xauto; then
   24122 		KDRIVE_KBD=yes
   24123 	    fi
   24124 	    if test "x$KDRIVE_MOUSE" = xauto; then
   24125 		KDRIVE_MOUSE=yes
   24126 	    fi
   24127 	    ;;
   24128 	*)
   24129 	    if test "x$KDRIVE_EVDEV" = xauto; then
   24130 		KDRIVE_EVDEV=no
   24131 	    fi
   24132 	    if test "x$KDRIVE_KBD" = xauto; then
   24133 		KDRIVE_KBD=no
   24134 	    fi
   24135 	    if test "x$KDRIVE_MOUSE" = xauto; then
   24136 		KDRIVE_MOUSE=no
   24137 	    fi
   24138 	    ;;
   24139     esac
   24140     KDRIVE_STUB_LIB='$(top_builddir)/hw/kdrive/src/libkdrivestubs.la'
   24141     KDRIVE_LOCAL_LIBS="$MAIN_LIB $DIX_LIB $KDRIVE_LIB $KDRIVE_STUB_LIB"
   24142     KDRIVE_LOCAL_LIBS="$KDRIVE_LOCAL_LIBS $FB_LIB $MI_LIB $KDRIVE_PURE_LIBS"
   24143     KDRIVE_LOCAL_LIBS="$KDRIVE_LOCAL_LIBS $KDRIVE_OS_LIB"
   24144     KDRIVE_LIBS="$KDRIVE_LOCAL_LIBS $XSERVER_SYS_LIBS $GLX_SYS_LIBS $DLOPEN_LIBS $TSLIB_LIBS"
   24145 
   24146 
   24147 
   24148 fi
   24149 
   24150 
   24151 
   24152 
   24153 
   24154 
   24155  if test "x$KDRIVELINUX" = xyes; then
   24156   KDRIVELINUX_TRUE=
   24157   KDRIVELINUX_FALSE='#'
   24158 else
   24159   KDRIVELINUX_TRUE='#'
   24160   KDRIVELINUX_FALSE=
   24161 fi
   24162 
   24163  if test "x$KDRIVE_EVDEV" = xyes; then
   24164   KDRIVE_EVDEV_TRUE=
   24165   KDRIVE_EVDEV_FALSE='#'
   24166 else
   24167   KDRIVE_EVDEV_TRUE='#'
   24168   KDRIVE_EVDEV_FALSE=
   24169 fi
   24170 
   24171  if test "x$KDRIVE_KBD" = xyes; then
   24172   KDRIVE_KBD_TRUE=
   24173   KDRIVE_KBD_FALSE='#'
   24174 else
   24175   KDRIVE_KBD_TRUE='#'
   24176   KDRIVE_KBD_FALSE=
   24177 fi
   24178 
   24179  if test "x$KDRIVE_MOUSE" = xyes; then
   24180   KDRIVE_MOUSE_TRUE=
   24181   KDRIVE_MOUSE_FALSE='#'
   24182 else
   24183   KDRIVE_MOUSE_TRUE='#'
   24184   KDRIVE_MOUSE_FALSE=
   24185 fi
   24186 
   24187  if test "x$HAVE_TSLIB" = xyes; then
   24188   TSLIB_TRUE=
   24189   TSLIB_FALSE='#'
   24190 else
   24191   TSLIB_TRUE='#'
   24192   TSLIB_FALSE=
   24193 fi
   24194 
   24195  if test "x$XFBDEV" = xyes; then
   24196   KDRIVEFBDEV_TRUE=
   24197   KDRIVEFBDEV_FALSE='#'
   24198 else
   24199   KDRIVEFBDEV_TRUE='#'
   24200   KDRIVEFBDEV_FALSE=
   24201 fi
   24202 
   24203  if test "x$KDRIVE" = xyes && test "x$XEPHYR" = xyes; then
   24204   XEPHYR_TRUE=
   24205   XEPHYR_FALSE='#'
   24206 else
   24207   XEPHYR_TRUE='#'
   24208   XEPHYR_FALSE=
   24209 fi
   24210 
   24211  if test "x$KDRIVE" = xyes && test "x$KDRIVEFBDEVLIB" = xyes; then
   24212   BUILD_KDRIVEFBDEVLIB_TRUE=
   24213   BUILD_KDRIVEFBDEVLIB_FALSE='#'
   24214 else
   24215   BUILD_KDRIVEFBDEVLIB_TRUE='#'
   24216   BUILD_KDRIVEFBDEVLIB_FALSE=
   24217 fi
   24218 
   24219  if test "x$KDRIVE" = xyes && test "x$XFAKE" = xyes; then
   24220   XFAKESERVER_TRUE=
   24221   XFAKESERVER_FALSE='#'
   24222 else
   24223   XFAKESERVER_TRUE='#'
   24224   XFAKESERVER_FALSE=
   24225 fi
   24226 
   24227 
   24228 
   24229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   24230 /* end confdefs.h.  */
   24231 
   24232 #include <features.h>
   24233 #ifndef __GLIBC__
   24234 #error not glibc
   24235 #endif
   24236 
   24237 int
   24238 main ()
   24239 {
   24240 
   24241   ;
   24242   return 0;
   24243 }
   24244 _ACEOF
   24245 if ac_fn_c_try_compile "$LINENO"; then :
   24246 
   24247 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   24248 
   24249 fi
   24250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   24251 
   24252 
   24253   prefix_NONE=
   24254   exec_prefix_NONE=
   24255   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24256   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24257   eval ac_define_dir="\"$prefix\""
   24258   eval ac_define_dir="\"$ac_define_dir\""
   24259   PROJECTROOT="$ac_define_dir"
   24260 
   24261 
   24262 cat >>confdefs.h <<_ACEOF
   24263 #define PROJECTROOT "$ac_define_dir"
   24264 _ACEOF
   24265 
   24266   test "$prefix_NONE" && prefix=NONE
   24267   test "$exec_prefix_NONE" && exec_prefix=NONE
   24268 
   24269 
   24270 
   24271 BUILD_DATE="`date +'%Y%m%d'`"
   24272 
   24273 BUILD_TIME="`date +'1%H%M%S'`"
   24274 
   24275 
   24276 DIX_CFLAGS="-DHAVE_DIX_CONFIG_H $XSERVER_CFLAGS"
   24277 
   24278 
   24279 
   24280 
   24281 
   24282 
   24283 
   24284 ac_config_commands="$ac_config_commands sdksyms"
   24285 
   24286 
   24287 ac_config_files="$ac_config_files Makefile glx/Makefile include/Makefile composite/Makefile damageext/Makefile dbe/Makefile dix/Makefile doc/Makefile doc/man/Makefile doc/xml/Makefile doc/xml/dtrace/Makefile doc/xml/xserver.ent fb/Makefile record/Makefile config/Makefile mi/Makefile miext/Makefile miext/sync/Makefile miext/damage/Makefile miext/shadow/Makefile miext/cw/Makefile miext/rootless/Makefile os/Makefile randr/Makefile render/Makefile xkb/Makefile Xext/Makefile Xi/Makefile xfixes/Makefile exa/Makefile hw/Makefile hw/xfree86/Makefile hw/xfree86/common/Makefile hw/xfree86/common/xf86Build.h hw/xfree86/ddc/Makefile hw/xfree86/dixmods/Makefile hw/xfree86/dixmods/extmod/Makefile hw/xfree86/doc/Makefile hw/xfree86/doc/devel/Makefile hw/xfree86/doc/man/Makefile hw/xfree86/doc/sgml/Makefile hw/xfree86/dri/Makefile hw/xfree86/dri2/Makefile hw/xfree86/exa/Makefile hw/xfree86/exa/man/Makefile hw/xfree86/fbdevhw/Makefile hw/xfree86/fbdevhw/man/Makefile hw/xfree86/i2c/Makefile hw/xfree86/int10/Makefile hw/xfree86/loader/Makefile hw/xfree86/modes/Makefile hw/xfree86/os-support/Makefile hw/xfree86/os-support/bsd/Makefile hw/xfree86/os-support/bus/Makefile hw/xfree86/os-support/hurd/Makefile hw/xfree86/os-support/misc/Makefile hw/xfree86/os-support/linux/Makefile hw/xfree86/os-support/solaris/Makefile hw/xfree86/parser/Makefile hw/xfree86/ramdac/Makefile hw/xfree86/shadowfb/Makefile hw/xfree86/vbe/Makefile hw/xfree86/vgahw/Makefile hw/xfree86/x86emu/Makefile hw/xfree86/xaa/Makefile hw/xfree86/utils/Makefile hw/xfree86/utils/man/Makefile hw/xfree86/utils/cvt/Makefile hw/xfree86/utils/gtf/Makefile hw/dmx/config/Makefile hw/dmx/config/man/Makefile hw/dmx/doc/Makefile hw/dmx/doc/doxygen.conf hw/dmx/examples/Makefile hw/dmx/input/Makefile hw/dmx/glxProxy/Makefile hw/dmx/Makefile hw/dmx/man/Makefile hw/vfb/Makefile hw/vfb/man/Makefile hw/xnest/Makefile hw/xnest/man/Makefile hw/xwin/Makefile hw/xwin/glx/Makefile hw/xwin/man/Makefile hw/xquartz/Makefile hw/xquartz/GL/Makefile hw/xquartz/bundle/Makefile hw/xquartz/man/Makefile hw/xquartz/mach-startup/Makefile hw/xquartz/pbproxy/Makefile hw/xquartz/xpr/Makefile hw/kdrive/Makefile hw/kdrive/ephyr/Makefile hw/kdrive/ephyr/man/Makefile hw/kdrive/fake/Makefile hw/kdrive/fbdev/Makefile hw/kdrive/linux/Makefile hw/kdrive/src/Makefile test/Makefile test/xi1/Makefile test/xi2/Makefile xorg-server.pc"
   24288 
   24289 cat >confcache <<\_ACEOF
   24290 # This file is a shell script that caches the results of configure
   24291 # tests run on this system so they can be shared between configure
   24292 # scripts and configure runs, see configure's option --config-cache.
   24293 # It is not useful on other systems.  If it contains results you don't
   24294 # want to keep, you may remove or edit it.
   24295 #
   24296 # config.status only pays attention to the cache file if you give it
   24297 # the --recheck option to rerun configure.
   24298 #
   24299 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   24300 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   24301 # following values.
   24302 
   24303 _ACEOF
   24304 
   24305 # The following way of writing the cache mishandles newlines in values,
   24306 # but we know of no workaround that is simple, portable, and efficient.
   24307 # So, we kill variables containing newlines.
   24308 # Ultrix sh set writes to stderr and can't be redirected directly,
   24309 # and sets the high bit in the cache file unless we assign to the vars.
   24310 (
   24311   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   24312     eval ac_val=\$$ac_var
   24313     case $ac_val in #(
   24314     *${as_nl}*)
   24315       case $ac_var in #(
   24316       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   24317 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   24318       esac
   24319       case $ac_var in #(
   24320       _ | IFS | as_nl) ;; #(
   24321       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   24322       *) { eval $ac_var=; unset $ac_var;} ;;
   24323       esac ;;
   24324     esac
   24325   done
   24326 
   24327   (set) 2>&1 |
   24328     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   24329     *${as_nl}ac_space=\ *)
   24330       # `set' does not quote correctly, so add quotes: double-quote
   24331       # substitution turns \\\\ into \\, and sed turns \\ into \.
   24332       sed -n \
   24333 	"s/'/'\\\\''/g;
   24334 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   24335       ;; #(
   24336     *)
   24337       # `set' quotes correctly as required by POSIX, so do not add quotes.
   24338       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   24339       ;;
   24340     esac |
   24341     sort
   24342 ) |
   24343   sed '
   24344      /^ac_cv_env_/b end
   24345      t clear
   24346      :clear
   24347      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   24348      t end
   24349      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   24350      :end' >>confcache
   24351 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   24352   if test -w "$cache_file"; then
   24353     if test "x$cache_file" != "x/dev/null"; then
   24354       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   24355 $as_echo "$as_me: updating cache $cache_file" >&6;}
   24356       if test ! -f "$cache_file" || test -h "$cache_file"; then
   24357 	cat confcache >"$cache_file"
   24358       else
   24359         case $cache_file in #(
   24360         */* | ?:*)
   24361 	  mv -f confcache "$cache_file"$$ &&
   24362 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   24363         *)
   24364 	  mv -f confcache "$cache_file" ;;
   24365 	esac
   24366       fi
   24367     fi
   24368   else
   24369     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   24370 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   24371   fi
   24372 fi
   24373 rm -f confcache
   24374 
   24375 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   24376 # Let make expand exec_prefix.
   24377 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   24378 
   24379 DEFS=-DHAVE_CONFIG_H
   24380 
   24381 ac_libobjs=
   24382 ac_ltlibobjs=
   24383 U=
   24384 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   24385   # 1. Remove the extension, and $U if already installed.
   24386   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   24387   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   24388   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   24389   #    will be set to the directory where LIBOBJS objects are built.
   24390   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   24391   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   24392 done
   24393 LIBOBJS=$ac_libobjs
   24394 
   24395 LTLIBOBJS=$ac_ltlibobjs
   24396 
   24397 
   24398  if test -n "$EXEEXT"; then
   24399   am__EXEEXT_TRUE=
   24400   am__EXEEXT_FALSE='#'
   24401 else
   24402   am__EXEEXT_TRUE='#'
   24403   am__EXEEXT_FALSE=
   24404 fi
   24405 
   24406 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   24407   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   24408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24409 fi
   24410 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   24411   as_fn_error $? "conditional \"AMDEP\" was never defined.
   24412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24413 fi
   24414 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   24415   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   24416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24417 fi
   24418 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
   24419   as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined.
   24420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24421 fi
   24422 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   24423   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   24424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24425 fi
   24426 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
   24427   as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
   24428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24429 fi
   24430 if test -z "${XSERVER_DTRACE_TRUE}" && test -z "${XSERVER_DTRACE_FALSE}"; then
   24431   as_fn_error $? "conditional \"XSERVER_DTRACE\" was never defined.
   24432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24433 fi
   24434 if test -z "${SPECIAL_DTRACE_OBJECTS_TRUE}" && test -z "${SPECIAL_DTRACE_OBJECTS_FALSE}"; then
   24435   as_fn_error $? "conditional \"SPECIAL_DTRACE_OBJECTS\" was never defined.
   24436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24437 fi
   24438 
   24439 if test -z "${NEED_STRLCAT_TRUE}" && test -z "${NEED_STRLCAT_FALSE}"; then
   24440   as_fn_error $? "conditional \"NEED_STRLCAT\" was never defined.
   24441 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24442 fi
   24443 if test -z "${NEED_VSNPRINTF_TRUE}" && test -z "${NEED_VSNPRINTF_FALSE}"; then
   24444   as_fn_error $? "conditional \"NEED_VSNPRINTF\" was never defined.
   24445 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24446 fi
   24447 if test -z "${AGP_TRUE}" && test -z "${AGP_FALSE}"; then
   24448   as_fn_error $? "conditional \"AGP\" was never defined.
   24449 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24450 fi
   24451 if test -z "${LNXAPM_TRUE}" && test -z "${LNXAPM_FALSE}"; then
   24452   as_fn_error $? "conditional \"LNXAPM\" was never defined.
   24453 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24454 fi
   24455 if test -z "${FBDEVHW_TRUE}" && test -z "${FBDEVHW_FALSE}"; then
   24456   as_fn_error $? "conditional \"FBDEVHW\" was never defined.
   24457 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24458 fi
   24459 if test -z "${FREEBSD_KLDLOAD_TRUE}" && test -z "${FREEBSD_KLDLOAD_FALSE}"; then
   24460   as_fn_error $? "conditional \"FREEBSD_KLDLOAD\" was never defined.
   24461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24462 fi
   24463 if test -z "${BSD_APM_TRUE}" && test -z "${BSD_APM_FALSE}"; then
   24464   as_fn_error $? "conditional \"BSD_APM\" was never defined.
   24465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24466 fi
   24467 if test -z "${BSD_KQUEUE_APM_TRUE}" && test -z "${BSD_KQUEUE_APM_FALSE}"; then
   24468   as_fn_error $? "conditional \"BSD_KQUEUE_APM\" was never defined.
   24469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24470 fi
   24471 if test -z "${ALPHA_VIDEO_TRUE}" && test -z "${ALPHA_VIDEO_FALSE}"; then
   24472   as_fn_error $? "conditional \"ALPHA_VIDEO\" was never defined.
   24473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24474 fi
   24475 if test -z "${ARM_VIDEO_TRUE}" && test -z "${ARM_VIDEO_FALSE}"; then
   24476   as_fn_error $? "conditional \"ARM_VIDEO\" was never defined.
   24477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24478 fi
   24479 if test -z "${I386_VIDEO_TRUE}" && test -z "${I386_VIDEO_FALSE}"; then
   24480   as_fn_error $? "conditional \"I386_VIDEO\" was never defined.
   24481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24482 fi
   24483 if test -z "${PPC_VIDEO_TRUE}" && test -z "${PPC_VIDEO_FALSE}"; then
   24484   as_fn_error $? "conditional \"PPC_VIDEO\" was never defined.
   24485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24486 fi
   24487 if test -z "${SPARC64_VIDEO_TRUE}" && test -z "${SPARC64_VIDEO_FALSE}"; then
   24488   as_fn_error $? "conditional \"SPARC64_VIDEO\" was never defined.
   24489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24490 fi
   24491 if test -z "${INSTALL_SETUID_TRUE}" && test -z "${INSTALL_SETUID_FALSE}"; then
   24492   as_fn_error $? "conditional \"INSTALL_SETUID\" was never defined.
   24493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24494 fi
   24495 if test -z "${SECURE_RPC_TRUE}" && test -z "${SECURE_RPC_FALSE}"; then
   24496   as_fn_error $? "conditional \"SECURE_RPC\" was never defined.
   24497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24498 fi
   24499 if test -z "${INT10_VM86_TRUE}" && test -z "${INT10_VM86_FALSE}"; then
   24500   as_fn_error $? "conditional \"INT10_VM86\" was never defined.
   24501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24502 fi
   24503 if test -z "${INT10_X86EMU_TRUE}" && test -z "${INT10_X86EMU_FALSE}"; then
   24504   as_fn_error $? "conditional \"INT10_X86EMU\" was never defined.
   24505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24506 fi
   24507 if test -z "${INT10_STUB_TRUE}" && test -z "${INT10_STUB_FALSE}"; then
   24508   as_fn_error $? "conditional \"INT10_STUB\" was never defined.
   24509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24510 fi
   24511 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
   24512   as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
   24513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24514 fi
   24515 if test -z "${ENABLE_DEVEL_DOCS_TRUE}" && test -z "${ENABLE_DEVEL_DOCS_FALSE}"; then
   24516   as_fn_error $? "conditional \"ENABLE_DEVEL_DOCS\" was never defined.
   24517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24518 fi
   24519 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   24520   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   24521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24522 fi
   24523 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   24524   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   24525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24526 fi
   24527 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   24528   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   24529 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24530 fi
   24531 if test -z "${INSTALL_LIBXF86CONFIG_TRUE}" && test -z "${INSTALL_LIBXF86CONFIG_FALSE}"; then
   24532   as_fn_error $? "conditional \"INSTALL_LIBXF86CONFIG\" was never defined.
   24533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24534 fi
   24535 if test -z "${CONFIG_UDEV_TRUE}" && test -z "${CONFIG_UDEV_FALSE}"; then
   24536   as_fn_error $? "conditional \"CONFIG_UDEV\" was never defined.
   24537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24538 fi
   24539 if test -z "${HAVE_DBUS_TRUE}" && test -z "${HAVE_DBUS_FALSE}"; then
   24540   as_fn_error $? "conditional \"HAVE_DBUS\" was never defined.
   24541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24542 fi
   24543 if test -z "${CONFIG_DBUS_API_TRUE}" && test -z "${CONFIG_DBUS_API_FALSE}"; then
   24544   as_fn_error $? "conditional \"CONFIG_DBUS_API\" was never defined.
   24545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24546 fi
   24547 if test -z "${CONFIG_HAL_TRUE}" && test -z "${CONFIG_HAL_FALSE}"; then
   24548   as_fn_error $? "conditional \"CONFIG_HAL\" was never defined.
   24549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24550 fi
   24551 if test -z "${CONFIG_NEED_DBUS_TRUE}" && test -z "${CONFIG_NEED_DBUS_FALSE}"; then
   24552   as_fn_error $? "conditional \"CONFIG_NEED_DBUS\" was never defined.
   24553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24554 fi
   24555 if test -z "${XV_TRUE}" && test -z "${XV_FALSE}"; then
   24556   as_fn_error $? "conditional \"XV\" was never defined.
   24557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24558 fi
   24559 if test -z "${XVMC_TRUE}" && test -z "${XVMC_FALSE}"; then
   24560   as_fn_error $? "conditional \"XVMC\" was never defined.
   24561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24562 fi
   24563 if test -z "${XREGISTRY_TRUE}" && test -z "${XREGISTRY_FALSE}"; then
   24564   as_fn_error $? "conditional \"XREGISTRY\" was never defined.
   24565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24566 fi
   24567 if test -z "${COMPOSITE_TRUE}" && test -z "${COMPOSITE_FALSE}"; then
   24568   as_fn_error $? "conditional \"COMPOSITE\" was never defined.
   24569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24570 fi
   24571 if test -z "${MITSHM_TRUE}" && test -z "${MITSHM_FALSE}"; then
   24572   as_fn_error $? "conditional \"MITSHM\" was never defined.
   24573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24574 fi
   24575 if test -z "${RECORD_TRUE}" && test -z "${RECORD_FALSE}"; then
   24576   as_fn_error $? "conditional \"RECORD\" was never defined.
   24577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24578 fi
   24579 if test -z "${SCREENSAVER_TRUE}" && test -z "${SCREENSAVER_FALSE}"; then
   24580   as_fn_error $? "conditional \"SCREENSAVER\" was never defined.
   24581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24582 fi
   24583 if test -z "${RES_TRUE}" && test -z "${RES_FALSE}"; then
   24584   as_fn_error $? "conditional \"RES\" was never defined.
   24585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24586 fi
   24587 if test -z "${GLX_TRUE}" && test -z "${GLX_FALSE}"; then
   24588   as_fn_error $? "conditional \"GLX\" was never defined.
   24589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24590 fi
   24591 if test -z "${AIGLX_TRUE}" && test -z "${AIGLX_FALSE}"; then
   24592   as_fn_error $? "conditional \"AIGLX\" was never defined.
   24593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24594 fi
   24595 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   24596   as_fn_error $? "conditional \"DRI\" was never defined.
   24597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24598 fi
   24599 if test -z "${DRI2_TRUE}" && test -z "${DRI2_FALSE}"; then
   24600   as_fn_error $? "conditional \"DRI2\" was never defined.
   24601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24602 fi
   24603 if test -z "${DRI2_AIGLX_TRUE}" && test -z "${DRI2_AIGLX_FALSE}"; then
   24604   as_fn_error $? "conditional \"DRI2_AIGLX\" was never defined.
   24605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24606 fi
   24607 if test -z "${XINERAMA_TRUE}" && test -z "${XINERAMA_FALSE}"; then
   24608   as_fn_error $? "conditional \"XINERAMA\" was never defined.
   24609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24610 fi
   24611 if test -z "${XACE_TRUE}" && test -z "${XACE_FALSE}"; then
   24612   as_fn_error $? "conditional \"XACE\" was never defined.
   24613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24614 fi
   24615 if test -z "${XSELINUX_TRUE}" && test -z "${XSELINUX_FALSE}"; then
   24616   as_fn_error $? "conditional \"XSELINUX\" was never defined.
   24617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24618 fi
   24619 if test -z "${XCSECURITY_TRUE}" && test -z "${XCSECURITY_FALSE}"; then
   24620   as_fn_error $? "conditional \"XCSECURITY\" was never defined.
   24621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24622 fi
   24623 if test -z "${DBE_TRUE}" && test -z "${DBE_FALSE}"; then
   24624   as_fn_error $? "conditional \"DBE\" was never defined.
   24625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24626 fi
   24627 if test -z "${XF86BIGFONT_TRUE}" && test -z "${XF86BIGFONT_FALSE}"; then
   24628   as_fn_error $? "conditional \"XF86BIGFONT\" was never defined.
   24629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24630 fi
   24631 if test -z "${DPMSExtension_TRUE}" && test -z "${DPMSExtension_FALSE}"; then
   24632   as_fn_error $? "conditional \"DPMSExtension\" was never defined.
   24633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24634 fi
   24635 if test -z "${XCALIBRATE_TRUE}" && test -z "${XCALIBRATE_FALSE}"; then
   24636   as_fn_error $? "conditional \"XCALIBRATE\" was never defined.
   24637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24638 fi
   24639 if test -z "${XF86UTILS_TRUE}" && test -z "${XF86UTILS_FALSE}"; then
   24640   as_fn_error $? "conditional \"XF86UTILS\" was never defined.
   24641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24642 fi
   24643 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   24644   as_fn_error $? "conditional \"XAA\" was never defined.
   24645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24646 fi
   24647 if test -z "${VGAHW_TRUE}" && test -z "${VGAHW_FALSE}"; then
   24648   as_fn_error $? "conditional \"VGAHW\" was never defined.
   24649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24650 fi
   24651 if test -z "${VBE_TRUE}" && test -z "${VBE_FALSE}"; then
   24652   as_fn_error $? "conditional \"VBE\" was never defined.
   24653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24654 fi
   24655 if test -z "${INT10MODULE_TRUE}" && test -z "${INT10MODULE_FALSE}"; then
   24656   as_fn_error $? "conditional \"INT10MODULE\" was never defined.
   24657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24658 fi
   24659 if test -z "${XDMCP_TRUE}" && test -z "${XDMCP_FALSE}"; then
   24660   as_fn_error $? "conditional \"XDMCP\" was never defined.
   24661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24662 fi
   24663 if test -z "${XDMAUTH_TRUE}" && test -z "${XDMAUTH_FALSE}"; then
   24664   as_fn_error $? "conditional \"XDMAUTH\" was never defined.
   24665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24666 fi
   24667 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
   24668   as_fn_error $? "conditional \"DEBUG\" was never defined.
   24669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24670 fi
   24671 if test -z "${UNITTESTS_TRUE}" && test -z "${UNITTESTS_FALSE}"; then
   24672   as_fn_error $? "conditional \"UNITTESTS\" was never defined.
   24673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24674 fi
   24675 if test -z "${XVFB_TRUE}" && test -z "${XVFB_FALSE}"; then
   24676   as_fn_error $? "conditional \"XVFB\" was never defined.
   24677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24678 fi
   24679 if test -z "${XNEST_TRUE}" && test -z "${XNEST_FALSE}"; then
   24680   as_fn_error $? "conditional \"XNEST\" was never defined.
   24681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24682 fi
   24683 if test -z "${XORG_TRUE}" && test -z "${XORG_FALSE}"; then
   24684   as_fn_error $? "conditional \"XORG\" was never defined.
   24685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24686 fi
   24687 if test -z "${XORG_BUS_LINUXPCI_TRUE}" && test -z "${XORG_BUS_LINUXPCI_FALSE}"; then
   24688   as_fn_error $? "conditional \"XORG_BUS_LINUXPCI\" was never defined.
   24689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24690 fi
   24691 if test -z "${XORG_BUS_BSDPCI_TRUE}" && test -z "${XORG_BUS_BSDPCI_FALSE}"; then
   24692   as_fn_error $? "conditional \"XORG_BUS_BSDPCI\" was never defined.
   24693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24694 fi
   24695 if test -z "${XORG_BUS_SPARC_TRUE}" && test -z "${XORG_BUS_SPARC_FALSE}"; then
   24696   as_fn_error $? "conditional \"XORG_BUS_SPARC\" was never defined.
   24697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24698 fi
   24699 if test -z "${LINUX_IA64_TRUE}" && test -z "${LINUX_IA64_FALSE}"; then
   24700   as_fn_error $? "conditional \"LINUX_IA64\" was never defined.
   24701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24702 fi
   24703 if test -z "${LINUX_ALPHA_TRUE}" && test -z "${LINUX_ALPHA_FALSE}"; then
   24704   as_fn_error $? "conditional \"LINUX_ALPHA\" was never defined.
   24705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24706 fi
   24707 if test -z "${LNXACPI_TRUE}" && test -z "${LNXACPI_FALSE}"; then
   24708   as_fn_error $? "conditional \"LNXACPI\" was never defined.
   24709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24710 fi
   24711 if test -z "${SOLARIS_ASM_INLINE_TRUE}" && test -z "${SOLARIS_ASM_INLINE_FALSE}"; then
   24712   as_fn_error $? "conditional \"SOLARIS_ASM_INLINE\" was never defined.
   24713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24714 fi
   24715 if test -z "${SOLARIS_VT_TRUE}" && test -z "${SOLARIS_VT_FALSE}"; then
   24716   as_fn_error $? "conditional \"SOLARIS_VT\" was never defined.
   24717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24718 fi
   24719 if test -z "${DGA_TRUE}" && test -z "${DGA_FALSE}"; then
   24720   as_fn_error $? "conditional \"DGA\" was never defined.
   24721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24722 fi
   24723 if test -z "${XF86VIDMODE_TRUE}" && test -z "${XF86VIDMODE_FALSE}"; then
   24724   as_fn_error $? "conditional \"XF86VIDMODE\" was never defined.
   24725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24726 fi
   24727 if test -z "${XWIN_TRUE}" && test -z "${XWIN_FALSE}"; then
   24728   as_fn_error $? "conditional \"XWIN\" was never defined.
   24729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24730 fi
   24731 if test -z "${XWIN_MULTIWINDOW_TRUE}" && test -z "${XWIN_MULTIWINDOW_FALSE}"; then
   24732   as_fn_error $? "conditional \"XWIN_MULTIWINDOW\" was never defined.
   24733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24734 fi
   24735 if test -z "${XWIN_MULTIWINDOWEXTWM_TRUE}" && test -z "${XWIN_MULTIWINDOWEXTWM_FALSE}"; then
   24736   as_fn_error $? "conditional \"XWIN_MULTIWINDOWEXTWM\" was never defined.
   24737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24738 fi
   24739 if test -z "${XWIN_CLIPBOARD_TRUE}" && test -z "${XWIN_CLIPBOARD_FALSE}"; then
   24740   as_fn_error $? "conditional \"XWIN_CLIPBOARD\" was never defined.
   24741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24742 fi
   24743 if test -z "${XWIN_GLX_WINDOWS_TRUE}" && test -z "${XWIN_GLX_WINDOWS_FALSE}"; then
   24744   as_fn_error $? "conditional \"XWIN_GLX_WINDOWS\" was never defined.
   24745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24746 fi
   24747 if test -z "${XWIN_NATIVEGDI_TRUE}" && test -z "${XWIN_NATIVEGDI_FALSE}"; then
   24748   as_fn_error $? "conditional \"XWIN_NATIVEGDI\" was never defined.
   24749 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24750 fi
   24751 if test -z "${XWIN_PRIMARYFB_TRUE}" && test -z "${XWIN_PRIMARYFB_FALSE}"; then
   24752   as_fn_error $? "conditional \"XWIN_PRIMARYFB\" was never defined.
   24753 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24754 fi
   24755 if test -z "${XWIN_RANDR_TRUE}" && test -z "${XWIN_RANDR_FALSE}"; then
   24756   as_fn_error $? "conditional \"XWIN_RANDR\" was never defined.
   24757 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24758 fi
   24759 if test -z "${XWIN_XV_TRUE}" && test -z "${XWIN_XV_FALSE}"; then
   24760   as_fn_error $? "conditional \"XWIN_XV\" was never defined.
   24761 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24762 fi
   24763 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
   24764   as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
   24765 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24766 fi
   24767 if test -z "${XQUARTZ_TRUE}" && test -z "${XQUARTZ_FALSE}"; then
   24768   as_fn_error $? "conditional \"XQUARTZ\" was never defined.
   24769 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24770 fi
   24771 if test -z "${XQUARTZ_SPARKLE_TRUE}" && test -z "${XQUARTZ_SPARKLE_FALSE}"; then
   24772   as_fn_error $? "conditional \"XQUARTZ_SPARKLE\" was never defined.
   24773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24774 fi
   24775 if test -z "${STANDALONE_XPBPROXY_TRUE}" && test -z "${STANDALONE_XPBPROXY_FALSE}"; then
   24776   as_fn_error $? "conditional \"STANDALONE_XPBPROXY\" was never defined.
   24777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24778 fi
   24779 if test -z "${DMX_TRUE}" && test -z "${DMX_FALSE}"; then
   24780   as_fn_error $? "conditional \"DMX\" was never defined.
   24781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24782 fi
   24783 if test -z "${DMX_BUILD_LNX_TRUE}" && test -z "${DMX_BUILD_LNX_FALSE}"; then
   24784   as_fn_error $? "conditional \"DMX_BUILD_LNX\" was never defined.
   24785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24786 fi
   24787 if test -z "${DMX_BUILD_USB_TRUE}" && test -z "${DMX_BUILD_USB_FALSE}"; then
   24788   as_fn_error $? "conditional \"DMX_BUILD_USB\" was never defined.
   24789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24790 fi
   24791 if test -z "${KDRIVE_TRUE}" && test -z "${KDRIVE_FALSE}"; then
   24792   as_fn_error $? "conditional \"KDRIVE\" was never defined.
   24793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24794 fi
   24795 if test -z "${KDRIVELINUX_TRUE}" && test -z "${KDRIVELINUX_FALSE}"; then
   24796   as_fn_error $? "conditional \"KDRIVELINUX\" was never defined.
   24797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24798 fi
   24799 if test -z "${KDRIVE_EVDEV_TRUE}" && test -z "${KDRIVE_EVDEV_FALSE}"; then
   24800   as_fn_error $? "conditional \"KDRIVE_EVDEV\" was never defined.
   24801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24802 fi
   24803 if test -z "${KDRIVE_KBD_TRUE}" && test -z "${KDRIVE_KBD_FALSE}"; then
   24804   as_fn_error $? "conditional \"KDRIVE_KBD\" was never defined.
   24805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24806 fi
   24807 if test -z "${KDRIVE_MOUSE_TRUE}" && test -z "${KDRIVE_MOUSE_FALSE}"; then
   24808   as_fn_error $? "conditional \"KDRIVE_MOUSE\" was never defined.
   24809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24810 fi
   24811 if test -z "${TSLIB_TRUE}" && test -z "${TSLIB_FALSE}"; then
   24812   as_fn_error $? "conditional \"TSLIB\" was never defined.
   24813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24814 fi
   24815 if test -z "${KDRIVEFBDEV_TRUE}" && test -z "${KDRIVEFBDEV_FALSE}"; then
   24816   as_fn_error $? "conditional \"KDRIVEFBDEV\" was never defined.
   24817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24818 fi
   24819 if test -z "${XEPHYR_TRUE}" && test -z "${XEPHYR_FALSE}"; then
   24820   as_fn_error $? "conditional \"XEPHYR\" was never defined.
   24821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24822 fi
   24823 if test -z "${BUILD_KDRIVEFBDEVLIB_TRUE}" && test -z "${BUILD_KDRIVEFBDEVLIB_FALSE}"; then
   24824   as_fn_error $? "conditional \"BUILD_KDRIVEFBDEVLIB\" was never defined.
   24825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24826 fi
   24827 if test -z "${XFAKESERVER_TRUE}" && test -z "${XFAKESERVER_FALSE}"; then
   24828   as_fn_error $? "conditional \"XFAKESERVER\" was never defined.
   24829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24830 fi
   24831 
   24832 : "${CONFIG_STATUS=./config.status}"
   24833 ac_write_fail=0
   24834 ac_clean_files_save=$ac_clean_files
   24835 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   24836 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   24837 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   24838 as_write_fail=0
   24839 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   24840 #! $SHELL
   24841 # Generated by $as_me.
   24842 # Run this file to recreate the current configuration.
   24843 # Compiler output produced by configure, useful for debugging
   24844 # configure, is in config.log if it exists.
   24845 
   24846 debug=false
   24847 ac_cs_recheck=false
   24848 ac_cs_silent=false
   24849 
   24850 SHELL=\${CONFIG_SHELL-$SHELL}
   24851 export SHELL
   24852 _ASEOF
   24853 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   24854 ## -------------------- ##
   24855 ## M4sh Initialization. ##
   24856 ## -------------------- ##
   24857 
   24858 # Be more Bourne compatible
   24859 DUALCASE=1; export DUALCASE # for MKS sh
   24860 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   24861   emulate sh
   24862   NULLCMD=:
   24863   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   24864   # is contrary to our usage.  Disable this feature.
   24865   alias -g '${1+"$@"}'='"$@"'
   24866   setopt NO_GLOB_SUBST
   24867 else
   24868   case `(set -o) 2>/dev/null` in #(
   24869   *posix*) :
   24870     set -o posix ;; #(
   24871   *) :
   24872      ;;
   24873 esac
   24874 fi
   24875 
   24876 
   24877 as_nl='
   24878 '
   24879 export as_nl
   24880 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   24881 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   24882 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   24883 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   24884 # Prefer a ksh shell builtin over an external printf program on Solaris,
   24885 # but without wasting forks for bash or zsh.
   24886 if test -z "$BASH_VERSION$ZSH_VERSION" \
   24887     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   24888   as_echo='print -r --'
   24889   as_echo_n='print -rn --'
   24890 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   24891   as_echo='printf %s\n'
   24892   as_echo_n='printf %s'
   24893 else
   24894   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   24895     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   24896     as_echo_n='/usr/ucb/echo -n'
   24897   else
   24898     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   24899     as_echo_n_body='eval
   24900       arg=$1;
   24901       case $arg in #(
   24902       *"$as_nl"*)
   24903 	expr "X$arg" : "X\\(.*\\)$as_nl";
   24904 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   24905       esac;
   24906       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   24907     '
   24908     export as_echo_n_body
   24909     as_echo_n='sh -c $as_echo_n_body as_echo'
   24910   fi
   24911   export as_echo_body
   24912   as_echo='sh -c $as_echo_body as_echo'
   24913 fi
   24914 
   24915 # The user is always right.
   24916 if test "${PATH_SEPARATOR+set}" != set; then
   24917   PATH_SEPARATOR=:
   24918   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   24919     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   24920       PATH_SEPARATOR=';'
   24921   }
   24922 fi
   24923 
   24924 
   24925 # IFS
   24926 # We need space, tab and new line, in precisely that order.  Quoting is
   24927 # there to prevent editors from complaining about space-tab.
   24928 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   24929 # splitting by setting IFS to empty value.)
   24930 IFS=" ""	$as_nl"
   24931 
   24932 # Find who we are.  Look in the path if we contain no directory separator.
   24933 as_myself=
   24934 case $0 in #((
   24935   *[\\/]* ) as_myself=$0 ;;
   24936   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   24937 for as_dir in $PATH
   24938 do
   24939   IFS=$as_save_IFS
   24940   test -z "$as_dir" && as_dir=.
   24941     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   24942   done
   24943 IFS=$as_save_IFS
   24944 
   24945      ;;
   24946 esac
   24947 # We did not find ourselves, most probably we were run as `sh COMMAND'
   24948 # in which case we are not to be found in the path.
   24949 if test "x$as_myself" = x; then
   24950   as_myself=$0
   24951 fi
   24952 if test ! -f "$as_myself"; then
   24953   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   24954   exit 1
   24955 fi
   24956 
   24957 # Unset variables that we do not need and which cause bugs (e.g. in
   24958 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   24959 # suppresses any "Segmentation fault" message there.  '((' could
   24960 # trigger a bug in pdksh 5.2.14.
   24961 for as_var in BASH_ENV ENV MAIL MAILPATH
   24962 do eval test x\${$as_var+set} = xset \
   24963   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   24964 done
   24965 PS1='$ '
   24966 PS2='> '
   24967 PS4='+ '
   24968 
   24969 # NLS nuisances.
   24970 LC_ALL=C
   24971 export LC_ALL
   24972 LANGUAGE=C
   24973 export LANGUAGE
   24974 
   24975 # CDPATH.
   24976 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   24977 
   24978 
   24979 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   24980 # ----------------------------------------
   24981 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   24982 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   24983 # script with STATUS, using 1 if that was 0.
   24984 as_fn_error ()
   24985 {
   24986   as_status=$1; test $as_status -eq 0 && as_status=1
   24987   if test "$4"; then
   24988     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   24989     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   24990   fi
   24991   $as_echo "$as_me: error: $2" >&2
   24992   as_fn_exit $as_status
   24993 } # as_fn_error
   24994 
   24995 
   24996 # as_fn_set_status STATUS
   24997 # -----------------------
   24998 # Set $? to STATUS, without forking.
   24999 as_fn_set_status ()
   25000 {
   25001   return $1
   25002 } # as_fn_set_status
   25003 
   25004 # as_fn_exit STATUS
   25005 # -----------------
   25006 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   25007 as_fn_exit ()
   25008 {
   25009   set +e
   25010   as_fn_set_status $1
   25011   exit $1
   25012 } # as_fn_exit
   25013 
   25014 # as_fn_unset VAR
   25015 # ---------------
   25016 # Portably unset VAR.
   25017 as_fn_unset ()
   25018 {
   25019   { eval $1=; unset $1;}
   25020 }
   25021 as_unset=as_fn_unset
   25022 # as_fn_append VAR VALUE
   25023 # ----------------------
   25024 # Append the text in VALUE to the end of the definition contained in VAR. Take
   25025 # advantage of any shell optimizations that allow amortized linear growth over
   25026 # repeated appends, instead of the typical quadratic growth present in naive
   25027 # implementations.
   25028 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   25029   eval 'as_fn_append ()
   25030   {
   25031     eval $1+=\$2
   25032   }'
   25033 else
   25034   as_fn_append ()
   25035   {
   25036     eval $1=\$$1\$2
   25037   }
   25038 fi # as_fn_append
   25039 
   25040 # as_fn_arith ARG...
   25041 # ------------------
   25042 # Perform arithmetic evaluation on the ARGs, and store the result in the
   25043 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   25044 # must be portable across $(()) and expr.
   25045 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   25046   eval 'as_fn_arith ()
   25047   {
   25048     as_val=$(( $* ))
   25049   }'
   25050 else
   25051   as_fn_arith ()
   25052   {
   25053     as_val=`expr "$@" || test $? -eq 1`
   25054   }
   25055 fi # as_fn_arith
   25056 
   25057 
   25058 if expr a : '\(a\)' >/dev/null 2>&1 &&
   25059    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   25060   as_expr=expr
   25061 else
   25062   as_expr=false
   25063 fi
   25064 
   25065 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   25066   as_basename=basename
   25067 else
   25068   as_basename=false
   25069 fi
   25070 
   25071 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   25072   as_dirname=dirname
   25073 else
   25074   as_dirname=false
   25075 fi
   25076 
   25077 as_me=`$as_basename -- "$0" ||
   25078 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   25079 	 X"$0" : 'X\(//\)$' \| \
   25080 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   25081 $as_echo X/"$0" |
   25082     sed '/^.*\/\([^/][^/]*\)\/*$/{
   25083 	    s//\1/
   25084 	    q
   25085 	  }
   25086 	  /^X\/\(\/\/\)$/{
   25087 	    s//\1/
   25088 	    q
   25089 	  }
   25090 	  /^X\/\(\/\).*/{
   25091 	    s//\1/
   25092 	    q
   25093 	  }
   25094 	  s/.*/./; q'`
   25095 
   25096 # Avoid depending upon Character Ranges.
   25097 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   25098 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   25099 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   25100 as_cr_digits='0123456789'
   25101 as_cr_alnum=$as_cr_Letters$as_cr_digits
   25102 
   25103 ECHO_C= ECHO_N= ECHO_T=
   25104 case `echo -n x` in #(((((
   25105 -n*)
   25106   case `echo 'xy\c'` in
   25107   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   25108   xy)  ECHO_C='\c';;
   25109   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   25110        ECHO_T='	';;
   25111   esac;;
   25112 *)
   25113   ECHO_N='-n';;
   25114 esac
   25115 
   25116 rm -f conf$$ conf$$.exe conf$$.file
   25117 if test -d conf$$.dir; then
   25118   rm -f conf$$.dir/conf$$.file
   25119 else
   25120   rm -f conf$$.dir
   25121   mkdir conf$$.dir 2>/dev/null
   25122 fi
   25123 if (echo >conf$$.file) 2>/dev/null; then
   25124   if ln -s conf$$.file conf$$ 2>/dev/null; then
   25125     as_ln_s='ln -s'
   25126     # ... but there are two gotchas:
   25127     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   25128     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   25129     # In both cases, we have to default to `cp -p'.
   25130     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   25131       as_ln_s='cp -p'
   25132   elif ln conf$$.file conf$$ 2>/dev/null; then
   25133     as_ln_s=ln
   25134   else
   25135     as_ln_s='cp -p'
   25136   fi
   25137 else
   25138   as_ln_s='cp -p'
   25139 fi
   25140 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   25141 rmdir conf$$.dir 2>/dev/null
   25142 
   25143 
   25144 # as_fn_mkdir_p
   25145 # -------------
   25146 # Create "$as_dir" as a directory, including parents if necessary.
   25147 as_fn_mkdir_p ()
   25148 {
   25149 
   25150   case $as_dir in #(
   25151   -*) as_dir=./$as_dir;;
   25152   esac
   25153   test -d "$as_dir" || eval $as_mkdir_p || {
   25154     as_dirs=
   25155     while :; do
   25156       case $as_dir in #(
   25157       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   25158       *) as_qdir=$as_dir;;
   25159       esac
   25160       as_dirs="'$as_qdir' $as_dirs"
   25161       as_dir=`$as_dirname -- "$as_dir" ||
   25162 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25163 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   25164 	 X"$as_dir" : 'X\(//\)$' \| \
   25165 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   25166 $as_echo X"$as_dir" |
   25167     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25168 	    s//\1/
   25169 	    q
   25170 	  }
   25171 	  /^X\(\/\/\)[^/].*/{
   25172 	    s//\1/
   25173 	    q
   25174 	  }
   25175 	  /^X\(\/\/\)$/{
   25176 	    s//\1/
   25177 	    q
   25178 	  }
   25179 	  /^X\(\/\).*/{
   25180 	    s//\1/
   25181 	    q
   25182 	  }
   25183 	  s/.*/./; q'`
   25184       test -d "$as_dir" && break
   25185     done
   25186     test -z "$as_dirs" || eval "mkdir $as_dirs"
   25187   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   25188 
   25189 
   25190 } # as_fn_mkdir_p
   25191 if mkdir -p . 2>/dev/null; then
   25192   as_mkdir_p='mkdir -p "$as_dir"'
   25193 else
   25194   test -d ./-p && rmdir ./-p
   25195   as_mkdir_p=false
   25196 fi
   25197 
   25198 if test -x / >/dev/null 2>&1; then
   25199   as_test_x='test -x'
   25200 else
   25201   if ls -dL / >/dev/null 2>&1; then
   25202     as_ls_L_option=L
   25203   else
   25204     as_ls_L_option=
   25205   fi
   25206   as_test_x='
   25207     eval sh -c '\''
   25208       if test -d "$1"; then
   25209 	test -d "$1/.";
   25210       else
   25211 	case $1 in #(
   25212 	-*)set "./$1";;
   25213 	esac;
   25214 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   25215 	???[sx]*):;;*)false;;esac;fi
   25216     '\'' sh
   25217   '
   25218 fi
   25219 as_executable_p=$as_test_x
   25220 
   25221 # Sed expression to map a string onto a valid CPP name.
   25222 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   25223 
   25224 # Sed expression to map a string onto a valid variable name.
   25225 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   25226 
   25227 
   25228 exec 6>&1
   25229 ## ----------------------------------- ##
   25230 ## Main body of $CONFIG_STATUS script. ##
   25231 ## ----------------------------------- ##
   25232 _ASEOF
   25233 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   25234 
   25235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25236 # Save the log message, to keep $0 and so on meaningful, and to
   25237 # report actual input values of CONFIG_FILES etc. instead of their
   25238 # values after options handling.
   25239 ac_log="
   25240 This file was extended by xorg-server $as_me 1.10.3, which was
   25241 generated by GNU Autoconf 2.68.  Invocation command line was
   25242 
   25243   CONFIG_FILES    = $CONFIG_FILES
   25244   CONFIG_HEADERS  = $CONFIG_HEADERS
   25245   CONFIG_LINKS    = $CONFIG_LINKS
   25246   CONFIG_COMMANDS = $CONFIG_COMMANDS
   25247   $ $0 $@
   25248 
   25249 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   25250 "
   25251 
   25252 _ACEOF
   25253 
   25254 case $ac_config_files in *"
   25255 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   25256 esac
   25257 
   25258 case $ac_config_headers in *"
   25259 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   25260 esac
   25261 
   25262 
   25263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25264 # Files that config.status was made for.
   25265 config_files="$ac_config_files"
   25266 config_headers="$ac_config_headers"
   25267 config_commands="$ac_config_commands"
   25268 
   25269 _ACEOF
   25270 
   25271 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25272 ac_cs_usage="\
   25273 \`$as_me' instantiates files and other configuration actions
   25274 from templates according to the current configuration.  Unless the files
   25275 and actions are specified as TAGs, all are instantiated by default.
   25276 
   25277 Usage: $0 [OPTION]... [TAG]...
   25278 
   25279   -h, --help       print this help, then exit
   25280   -V, --version    print version number and configuration settings, then exit
   25281       --config     print configuration, then exit
   25282   -q, --quiet, --silent
   25283                    do not print progress messages
   25284   -d, --debug      don't remove temporary files
   25285       --recheck    update $as_me by reconfiguring in the same conditions
   25286       --file=FILE[:TEMPLATE]
   25287                    instantiate the configuration file FILE
   25288       --header=FILE[:TEMPLATE]
   25289                    instantiate the configuration header FILE
   25290 
   25291 Configuration files:
   25292 $config_files
   25293 
   25294 Configuration headers:
   25295 $config_headers
   25296 
   25297 Configuration commands:
   25298 $config_commands
   25299 
   25300 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   25301 
   25302 _ACEOF
   25303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25304 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   25305 ac_cs_version="\\
   25306 xorg-server config.status 1.10.3
   25307 configured by $0, generated by GNU Autoconf 2.68,
   25308   with options \\"\$ac_cs_config\\"
   25309 
   25310 Copyright (C) 2010 Free Software Foundation, Inc.
   25311 This config.status script is free software; the Free Software Foundation
   25312 gives unlimited permission to copy, distribute and modify it."
   25313 
   25314 ac_pwd='$ac_pwd'
   25315 srcdir='$srcdir'
   25316 INSTALL='$INSTALL'
   25317 MKDIR_P='$MKDIR_P'
   25318 AWK='$AWK'
   25319 test -n "\$AWK" || AWK=awk
   25320 _ACEOF
   25321 
   25322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25323 # The default lists apply if the user does not specify any file.
   25324 ac_need_defaults=:
   25325 while test $# != 0
   25326 do
   25327   case $1 in
   25328   --*=?*)
   25329     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   25330     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   25331     ac_shift=:
   25332     ;;
   25333   --*=)
   25334     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   25335     ac_optarg=
   25336     ac_shift=:
   25337     ;;
   25338   *)
   25339     ac_option=$1
   25340     ac_optarg=$2
   25341     ac_shift=shift
   25342     ;;
   25343   esac
   25344 
   25345   case $ac_option in
   25346   # Handling of the options.
   25347   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   25348     ac_cs_recheck=: ;;
   25349   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   25350     $as_echo "$ac_cs_version"; exit ;;
   25351   --config | --confi | --conf | --con | --co | --c )
   25352     $as_echo "$ac_cs_config"; exit ;;
   25353   --debug | --debu | --deb | --de | --d | -d )
   25354     debug=: ;;
   25355   --file | --fil | --fi | --f )
   25356     $ac_shift
   25357     case $ac_optarg in
   25358     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   25359     '') as_fn_error $? "missing file argument" ;;
   25360     esac
   25361     as_fn_append CONFIG_FILES " '$ac_optarg'"
   25362     ac_need_defaults=false;;
   25363   --header | --heade | --head | --hea )
   25364     $ac_shift
   25365     case $ac_optarg in
   25366     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   25367     esac
   25368     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   25369     ac_need_defaults=false;;
   25370   --he | --h)
   25371     # Conflict between --help and --header
   25372     as_fn_error $? "ambiguous option: \`$1'
   25373 Try \`$0 --help' for more information.";;
   25374   --help | --hel | -h )
   25375     $as_echo "$ac_cs_usage"; exit ;;
   25376   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   25377   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   25378     ac_cs_silent=: ;;
   25379 
   25380   # This is an error.
   25381   -*) as_fn_error $? "unrecognized option: \`$1'
   25382 Try \`$0 --help' for more information." ;;
   25383 
   25384   *) as_fn_append ac_config_targets " $1"
   25385      ac_need_defaults=false ;;
   25386 
   25387   esac
   25388   shift
   25389 done
   25390 
   25391 ac_configure_extra_args=
   25392 
   25393 if $ac_cs_silent; then
   25394   exec 6>/dev/null
   25395   ac_configure_extra_args="$ac_configure_extra_args --silent"
   25396 fi
   25397 
   25398 _ACEOF
   25399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25400 if \$ac_cs_recheck; then
   25401   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   25402   shift
   25403   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   25404   CONFIG_SHELL='$SHELL'
   25405   export CONFIG_SHELL
   25406   exec "\$@"
   25407 fi
   25408 
   25409 _ACEOF
   25410 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25411 exec 5>>config.log
   25412 {
   25413   echo
   25414   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   25415 ## Running $as_me. ##
   25416 _ASBOX
   25417   $as_echo "$ac_log"
   25418 } >&5
   25419 
   25420 _ACEOF
   25421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25422 #
   25423 # INIT-COMMANDS
   25424 #
   25425 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   25426 
   25427 
   25428 # The HP-UX ksh and POSIX shell print the target directory to stdout
   25429 # if CDPATH is set.
   25430 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   25431 
   25432 sed_quote_subst='$sed_quote_subst'
   25433 double_quote_subst='$double_quote_subst'
   25434 delay_variable_subst='$delay_variable_subst'
   25435 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   25436 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   25437 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   25438 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   25439 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   25440 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   25441 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   25442 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   25443 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   25444 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   25445 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   25446 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   25447 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   25448 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   25449 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   25450 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   25451 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   25452 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   25453 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   25454 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   25455 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   25456 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   25457 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   25458 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   25459 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   25460 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   25461 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   25462 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   25463 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   25464 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   25465 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   25466 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   25467 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   25468 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   25469 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   25470 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   25471 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   25472 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   25473 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   25474 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   25475 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   25476 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   25477 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   25478 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   25479 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   25480 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   25481 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   25482 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   25483 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   25484 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   25485 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   25486 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   25487 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   25488 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   25489 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   25490 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   25491 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
   25492 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   25493 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   25494 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   25495 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   25496 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   25497 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   25498 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   25499 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   25500 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   25501 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   25502 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   25503 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   25504 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   25505 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   25506 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   25507 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   25508 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   25509 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   25510 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   25511 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   25512 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   25513 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   25514 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   25515 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   25516 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   25517 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   25518 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   25519 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   25520 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   25521 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   25522 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   25523 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   25524 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   25525 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   25526 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   25527 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   25528 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   25529 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   25530 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   25531 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   25532 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   25533 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   25534 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   25535 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   25536 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   25537 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   25538 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   25539 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   25540 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   25541 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   25542 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   25543 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   25544 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   25545 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   25546 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   25547 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   25548 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   25549 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   25550 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   25551 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   25552 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   25553 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   25554 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   25555 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   25556 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   25557 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   25558 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   25559 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   25560 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   25561 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   25562 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   25563 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   25564 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   25565 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   25566 
   25567 LTCC='$LTCC'
   25568 LTCFLAGS='$LTCFLAGS'
   25569 compiler='$compiler_DEFAULT'
   25570 
   25571 # A function that is used when there is no print builtin or printf.
   25572 func_fallback_echo ()
   25573 {
   25574   eval 'cat <<_LTECHO_EOF
   25575 \$1
   25576 _LTECHO_EOF'
   25577 }
   25578 
   25579 # Quote evaled strings.
   25580 for var in AS \
   25581 DLLTOOL \
   25582 OBJDUMP \
   25583 SHELL \
   25584 ECHO \
   25585 SED \
   25586 GREP \
   25587 EGREP \
   25588 FGREP \
   25589 LD \
   25590 NM \
   25591 LN_S \
   25592 lt_SP2NL \
   25593 lt_NL2SP \
   25594 reload_flag \
   25595 deplibs_check_method \
   25596 file_magic_cmd \
   25597 file_magic_glob \
   25598 want_nocaseglob \
   25599 sharedlib_from_linklib_cmd \
   25600 AR \
   25601 AR_FLAGS \
   25602 archiver_list_spec \
   25603 STRIP \
   25604 RANLIB \
   25605 CC \
   25606 CFLAGS \
   25607 compiler \
   25608 lt_cv_sys_global_symbol_pipe \
   25609 lt_cv_sys_global_symbol_to_cdecl \
   25610 lt_cv_sys_global_symbol_to_c_name_address \
   25611 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   25612 nm_file_list_spec \
   25613 lt_prog_compiler_no_builtin_flag \
   25614 lt_prog_compiler_pic \
   25615 lt_prog_compiler_wl \
   25616 lt_prog_compiler_static \
   25617 lt_cv_prog_compiler_c_o \
   25618 need_locks \
   25619 MANIFEST_TOOL \
   25620 DSYMUTIL \
   25621 NMEDIT \
   25622 LIPO \
   25623 OTOOL \
   25624 OTOOL64 \
   25625 shrext_cmds \
   25626 export_dynamic_flag_spec \
   25627 whole_archive_flag_spec \
   25628 compiler_needs_object \
   25629 with_gnu_ld \
   25630 allow_undefined_flag \
   25631 no_undefined_flag \
   25632 hardcode_libdir_flag_spec \
   25633 hardcode_libdir_flag_spec_ld \
   25634 hardcode_libdir_separator \
   25635 exclude_expsyms \
   25636 include_expsyms \
   25637 file_list_spec \
   25638 variables_saved_for_relink \
   25639 libname_spec \
   25640 library_names_spec \
   25641 soname_spec \
   25642 install_override_mode \
   25643 finish_eval \
   25644 old_striplib \
   25645 striplib; do
   25646     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   25647     *[\\\\\\\`\\"\\\$]*)
   25648       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   25649       ;;
   25650     *)
   25651       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   25652       ;;
   25653     esac
   25654 done
   25655 
   25656 # Double-quote double-evaled strings.
   25657 for var in reload_cmds \
   25658 old_postinstall_cmds \
   25659 old_postuninstall_cmds \
   25660 old_archive_cmds \
   25661 extract_expsyms_cmds \
   25662 old_archive_from_new_cmds \
   25663 old_archive_from_expsyms_cmds \
   25664 archive_cmds \
   25665 archive_expsym_cmds \
   25666 module_cmds \
   25667 module_expsym_cmds \
   25668 export_symbols_cmds \
   25669 prelink_cmds \
   25670 postlink_cmds \
   25671 postinstall_cmds \
   25672 postuninstall_cmds \
   25673 finish_cmds \
   25674 sys_lib_search_path_spec \
   25675 sys_lib_dlsearch_path_spec; do
   25676     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   25677     *[\\\\\\\`\\"\\\$]*)
   25678       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   25679       ;;
   25680     *)
   25681       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   25682       ;;
   25683     esac
   25684 done
   25685 
   25686 ac_aux_dir='$ac_aux_dir'
   25687 xsi_shell='$xsi_shell'
   25688 lt_shell_append='$lt_shell_append'
   25689 
   25690 # See if we are running on zsh, and set the options which allow our
   25691 # commands through without removal of \ escapes INIT.
   25692 if test -n "\${ZSH_VERSION+set}" ; then
   25693    setopt NO_GLOB_SUBST
   25694 fi
   25695 
   25696 
   25697     PACKAGE='$PACKAGE'
   25698     VERSION='$VERSION'
   25699     TIMESTAMP='$TIMESTAMP'
   25700     RM='$RM'
   25701     ofile='$ofile'
   25702 
   25703 
   25704 
   25705 
   25706 _ACEOF
   25707 
   25708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25709 
   25710 # Handling of arguments.
   25711 for ac_config_target in $ac_config_targets
   25712 do
   25713   case $ac_config_target in
   25714     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   25715     "include/do-not-use-config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/do-not-use-config.h" ;;
   25716     "include/xorg-server.h") CONFIG_HEADERS="$CONFIG_HEADERS include/xorg-server.h" ;;
   25717     "include/dix-config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/dix-config.h" ;;
   25718     "include/xorg-config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/xorg-config.h" ;;
   25719     "include/xkb-config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/xkb-config.h" ;;
   25720     "include/xwin-config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/xwin-config.h" ;;
   25721     "include/kdrive-config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/kdrive-config.h" ;;
   25722     "include/version-config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/version-config.h" ;;
   25723     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   25724     "sdksyms") CONFIG_COMMANDS="$CONFIG_COMMANDS sdksyms" ;;
   25725     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   25726     "glx/Makefile") CONFIG_FILES="$CONFIG_FILES glx/Makefile" ;;
   25727     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   25728     "composite/Makefile") CONFIG_FILES="$CONFIG_FILES composite/Makefile" ;;
   25729     "damageext/Makefile") CONFIG_FILES="$CONFIG_FILES damageext/Makefile" ;;
   25730     "dbe/Makefile") CONFIG_FILES="$CONFIG_FILES dbe/Makefile" ;;
   25731     "dix/Makefile") CONFIG_FILES="$CONFIG_FILES dix/Makefile" ;;
   25732     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   25733     "doc/man/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/Makefile" ;;
   25734     "doc/xml/Makefile") CONFIG_FILES="$CONFIG_FILES doc/xml/Makefile" ;;
   25735     "doc/xml/dtrace/Makefile") CONFIG_FILES="$CONFIG_FILES doc/xml/dtrace/Makefile" ;;
   25736     "doc/xml/xserver.ent") CONFIG_FILES="$CONFIG_FILES doc/xml/xserver.ent" ;;
   25737     "fb/Makefile") CONFIG_FILES="$CONFIG_FILES fb/Makefile" ;;
   25738     "record/Makefile") CONFIG_FILES="$CONFIG_FILES record/Makefile" ;;
   25739     "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
   25740     "mi/Makefile") CONFIG_FILES="$CONFIG_FILES mi/Makefile" ;;
   25741     "miext/Makefile") CONFIG_FILES="$CONFIG_FILES miext/Makefile" ;;
   25742     "miext/sync/Makefile") CONFIG_FILES="$CONFIG_FILES miext/sync/Makefile" ;;
   25743     "miext/damage/Makefile") CONFIG_FILES="$CONFIG_FILES miext/damage/Makefile" ;;
   25744     "miext/shadow/Makefile") CONFIG_FILES="$CONFIG_FILES miext/shadow/Makefile" ;;
   25745     "miext/cw/Makefile") CONFIG_FILES="$CONFIG_FILES miext/cw/Makefile" ;;
   25746     "miext/rootless/Makefile") CONFIG_FILES="$CONFIG_FILES miext/rootless/Makefile" ;;
   25747     "os/Makefile") CONFIG_FILES="$CONFIG_FILES os/Makefile" ;;
   25748     "randr/Makefile") CONFIG_FILES="$CONFIG_FILES randr/Makefile" ;;
   25749     "render/Makefile") CONFIG_FILES="$CONFIG_FILES render/Makefile" ;;
   25750     "xkb/Makefile") CONFIG_FILES="$CONFIG_FILES xkb/Makefile" ;;
   25751     "Xext/Makefile") CONFIG_FILES="$CONFIG_FILES Xext/Makefile" ;;
   25752     "Xi/Makefile") CONFIG_FILES="$CONFIG_FILES Xi/Makefile" ;;
   25753     "xfixes/Makefile") CONFIG_FILES="$CONFIG_FILES xfixes/Makefile" ;;
   25754     "exa/Makefile") CONFIG_FILES="$CONFIG_FILES exa/Makefile" ;;
   25755     "hw/Makefile") CONFIG_FILES="$CONFIG_FILES hw/Makefile" ;;
   25756     "hw/xfree86/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/Makefile" ;;
   25757     "hw/xfree86/common/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/common/Makefile" ;;
   25758     "hw/xfree86/common/xf86Build.h") CONFIG_FILES="$CONFIG_FILES hw/xfree86/common/xf86Build.h" ;;
   25759     "hw/xfree86/ddc/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/ddc/Makefile" ;;
   25760     "hw/xfree86/dixmods/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/dixmods/Makefile" ;;
   25761     "hw/xfree86/dixmods/extmod/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/dixmods/extmod/Makefile" ;;
   25762     "hw/xfree86/doc/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/doc/Makefile" ;;
   25763     "hw/xfree86/doc/devel/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/doc/devel/Makefile" ;;
   25764     "hw/xfree86/doc/man/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/doc/man/Makefile" ;;
   25765     "hw/xfree86/doc/sgml/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/doc/sgml/Makefile" ;;
   25766     "hw/xfree86/dri/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/dri/Makefile" ;;
   25767     "hw/xfree86/dri2/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/dri2/Makefile" ;;
   25768     "hw/xfree86/exa/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/exa/Makefile" ;;
   25769     "hw/xfree86/exa/man/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/exa/man/Makefile" ;;
   25770     "hw/xfree86/fbdevhw/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/fbdevhw/Makefile" ;;
   25771     "hw/xfree86/fbdevhw/man/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/fbdevhw/man/Makefile" ;;
   25772     "hw/xfree86/i2c/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/i2c/Makefile" ;;
   25773     "hw/xfree86/int10/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/int10/Makefile" ;;
   25774     "hw/xfree86/loader/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/loader/Makefile" ;;
   25775     "hw/xfree86/modes/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/modes/Makefile" ;;
   25776     "hw/xfree86/os-support/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/os-support/Makefile" ;;
   25777     "hw/xfree86/os-support/bsd/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/os-support/bsd/Makefile" ;;
   25778     "hw/xfree86/os-support/bus/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/os-support/bus/Makefile" ;;
   25779     "hw/xfree86/os-support/hurd/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/os-support/hurd/Makefile" ;;
   25780     "hw/xfree86/os-support/misc/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/os-support/misc/Makefile" ;;
   25781     "hw/xfree86/os-support/linux/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/os-support/linux/Makefile" ;;
   25782     "hw/xfree86/os-support/solaris/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/os-support/solaris/Makefile" ;;
   25783     "hw/xfree86/parser/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/parser/Makefile" ;;
   25784     "hw/xfree86/ramdac/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/ramdac/Makefile" ;;
   25785     "hw/xfree86/shadowfb/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/shadowfb/Makefile" ;;
   25786     "hw/xfree86/vbe/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/vbe/Makefile" ;;
   25787     "hw/xfree86/vgahw/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/vgahw/Makefile" ;;
   25788     "hw/xfree86/x86emu/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/x86emu/Makefile" ;;
   25789     "hw/xfree86/xaa/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/xaa/Makefile" ;;
   25790     "hw/xfree86/utils/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/utils/Makefile" ;;
   25791     "hw/xfree86/utils/man/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/utils/man/Makefile" ;;
   25792     "hw/xfree86/utils/cvt/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/utils/cvt/Makefile" ;;
   25793     "hw/xfree86/utils/gtf/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/utils/gtf/Makefile" ;;
   25794     "hw/dmx/config/Makefile") CONFIG_FILES="$CONFIG_FILES hw/dmx/config/Makefile" ;;
   25795     "hw/dmx/config/man/Makefile") CONFIG_FILES="$CONFIG_FILES hw/dmx/config/man/Makefile" ;;
   25796     "hw/dmx/doc/Makefile") CONFIG_FILES="$CONFIG_FILES hw/dmx/doc/Makefile" ;;
   25797     "hw/dmx/doc/doxygen.conf") CONFIG_FILES="$CONFIG_FILES hw/dmx/doc/doxygen.conf" ;;
   25798     "hw/dmx/examples/Makefile") CONFIG_FILES="$CONFIG_FILES hw/dmx/examples/Makefile" ;;
   25799     "hw/dmx/input/Makefile") CONFIG_FILES="$CONFIG_FILES hw/dmx/input/Makefile" ;;
   25800     "hw/dmx/glxProxy/Makefile") CONFIG_FILES="$CONFIG_FILES hw/dmx/glxProxy/Makefile" ;;
   25801     "hw/dmx/Makefile") CONFIG_FILES="$CONFIG_FILES hw/dmx/Makefile" ;;
   25802     "hw/dmx/man/Makefile") CONFIG_FILES="$CONFIG_FILES hw/dmx/man/Makefile" ;;
   25803     "hw/vfb/Makefile") CONFIG_FILES="$CONFIG_FILES hw/vfb/Makefile" ;;
   25804     "hw/vfb/man/Makefile") CONFIG_FILES="$CONFIG_FILES hw/vfb/man/Makefile" ;;
   25805     "hw/xnest/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xnest/Makefile" ;;
   25806     "hw/xnest/man/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xnest/man/Makefile" ;;
   25807     "hw/xwin/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xwin/Makefile" ;;
   25808     "hw/xwin/glx/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xwin/glx/Makefile" ;;
   25809     "hw/xwin/man/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xwin/man/Makefile" ;;
   25810     "hw/xquartz/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xquartz/Makefile" ;;
   25811     "hw/xquartz/GL/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xquartz/GL/Makefile" ;;
   25812     "hw/xquartz/bundle/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xquartz/bundle/Makefile" ;;
   25813     "hw/xquartz/man/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xquartz/man/Makefile" ;;
   25814     "hw/xquartz/mach-startup/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xquartz/mach-startup/Makefile" ;;
   25815     "hw/xquartz/pbproxy/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xquartz/pbproxy/Makefile" ;;
   25816     "hw/xquartz/xpr/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xquartz/xpr/Makefile" ;;
   25817     "hw/kdrive/Makefile") CONFIG_FILES="$CONFIG_FILES hw/kdrive/Makefile" ;;
   25818     "hw/kdrive/ephyr/Makefile") CONFIG_FILES="$CONFIG_FILES hw/kdrive/ephyr/Makefile" ;;
   25819     "hw/kdrive/ephyr/man/Makefile") CONFIG_FILES="$CONFIG_FILES hw/kdrive/ephyr/man/Makefile" ;;
   25820     "hw/kdrive/fake/Makefile") CONFIG_FILES="$CONFIG_FILES hw/kdrive/fake/Makefile" ;;
   25821     "hw/kdrive/fbdev/Makefile") CONFIG_FILES="$CONFIG_FILES hw/kdrive/fbdev/Makefile" ;;
   25822     "hw/kdrive/linux/Makefile") CONFIG_FILES="$CONFIG_FILES hw/kdrive/linux/Makefile" ;;
   25823     "hw/kdrive/src/Makefile") CONFIG_FILES="$CONFIG_FILES hw/kdrive/src/Makefile" ;;
   25824     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   25825     "test/xi1/Makefile") CONFIG_FILES="$CONFIG_FILES test/xi1/Makefile" ;;
   25826     "test/xi2/Makefile") CONFIG_FILES="$CONFIG_FILES test/xi2/Makefile" ;;
   25827     "xorg-server.pc") CONFIG_FILES="$CONFIG_FILES xorg-server.pc" ;;
   25828 
   25829   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   25830   esac
   25831 done
   25832 
   25833 
   25834 # If the user did not use the arguments to specify the items to instantiate,
   25835 # then the envvar interface is used.  Set only those that are not.
   25836 # We use the long form for the default assignment because of an extremely
   25837 # bizarre bug on SunOS 4.1.3.
   25838 if $ac_need_defaults; then
   25839   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   25840   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   25841   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   25842 fi
   25843 
   25844 # Have a temporary directory for convenience.  Make it in the build tree
   25845 # simply because there is no reason against having it here, and in addition,
   25846 # creating and moving files from /tmp can sometimes cause problems.
   25847 # Hook for its removal unless debugging.
   25848 # Note that there is a small window in which the directory will not be cleaned:
   25849 # after its creation but before its name has been assigned to `$tmp'.
   25850 $debug ||
   25851 {
   25852   tmp= ac_tmp=
   25853   trap 'exit_status=$?
   25854   : "${ac_tmp:=$tmp}"
   25855   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   25856 ' 0
   25857   trap 'as_fn_exit 1' 1 2 13 15
   25858 }
   25859 # Create a (secure) tmp directory for tmp files.
   25860 
   25861 {
   25862   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   25863   test -d "$tmp"
   25864 }  ||
   25865 {
   25866   tmp=./conf$$-$RANDOM
   25867   (umask 077 && mkdir "$tmp")
   25868 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   25869 ac_tmp=$tmp
   25870 
   25871 # Set up the scripts for CONFIG_FILES section.
   25872 # No need to generate them if there are no CONFIG_FILES.
   25873 # This happens for instance with `./config.status config.h'.
   25874 if test -n "$CONFIG_FILES"; then
   25875 
   25876 
   25877 ac_cr=`echo X | tr X '\015'`
   25878 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   25879 # But we know of no other shell where ac_cr would be empty at this
   25880 # point, so we can use a bashism as a fallback.
   25881 if test "x$ac_cr" = x; then
   25882   eval ac_cr=\$\'\\r\'
   25883 fi
   25884 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   25885 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   25886   ac_cs_awk_cr='\\r'
   25887 else
   25888   ac_cs_awk_cr=$ac_cr
   25889 fi
   25890 
   25891 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   25892 _ACEOF
   25893 
   25894 
   25895 {
   25896   echo "cat >conf$$subs.awk <<_ACEOF" &&
   25897   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   25898   echo "_ACEOF"
   25899 } >conf$$subs.sh ||
   25900   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   25901 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   25902 ac_delim='%!_!# '
   25903 for ac_last_try in false false false false false :; do
   25904   . ./conf$$subs.sh ||
   25905     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   25906 
   25907   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   25908   if test $ac_delim_n = $ac_delim_num; then
   25909     break
   25910   elif $ac_last_try; then
   25911     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   25912   else
   25913     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   25914   fi
   25915 done
   25916 rm -f conf$$subs.sh
   25917 
   25918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25919 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   25920 _ACEOF
   25921 sed -n '
   25922 h
   25923 s/^/S["/; s/!.*/"]=/
   25924 p
   25925 g
   25926 s/^[^!]*!//
   25927 :repl
   25928 t repl
   25929 s/'"$ac_delim"'$//
   25930 t delim
   25931 :nl
   25932 h
   25933 s/\(.\{148\}\)..*/\1/
   25934 t more1
   25935 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   25936 p
   25937 n
   25938 b repl
   25939 :more1
   25940 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   25941 p
   25942 g
   25943 s/.\{148\}//
   25944 t nl
   25945 :delim
   25946 h
   25947 s/\(.\{148\}\)..*/\1/
   25948 t more2
   25949 s/["\\]/\\&/g; s/^/"/; s/$/"/
   25950 p
   25951 b
   25952 :more2
   25953 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   25954 p
   25955 g
   25956 s/.\{148\}//
   25957 t delim
   25958 ' <conf$$subs.awk | sed '
   25959 /^[^""]/{
   25960   N
   25961   s/\n//
   25962 }
   25963 ' >>$CONFIG_STATUS || ac_write_fail=1
   25964 rm -f conf$$subs.awk
   25965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25966 _ACAWK
   25967 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   25968   for (key in S) S_is_set[key] = 1
   25969   FS = ""
   25970 
   25971 }
   25972 {
   25973   line = $ 0
   25974   nfields = split(line, field, "@")
   25975   substed = 0
   25976   len = length(field[1])
   25977   for (i = 2; i < nfields; i++) {
   25978     key = field[i]
   25979     keylen = length(key)
   25980     if (S_is_set[key]) {
   25981       value = S[key]
   25982       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   25983       len += length(value) + length(field[++i])
   25984       substed = 1
   25985     } else
   25986       len += 1 + keylen
   25987   }
   25988 
   25989   print line
   25990 }
   25991 
   25992 _ACAWK
   25993 _ACEOF
   25994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25995 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   25996   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   25997 else
   25998   cat
   25999 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   26000   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   26001 _ACEOF
   26002 
   26003 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   26004 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   26005 # trailing colons and then remove the whole line if VPATH becomes empty
   26006 # (actually we leave an empty line to preserve line numbers).
   26007 if test "x$srcdir" = x.; then
   26008   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   26009 h
   26010 s///
   26011 s/^/:/
   26012 s/[	 ]*$/:/
   26013 s/:\$(srcdir):/:/g
   26014 s/:\${srcdir}:/:/g
   26015 s/:@srcdir@:/:/g
   26016 s/^:*//
   26017 s/:*$//
   26018 x
   26019 s/\(=[	 ]*\).*/\1/
   26020 G
   26021 s/\n//
   26022 s/^[^=]*=[	 ]*$//
   26023 }'
   26024 fi
   26025 
   26026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   26027 fi # test -n "$CONFIG_FILES"
   26028 
   26029 # Set up the scripts for CONFIG_HEADERS section.
   26030 # No need to generate them if there are no CONFIG_HEADERS.
   26031 # This happens for instance with `./config.status Makefile'.
   26032 if test -n "$CONFIG_HEADERS"; then
   26033 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   26034 BEGIN {
   26035 _ACEOF
   26036 
   26037 # Transform confdefs.h into an awk script `defines.awk', embedded as
   26038 # here-document in config.status, that substitutes the proper values into
   26039 # config.h.in to produce config.h.
   26040 
   26041 # Create a delimiter string that does not exist in confdefs.h, to ease
   26042 # handling of long lines.
   26043 ac_delim='%!_!# '
   26044 for ac_last_try in false false :; do
   26045   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   26046   if test -z "$ac_tt"; then
   26047     break
   26048   elif $ac_last_try; then
   26049     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   26050   else
   26051     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   26052   fi
   26053 done
   26054 
   26055 # For the awk script, D is an array of macro values keyed by name,
   26056 # likewise P contains macro parameters if any.  Preserve backslash
   26057 # newline sequences.
   26058 
   26059 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   26060 sed -n '
   26061 s/.\{148\}/&'"$ac_delim"'/g
   26062 t rset
   26063 :rset
   26064 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   26065 t def
   26066 d
   26067 :def
   26068 s/\\$//
   26069 t bsnl
   26070 s/["\\]/\\&/g
   26071 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   26072 D["\1"]=" \3"/p
   26073 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   26074 d
   26075 :bsnl
   26076 s/["\\]/\\&/g
   26077 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   26078 D["\1"]=" \3\\\\\\n"\\/p
   26079 t cont
   26080 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   26081 t cont
   26082 d
   26083 :cont
   26084 n
   26085 s/.\{148\}/&'"$ac_delim"'/g
   26086 t clear
   26087 :clear
   26088 s/\\$//
   26089 t bsnlc
   26090 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   26091 d
   26092 :bsnlc
   26093 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   26094 b cont
   26095 ' <confdefs.h | sed '
   26096 s/'"$ac_delim"'/"\\\
   26097 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   26098 
   26099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   26100   for (key in D) D_is_set[key] = 1
   26101   FS = ""
   26102 }
   26103 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   26104   line = \$ 0
   26105   split(line, arg, " ")
   26106   if (arg[1] == "#") {
   26107     defundef = arg[2]
   26108     mac1 = arg[3]
   26109   } else {
   26110     defundef = substr(arg[1], 2)
   26111     mac1 = arg[2]
   26112   }
   26113   split(mac1, mac2, "(") #)
   26114   macro = mac2[1]
   26115   prefix = substr(line, 1, index(line, defundef) - 1)
   26116   if (D_is_set[macro]) {
   26117     # Preserve the white space surrounding the "#".
   26118     print prefix "define", macro P[macro] D[macro]
   26119     next
   26120   } else {
   26121     # Replace #undef with comments.  This is necessary, for example,
   26122     # in the case of _POSIX_SOURCE, which is predefined and required
   26123     # on some systems where configure will not decide to define it.
   26124     if (defundef == "undef") {
   26125       print "/*", prefix defundef, macro, "*/"
   26126       next
   26127     }
   26128   }
   26129 }
   26130 { print }
   26131 _ACAWK
   26132 _ACEOF
   26133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   26134   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   26135 fi # test -n "$CONFIG_HEADERS"
   26136 
   26137 
   26138 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   26139 shift
   26140 for ac_tag
   26141 do
   26142   case $ac_tag in
   26143   :[FHLC]) ac_mode=$ac_tag; continue;;
   26144   esac
   26145   case $ac_mode$ac_tag in
   26146   :[FHL]*:*);;
   26147   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   26148   :[FH]-) ac_tag=-:-;;
   26149   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   26150   esac
   26151   ac_save_IFS=$IFS
   26152   IFS=:
   26153   set x $ac_tag
   26154   IFS=$ac_save_IFS
   26155   shift
   26156   ac_file=$1
   26157   shift
   26158 
   26159   case $ac_mode in
   26160   :L) ac_source=$1;;
   26161   :[FH])
   26162     ac_file_inputs=
   26163     for ac_f
   26164     do
   26165       case $ac_f in
   26166       -) ac_f="$ac_tmp/stdin";;
   26167       *) # Look for the file first in the build tree, then in the source tree
   26168 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   26169 	 # because $ac_f cannot contain `:'.
   26170 	 test -f "$ac_f" ||
   26171 	   case $ac_f in
   26172 	   [\\/$]*) false;;
   26173 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   26174 	   esac ||
   26175 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   26176       esac
   26177       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   26178       as_fn_append ac_file_inputs " '$ac_f'"
   26179     done
   26180 
   26181     # Let's still pretend it is `configure' which instantiates (i.e., don't
   26182     # use $as_me), people would be surprised to read:
   26183     #    /* config.h.  Generated by config.status.  */
   26184     configure_input='Generated from '`
   26185 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   26186 	`' by configure.'
   26187     if test x"$ac_file" != x-; then
   26188       configure_input="$ac_file.  $configure_input"
   26189       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   26190 $as_echo "$as_me: creating $ac_file" >&6;}
   26191     fi
   26192     # Neutralize special characters interpreted by sed in replacement strings.
   26193     case $configure_input in #(
   26194     *\&* | *\|* | *\\* )
   26195        ac_sed_conf_input=`$as_echo "$configure_input" |
   26196        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   26197     *) ac_sed_conf_input=$configure_input;;
   26198     esac
   26199 
   26200     case $ac_tag in
   26201     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   26202       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   26203     esac
   26204     ;;
   26205   esac
   26206 
   26207   ac_dir=`$as_dirname -- "$ac_file" ||
   26208 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26209 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   26210 	 X"$ac_file" : 'X\(//\)$' \| \
   26211 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   26212 $as_echo X"$ac_file" |
   26213     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26214 	    s//\1/
   26215 	    q
   26216 	  }
   26217 	  /^X\(\/\/\)[^/].*/{
   26218 	    s//\1/
   26219 	    q
   26220 	  }
   26221 	  /^X\(\/\/\)$/{
   26222 	    s//\1/
   26223 	    q
   26224 	  }
   26225 	  /^X\(\/\).*/{
   26226 	    s//\1/
   26227 	    q
   26228 	  }
   26229 	  s/.*/./; q'`
   26230   as_dir="$ac_dir"; as_fn_mkdir_p
   26231   ac_builddir=.
   26232 
   26233 case "$ac_dir" in
   26234 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   26235 *)
   26236   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   26237   # A ".." for each directory in $ac_dir_suffix.
   26238   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   26239   case $ac_top_builddir_sub in
   26240   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   26241   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   26242   esac ;;
   26243 esac
   26244 ac_abs_top_builddir=$ac_pwd
   26245 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   26246 # for backward compatibility:
   26247 ac_top_builddir=$ac_top_build_prefix
   26248 
   26249 case $srcdir in
   26250   .)  # We are building in place.
   26251     ac_srcdir=.
   26252     ac_top_srcdir=$ac_top_builddir_sub
   26253     ac_abs_top_srcdir=$ac_pwd ;;
   26254   [\\/]* | ?:[\\/]* )  # Absolute name.
   26255     ac_srcdir=$srcdir$ac_dir_suffix;
   26256     ac_top_srcdir=$srcdir
   26257     ac_abs_top_srcdir=$srcdir ;;
   26258   *) # Relative name.
   26259     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   26260     ac_top_srcdir=$ac_top_build_prefix$srcdir
   26261     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   26262 esac
   26263 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   26264 
   26265 
   26266   case $ac_mode in
   26267   :F)
   26268   #
   26269   # CONFIG_FILE
   26270   #
   26271 
   26272   case $INSTALL in
   26273   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   26274   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   26275   esac
   26276   ac_MKDIR_P=$MKDIR_P
   26277   case $MKDIR_P in
   26278   [\\/$]* | ?:[\\/]* ) ;;
   26279   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   26280   esac
   26281 _ACEOF
   26282 
   26283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   26284 # If the template does not know about datarootdir, expand it.
   26285 # FIXME: This hack should be removed a few years after 2.60.
   26286 ac_datarootdir_hack=; ac_datarootdir_seen=
   26287 ac_sed_dataroot='
   26288 /datarootdir/ {
   26289   p
   26290   q
   26291 }
   26292 /@datadir@/p
   26293 /@docdir@/p
   26294 /@infodir@/p
   26295 /@localedir@/p
   26296 /@mandir@/p'
   26297 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   26298 *datarootdir*) ac_datarootdir_seen=yes;;
   26299 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   26300   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   26301 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   26302 _ACEOF
   26303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   26304   ac_datarootdir_hack='
   26305   s&@datadir@&$datadir&g
   26306   s&@docdir@&$docdir&g
   26307   s&@infodir@&$infodir&g
   26308   s&@localedir@&$localedir&g
   26309   s&@mandir@&$mandir&g
   26310   s&\\\${datarootdir}&$datarootdir&g' ;;
   26311 esac
   26312 _ACEOF
   26313 
   26314 # Neutralize VPATH when `$srcdir' = `.'.
   26315 # Shell code in configure.ac might set extrasub.
   26316 # FIXME: do we really want to maintain this feature?
   26317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   26318 ac_sed_extra="$ac_vpsub
   26319 $extrasub
   26320 _ACEOF
   26321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   26322 :t
   26323 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   26324 s|@configure_input@|$ac_sed_conf_input|;t t
   26325 s&@top_builddir@&$ac_top_builddir_sub&;t t
   26326 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   26327 s&@srcdir@&$ac_srcdir&;t t
   26328 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   26329 s&@top_srcdir@&$ac_top_srcdir&;t t
   26330 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   26331 s&@builddir@&$ac_builddir&;t t
   26332 s&@abs_builddir@&$ac_abs_builddir&;t t
   26333 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   26334 s&@INSTALL@&$ac_INSTALL&;t t
   26335 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   26336 $ac_datarootdir_hack
   26337 "
   26338 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   26339   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   26340 
   26341 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   26342   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   26343   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   26344       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   26345   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   26346 which seems to be undefined.  Please make sure it is defined" >&5
   26347 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   26348 which seems to be undefined.  Please make sure it is defined" >&2;}
   26349 
   26350   rm -f "$ac_tmp/stdin"
   26351   case $ac_file in
   26352   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   26353   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   26354   esac \
   26355   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   26356  ;;
   26357   :H)
   26358   #
   26359   # CONFIG_HEADER
   26360   #
   26361   if test x"$ac_file" != x-; then
   26362     {
   26363       $as_echo "/* $configure_input  */" \
   26364       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   26365     } >"$ac_tmp/config.h" \
   26366       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   26367     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   26368       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   26369 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   26370     else
   26371       rm -f "$ac_file"
   26372       mv "$ac_tmp/config.h" "$ac_file" \
   26373 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   26374     fi
   26375   else
   26376     $as_echo "/* $configure_input  */" \
   26377       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   26378       || as_fn_error $? "could not create -" "$LINENO" 5
   26379   fi
   26380 # Compute "$ac_file"'s index in $config_headers.
   26381 _am_arg="$ac_file"
   26382 _am_stamp_count=1
   26383 for _am_header in $config_headers :; do
   26384   case $_am_header in
   26385     $_am_arg | $_am_arg:* )
   26386       break ;;
   26387     * )
   26388       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   26389   esac
   26390 done
   26391 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   26392 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26393 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   26394 	 X"$_am_arg" : 'X\(//\)$' \| \
   26395 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   26396 $as_echo X"$_am_arg" |
   26397     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26398 	    s//\1/
   26399 	    q
   26400 	  }
   26401 	  /^X\(\/\/\)[^/].*/{
   26402 	    s//\1/
   26403 	    q
   26404 	  }
   26405 	  /^X\(\/\/\)$/{
   26406 	    s//\1/
   26407 	    q
   26408 	  }
   26409 	  /^X\(\/\).*/{
   26410 	    s//\1/
   26411 	    q
   26412 	  }
   26413 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   26414  ;;
   26415 
   26416   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   26417 $as_echo "$as_me: executing $ac_file commands" >&6;}
   26418  ;;
   26419   esac
   26420 
   26421 
   26422   case $ac_file$ac_mode in
   26423     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   26424   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   26425   # are listed without --file.  Let's play safe and only enable the eval
   26426   # if we detect the quoting.
   26427   case $CONFIG_FILES in
   26428   *\'*) eval set x "$CONFIG_FILES" ;;
   26429   *)   set x $CONFIG_FILES ;;
   26430   esac
   26431   shift
   26432   for mf
   26433   do
   26434     # Strip MF so we end up with the name of the file.
   26435     mf=`echo "$mf" | sed -e 's/:.*$//'`
   26436     # Check whether this is an Automake generated Makefile or not.
   26437     # We used to match only the files named `Makefile.in', but
   26438     # some people rename them; so instead we look at the file content.
   26439     # Grep'ing the first line is not enough: some people post-process
   26440     # each Makefile.in and add a new line on top of each file to say so.
   26441     # Grep'ing the whole file is not good either: AIX grep has a line
   26442     # limit of 2048, but all sed's we know have understand at least 4000.
   26443     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   26444       dirpart=`$as_dirname -- "$mf" ||
   26445 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26446 	 X"$mf" : 'X\(//\)[^/]' \| \
   26447 	 X"$mf" : 'X\(//\)$' \| \
   26448 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   26449 $as_echo X"$mf" |
   26450     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26451 	    s//\1/
   26452 	    q
   26453 	  }
   26454 	  /^X\(\/\/\)[^/].*/{
   26455 	    s//\1/
   26456 	    q
   26457 	  }
   26458 	  /^X\(\/\/\)$/{
   26459 	    s//\1/
   26460 	    q
   26461 	  }
   26462 	  /^X\(\/\).*/{
   26463 	    s//\1/
   26464 	    q
   26465 	  }
   26466 	  s/.*/./; q'`
   26467     else
   26468       continue
   26469     fi
   26470     # Extract the definition of DEPDIR, am__include, and am__quote
   26471     # from the Makefile without running `make'.
   26472     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   26473     test -z "$DEPDIR" && continue
   26474     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   26475     test -z "am__include" && continue
   26476     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   26477     # When using ansi2knr, U may be empty or an underscore; expand it
   26478     U=`sed -n 's/^U = //p' < "$mf"`
   26479     # Find all dependency output files, they are included files with
   26480     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   26481     # simplest approach to changing $(DEPDIR) to its actual value in the
   26482     # expansion.
   26483     for file in `sed -n "
   26484       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   26485 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   26486       # Make sure the directory exists.
   26487       test -f "$dirpart/$file" && continue
   26488       fdir=`$as_dirname -- "$file" ||
   26489 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26490 	 X"$file" : 'X\(//\)[^/]' \| \
   26491 	 X"$file" : 'X\(//\)$' \| \
   26492 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   26493 $as_echo X"$file" |
   26494     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26495 	    s//\1/
   26496 	    q
   26497 	  }
   26498 	  /^X\(\/\/\)[^/].*/{
   26499 	    s//\1/
   26500 	    q
   26501 	  }
   26502 	  /^X\(\/\/\)$/{
   26503 	    s//\1/
   26504 	    q
   26505 	  }
   26506 	  /^X\(\/\).*/{
   26507 	    s//\1/
   26508 	    q
   26509 	  }
   26510 	  s/.*/./; q'`
   26511       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   26512       # echo "creating $dirpart/$file"
   26513       echo '# dummy' > "$dirpart/$file"
   26514     done
   26515   done
   26516 }
   26517  ;;
   26518     "libtool":C)
   26519 
   26520     # See if we are running on zsh, and set the options which allow our
   26521     # commands through without removal of \ escapes.
   26522     if test -n "${ZSH_VERSION+set}" ; then
   26523       setopt NO_GLOB_SUBST
   26524     fi
   26525 
   26526     cfgfile="${ofile}T"
   26527     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   26528     $RM "$cfgfile"
   26529 
   26530     cat <<_LT_EOF >> "$cfgfile"
   26531 #! $SHELL
   26532 
   26533 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   26534 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   26535 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   26536 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   26537 #
   26538 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   26539 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
   26540 #                 Inc.
   26541 #   Written by Gordon Matzigkeit, 1996
   26542 #
   26543 #   This file is part of GNU Libtool.
   26544 #
   26545 # GNU Libtool is free software; you can redistribute it and/or
   26546 # modify it under the terms of the GNU General Public License as
   26547 # published by the Free Software Foundation; either version 2 of
   26548 # the License, or (at your option) any later version.
   26549 #
   26550 # As a special exception to the GNU General Public License,
   26551 # if you distribute this file as part of a program or library that
   26552 # is built using GNU Libtool, you may include this file under the
   26553 # same distribution terms that you use for the rest of that program.
   26554 #
   26555 # GNU Libtool is distributed in the hope that it will be useful,
   26556 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   26557 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   26558 # GNU General Public License for more details.
   26559 #
   26560 # You should have received a copy of the GNU General Public License
   26561 # along with GNU Libtool; see the file COPYING.  If not, a copy
   26562 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   26563 # obtained by writing to the Free Software Foundation, Inc.,
   26564 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   26565 
   26566 
   26567 # The names of the tagged configurations supported by this script.
   26568 available_tags=""
   26569 
   26570 # ### BEGIN LIBTOOL CONFIG
   26571 
   26572 # Assembler program.
   26573 AS=$lt_AS
   26574 
   26575 # DLL creation program.
   26576 DLLTOOL=$lt_DLLTOOL
   26577 
   26578 # Object dumper program.
   26579 OBJDUMP=$lt_OBJDUMP
   26580 
   26581 # Whether or not to build static libraries.
   26582 build_old_libs=$enable_static
   26583 
   26584 # Which release of libtool.m4 was used?
   26585 macro_version=$macro_version
   26586 macro_revision=$macro_revision
   26587 
   26588 # Whether or not to build shared libraries.
   26589 build_libtool_libs=$enable_shared
   26590 
   26591 # What type of objects to build.
   26592 pic_mode=$pic_mode
   26593 
   26594 # Whether or not to optimize for fast installation.
   26595 fast_install=$enable_fast_install
   26596 
   26597 # Shell to use when invoking shell scripts.
   26598 SHELL=$lt_SHELL
   26599 
   26600 # An echo program that protects backslashes.
   26601 ECHO=$lt_ECHO
   26602 
   26603 # The host system.
   26604 host_alias=$host_alias
   26605 host=$host
   26606 host_os=$host_os
   26607 
   26608 # The build system.
   26609 build_alias=$build_alias
   26610 build=$build
   26611 build_os=$build_os
   26612 
   26613 # A sed program that does not truncate output.
   26614 SED=$lt_SED
   26615 
   26616 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   26617 Xsed="\$SED -e 1s/^X//"
   26618 
   26619 # A grep program that handles long lines.
   26620 GREP=$lt_GREP
   26621 
   26622 # An ERE matcher.
   26623 EGREP=$lt_EGREP
   26624 
   26625 # A literal string matcher.
   26626 FGREP=$lt_FGREP
   26627 
   26628 # A BSD- or MS-compatible name lister.
   26629 NM=$lt_NM
   26630 
   26631 # Whether we need soft or hard links.
   26632 LN_S=$lt_LN_S
   26633 
   26634 # What is the maximum length of a command?
   26635 max_cmd_len=$max_cmd_len
   26636 
   26637 # Object file suffix (normally "o").
   26638 objext=$ac_objext
   26639 
   26640 # Executable file suffix (normally "").
   26641 exeext=$exeext
   26642 
   26643 # whether the shell understands "unset".
   26644 lt_unset=$lt_unset
   26645 
   26646 # turn spaces into newlines.
   26647 SP2NL=$lt_lt_SP2NL
   26648 
   26649 # turn newlines into spaces.
   26650 NL2SP=$lt_lt_NL2SP
   26651 
   26652 # convert \$build file names to \$host format.
   26653 to_host_file_cmd=$lt_cv_to_host_file_cmd
   26654 
   26655 # convert \$build files to toolchain format.
   26656 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   26657 
   26658 # Method to check whether dependent libraries are shared objects.
   26659 deplibs_check_method=$lt_deplibs_check_method
   26660 
   26661 # Command to use when deplibs_check_method = "file_magic".
   26662 file_magic_cmd=$lt_file_magic_cmd
   26663 
   26664 # How to find potential files when deplibs_check_method = "file_magic".
   26665 file_magic_glob=$lt_file_magic_glob
   26666 
   26667 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   26668 want_nocaseglob=$lt_want_nocaseglob
   26669 
   26670 # Command to associate shared and link libraries.
   26671 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   26672 
   26673 # The archiver.
   26674 AR=$lt_AR
   26675 
   26676 # Flags to create an archive.
   26677 AR_FLAGS=$lt_AR_FLAGS
   26678 
   26679 # How to feed a file listing to the archiver.
   26680 archiver_list_spec=$lt_archiver_list_spec
   26681 
   26682 # A symbol stripping program.
   26683 STRIP=$lt_STRIP
   26684 
   26685 # Commands used to install an old-style archive.
   26686 RANLIB=$lt_RANLIB
   26687 old_postinstall_cmds=$lt_old_postinstall_cmds
   26688 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   26689 
   26690 # Whether to use a lock for old archive extraction.
   26691 lock_old_archive_extraction=$lock_old_archive_extraction
   26692 
   26693 # A C compiler.
   26694 LTCC=$lt_CC
   26695 
   26696 # LTCC compiler flags.
   26697 LTCFLAGS=$lt_CFLAGS
   26698 
   26699 # Take the output of nm and produce a listing of raw symbols and C names.
   26700 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   26701 
   26702 # Transform the output of nm in a proper C declaration.
   26703 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   26704 
   26705 # Transform the output of nm in a C name address pair.
   26706 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   26707 
   26708 # Transform the output of nm in a C name address pair when lib prefix is needed.
   26709 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   26710 
   26711 # Specify filename containing input files for \$NM.
   26712 nm_file_list_spec=$lt_nm_file_list_spec
   26713 
   26714 # The root where to search for dependent libraries,and in which our libraries should be installed.
   26715 lt_sysroot=$lt_sysroot
   26716 
   26717 # The name of the directory that contains temporary libtool files.
   26718 objdir=$objdir
   26719 
   26720 # Used to examine libraries when file_magic_cmd begins with "file".
   26721 MAGIC_CMD=$MAGIC_CMD
   26722 
   26723 # Must we lock files when doing compilation?
   26724 need_locks=$lt_need_locks
   26725 
   26726 # Manifest tool.
   26727 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   26728 
   26729 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   26730 DSYMUTIL=$lt_DSYMUTIL
   26731 
   26732 # Tool to change global to local symbols on Mac OS X.
   26733 NMEDIT=$lt_NMEDIT
   26734 
   26735 # Tool to manipulate fat objects and archives on Mac OS X.
   26736 LIPO=$lt_LIPO
   26737 
   26738 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   26739 OTOOL=$lt_OTOOL
   26740 
   26741 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   26742 OTOOL64=$lt_OTOOL64
   26743 
   26744 # Old archive suffix (normally "a").
   26745 libext=$libext
   26746 
   26747 # Shared library suffix (normally ".so").
   26748 shrext_cmds=$lt_shrext_cmds
   26749 
   26750 # The commands to extract the exported symbol list from a shared archive.
   26751 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   26752 
   26753 # Variables whose values should be saved in libtool wrapper scripts and
   26754 # restored at link time.
   26755 variables_saved_for_relink=$lt_variables_saved_for_relink
   26756 
   26757 # Do we need the "lib" prefix for modules?
   26758 need_lib_prefix=$need_lib_prefix
   26759 
   26760 # Do we need a version for libraries?
   26761 need_version=$need_version
   26762 
   26763 # Library versioning type.
   26764 version_type=$version_type
   26765 
   26766 # Shared library runtime path variable.
   26767 runpath_var=$runpath_var
   26768 
   26769 # Shared library path variable.
   26770 shlibpath_var=$shlibpath_var
   26771 
   26772 # Is shlibpath searched before the hard-coded library search path?
   26773 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   26774 
   26775 # Format of library name prefix.
   26776 libname_spec=$lt_libname_spec
   26777 
   26778 # List of archive names.  First name is the real one, the rest are links.
   26779 # The last name is the one that the linker finds with -lNAME
   26780 library_names_spec=$lt_library_names_spec
   26781 
   26782 # The coded name of the library, if different from the real name.
   26783 soname_spec=$lt_soname_spec
   26784 
   26785 # Permission mode override for installation of shared libraries.
   26786 install_override_mode=$lt_install_override_mode
   26787 
   26788 # Command to use after installation of a shared archive.
   26789 postinstall_cmds=$lt_postinstall_cmds
   26790 
   26791 # Command to use after uninstallation of a shared archive.
   26792 postuninstall_cmds=$lt_postuninstall_cmds
   26793 
   26794 # Commands used to finish a libtool library installation in a directory.
   26795 finish_cmds=$lt_finish_cmds
   26796 
   26797 # As "finish_cmds", except a single script fragment to be evaled but
   26798 # not shown.
   26799 finish_eval=$lt_finish_eval
   26800 
   26801 # Whether we should hardcode library paths into libraries.
   26802 hardcode_into_libs=$hardcode_into_libs
   26803 
   26804 # Compile-time system search path for libraries.
   26805 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   26806 
   26807 # Run-time system search path for libraries.
   26808 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   26809 
   26810 # Whether dlopen is supported.
   26811 dlopen_support=$enable_dlopen
   26812 
   26813 # Whether dlopen of programs is supported.
   26814 dlopen_self=$enable_dlopen_self
   26815 
   26816 # Whether dlopen of statically linked programs is supported.
   26817 dlopen_self_static=$enable_dlopen_self_static
   26818 
   26819 # Commands to strip libraries.
   26820 old_striplib=$lt_old_striplib
   26821 striplib=$lt_striplib
   26822 
   26823 
   26824 # The linker used to build libraries.
   26825 LD=$lt_LD
   26826 
   26827 # How to create reloadable object files.
   26828 reload_flag=$lt_reload_flag
   26829 reload_cmds=$lt_reload_cmds
   26830 
   26831 # Commands used to build an old-style archive.
   26832 old_archive_cmds=$lt_old_archive_cmds
   26833 
   26834 # A language specific compiler.
   26835 CC=$lt_compiler
   26836 
   26837 # Is the compiler the GNU compiler?
   26838 with_gcc=$GCC
   26839 
   26840 # Compiler flag to turn off builtin functions.
   26841 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   26842 
   26843 # Additional compiler flags for building library objects.
   26844 pic_flag=$lt_lt_prog_compiler_pic
   26845 
   26846 # How to pass a linker flag through the compiler.
   26847 wl=$lt_lt_prog_compiler_wl
   26848 
   26849 # Compiler flag to prevent dynamic linking.
   26850 link_static_flag=$lt_lt_prog_compiler_static
   26851 
   26852 # Does compiler simultaneously support -c and -o options?
   26853 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   26854 
   26855 # Whether or not to add -lc for building shared libraries.
   26856 build_libtool_need_lc=$archive_cmds_need_lc
   26857 
   26858 # Whether or not to disallow shared libs when runtime libs are static.
   26859 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   26860 
   26861 # Compiler flag to allow reflexive dlopens.
   26862 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   26863 
   26864 # Compiler flag to generate shared objects directly from archives.
   26865 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   26866 
   26867 # Whether the compiler copes with passing no objects directly.
   26868 compiler_needs_object=$lt_compiler_needs_object
   26869 
   26870 # Create an old-style archive from a shared archive.
   26871 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   26872 
   26873 # Create a temporary old-style archive to link instead of a shared archive.
   26874 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   26875 
   26876 # Commands used to build a shared archive.
   26877 archive_cmds=$lt_archive_cmds
   26878 archive_expsym_cmds=$lt_archive_expsym_cmds
   26879 
   26880 # Commands used to build a loadable module if different from building
   26881 # a shared archive.
   26882 module_cmds=$lt_module_cmds
   26883 module_expsym_cmds=$lt_module_expsym_cmds
   26884 
   26885 # Whether we are building with GNU ld or not.
   26886 with_gnu_ld=$lt_with_gnu_ld
   26887 
   26888 # Flag that allows shared libraries with undefined symbols to be built.
   26889 allow_undefined_flag=$lt_allow_undefined_flag
   26890 
   26891 # Flag that enforces no undefined symbols.
   26892 no_undefined_flag=$lt_no_undefined_flag
   26893 
   26894 # Flag to hardcode \$libdir into a binary during linking.
   26895 # This must work even if \$libdir does not exist
   26896 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   26897 
   26898 # If ld is used when linking, flag to hardcode \$libdir into a binary
   26899 # during linking.  This must work even if \$libdir does not exist.
   26900 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   26901 
   26902 # Whether we need a single "-rpath" flag with a separated argument.
   26903 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   26904 
   26905 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   26906 # DIR into the resulting binary.
   26907 hardcode_direct=$hardcode_direct
   26908 
   26909 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   26910 # DIR into the resulting binary and the resulting library dependency is
   26911 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   26912 # library is relocated.
   26913 hardcode_direct_absolute=$hardcode_direct_absolute
   26914 
   26915 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   26916 # into the resulting binary.
   26917 hardcode_minus_L=$hardcode_minus_L
   26918 
   26919 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   26920 # into the resulting binary.
   26921 hardcode_shlibpath_var=$hardcode_shlibpath_var
   26922 
   26923 # Set to "yes" if building a shared library automatically hardcodes DIR
   26924 # into the library and all subsequent libraries and executables linked
   26925 # against it.
   26926 hardcode_automatic=$hardcode_automatic
   26927 
   26928 # Set to yes if linker adds runtime paths of dependent libraries
   26929 # to runtime path list.
   26930 inherit_rpath=$inherit_rpath
   26931 
   26932 # Whether libtool must link a program against all its dependency libraries.
   26933 link_all_deplibs=$link_all_deplibs
   26934 
   26935 # Set to "yes" if exported symbols are required.
   26936 always_export_symbols=$always_export_symbols
   26937 
   26938 # The commands to list exported symbols.
   26939 export_symbols_cmds=$lt_export_symbols_cmds
   26940 
   26941 # Symbols that should not be listed in the preloaded symbols.
   26942 exclude_expsyms=$lt_exclude_expsyms
   26943 
   26944 # Symbols that must always be exported.
   26945 include_expsyms=$lt_include_expsyms
   26946 
   26947 # Commands necessary for linking programs (against libraries) with templates.
   26948 prelink_cmds=$lt_prelink_cmds
   26949 
   26950 # Commands necessary for finishing linking programs.
   26951 postlink_cmds=$lt_postlink_cmds
   26952 
   26953 # Specify filename containing input files.
   26954 file_list_spec=$lt_file_list_spec
   26955 
   26956 # How to hardcode a shared library path into an executable.
   26957 hardcode_action=$hardcode_action
   26958 
   26959 # ### END LIBTOOL CONFIG
   26960 
   26961 _LT_EOF
   26962 
   26963   case $host_os in
   26964   aix3*)
   26965     cat <<\_LT_EOF >> "$cfgfile"
   26966 # AIX sometimes has problems with the GCC collect2 program.  For some
   26967 # reason, if we set the COLLECT_NAMES environment variable, the problems
   26968 # vanish in a puff of smoke.
   26969 if test "X${COLLECT_NAMES+set}" != Xset; then
   26970   COLLECT_NAMES=
   26971   export COLLECT_NAMES
   26972 fi
   26973 _LT_EOF
   26974     ;;
   26975   esac
   26976 
   26977 
   26978 ltmain="$ac_aux_dir/ltmain.sh"
   26979 
   26980 
   26981   # We use sed instead of cat because bash on DJGPP gets confused if
   26982   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   26983   # text mode, it properly converts lines to CR/LF.  This bash problem
   26984   # is reportedly fixed, but why not run on old versions too?
   26985   sed '$q' "$ltmain" >> "$cfgfile" \
   26986      || (rm -f "$cfgfile"; exit 1)
   26987 
   26988   if test x"$xsi_shell" = xyes; then
   26989   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   26990 func_dirname ()\
   26991 {\
   26992 \    case ${1} in\
   26993 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   26994 \      *  ) func_dirname_result="${3}" ;;\
   26995 \    esac\
   26996 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   26997   && mv -f "$cfgfile.tmp" "$cfgfile" \
   26998     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   26999 test 0 -eq $? || _lt_function_replace_fail=:
   27000 
   27001 
   27002   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   27003 func_basename ()\
   27004 {\
   27005 \    func_basename_result="${1##*/}"\
   27006 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   27007   && mv -f "$cfgfile.tmp" "$cfgfile" \
   27008     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   27009 test 0 -eq $? || _lt_function_replace_fail=:
   27010 
   27011 
   27012   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   27013 func_dirname_and_basename ()\
   27014 {\
   27015 \    case ${1} in\
   27016 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   27017 \      *  ) func_dirname_result="${3}" ;;\
   27018 \    esac\
   27019 \    func_basename_result="${1##*/}"\
   27020 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   27021   && mv -f "$cfgfile.tmp" "$cfgfile" \
   27022     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   27023 test 0 -eq $? || _lt_function_replace_fail=:
   27024 
   27025 
   27026   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   27027 func_stripname ()\
   27028 {\
   27029 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   27030 \    # positional parameters, so assign one to ordinary parameter first.\
   27031 \    func_stripname_result=${3}\
   27032 \    func_stripname_result=${func_stripname_result#"${1}"}\
   27033 \    func_stripname_result=${func_stripname_result%"${2}"}\
   27034 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   27035   && mv -f "$cfgfile.tmp" "$cfgfile" \
   27036     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   27037 test 0 -eq $? || _lt_function_replace_fail=:
   27038 
   27039 
   27040   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   27041 func_split_long_opt ()\
   27042 {\
   27043 \    func_split_long_opt_name=${1%%=*}\
   27044 \    func_split_long_opt_arg=${1#*=}\
   27045 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   27046   && mv -f "$cfgfile.tmp" "$cfgfile" \
   27047     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   27048 test 0 -eq $? || _lt_function_replace_fail=:
   27049 
   27050 
   27051   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   27052 func_split_short_opt ()\
   27053 {\
   27054 \    func_split_short_opt_arg=${1#??}\
   27055 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   27056 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   27057   && mv -f "$cfgfile.tmp" "$cfgfile" \
   27058     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   27059 test 0 -eq $? || _lt_function_replace_fail=:
   27060 
   27061 
   27062   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   27063 func_lo2o ()\
   27064 {\
   27065 \    case ${1} in\
   27066 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   27067 \      *)    func_lo2o_result=${1} ;;\
   27068 \    esac\
   27069 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   27070   && mv -f "$cfgfile.tmp" "$cfgfile" \
   27071     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   27072 test 0 -eq $? || _lt_function_replace_fail=:
   27073 
   27074 
   27075   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   27076 func_xform ()\
   27077 {\
   27078     func_xform_result=${1%.*}.lo\
   27079 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   27080   && mv -f "$cfgfile.tmp" "$cfgfile" \
   27081     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   27082 test 0 -eq $? || _lt_function_replace_fail=:
   27083 
   27084 
   27085   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   27086 func_arith ()\
   27087 {\
   27088     func_arith_result=$(( $* ))\
   27089 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   27090   && mv -f "$cfgfile.tmp" "$cfgfile" \
   27091     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   27092 test 0 -eq $? || _lt_function_replace_fail=:
   27093 
   27094 
   27095   sed -e '/^func_len ()$/,/^} # func_len /c\
   27096 func_len ()\
   27097 {\
   27098     func_len_result=${#1}\
   27099 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   27100   && mv -f "$cfgfile.tmp" "$cfgfile" \
   27101     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   27102 test 0 -eq $? || _lt_function_replace_fail=:
   27103 
   27104 fi
   27105 
   27106 if test x"$lt_shell_append" = xyes; then
   27107   sed -e '/^func_append ()$/,/^} # func_append /c\
   27108 func_append ()\
   27109 {\
   27110     eval "${1}+=\\${2}"\
   27111 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   27112   && mv -f "$cfgfile.tmp" "$cfgfile" \
   27113     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   27114 test 0 -eq $? || _lt_function_replace_fail=:
   27115 
   27116 
   27117   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   27118 func_append_quoted ()\
   27119 {\
   27120 \    func_quote_for_eval "${2}"\
   27121 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   27122 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   27123   && mv -f "$cfgfile.tmp" "$cfgfile" \
   27124     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   27125 test 0 -eq $? || _lt_function_replace_fail=:
   27126 
   27127 
   27128   # Save a `func_append' function call where possible by direct use of '+='
   27129   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   27130     && mv -f "$cfgfile.tmp" "$cfgfile" \
   27131       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   27132   test 0 -eq $? || _lt_function_replace_fail=:
   27133 else
   27134   # Save a `func_append' function call even when '+=' is not available
   27135   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   27136     && mv -f "$cfgfile.tmp" "$cfgfile" \
   27137       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   27138   test 0 -eq $? || _lt_function_replace_fail=:
   27139 fi
   27140 
   27141 if test x"$_lt_function_replace_fail" = x":"; then
   27142   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   27143 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   27144 fi
   27145 
   27146 
   27147    mv -f "$cfgfile" "$ofile" ||
   27148     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   27149   chmod +x "$ofile"
   27150 
   27151  ;;
   27152     "sdksyms":C) touch hw/xfree86/loader/sdksyms.dep ;;
   27153 
   27154   esac
   27155 done # for ac_tag
   27156 
   27157 
   27158 as_fn_exit 0
   27159 _ACEOF
   27160 ac_clean_files=$ac_clean_files_save
   27161 
   27162 test $ac_write_fail = 0 ||
   27163   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   27164 
   27165 
   27166 # configure is writing to config.log, and then calls config.status.
   27167 # config.status does its own redirection, appending to config.log.
   27168 # Unfortunately, on DOS this fails, as config.log is still kept open
   27169 # by configure, so config.status won't be able to write to it; its
   27170 # output is simply discarded.  So we exec the FD to /dev/null,
   27171 # effectively closing config.log, so it can be properly (re)opened and
   27172 # appended to by config.status.  When coming back to configure, we
   27173 # need to make the FD available again.
   27174 if test "$no_create" != yes; then
   27175   ac_cs_success=:
   27176   ac_config_status_args=
   27177   test "$silent" = yes &&
   27178     ac_config_status_args="$ac_config_status_args --quiet"
   27179   exec 5>/dev/null
   27180   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   27181   exec 5>>config.log
   27182   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   27183   # would make configure fail if this is the last instruction.
   27184   $ac_cs_success || as_fn_exit 1
   27185 fi
   27186 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   27187   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   27188 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   27189 fi
   27190 
   27191